View previous topic :: View next topic |
Author |
Message |
svancouw n00b
Joined: 05 Feb 2006 Posts: 57 Location: California
|
Posted: Thu Feb 08, 2007 12:47 am Post subject: udev / coldplug woes |
|
|
This is perhaps the fourth time I've installed Gentoo, so I'm still a little new this this. I did use genkernel during the install.
My problem is that with a udev version of 104 (came w/ the install CD image), I am not able to install coldplug. They did co-exist right after I finished the install, but I was forced to remove coldplug because it blocked udev. According to my reading, udev now handles the tasks that coldplug did.
Unortunately, the system will not install/activate my eth0. I can make it work by running "modprobe 3x59x" then /etc/init.d/netmount, but I would rather have it do this properly without my having to make a run-around.
Would it be possible that this setup is also causing the system to not mount the swap partition properly? I attempts to mount a "suspected swap", but fails saying that /dev/swap does not exist. If I run swapon /dev/hda2, then it turns on fine.
The swap entry in fstab is: /dev/swap none swap sw 0 0
I am considering downgrading udev and emerging coldplug, but I'd like to see if I can get this to work as it was designed. Everything else seems to function.
Thank you ahead of time for your help. |
|
Back to top |
|
|
Section_8 l33t
Joined: 22 May 2004 Posts: 627
|
Posted: Thu Feb 08, 2007 1:15 am Post subject: |
|
|
For you network driver - you can always add 3x59x to /etc/modules.autoload.d/kernel-2.6 to get it loaded at startup, but I don't know whether that will handle the netmount. Is /etc/init.d/net.eth0 started when you boot? ("rc-update show" will tell you this).
For swap - in fstab, you need to change "/dev/swap" to the disk partition node in /dev - /dev/hda2. |
|
Back to top |
|
|
svancouw n00b
Joined: 05 Feb 2006 Posts: 57 Location: California
|
Posted: Thu Feb 08, 2007 1:28 am Post subject: |
|
|
Thanks for the swap info . I should have noticed that, as I had another server I was using to compare config files with.
As for eth0... yes it is set to default in rc-status. I'll make your changes and see what effects it has. |
|
Back to top |
|
|
svancouw n00b
Joined: 05 Feb 2006 Posts: 57 Location: California
|
Posted: Thu Feb 08, 2007 1:33 am Post subject: |
|
|
OK, swap is now active, the driver loads and netmount completes successfully. Thanks for your help.
Any idea why eth0 would not load automatically? This is the first time I've seen that. I presume coldplug handled it, so why didn't udev? |
|
Back to top |
|
|
blurp Tux's lil' helper
Joined: 21 Oct 2004 Posts: 102
|
Posted: Thu Feb 08, 2007 3:28 am Post subject: |
|
|
there's an RC_COLDPLUG in /etc/conf.d/rc. enabling it should work, but beware it might load tons of other modules too. I don't know how coldplug works, but I remembered there was some mention of it being too aggressive. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Thu Feb 08, 2007 2:04 pm Post subject: |
|
|
do I need coldplug, when using udev104? |
|
Back to top |
|
|
blurp Tux's lil' helper
Joined: 21 Oct 2004 Posts: 102
|
Posted: Fri Feb 09, 2007 4:25 am Post subject: |
|
|
tw04l124 wrote: | do I need coldplug, when using udev104? |
ermm... >=sys-fs/udev-089 blocks coldplug? Don't think you should be using coldplug anymore. its almost 2 years old. |
|
Back to top |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Fri Feb 09, 2007 5:26 am Post subject: |
|
|
My computer is workin without coldplug now! I have tested it now for 2 days. |
|
Back to top |
|
|
|