Members

 

knife fight with foreign download torrent


Name: knife fight with foreign download torrent
Category: Free
Published: loamotriycyn1978
Language: English

 


 


 

 

 

 

 

 

 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 


 

Make Linux load specific driver for given device (Realtek NIC)
This is a driver issue on a vintage machine (AMD K8, Nvidia chipset) running Linux 3.11 (Mint distro, but I don't think it matters).
I want the kernel to load an alternative driver for my Realtek 8169 PCI ethernet card, which you can see it at the end of the list as 02:05.0 . Here's the detail:
The issue is that the r8169 simply doesn't work. It may even make Linux crash. I blacklisted it in /etc/modprobe.d/ .
The solution seems to be using the r8168 driver instead. (There's also a related question on this site.) You can download the source from Realtek, compile and install it, which I did. If you modprobe r8168 , it loads fine but doesn't associate with the hardware, so the card doesn't show up in ifconfig .
I think this has to do with the modalias (encodes the hardware info) and the device/driver mapping in /lib/modules/*/modules.alias .
This is my card. Here's the Realtek driver mappings in the system:
I tried adding this line to the end of the file (knowing that you're not supposed to make manual edits):
Then unloaded and reloaded r8168 but that doesn't configure the card and there's nothing in dmesg .
What's the proper way to map my NIC to the r8168 driver? Do I have to rebuild the driver so it claims it can handle my card? Or is there some config data I have to add in the proper place?
2 Answers 2.
You can force a device to use a certain device using bind. If the device is already owned by a different driver, you first have to unbind it.
If a PCI vendor ID ( 10ec for Realtek) and device ID combination is not recognized, you can make it get recognized at runtime with:
I got it working. (See below.)
I wouldn't have lost so much time had I not jumped to conclusions . I had a RTL8169 PCI network card to which Linux assigned the kernel tree r8169 driver. This driver is dysfunctional for my PCI RTL8169 and may even crash the system. I then found the Hetzner page (see link in question) and assumed the advice to use the Realtek r8168 applied to my situation. (It did not.) When the driver wouldn't associate with my card I stubbornly thought there should be a way to make it do so in order to get the card working. That was a dead-end street.
The solution is to browse the Realtek site itself again. They also have a driver called r8169 , just like the dysfunctional driver from the Linux kernel. I tried that half a year ago. Apparently, it didn't succeed (don't remember exactly); probably due to my ineptitude. Anyway, Realtek released an updated driver in March 2014, and this driver does work! Thank you Realtek!
The happy outcome is the following (using smbclient ):

https://caribbeanfever.com/photo/8ipe775-g-driver-download-macbook-...

Views: 1

Comments are closed for this blog post

© 2024   Created by PH the vintage.   Powered by

Badges  |  Report an Issue  |  Terms of Service