Bug 157429 - [re] Realtek RTL8169 doesn't work with re(4)
Summary: [re] Realtek RTL8169 doesn't work with re(4)
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 8.2-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-30 16:30 UTC by Sergey Gavrilov
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Gavrilov 2011-05-30 16:30:09 UTC
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.

Fix: 

It worked on FreeBSD 7
How-To-Repeat: Use this hardware
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2011-05-30 21:21:29 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-net


Over to maintainer(s).
Comment 2 Pyun YongHyeon freebsd_committer freebsd_triage 2012-04-25 05:29:45 UTC
State Changed
From-To: open->feedback

Try diff at the following URL and let me know how it goes. 


Comment 3 Pyun YongHyeon freebsd_committer freebsd_triage 2012-04-25 05:29:45 UTC
Responsible Changed
From-To: freebsd-net->yongari

Grab.
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:29 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped