LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   eth0 vanished (https://www.linuxquestions.org/questions/linux-networking-3/eth0-vanished-126551/)

mudelf 12-17-2003 02:10 AM

eth0 vanished
 
After doing a kernel rebuild my standard module configuration seems to have vanished in Redhat 8.

I first noticed this when I tried to play sound and access my USB Flash drive - whilst the devices and configs all seemed fine I saw that the normal modules needed to operate these devices where not showing up when I used 'lsmod'.

My question is does anyone know which modules you need to get the Ethernet card working or of a good online guide?

Also any clue as to what could have gone wrong? Is there something in /boot or /usr/src which could have gone missing when going a kernel rebuild.

These problems are occuring for my OLD kernel, not the new one.

:) Thanks.

ToniT 12-17-2003 02:34 AM

Your kernel modules should be located in
/lib/modules/kernelversion/
where kernelversion in question should be seen with 'uname -r'.

You can use insmod or modprobe (the later also tries to resolve module dependencies) to load modules. You can also try to force load modules from different kernel version if you have to (see man insmod for how to do it).

For the original problem.. how did you compiled your kernel? Remembered compile and install modules too? (make modules ; make modules_install)

The reason why it might affect the old kernel might be that there might be some symlinked stuff with the /lib/modules -tree that is broken now (just guessing).

mudelf 12-17-2003 03:34 AM

Thanks for your help there:)

Ok - after trawling google I was able to identify my eth0 card with 'cat /proc/pci'
as an Ethernet Pro 100.

Further searching indicated that I needed the eepro100 module which was able to modprobe in with no trouble.

Knowing that this was what I needed it and that this is the same situation as I had with my prior problems I found that my system had created a backup of the /etc/modules.conf file called 'modules.conf~'

This second file was very small compared to the one for the new Kernel but had the alias commands I needed so I simply added these few lines to the new Modules file.

Things appear to be sorted ....

Thanks for your help :D


All times are GMT -5. The time now is 01:30 AM.