On 2013-05-16 08:21, Klemen Dovrtel wrote:
> Hello everybody,
> 
> I successfully tested the rtnet on 100Mbit network interface card that used 
> 8139too and 8139cp modules. I removed that modules and installed the rtnet 
> substitute as suggested at Rtnet wiki 
> (http://www.xenomai.org/index.php/RTnet:Installation_%26_Testing)
> 
> 1. Now i would like to test the 1Gbit RTL-8169 Gigabit Ethernet card. But now 
> i have a problem removing r8169 and installing rt_r8169 because there is 
> another network interface card in the motherboard that also uses the r8169 
> module:
> 
> lspco -nnk:
> 
> 1:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. 
> RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 
> 06)
>     Kernel driver in use: r8169
>     Kernel modules: r8169
> 05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 
> Gigabit Ethernet [10ec:8169] (rev 10)
>     Kernel driver in use: r8169
>     Kernel modules: r8169
> 
> When i remove the r8169 module both network cards go down. Any idea how can i 
> remove ther8169 and install the rt_r8169for 1Gbit Ethernet card only?

Check /sys/bus/pci/drivers/r8169/unbind. Echoing, e.g., "0000:05:00.0"
to that file will unbind the second adapter from the driver, allowing
the RTnet driver to pick it up (on insmod or via "echo 0000:05:00.0 >
/sys/bus/pci/drivers/rt_r8169/bind").

> 
> 2. I also tried to install thert_r8169 after removing the r8169 but 
> afterwards i could not find any rteth interface. I tried to 
> "/usr/local/rtnet/sbin/rtifconfig rteth0 up 142.1.1.1 netmask 255.255.255.0" 
> with different rteth0..5 but all replied there is no such rteth interface.
> 
> lspco -nnk:
> 1:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. 
> RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 
> 06)
>     Kernel modules: r8169
> 05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 
> Gigabit Ethernet [10ec:8169] (rev 10)
>     Kernel driver in use: rt_r8169
>     Kernel modules: r8169
> 
> Any idea what could be wrong? How can i find the rteth interface of my rtnet 
> driver?

Check what dmesg reports, check /proc/rtnet/devices. Does /dev/rtnet
exist when you want to call rtifconfig?

Jan


Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
RTnet-users mailing list
RTnet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to