Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 not started--startup dependency weirdness
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
nuke
n00b
n00b


Joined: 14 Sep 2003
Posts: 30

PostPosted: Sat Sep 09, 2006 1:52 am    Post subject: eth0 not started--startup dependency weirdness Reply with quote

This started happening recently, but I'm not sure when, since I don't reboot very often.

As startup is happening, I see the 'Starting network interface lo' message, but no corresponding output for eth0, even though I do have a net.eth0 symlink to net.lo in /etc/init.d/. Then several services complain that they can't start because net.eth0 failed to start. The thing is, by the time the machine is up, net.eth0 is up, even though I never saw any message about it.

I have net.eth0 in the default runlevel.

When I shut down, I see the corresponding "Shutting down eth0" message in addition to the one for lo.

If I hit 'i' during startup to go interactive, and just hit '1' ('start this service') for each of the services (I still never see the net.eth0 one), all the services start successfully, so I'm guessing there's some kind of race condition with net.eth0 and the things that depend on it.

Any ideas? I see from the baselayout changelog that the way networking dependencies work has changed recently.

Thanks.
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4735
Location: Angra do Heroísmo (PT)

PostPosted: Sat Sep 09, 2006 2:40 am    Post subject: Reply with quote

Hi.

If you updated your system recently, including baselayout, did you remember to update the config files?
Look at rc-update show | grep net. Did you compile the driver for your nic into the kernel or as a module? If you did as a module, are you loading it on /etc/modules.autoload.d/kernel-2.6?
_________________
Jorge.

Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
Back to top
View user's profile Send private message
nuke
n00b
n00b


Joined: 14 Sep 2003
Posts: 30

PostPosted: Sat Sep 09, 2006 3:51 am    Post subject: Reply with quote

If you did as a module, are you loading it on /etc/modules.autoload.d/kernel-2.6?

I hadn't been, so I tried that, and it did the trick.

I thought that coldplug would take care of loading the ethernet module for me, is there something I can do to coax it into doing so?

Thanks for the tip!
[/i]
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