Results 1 to 5 of 5
I'm sorry to start another thread of this nature, but I wasn't certain someone would respond to another since the issue had already been resolved. I'd never configured my own ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 06-07-2007 #1
- Join Date
- Jun 2007
Where is eth0
Does the module location vary from dist to dist because I've seen some documentation suggesting modules are found in /lib/modules/'kernel ver.'/ or do you always have to go into somewhere like /lib/modules/'kernel ver.'/kernel/drivers/?
Are the same drivers found in lib, lib32, and lib64?
I'm not getting eth0 when I use ifconfig, and I don't think the driver is loaded. I didn't change much with initial kernel configuration, so I think my Marvell Technology 88E8038 is compiled as the loadable module 'sky2'. However, if I try loading this manually using /etc/modules.autoload.d/modules or insmod it says there is a segmentation fault. I know the driver works though because it works properly for the minimal install cd.
Also could someone explain the significance of net.eth0, because it's already there, but it doesn't initialize (I don't even think the driver is loaded though). Finally I emerged 'dchpcd' but when I run net.eth0 start it says that dchpcd ver. 2.xxx or greater is needed, but I know I have version 3.xxx installed at least. This needs to be an auto-loaded module? Do kernel compiled modules list with 'lsmod' because I don't get anything listed when I run the command.
It's pretty frustrating because I can't check solutions for anything online when I don't have my network up and I have to keep rebooting.
- 08-01-2007 #2
- Join Date
- Aug 2007
Usually the kernel modules are located in /lib/modules/kernel_version/... but if you really wanted to move them somewhere else you could do this through the Makefile(MODLIB variable). Most distros that I'm aware of use this default path, at least the ones I used(Red Hat, Ferdora, Gentoo, Ubuntu,etc..) As for your second question, the driver you are using might have not been compiled properly. You could try emerging the newest kernel and use the the kernel config file from the live cd(/etc/kernelconfig/...) to recompile the kernel. Once you compile the kernel, you should add the module name to /etc/modules.autoload.d/kernel-2.6 so that when you start the machine the module gets loded. Also you could try compiling the module into the kenel. As for the 3 question, the net.xxx is the default configuration file that sets up your network interfaces. As far the dchpcd problem, I have no idea whats up with that. lsmod and insmod are utilities that only work with dynamic modules. insmod is used to load a module into the kernel and lsmod lists the currently loaded modules in the kernel.
So if you staticaly compiled a module you dont need any of these utilities because the module is in the kernel and already loaded. Hope that answers some of your questions.
- 08-01-2007 #3It's pretty frustrating because I can't check solutions for anything online when I don't have my network up and I have to keep rebooting.
KNOPPIX Linux Live CD
Gentoo Linux Documentation -- The Gentoo Linux alternative installation method HOWTO
- 08-09-2007 #4
- 08-09-2007 #5
- Join Date
- Aug 2007
Check to see if eth0 is located in /etc/init.d/net.eth0
If not, you have to rebuild your module.