[gentoo-user] udev and coldplug blocking each other!

2006-11-25 Thread Hans de Hartog

This morning I did my regular emerge --sync
and emerge -NDuva world and here's what happens:

[blocks B ] =sys-fs/udev-089 (is blocking sys-apps/coldplug-20040920-r1)
[blocks B ] sys-apps/coldplug (is blocking sys-fs/udev-103)
[ebuild U ] sys-fs/udev-103 [087-r1] USE=(-selinux) 195 kB

Normally, I'm not reluctant to solve blocks by
unmerging stuff but now I'm unsure what to do.
Unmerge udev-089 or coldplug or both?
I don't want to end up with missing either of them.
Your advice?
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Coldplug deprecated by udev-103 update?

2006-11-25 Thread Uwe Thiem
On 25 November 2006 13:37, pk wrote:
 Hi!

 After a sync this morning I get this:
 Calculating world dependencies... done!
 [blocks B ] sys-apps/coldplug (is blocking sys-fs/udev-103)
 [blocks B ] =sys-fs/udev-089 (is blocking
 sys-apps/coldplug-20040920-r1)
 [ebuild U ] sys-fs/udev-103 [087-r1]

 As far as I can read this, this means that coldplug is gone? Anyone else
 have a differing opinion? Or advice?

Yes, coldplug has been put at rest and udev has taken over.

Uwe

-- 
Mark Twain: I rather decline two drinks than a German adjective.
http://www.SysEx.com.na
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Coldplug deprecated by udev-103 update?

2006-11-25 Thread Heath E. Miller
Udev now handlles coldplug.
  

-Original Message-
From: pk [EMAIL PROTECTED]
Date: Sat, 25 Nov 2006 12:37:54 
To:gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Coldplug deprecated by udev-103 update?

Hi!

After a sync this morning I get this:
Calculating world dependencies... done!
[blocks B ] sys-apps/coldplug (is blocking sys-fs/udev-103)
[blocks B ] =sys-fs/udev-089 (is blocking 
sys-apps/coldplug-20040920-r1)
[ebuild U ] sys-fs/udev-103 [087-r1]

As far as I can read this, this means that coldplug is gone? Anyone else 
have a differing opinion? Or advice?

Best regards

Peter K
-- 
gentoo-user@gentoo.org mailing list


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] xorg: Failed to load module: glx fglrx

2006-11-25 Thread Garry Smith

Hi,

I am trying to configure a Thinkpad T60 2500 with xorg and the ATI X1400 
driver.


What do I need to do to get xorg to pickup up the glx and fglrx modules?

Further details below.

Many thanks in advance.

regards
Garry



obufki log # startx
xauth:  creating new authority file /root/.serverauth.6589


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.17.13 i686
Current Operating System: Linux obufki 2.6.17.13 #4 SMP PREEMPT Sun Nov 
26 12:59:25 GMT 2006 i686

Build Date: 25 November 2006
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Sun Nov 26 13:20:32 2006
(==) Using config file: /etc/X11/xorg.conf
(EE) Failed to load module glx (module does not exist, 0)
(EE) Failed to load module fglrx (module does not exist, 0)
(EE) No drivers available.

Fatal server error:
no screens found
XIO:  fatal IO error 104 (Connection reset by peer) on X server :0.0
 after 0 requests (0 known processed) with 0 events remaining.


From Xorg.0.log:

(II) LoadModule: freetype
(II) Loading /usr/lib/xorg/modules/fonts/libfreetype.so
(II) Module freetype: vendor=X.Org Foundation  the After X-TT Project
   compiled for 7.1.1, module version = 2.1.0
   Module class: X.Org Font Renderer
   ABI class: X.Org Font Renderer, version 0.5
(II) Loading font FreeType
(II) LoadModule: glx
(WW) Warning, couldn't open module glx
(II) UnloadModule: glx
(EE) Failed to load module glx (module does not exist, 0)
.
.
.
(II) Module vbe: vendor=X.Org Foundation
   compiled for 7.1.1, module version = 1.1.0
   ABI class: X.Org Video Driver, version 1.0
(II) LoadModule: fglrx
(WW) Warning, couldn't open module fglrx
(II) UnloadModule: fglrx
(EE) Failed to load module fglrx (module does not exist, 0)
.
.
.
(II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor=X.Org Foundation
   compiled for 4.3.99.902, module version = 1.0.0
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 0.6
(EE) No drivers available.

Fatal server error:
no screens found



Further details:
---

obufki log # cat /etc/gentoo-release
Gentoo Base System version 1.12.1

uname -a:
Linux obufki 2.6.17.13 #4 SMP PREEMPT Sun Nov 26 12:59:25 GMT 2006 i686 
Genuine Intel(R) CPU   T2500  @ 2.00GHz GNU/Linux


obufki log # lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 
945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: Intel Corporation Mobile 945GM/PM/GMS/940GML and 
945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High 
Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express 
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express 
Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express 
Port 3 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express 
Port 4 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
#1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
#2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
#3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI 
#4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI 
Controller (rev 02)

00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface 
Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE 
Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) 
Serial ATA Storage Controller AHCI (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller 
(rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility 
X1400
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet 
Controller
03:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG 
Network Connection (rev 02)

15:00.0 CardBus bridge: Texas Instruments PCI1510 PC card Cardbus Controller


obufki log # lsmod
Module  Size  Used by
fglrx 394220  0
capability  5768  0
commoncap   8064  1 capability
evdev  10880  0
ati_agp10124  0
agpgart33868  2 fglrx,ati_agp

emerge -s xorg
includes the following:
*  x11-base/xorg-server
 Latest version available: 

[gentoo-user] =dev-db/mysql-5.0* ?

2006-11-25 Thread Mark Knecht

Hi,
  I did a gcc-4 upgrade on two machines over the last couple of days.
They are both up and running but they both have a problem where they
are looking for virtual/mysql-5. All my machines are currently
mysql-4.1.21 as it's used with MythTV and I'll need to change the
whole network to 5.0 or no one will be able to use Myth.

  What I'm not understanding is what is asking for this package
virtual/mysql-5? I tried adding virtual/mysql  to portage.keywords but
that's not allow.

  How do I get around this?

Thanks,
Mark



dragonfly ~ # emerge -pv dev-db/mysql

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] dev-db/mysql-4.1.21  USE=berkdb perl ssl -big-tables
-cluster -debug -embedded -extraengine -latin1 -minimal -raid
(-selinux) -srvdir -static 0 kB

Total size of downloads: 0 kB



dragonfly ~ # emerge -pvDuN world

These are the packages that would be merged, in order:

Calculating world dependencies /
!!! All ebuilds that could satisfy =dev-db/mysql-5.0* have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-db/mysql-5.0.26-r1 (masked by: package.mask)

For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
(dependency required by virtual/mysql-5.0 [ebuild])



!!! Problem resolving dependencies for dev-db/mysql
!!! Depgraph creation failed.



dragonfly ~ # eix -I | grep virtual
* virtual/ghostscript
* virtual/glu
* virtual/libiconv
* virtual/libintl
* virtual/libstdc++
* virtual/opengl
* virtual/perl-Storable
* virtual/perl-Test-Simple
* virtual/x11
* virtual/xft
dragonfly ~ #
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] less and colourisation

2006-11-25 Thread Willie Wong
On Sat, Nov 25, 2006 at 03:06:04AM +0100, Penguin Lover Thomas R?sner squawked:
 This is for programs having color output you want to pipe to less, not 
 less showing a syntax highlighted file. This is done by the gentoo less 
 filter that automagically unzips README.gz files when viewing them with 
 less, fx. Does ls --color=auto produce colors in your xterm? Is your 
 TERM envvar set to xterm (xterm should do this)? Do you have compared 
 the current /etc/skel files to your user's home; when you create a new 
 user with those files in his home, does xterm/less work for this account 
 as intended?

Oh jeez, I completely misunderstood the original post (not to mention
that I didn't realize the colourisation is a gentoo specific filter).
I just took a look at the filter program 'lesspipe.sh', and boy is it
nice! Even extracts mp3info/ogginfo (not that I'd have thought about
running less against mp3 or ogg-vorbis files before)!

But I don't think the TERM envvar is the issue here (OP should check it 
in any case). On my rxvt term, I run 
  TERM=insertsomething less somesrcfile
if I set the TERM to something that doesn't support color (dumb, or
some nonsense term), less (/usr/bin/less, not the lesspipe.sh) would
complain that it is not compatible with the -R option (which should be
set for all users in /etc/env.d/70less anyway), yet at the same time,
it would still send all the ANSI color codes produced by lesspipe.sh
as raw to the terminal, and the output still displays as colored. 

Just checking, in the xterm that doesn't work, what does the following
envvars show?

LESS   (should be -R -M --shift 5 by default)
LESSOPEN   (|lesspipe.sh %s)
LESSCOLOR  (should be empty by default)
LESSCOLORIZER  (ditto)

HTH, 

W
-- 
A grenade thrown into a kitchen in France would result in Linoleum Blownapart.
Sortir en Pantoufles: up 92 days,  7:43
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] =dev-db/mysql-5.0* ?

2006-11-25 Thread Bo Ørsted Andresen
On Saturday 25 November 2006 15:08, Mark Knecht wrote:
[SNIP]
What I'm not understanding is what is asking for this package
 virtual/mysql-5?

virtual/mysql is a new-style virtual which was added to the tree a couple of
days ago [1]. New style means it's a separate ebuild in
/usr/portage/virtual/mysql rather than a PROVIDE variable in the ebuilds that
provide it. The mythtv ebuilds now depend on the virtual.

 I tried adding virtual/mysql  to portage.keywords but 
 that's not allow.

Huh? You mean package.keywords? Why, 5.0 is already stable?

How do I get around this?

I'm not sure you've stated what you want to achieve.

[SNIP]
 dragonfly ~ # emerge -pvDuN world

 These are the packages that would be merged, in order:

 Calculating world dependencies /
 !!! All ebuilds that could satisfy =dev-db/mysql-5.0* have been masked.
 !!! One of the following masked packages is required to complete your
 request: - dev-db/mysql-5.0.26-r1 (masked by: package.mask)

 For more information, see MASKED PACKAGES section in the emerge man page or
 refer to the Gentoo Handbook.
 (dependency required by virtual/mysql-5.0 [ebuild])
[SNIP]

So you've added =dev-db/mysql-5 to /etc/portage/package.mask without adding
=virtual/mysql-5? Or you need to sync?

 dragonfly ~ # eix -I | grep virtual
[SNIP]

Since the virtual wasn't added to the tree until a couple of days ago it isn't
installed on your system yet.

[1] http://sources.gentoo.org/viewcvs.py/gentoo-x86/virtual/mysql/

-- 
Bo Andresen


pgpiCM4kPHG3J.pgp
Description: PGP signature


Re: [gentoo-user] xorg: Failed to load module: glx fglrx

2006-11-25 Thread Mick
On Saturday 25 November 2006 13:25, Garry Smith wrote:
 Hi,

 I am trying to configure a Thinkpad T60 2500 with xorg and the ATI X1400
 driver.

 What do I need to do to get xorg to pickup up the glx and fglrx modules?

You need to remerge ati-drivers every time after you compile a new kernel.
-- 
Regards,
Mick


pgpiNNUDdRuWM.pgp
Description: PGP signature


Re: [gentoo-user] =dev-db/mysql-5.0* ?

2006-11-25 Thread Mark Knecht

Hi Bo,
  Sorry. Yes, my post wasn't so clear. It was about 6AM here in
California when I started writing it.

On 11/25/06, Bo Ørsted Andresen [EMAIL PROTECTED] wrote:

On Saturday 25 November 2006 15:08, Mark Knecht wrote:


SNIP


So you've added =dev-db/mysql-5 to /etc/portage/package.mask without adding
=virtual/mysql-5? Or you need to sync?


Thanks Bo. Adding =virtual/mysql-5 to package.mask solved the problem.

I appreciate your help greatly!

Cheers,
Mark

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/portage

2006-11-25 Thread Bo Ørsted Andresen
On Friday 24 November 2006 12:13, Alan McKinnon wrote:
 Strangely enough, no package claims ownership of these files:

 nazgul portage # equery belongs /etc/portage/bin/post_sync
 [ Searching for file(s) /etc/portage/bin/post_sync in *... ]
 nazgul portage #

That's because it is created in the pkg_postinst() phase after the list of 
files installed by portage-utils (the CONTENTS file) has been created. I 
consider that a bug.

And yes /etc/portage/bin/post_sync is executed after sync by portage if it 
exists and is executable.

-- 
Bo Andresen


pgpCZpKVKHcH3.pgp
Description: PGP signature


Re: [gentoo-user] udev and coldplug blocking each other!

2006-11-25 Thread Mark

On 25/11/06, Hans de Hartog [EMAIL PROTECTED] wrote:

Normally, I'm not reluctant to solve blocks by
unmerging stuff but now I'm unsure what to do.
Unmerge udev-089 or coldplug or both?
I don't want to end up with missing either of them.
Your advice?


Hi,

Looking inside the coldplug ebuild it shows the conflict.

# conflicts with udev now.
RDEPEND=!=sys-fs/udev-089

Currently I have udev-087-r1 and coldplug-20040920-r1 installed. It
would be my suggestion not to install udev-103 currently (it is marked
as ~x86).

Thanks
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev and coldplug blocking each other!

2006-11-25 Thread Nico


Currently I have udev-087-r1 and coldplug-20040920-r1 installed. It
would be my suggestion not to install udev-103 currently (it is marked
as ~x86).



udev-103 is now in the stable tree and cover the coldplug functions.
Coldplug is now 'useless'.


[gentoo-user] OT - Cross-compiling gcc-4.1.1-r1 for i596 fails: undefined reference to [EMAIL PROTECTED]'

2006-11-25 Thread Michael Sullivan
I'm trying to cross-compile gcc-4.1.1-r1 for my slow i586 on my fast
i686 with the command 

ROOT=/usr/local/portage/bullet/ CHOST=i586-pc-linux-gnu emerge -B
=sys-devel/gcc-4.1.1-r1.  

gcc-4.1.1-r1 emerged fine when I emerged it for my i686, so I'd hoped
this would go off without a hitch.  It keeps failing with the following
error:

/lib/libc.so.6: undefined reference to [EMAIL PROTECTED]'

How would I fix this?  do I need to 

CHOST=i586-pc-linux-gnu emerge glibc

on my i686?  And would that overwrite my glibc for compliling i686
stuff?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev and coldplug blocking each other!

2006-11-25 Thread Hans de Hartog

Mark wrote:


Currently I have udev-087-r1 and coldplug-20040920-r1 installed. It
would be my suggestion not to install udev-103 currently (it is marked
as ~x86).



Well, I bet you didn't do your emerge --sync this morning. It's x86 now.

Regards,
Hans.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] udev and coldplug blocking each other!

2006-11-25 Thread Hans de Hartog

Mark wrote:


Actually .. just in case you are interested in using udev-103 you will
find that you can enable udev coldplugging.



I took the plunge: unmerged coldplug and upgraded to udev-103.
Everything went fine without doing anything special.
I only removed /etc/init.d/coldplug and did a rc-update del coldplug


Edit /lib/rcscripts/addons/udev-start.sh and uncomment the line
regarding coldplugging (it is marked).



That script is also changed by the upgrade.

Kind regards,
Hans.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] xorg: Failed to load module: glx fglrx

2006-11-25 Thread Garry Smith

Hi Mick,


Mick wrote:


On Saturday 25 November 2006 13:25, Garry Smith wrote:
 


Hi,

I am trying to configure a Thinkpad T60 2500 with xorg and the ATI X1400
driver.

What do I need to do to get xorg to pickup up the glx and fglrx modules?
   



You need to remerge ati-drivers every time after you compile a new kernel.
 


That got it :-) Thank you.

For the record I did the following:

1. Recompile kernel
2. Re emerge Xorg  (deep with new use flags):
emerge -DvatN xorg-x11
3. Remerge the ati drivers again
emerge -av x11-drivers/ati-drivers
emerge -av x11-apps/ati-drivers-extra

etc-update
source /etc/profile
eselect opengl set ati
modprobe fglrx
startx


Thank you.

regards
Garry


--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - Cross-compiling gcc-4.1.1-r1 for i596 fails: undefined reference to [EMAIL PROTECTED]'

2006-11-25 Thread Richard Fish

On 11/25/06, Michael Sullivan [EMAIL PROTECTED] wrote:

I'm trying to cross-compile gcc-4.1.1-r1 for my slow i586 on my fast
i686 with the command

ROOT=/usr/local/portage/bullet/ CHOST=i586-pc-linux-gnu emerge -B
=sys-devel/gcc-4.1.1-r1.


Assuming you have a few Gb of disk space available, I would recommend
setting up a full chroot build environment.  The 32-bit chroot guide
for amd64 [1] gives all the steps you need, and should work just as
well for an i586 chroot on i686.  You just won't need to worry about
the linux32 command.

[1] http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1chap=2

-Richard
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql-5.* unmasked

2006-11-25 Thread Ajai Khattri

On Thu, November 23, 2006 2:20 pm, Markus Schönhaber wrote:

 To me, this seems to indicate that masking virtual/mysql-5.0 too might
 help.

So, does this mean I can no longer get any updates for dev-perl/DBD-mysql
without upgrading to MySQL 5?


-- 
Aj.
Sys. Admin / Developer

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql-5.* unmasked

2006-11-25 Thread Ajai Khattri

On Thu, November 23, 2006 4:22 pm, Ryan Tandy wrote:

 You need to mask the virtual package that's depending on that, not the
 mysql package itself.

 $ sudo sed -i -e 's,dev-db/mysql,virtual/mysql,g'
 /etc/portage/package.mask

Looks like DBD-mysql depends on that virtual but I do not wish to upgrade
(I already have DBD-mysql installed and working with MySQL 4.1.



-- 
Aj.
Sys. Admin / Developer

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] less and colourisation

2006-11-25 Thread Benno Schulenberg
Willie Wong wrote:
 LESS   (should be -R -M --shift 5 by default)

When doing

  export LESS=-R -M --shift 5

a C-file viewed with 'less' is coloured.  But when doing

  export LESS=-RM --shift 5

not.  What is being tripped up where here?

Benno
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot)

2006-11-25 Thread Mark Knecht

Hi,
  I've been upgrading a couple of machines. Things are going fairly
well but there have been a few problems. This one I need to work out
first.

1) My son's machine was rebuilt with gcc-4 following the upgrade
guide. Everything went well and it finished up yesterday afternoon.
Since I use ndiswrapper on that machine I rebuilt the kernel with
gcc-4 and I rebooted with the new kernel and new drivers. Everything
worked great including wireless, MythTV frontend, Aqualung, etc.

2) This morning I cold booted and everything worked. I did an eix-sync
and had a couple of things to build so I did that. One of them was new
a udev package. Coldplug was removed from the machine.

3) I *think* I warm booted at this point and things still worked but
I'm not positive on that. However I then booted the machine into
Windows to check that it was still there for games, and then warm
booted back into Gentoo. At this point wireless was completely gone. I
tried cold booting but that didn't help so I don't think running
Windows made any real difference.

a) /etc/init.d/net.wlan0 stays it's stopped. If I try to start wlan0
I'm told it doesn't exist.

b) I have the link from net.wlan0 to net.lo.

c) I rebuilt ndiswrapper and it loads. ndiswrapper -l tells me that
the driver is loaded and the device is present.

d) All the basic stuff like route doesn't see the interface, as
expected I guess.

  Where might I look for what's gone wrong?

  As an aside, the Gentoo kernels remove support for stack size
changes so ndiswrapper complains about the kernel when it's emerged.
Is there a patch to get an 8K stack size option back again? Why does
anyone remove this in the first place instead of just setting it to a
sane default?

  Sorry I Cannot send any info from the box but it's off the net.

Thanks in advance,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot)

2006-11-25 Thread Mick
On Saturday 25 November 2006 20:29, Mark Knecht wrote:
 Hi,
I've been upgrading a couple of machines. Things are going fairly
 well but there have been a few problems. This one I need to work out
 first.

 1) My son's machine was rebuilt with gcc-4 following the upgrade
 guide. Everything went well and it finished up yesterday afternoon.
 Since I use ndiswrapper on that machine I rebuilt the kernel with
 gcc-4 and I rebooted with the new kernel and new drivers. Everything
 worked great including wireless, MythTV frontend, Aqualung, etc.

 2) This morning I cold booted and everything worked. I did an eix-sync
 and had a couple of things to build so I did that. One of them was new
 a udev package. Coldplug was removed from the machine.

 3) I *think* I warm booted at this point and things still worked but
 I'm not positive on that. However I then booted the machine into
 Windows to check that it was still there for games, and then warm
 booted back into Gentoo. At this point wireless was completely gone. I
 tried cold booting but that didn't help so I don't think running
 Windows made any real difference.

 a) /etc/init.d/net.wlan0 stays it's stopped. If I try to start wlan0
 I'm told it doesn't exist.

 b) I have the link from net.wlan0 to net.lo.

 c) I rebuilt ndiswrapper and it loads. ndiswrapper -l tells me that
 the driver is loaded and the device is present.

 d) All the basic stuff like route doesn't see the interface, as
 expected I guess.

Where might I look for what's gone wrong?

As an aside, the Gentoo kernels remove support for stack size
 changes so ndiswrapper complains about the kernel when it's emerged.
 Is there a patch to get an 8K stack size option back again? Why does
 anyone remove this in the first place instead of just setting it to a
 sane default?

Sorry I Cannot send any info from the box but it's off the net.

In case you haven't, remerge/modprobe the module for the wifi card.

HTH.
-- 
Regards,
Mick


pgpAUrcStApG9.pgp
Description: PGP signature


[gentoo-user] Problem emerging media-gfx/graphviz

2006-11-25 Thread David Corbin
 I'm getting this emerging media-gfx/graphviz-2.8-r2:
 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: 
cannot find -lruby

I have various libruby files about.

Ideas?
Thanks.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot)

2006-11-25 Thread Mark Knecht

On 11/25/06, Mick [EMAIL PROTECTED] wrote:
SNIP


In case you haven't, remerge/modprobe the module for the wifi card.

HTH.
--
Regards,
Mick


Mick,
  Unless I'm mistaken, that module is ndiswrapper which was emerged
again after the kernel was rebuilt.

  In case you're not familiar with it ndiswrapper wraps around a
Windows driver that talks to the hardware. It's an interface between
the Linux driver stack and the hardware running a Windows driver.
There is no apparent native support for these wireless NICs in Linux
unfortunately so I'm forced to use ndiswrapper which worked OK under
gcc-3.4.6.

  If I'm mistaken about the above description I'm happy to be informed.

Thanks,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot)

2006-11-25 Thread Sergio Polini
Mark Knecht:
Unless I'm mistaken, that module is ndiswrapper which was
 emerged again after the kernel was rebuilt.

Was ndiswrapper emerged *and updated*?
My card name is Broadcom BCM4310 UART, my gcc is 4.1.1, my udev is 
087-r1. I have to use ndiswrapper 1.23 because more recent versions 
do not work.
HTH
Sergio
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql-5.* unmasked

2006-11-25 Thread Markus Schönhaber
Ajai Khattri wrote:
 On Thu, November 23, 2006 2:20 pm, Markus Schönhaber wrote:
  To me, this seems to indicate that masking virtual/mysql-5.0 too might
  help.

 So, does this mean I can no longer get any updates for dev-perl/DBD-mysql
 without upgrading to MySQL 5?

No, that's not what it means.

Regards
  mks

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot)

2006-11-25 Thread Mark Knecht

On 11/25/06, Sergio Polini [EMAIL PROTECTED] wrote:

Mark Knecht:
Unless I'm mistaken, that module is ndiswrapper which was
 emerged again after the kernel was rebuilt.

Was ndiswrapper emerged *and updated*?
My card name is Broadcom BCM4310 UART, my gcc is 4.1.1, my udev is
087-r1. I have to use ndiswrapper 1.23 because more recent versions
do not work.
HTH
Sergio
--


Sergio,
  Hi and thanks very much for responding. My apologies in advance for
the length of this post. Lots of info.

  In my case ndiswrapper was not updated. Before the upgrade and
after I was using 1.2-r1. It worked yesterday but fails today. I am
currently on the offending machine but using a wired interface with
the cable stretched across the house so that I can give real results.

  Following along in the spirit of your response I don't even see
version 1.23 so I've tried installing  the newest masked version, even
though I expect this failed on your machine:

Sector9 ~ # eix -I ndiswrapper
* net-wireless/ndiswrapper
Available versions:  1.2-r1 1.25 1.26 1.28 1.29
Installed:   1.29
Homepage:http://ndiswrapper.sourceforge.net/
Description: Wrapper for using Windows drivers for some
wireless cards

Sector9 ~ #


From dmesg you can see the effects of loading each driver, one at a

time - not both together. I'm just posting both below to show the
difference in dmesg:

ndiswrapper version 1.2 loaded (preempt=yes,smp=no)

or...

ndiswrapper version 1.29 loaded (preempt=yes,smp=no)
usbcore: registered new driver ndiswrapper

(the second message was because there is a new usb USE flag. I turned
that off and I then do not get the second message when loading, but
the driver still doesn't work for me yet.)

They load slightly differently. Maybe part of the problem is the
changes in udev and the removal of hotplug and coldplug? Could that be
involved? I am now using the newest udev. Maybe that's part of the
problem?

The newest 1.29 version of the driver shows this when I run
ndiswrapper from the command line to install the Windows driver:

Sector9 ~ # ndiswrapper -i 802.11g/NetA3AB.inf
installing neta3ab ...
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
forcing parameter MapRegisters from 256 to 64
Sector9 ~ #

I don't like those messages. They don't happen with the older version 1.2-r1.

After modprobing ndiswrapper dmesg says it's loaded as does lsmod.
There are no error messages. However when I try to start the interface
it fails:

Sector9 ~ # /etc/init.d/net.wlan0 start
* Starting wlan0
*   Bringing up wlan0
* 192.168.1.159/24
* network interface wlan0 does not exist
* Please verify hardware or kernel module (driver)   [ !! ]
Sector9 ~ #

So it seems to be unhappy with the way the driver is working. That
said there is no difference in this output for 1.2-r1 and 1.29


From the command line it appears that the newest version of

ndiswrapper is suggesting I can now use a Linux driver. I have no idea
how to actually do that though.

Sector9 ~ # ndiswrapper -l
installed drivers:
neta3ab driver installed, hardware (168C:001A) present
(alternate driver: ath_pci)
Sector9 ~ #

I do have the ath_pci driver and I can modprobe it successfully:

Sector9 ~ # modprobe ath_pci
Sector9 ~ # lsmod
Module  Size  Used by
SNIP
ath_pci72800  0
ath_rate_sample10880  1 ath_pci
SNIP
ath_hal   189264  3 ath_pci,ath_rate_sample
SNIPSector9 ~ #

I don't see any errors in dmesg, or even any messages.

Since I cannot get ndiswrapper working how would I go about getting
ath_pci to work?

Sorry this got so long.

Thanks again,
Mark
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] less and colourisation

2006-11-25 Thread Willie Wong
On Sat, Nov 25, 2006 at 08:18:27PM +0100, Penguin Lover Benno Schulenberg 
squawked:
 Willie Wong wrote:
  LESS   (should be -R -M --shift 5 by default)
 
 When doing
 
   export LESS=-R -M --shift 5
 
 a C-file viewed with 'less' is coloured.  But when doing
 
   export LESS=-RM --shift 5
 
 not.  What is being tripped up where here?
 
Interesting, that is probably because of the following snip from
lesspipe.sh (the gentoo less filter)

 # Only colorize if we know less will handle raw codes
 for opt in ${LESS} ; do
 if [[ ${opt} == -r || ${opt} == -R ]] ; then
 ${LESSCOLORIZER} $1
 break
 fi
 done

I would probably consider that a bug worth filing on b.g.o. That
snipplet assumes that options would be specified 1 per dash with no
ganging, which does not fit in the old unix-style paradigm; but it
also completely ignores the gnu-style options given in the man page
(--raw-control-chars and --RAW-CONTROL-CHARS for -r and -R
respectively)

W
-- 
You should approach relationships like chess. And preferably as Deep Blue plays
it, or at least as Kasparov.
Sortir en Pantoufles: up 92 days, 19:33
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] wlan0/ndiswrapper failing after gcc-4 upgrade (and dual Windows boot)

2006-11-25 Thread Stroller


On 26 Nov 2006, at 02:01, Mark Knecht wrote:

...
I do have the ath_pci driver and I can modprobe it successfully:

Sector9 ~ # modprobe ath_pci
Sector9 ~ # lsmod
Module  Size  Used by
SNIP
ath_pci72800  0
ath_rate_sample10880  1 ath_pci
SNIP
ath_hal   189264  3 ath_pci,ath_rate_sample
SNIPSector9 ~ #

I don't see any errors in dmesg, or even any messages.

Since I cannot get ndiswrapper working how would I go about getting
ath_pci to work?


What card do you actually have? IMO NDISwrapper is a last resort for  
cards that have no native support  for users who cannot afford a  
supported card. You should certainly be using madwifi or madwifi-ng  
(the driver which provides ath_pci, IIRC) if your card supports it.


What does `lspic -vt` say?
What does `iwconfig` say?

Stroller.



PS: please cc me on your reply. The pop-server which receives my  
mailing list messages seems to be on a go-slow ATM.

--
gentoo-user@gentoo.org mailing list