View previous topic :: View next topic |
Author |
Message |
Supermule Guru
Joined: 05 Mar 2003 Posts: 510 Location: /denmark/fyn
|
Posted: Tue Mar 25, 2003 1:50 pm Post subject: No network after emerge? |
|
|
Hi,
I just ran an "emerge -u world" .. Everything seemed fine, but upon reboot I cannot use my network?
says
Code: | cannot locate module |
If I search for the module is show up as:
Code: | /usr/src/linux-2.4.20-gentoo-r1/drivers/net/eepro100.o |
net-setup is not present on my PC anymore?
What gives?
/Supermule[/code] |
|
Back to top |
|
|
eGore911 Apprentice
Joined: 11 Mar 2003 Posts: 290
|
Posted: Tue Mar 25, 2003 1:56 pm Post subject: |
|
|
you modules should AFAIK be in /lib/modules/%YOURKERNEL%/kernel/drivers/net
look for your modules there |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Tue Mar 25, 2003 1:58 pm Post subject: |
|
|
The system does not use modules in the /usr/src/linux directory. Those are only for the linux source. It looks in /lib/modules/blah/blah. Try this:
Code: | find /lib/modules -name "eepro100*" |
I'm assuming it won't find it. So you need to do the following:
Code: | cd /usr/src/linux
cp .config ~/
make mrproper
cp ~/.config .
make menuconfig (make sure you have eepro100 checked as M)
make dep clean
make modules modules_install |
Note that you don't have to make a new bzImage or copy it over if you didn't change any kernel stuff. If you are only specifying new modules then this is all you need. Also if you use ALSA then you'll need to re-emerge alsa-driver after modules_install.
After modules_install you should be able to modprobe your eepro100 and get rocking. |
|
Back to top |
|
|
Supermule Guru
Joined: 05 Mar 2003 Posts: 510 Location: /denmark/fyn
|
Posted: Tue Mar 25, 2003 1:58 pm Post subject: |
|
|
eGore911 wrote: | you modules should AFAIK be in /lib/modules/%YOURKERNEL%/kernel/drivers/net
look for your modules there |
Yes..my point also
But why the <beep> did emerge delete these files? They arent there...And what I did was: "emerge -u world", "etc-update" and then rebooted...after that the files are gone...
/Supermule |
|
Back to top |
|
|
Supermule Guru
Joined: 05 Mar 2003 Posts: 510 Location: /denmark/fyn
|
Posted: Tue Mar 25, 2003 2:03 pm Post subject: |
|
|
rizzo wrote: | The system does not use modules in the /usr/src/linux directory. Those are only for the linux source. It looks in /lib/modules/blah/blah. Try this:
Code: | find /lib/modules -name "eepro100*" |
I'm assuming it won't find it. So you need to do the following:
Code: | cd /usr/src/linux
cp .config ~/
make mrproper
cp ~/.config .
make menuconfig (make sure you have eepro100 checked as M)
make dep clean
make modules modules_install |
Note that you don't have to make a new bzImage or copy it over if you didn't change any kernel stuff. If you are only specifying new modules then this is all you need. Also if you use ALSA then you'll need to re-emerge alsa-driver after modules_install.
After modules_install you should be able to modprobe your eepro100 and get rocking. |
It didnt find the module
But just a question...I just entered menuconfig and my eepro100 is checked as "*" - which could explain why the modules arent there true?
But then It should be in kernel and I should be able to setup my network with "net-setup". But "net-setup" is no longer present on my system...
I cant image what went so terrible wrong for "emerge" here...but thers clearly a flaw somewhere. Can I get hold of "net-setup" from my CD?
/Supermule |
|
Back to top |
|
|
rizzo Retired Dev
Joined: 30 Apr 2002 Posts: 1067 Location: Manitowoc, WI, USA
|
Posted: Tue Mar 25, 2003 2:06 pm Post subject: |
|
|
I believe net-setup was only in use for the livecd setup. The gentoo isntall directions instruct you to edit your /etc/conf.d/net file to specify your network settings. That is what you need to do.
Yes your eepro driver is compiled in as kernel and so it wouldn't show up in the modules directory. You should be fine this way. |
|
Back to top |
|
|
Supermule Guru
Joined: 05 Mar 2003 Posts: 510 Location: /denmark/fyn
|
Posted: Tue Mar 25, 2003 2:57 pm Post subject: |
|
|
Hi,
Well, what can I say....embarassing is probably the best description.
My Gentoo PC is located a couple of hubs and switches from my firewall/Dhcpserver, and during spring-cleaning this morning, I must have hit the cabel with my vacuum-cleaner
Re-attaching the cabel ment a great deal - Everything is rocking again now...
But thanks for all the fast replys, I really appriciate it!
regards,
Supermule |
|
Back to top |
|
|
|