Trables with RTL8169/8119
Pyun YongHyeon
pyunyh at gmail.com
Tue Jul 27 17:22:35 UTC 2010
On Tue, Jul 27, 2010 at 04:10:20PM +0600, ?????????????? ???????????????? wrote:
> I have old machine with:
> FreeBSD data-srv.HOME 8.0-RELEASE FreeBSD 8.0-RELEASE #1: Sun Jul 25
> 17:49:20 YEKST 2010
> root at data-srv.HOME:/usr/src/sys/i386/compile/GENERIC i386
>
> and 2 NIC interfaces:
>
> re0 at pci0:0:10:0: class=0x020000 card=0x816910ec chip=0x816910ec
> rev=0x10 hdr=0x00
> vendor = 'Realtek Semiconductor'
> device = 'Single Gigabit LOM Ethernet Controller (RTL8119)'
> class = network
> subclass = ethernet
> rl0 at pci0:0:12:0: class=0x020000 card=0x813911f6 chip=0x813910ec
> rev=0x10 hdr=0x00
> vendor = 'Realtek Semiconductor'
> device = 'Realtek RTL8139 Family PCI Fast Ethernet NIC
> (RTL-8139/8139C/8139C)'
> class = network
> subclass = ethernet
>
> In the beginning rl0 had conflict with onboard sound, as result sound
> was disabled.
> After that both card begin work, but re0 don’t reaction on any action
> (plug|unplug cable) in dmesg and don’t ping from other PC in local.
>
It's hard to guess what's going in here mainly because I'm not
familiar with vendor code.
> data-srv# grep ^re /var/run/dmesg.boot
> real memory = 402653184 (384 MB)
> re0: <Realtek PCI GBE Family Controller> port 0xd000-0xd0ff mem
> 0xe7001000-0xe70010ff irq 12 at device 10.0 on pci0
> re0: version:1.80
> re0: Ethernet address: 00:e0:52:95:90:99
> re0: Ethernet address: 00:e0:52:95:90:99
> re0: [ITHREAD]
>
> data-srv# grep ^rl /var/run/dmesg.boot
> rl0: <RealTek 8139 10/100BaseTX> port 0xd400-0xd4ff mem
> 0xe7003000-0xe70030ff irq 10 at device 12.0 on pci0
> rlphy0: <RealTek internal media interface> PHY 0 on miibus0
> rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:80:48:26:a0:3a
> rl0: [ITHREAD]
>
> re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> ether 00:e0:52:95:90:99
> inet 192.168.0.2 netmask 0xffffff00 broadcast 192.168.0.255
> media: Ethernet autoselect
> status: no carrier
> rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> options=8<VLAN_MTU>
> ether 00:80:48:26:a0:3a
> inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255
> media: Ethernet autoselect (100baseTX <full-duplex>)
> status: active
> Driver taken from Realteck site (v 1.8), builded as kernel module.
>
Why you want to use vendor driver? 8.1-RELEASE should support
almost all RealTek variants. Also note, vendor code effectively
disables all offload features of controller and make it work like
dumb RTL8139.
More information about the freebsd-hardware
mailing list