Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - devn-rtl8169.so doesn't work with RTL8111C: Page 1 of 2 (15 Items)
   
devn-rtl8169.so doesn't work with RTL8111C  
I use a Gigabyte GA-MA78GM-S2H motherboard with onboard Realtek RTL8111C (pci -v see attachment). The io-net driver devn
-rtl8169.so starts with following error message: unable to init dll devn-rtl8169: No such device

# sloginfo
Jul 23 13:40:05    2    10     0 rtl8169: TBI mode not yet supported
Jul 23 13:40:05    2    10     0 devn-rtl8169: Failure, unable to detectMII (PHY) Interface.
Jul 23 13:40:05    2    10     0 devn-rtl8169: Failed rtl_hw_config().
Jul 23 13:40:05    2    10     0 devn-rtl8169: rtl_create_instance() failed for scanned vid: 0x10ec did: 0x8168 idx: 0x0

Jul 23 13:40:05    5    14     0 tcpip starting
Jul 23 13:40:05    3    14     0 Using pseudo random generator.  See "random" option

But the driver works if I plug off the ethernet cable:

# sloginfo
Jul 28 14:54:24    5    10     0 rtl_FindPHY(): an_capable 0x8, force_advertise -1, media_rate -1, duplex -1
Jul 28 14:54:24    6    10     0 tcrval 3c000000
Jul 28 14:54:24    5    14     0 tcpip starting
Jul 28 14:54:24    3    14     0 Using pseudo random generator. See "random" option

The driver works too with another motherboard and RTL8111B.

Attachment: Text pci.txt 1.24 KB
RE: devn-rtl8169.so doesn't work with RTL8111C  
Yes, this is currently not supported, as we don't have any hardware with a TBI interface.


-----Original Message-----
From: Steffen Brühl [mailto:community-noreply@qnx.com] 
Sent: Monday, July 28, 2008 8:59 AM
To: drivers-networking
Subject: devn-rtl8169.so doesn't work with RTL8111C

I use a Gigabyte GA-MA78GM-S2H motherboard with onboard Realtek RTL8111C (pci -v see attachment). The io-net driver devn
-rtl8169.so starts with following error message: unable to init dll devn-rtl8169: No such device

# sloginfo
Jul 23 13:40:05    2    10     0 rtl8169: TBI mode not yet supported
Jul 23 13:40:05    2    10     0 devn-rtl8169: Failure, unable to detectMII (PHY) Interface.
Jul 23 13:40:05    2    10     0 devn-rtl8169: Failed rtl_hw_config().
Jul 23 13:40:05    2    10     0 devn-rtl8169: rtl_create_instance() failed for scanned vid: 0x10ec did: 0x8168 idx: 0x0

Jul 23 13:40:05    5    14     0 tcpip starting
Jul 23 13:40:05    3    14     0 Using pseudo random generator.  See "random" option

But the driver works if I plug off the ethernet cable:

# sloginfo
Jul 28 14:54:24    5    10     0 rtl_FindPHY(): an_capable 0x8, force_advertise -1, media_rate -1, duplex -1
Jul 28 14:54:24    6    10     0 tcrval 3c000000
Jul 28 14:54:24    5    14     0 tcpip starting
Jul 28 14:54:24    3    14     0 Using pseudo random generator. See "random" option

The driver works too with another motherboard and RTL8111B.



_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post11136
Re: RE: devn-rtl8169.so doesn't work with RTL8111C  
Hi Hugh,
thank you very much for your answer.

I think we use MII interface not TBI, because if I plug off the ethernet cable, start the driver and after that plug in 
the ethernet cable the driver works with MII.

Best regards, Steffen
RE: RE: devn-rtl8169.so doesn't work with RTL8111C  
Well for some reason the chip is reporting TBI mode, as seen in your sloginfo output, so that is why the driver is not 
working. Why the chip doesn't report TBI mode when the cable is unplugged, I have no idea. I have attached a modified 
driver that doesn't check for the TBI bit, so please try it and let me know if it works.

Thanks, Hugh.

-----Original Message-----
From: Steffen Brühl [mailto:community-noreply@qnx.com] 
Sent: Monday, August 11, 2008 10:10 AM
To: drivers-networking
Subject: Re: RE: devn-rtl8169.so doesn't work with RTL8111C

Hi Hugh,
thank you very much for your answer.

I think we use MII interface not TBI, because if I plug off the ethernet cable, start the driver and after that plug in 
the ethernet cable the driver works with MII.

Best regards, Steffen

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post11621

Attachment: Text devn-rtl8169.so 59.87 KB
Re: RE: RE: devn-rtl8169.so doesn't work with RTL8111C  
The modified driver seems to work.

#sloginfo
Aug 11 16:41:51    6    10     0 tcrval 3f4000c0 - version c
Aug 11 16:41:51    5    10     0 rtl_FindPHY(): an_capable 0x8, force_advertise -1, media_rate -1, duplex -1
Aug 11 16:41:51    5    14     0 tcpip starting
Aug 11 16:41:51    3    14     0 Using pseudo random generator.  See "random" option
Aug 11 16:41:52    5    14     0 tcpip starting
Aug 11 16:41:52    3    14     0 Using pseudo random generator.  See "random" option
Aug 11 16:41:54    6    10     0 Phy Status 8b
Aug 11 16:41:54    5    10     0 devn-rtl8169: Link up (100 BaseT Full Duplex)

Thank you very much, Steffen

RE: RE: RE: devn-rtl8169.so doesn't work with RTL8111C  
Great! Thanks, Hugh.

-----Original Message-----
From: Steffen Brühl [mailto:community-noreply@qnx.com] 
Sent: Monday, August 11, 2008 10:48 AM
To: drivers-networking
Subject: Re: RE: RE: devn-rtl8169.so doesn't work with RTL8111C

The modified driver seems to work.

#sloginfo
Aug 11 16:41:51    6    10     0 tcrval 3f4000c0 - version c
Aug 11 16:41:51    5    10     0 rtl_FindPHY(): an_capable 0x8, force_advertise -1, media_rate -1, duplex -1
Aug 11 16:41:51    5    14     0 tcpip starting
Aug 11 16:41:51    3    14     0 Using pseudo random generator.  See "random" option
Aug 11 16:41:52    5    14     0 tcpip starting
Aug 11 16:41:52    3    14     0 Using pseudo random generator.  See "random" option
Aug 11 16:41:54    6    10     0 Phy Status 8b
Aug 11 16:41:54    5    10     0 devn-rtl8169: Link up (100 BaseT Full Duplex)

Thank you very much, Steffen



_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post11629
Re: RE: RE: RE: devn-rtl8169.so doesn't work with RTL8111C  
Hi Hugh,

the driver works with the RTL8111C now, but I have problems with RTL8111B. After a few minutes I got timeouts on my 
ethernet connection.

But your experimental driver from the following topic works with RTL8111B:
http://community.qnx.com/sf/discussion/do/listPosts/projects.bsp/discussion.bsp.topc1322

Best regards,

Steffen
Re: RE: RE: RE: devn-rtl8169.so doesn't work with RTL8111C  
I have successfully used the modified driver with a Gigabyte GA-EP45-DS3 motherboard which has two RTL8111C interfaces. 
However when I remove and then re-insert a network cable the 'nicinfo' command shows the current operation rate as 0 kb/
s half-duplex instead of the original 100.00 Mb/s full-duplex. I am starting io-net with the command 'io-net -d rtl8169 
speed=100,duplex=1 -p tcpip -p qnet'.
Attachment: Text nicinfo.txt 1.47 KB
RE: RE: RE: RE: devn-rtl8169.so doesn't work with RTL8111C  
We will have to take a look at this.


-----Original Message-----
From: Owen Marsh [mailto:community-noreply@qnx.com] 
Sent: Wednesday, September 17, 2008 7:54 PM
To: drivers-networking
Subject: Re: RE: RE: RE: devn-rtl8169.so doesn't work with RTL8111C

I have successfully used the modified driver with a Gigabyte GA-EP45-DS3
motherboard which has two RTL8111C interfaces. However when I remove and
then re-insert a network cable the 'nicinfo' command shows the current
operation rate as 0 kb/s half-duplex instead of the original 100.00 Mb/s
full-duplex. I am starting io-net with the command 'io-net -d rtl8169
speed=100,duplex=1 -p tcpip -p qnet'.

_______________________________________________
Networking Drivers
http://community.qnx.com/sf/go/post13595
Re: RE: RE: RE: RE: devn-rtl8169.so doesn't work with RTL8111C  
Hi Hugh,

The driver devn-rtl8169.so was already included in QNX V6.3.0 SP3 released at end of 2007 as a stable version. May I 
know what are the changes/improvement done in your experimental version?

We want to use the driver to drive a CPU card with RTL8111C chipset. Haven't got the hardware yet. But a bit worry when 
I saw this post in forum. Do you think I can use devn-rtl8169.so in QNX V6.3.0 SP3 official release to drive RTL8111C?

Thanks,

Chengzhi