Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
udev / coldplug woes
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
svancouw
n00b
n00b


Joined: 05 Feb 2006
Posts: 57
Location: California

PostPosted: Thu Feb 08, 2007 12:47 am    Post subject: udev / coldplug woes Reply with quote

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
View user's profile Send private message
Section_8
l33t
l33t


Joined: 22 May 2004
Posts: 627

PostPosted: Thu Feb 08, 2007 1:15 am    Post subject: Reply with quote

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
View user's profile Send private message
svancouw
n00b
n00b


Joined: 05 Feb 2006
Posts: 57
Location: California

PostPosted: Thu Feb 08, 2007 1:28 am    Post subject: Reply with quote

Thanks for the swap info :oops: . 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
View user's profile Send private message
svancouw
n00b
n00b


Joined: 05 Feb 2006
Posts: 57
Location: California

PostPosted: Thu Feb 08, 2007 1:33 am    Post subject: Reply with quote

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
View user's profile Send private message
blurp
Tux's lil' helper
Tux's lil' helper


Joined: 21 Oct 2004
Posts: 102

PostPosted: Thu Feb 08, 2007 3:28 am    Post subject: Reply with quote

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
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Thu Feb 08, 2007 2:04 pm    Post subject: Reply with quote

do I need coldplug, when using udev104?
Back to top
View user's profile Send private message
blurp
Tux's lil' helper
Tux's lil' helper


Joined: 21 Oct 2004
Posts: 102

PostPosted: Fri Feb 09, 2007 4:25 am    Post subject: Reply with quote

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
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Fri Feb 09, 2007 5:26 am    Post subject: Reply with quote

My computer is workin without coldplug now! I have tested it now for 2 days.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum