I’m configuring a new laptop for my sons christmas present and since I’d like him to learn how to use a computer rather than drive a Windows GUI I’ve chosen SUSE 11.0. I’ve managed to get the R8101e nic working by downloading the code, compiling it etc and once I do a insmod ./src/8101.ko it starts working but when booting the boot output says loading eth0_nsc_ and then times out on the dhcp. I’m assuming that I need to add the equvalent of the insmod to one or more config files but which ones and what do I add?
peteh wrote:
> I’m configuring a new laptop for my sons christmas present and since I’d
> like him to learn how to use a computer rather than drive a Windows GUI
> I’ve chosen SUSE 11.0. I’ve managed to get the R8101e nic working by
> downloading the code, compiling it etc and once I do a insmod
> ./src/8101.ko it starts working but when booting the boot output says
> loading eth0_nsc_ and then times out on the dhcp. I’m assuming that I
> need to add the equvalent of the insmod to one or more config files but
> which ones and what do I add?
First of all, did you “install” the driver? For most make files. that involves a
‘sudo make install’ step, which copies the .ko file to the appropriate place in
/lib/modules/… and runs a depmod command.
Secondly, is there some other driver that is grabbing the PCI ID of the R8101e?
If there is, then you will need to add that module to the file
/etc/modprobe.d/blacklist.
If all else fails, you can use YaST => System => /etc/sysconfig Editor to get
the module loaded at bootup. Click on the + next to System and Kernel, then on
the MODULES_LOADED_ON_BOOT. Finally add the “8101” in the box. This requires
that step 1 above was completed.
The place to add module names to be loaded on boot is /etc/sysconfig/kernel, variable MODULES_LOADED_ON_BOOT. You can use a text editor or YaST to edit this file.
Well the .ko is still in your directories. You need to move it to the appropriate directory under /lib/modules and then do a depmod -a. Then modprobe and modinfo will work.
Ken,
Arrgh! I hate realtek and their rotten drivers. They’re the bain of my life at work and now at home. My kernel may be 2.6.25.18 but the realtek compile has created me a 2.6.25.5-1 directory structure. Hopefully I can just move the ko.
Larry & Ken,
Thanks to you both. How the compile created the spurious code tree is beyond my understanding and I’m not prepared to spend the time worrying about it. Thanks to the efforts of you both this laptop now has a working LAN card and my son will be getting a laptop with a real operating system on for Christmas. (You’ve no concept of just how much putting Windows on this would have offended me! It’s become a matter of principle as much as anything else.)
Thanks again and seasons greetings to you both.