Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Please Help: eth0 won't start on boot.
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
Bangz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Thu Feb 20, 2003 6:38 pm    Post subject: Please Help: eth0 won't start on boot. Reply with quote

I'm having a very weird problem on my relatively new Gentoo Install, and because Im new to gentoo Im hoping someone with a bit more experience can help me.

I'm trying to get the onboard LAN workiing for my Epox 8RDA+ motherboard. During the install I setup the net (dhcp) and it worked fine, that is, "dhcpcd eth0" immediately worked, I didn't need to manually modprobe the NIC.

However, now when the OS boots, it's not loading eth0.

Showing this during bootstrap

Code:
* Bringing eth0 up...
* Failed to bring eth0 up

* ERROR:  Problem starting needed services
          "netmount" was not started


The thing is, when I log in, I can modprobe nvnet, then dhcpcd eth0, and it works perfectly.

I have added "alias eth0 nvnet" into modules.autoload, then run modules-update and it still doesn't work. I also remember that when I had "alias eth0 nvnet" in modules.autoload, It gave ANOTHER error message during bootstrap showing

Code:
Loading Modules [ ok ]
Loading Modules [ !! ]
Failed to load Modules


or something similar, I can't remember exactly because it flicked past very quickly.

How do I fix this? What am I doing wrong? What haven't I done?
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Thu Feb 20, 2003 6:54 pm    Post subject: Reply with quote

I would try compiling support for the NIC into the kernel instead of a module.


Moved from Other Things Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
PT_LAmb
Guru
Guru


Joined: 22 Apr 2002
Posts: 332
Location: Lisboa (Lisbon), Portugal

PostPosted: Thu Feb 20, 2003 6:58 pm    Post subject: Reply with quote

Have you configured the the kernel to compile the driver as a module?
And are you sure that that's the appropriate one?
Is the driver name correct?

If...
Code:
find /lib/modules/ -name '*nvnet*'
returns nothing, than one or more of the assumptions I made are true.

Good luck,
Ricardo Cordeiro :)
_________________
SETI@Home - http://setiathome.ssl.berkeley.edu/
Back to top
View user's profile Send private message
TwoTired
n00b
n00b


Joined: 08 Feb 2003
Posts: 42

PostPosted: Thu Feb 20, 2003 7:43 pm    Post subject: Re: Please Help: eth0 won't start on boot. Reply with quote

Bangz wrote:


I have added "alias eth0 nvnet" into modules.autoload, then run modules-update and it still doesn't work. I also remember that when I had "alias eth0 nvnet" in modules.autoload, It gave ANOTHER error message during bootstrap showing



Not sure what the alias bit does but all I have in modukes.autoload is the module name
i.e. for my reatek 8139 card all have in there is:

8139too

So I presume all you need is:

nvnet
Back to top
View user's profile Send private message
dsegel
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jan 2003
Posts: 127

PostPosted: Thu Feb 20, 2003 8:47 pm    Post subject: Reply with quote

There are two ways you can load the nvnet driver at boot up:

1. In /etc/modules.d/nvidia (or /etc/modules.d/aliases) put the following line:

alias eth0 nvnet

and then run the update-modules command, which will copy the information into the /etc/modules.conf file.

2. In /etc/modules.autoload add one line that simply says:

nvnet

The problem with both of these is that you must have the nvnet driver installed on your system somewhere. It's on the boot CD, but I don't think it gets installed when you build your system. In my case I downloaded the appropriate tar file from nVidia's web site and did a 'make' and 'make install' on it. After that either method above should work.

You'll get warnings about a tainted kernel if you do method 1, but you can safely ignore them. Method two gives no warnings.

The errors you're getting at boot up are becuase you have the wrong kind of line in modules.autoload.

You can check to see if you have it on your system already by doing a:

modprobe nvnet

if that works then just do one of the two methods above. If it doesn't work you'll have to get a copy of the driver and install it.
Back to top
View user's profile Send private message
Bangz
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jan 2003
Posts: 148
Location: Brisbane/Austrralia

PostPosted: Fri Feb 21, 2003 5:59 am    Post subject: Reply with quote

Thanks guys, All I needed to do was change my modules.autoload from "alias eth0 nvnet" to just "nvnet" and it works fine.

Cheers!
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