Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 May 2011 15:29:49 GMT
From:      Sergey Gavrilov <srg.gavrilov@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/157429: Realtek RTL8169 doesn't work with re(4)
Message-ID:  <201105301529.p4UFTnOe094301@red.freebsd.org>
Resent-Message-ID: <201105301530.p4UFU9Yu093156@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         157429
>Category:       kern
>Synopsis:       Realtek RTL8169 doesn't work with re(4)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 30 15:30:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Sergey Gavrilov
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD freebsd.gabell.net 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon May 30 18:20:12 MSD 2011     root@freebsd.gabell.net:/usr/obj/usr/src/sys/MYKERNEL  i386
>Description:
Asus A6000 laptop. Cable connected to switch and tested with other devices. I removed "device re" from kernel config for experiment. Anyway it goes the same way with GENERIC.
After kldload if_re I got:
 
dmesg:
re0: <RealTek 8168/8111 B/C/CP/D/DP/E PCIe Gigabit Ethernet> port 0xd800-0xd8ff mem 0xdf6ff000-0xdf6fffff irq 17 at device 0.0 on pci2
re0: Using 1 MSI message
re0: Chip rev. 0x38000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Ethernet address: 00:1a:92:f0:c1:53
re0: [ITHREAD]
re0: link state changed to DOWN

ifconfig:
re0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
	ether 00:1a:92:f0:c1:53
	media: Ethernet autoselect (10baseT/UTP <half-duplex>)
	status: no carrier

After "dhclient re0":
re0: no link ...

After "ifconfig re0 up":
dmesg:
re0: link state changed to UP

ifconfig:
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC>
	ether 00:1a:92:f0:c1:53
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
dhclient re0:
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on re0 to 255.255.255.255 port 67 interval 11
^C

While dhcpserver works well with 3 other hosts in the network and over wifi with this machine.
>How-To-Repeat:
Use this hardware
>Fix:
It worked on FreeBSD 7

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105301529.p4UFTnOe094301>