Realtek RTL8168/8111 Family PCI-E Gigabit Ethernet Network Adapter problem

Hello,

I am unable to get running NIC Realtek RTL8168/8111 on SunOS turio 5.11 snv_43 i86pc i386 i86pc (Solaris Express x86) on notebook MSI S271 with CPU AMD Turion(tm) 64 X2 Mobile Technology TL-50 CPU 1.

As far as I've known, kernel should use the modul rge, but devfsadm can't attached.

NIC was working on Solaris 10 with the gani module (gani-2.2.0 source) driver.

When I attach gani on snv_43 kernel I am getting:

[kern.info] gani0: chip is RTL8168B/8111B rev.B rev:0x01 tcr:0x30000000

[kern.warning] WARNING: gani0: gem_alloc_memory: ddi_dma_addr_bind_handle failed: -3

Information from prtconf:

Node 0x000018

assigned-addresses: 81040010.00000000.0000b800.00000000.00000100.83040018.00000000.ffcff000.0000000 0.00001000

reg: 00040000.00000000.00000000.00000000.00000000.01040010.00000000.00000000.0000000 0.00000100.03040018.00000000.00000000.00000000.00001000

compatible: 'pciex10ec,8168.1462.a422.1' + 'pciex10ec,8168.1462.a422' + 'pciex10ec,8168.1' + 'pciex10ec,8168' + 'pciexclass,020000' + 'pciexclass,0200' + 'pci10ec,8168.1462.a422.1' + 'pci10ec,8168.1462.a422' + 'pci1462,a422' + 'pci10ec,8168.1' + 'pci10ec,8168' + 'pciclass,020000' + 'pciclass,0200'

model: 'Ethernet controller'

power-consumption: 00000001.00000001

devsel-speed: 00000000

interrupts: 00000001

subsystem-vendor-id: 00001462

subsystem-id: 0000a422

unit-address: '0'

class-code: 00020000

revision-id: 00000001

vendor-id: 000010ec

device-id: 00008168

pcie-capid-pointer: 00000060

pcie-capid-reg: 00000001

pci-msi-capid-pointer: 00000050

name: 'pci1462,a422'

Thanks for any help.

Vlasta

[1775 byte] By [vlasta] at [2007-11-26 9:05:12]
# 1

It appears that even the manufacturer has no driver, either

http://www.realtek.com.tw/downloads/downloads1-3.aspx?keyword=RTL8168

... plenty for other Operating Environments, but not for any version Solaris

irrespective whether "Express" or not.

I have not checked but maybe the subject has been discussed

in one of the Open Solaris forums?

http://www.opensolaris.org/jive/index.jspa?categoryID=1

rukbat at 2007-7-6 23:16:47 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

2 things, I need working, NIC (RLTRTL8168) and X (ati driver), I am not able to choose the right distribution. On Solaris 10 RLTRTL8168 is okay, but X ati driver is old, on Solaris Express (SunOS turio 5.11 snv_43) Xorg ati driver is fine, but RTL8168 is not working .. There is Linux on the notebook MSI S271, but I want to use the Solaris 10....

vlasta at 2007-7-6 23:16:47 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3

Well, I've installed last NexentaOS, I was able to attached driver rge to pci, I was able to plumb the NIC rge0 , I was able to configure IP adress, I was able to ping itself, there were messages about link status on the NIC too, but I am not able to ping anywhere ...

.. tested by linux boot, that a cabel and other staff is fine on the network ...

give up .. back to solaris 10 with old Xorg ..

Vlasta

vlasta at 2007-7-6 23:16:47 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4

Finally, the Realtek RTL8168/8111 NIC is working on MSI S271 ..

bfu'ed kernel SunOS turio 5.11 opensol-20060724

and newer package SUNWrge from solaris-network-drivers@Sun.COM (thanks Kerry Shu) :

PKGINST: SUNWrge

NAME: Realtek Gigabit Ethernet Driver

CATEGORY: system

ARCH: i386

VERSION: 11.11,REV=2006.07.26.19.55

BASEDIR: /

VENDOR: Sun Microsystems, Inc.

DESC: Realtek Gigabit Ethernet Network Adapter Driver

PSTAMP: azariah20060728081537

INSTDATE: Jul 28 2006 18:50

Vlasta

vlasta at 2007-7-6 23:16:47 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5

Vlasta - would you care to post more detailed instructions on exactly how to install this driver ? I am using the current open solaris b44 which appears to have a driver dated 2006-07-12.

Does anyone know if and when this driver will be incorporated into one of the builds ?

Thanks

Duncan

Duncan_Groenewald at 2007-7-6 23:16:47 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6

Hello,

I obtained the driver by email from solaris-network-drivers@Sun.COM as a standard solaris package, so I used pkgrm SUNWrge first and then pkgadd.

Vlasta

On Fri, Jul 28, 2006 at 08:34:21AM +0800, Kerry Shu wrote:

> Hi Vlastislav,

>We've finished such enhancement on rge to support RTL8168/8111 and

> we're going to do snv integration next days. I attached the newly rge

> pkg for you, please have a try.

>(BTW, being for the GLD interface change, you have to install snv_44.

> Otherwise, you can't attach the driver).

>

> Thanks,

> Kerry

>

> Vlastislav SUCHARDA wrote:

> >Hello,

> >

> >is any chance to get running NIC Realtek RTL8168/8111 Family PCI-E Gigabit

> >Ethernet Network Adapter throught module rge?

> >The module is included in the kernel SunOS turio 5.11 snv_43 i86pc i386

> >i86pc (Solaris Express x86), running on notebook MSI S271 with CPU AMD

> >Turion(tm) 64 X2 Mobile Technology TL-50 CPU 1.

> >

vlasta at 2007-7-6 23:16:47 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 7
Can you send me the packege on my email address reiko@email.it please?Thanks
ReIkO at 2007-7-6 23:16:47 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 8
The package can be downloaded from http://www.aplis.cz/SUNWrge.tar.gz .Vlasta
vlasta at 2007-7-6 23:16:47 > top of Java-index,Solaris Operating System,Solaris 10 Features...