News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

eth0 and eth1 kernel driver in use - Resolved..

Started by pigdog, May 15, 2014, 07:28:35 PM

Previous topic - Next topic

pigdog

Hi,

I have a Realtek RTL8169 chip for eth0 and a Realtek RTL81111/8168/8411 for eth1.

I downloaded and installed the r8168 driver from Realtek.

eth0 shows kernel driver in use:r8169
kernel module r8169

eth1 shows kernel driver in use:r8169
kernel module r8168, r8169

How do you get eth1 to use the r8168 driver?

If I blacklist the r8169 driver eth0 dies completely - ifconfig only shows eth1.

I've tried creating alias eth0 r8169 & alias eth1 r8168 in various mod* types of files (plus other things) but nothing seems to work.

Is this even do-able?

Cheers.

Marie.O

I would check the original driver, move it out of the /lib tree, run depmod -a and reboot and see what happens.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

pigdog

Hi posde,

I copied the r8169.ko to my Downloads directory and deleted the file in /lib/modules/3.2.0-61-generic/kernel/drivers/net/ethernet/realtek/

I did depmod -a

ifconfig shows eth0 & eth1.

lscpi -v still shows r8169 in use.

Cheers

pigdog

Hi,

BTW eth0 shows kernel driver in use:r8169 but no kernel modules:

while eth1 is kernel driver in use:r8169  kernel modules:r8168

Cheers.

pigdog

Hi,

I went back and removed r8169 (again) from the directory, then after depmod -a I did update-initramfs -u and now no eth0.

Back to the drawing board.

pigdog

Hi,

I broke down (ya cheap bastard) and bought a $25.00 PCIe Gig NIC card.

I disabled the on-board NIC in the BIOS.

Reloaded from scratch.

I can now do mtu 9000 on the Core/Hybrid using the r8169 module.

Cheers.