CFT: RTL8168C re(4) attach issue

Michael Petry petry at
Fri Dec 12 04:47:56 UTC 2008

On Dec 11, 2008, at 9:47 PM, Pyun YongHyeon wrote:

> Hi,
> There had been several reports that some revision of RTL8168C were
> not able to access PHY which in turn resulted in device attach
> failure. For instance re(4) used to show the following messages.
> re0: Chip rev. 0x3c000000
> re0: MAC rev. 0x00200000
> re0: PHY write failed
> re0: PHY write failed
> re0: MII without any phy!
> For users who suffered from these issues, please try re(4)/rl(4) at
> the following URL and let me know how it goes.
> (copy it to /usr/usr/ 
> sys/dev/re/)
> (copy it /usr/src/ 
> sys/pci/)
> (copy it /usr/src/sys/ 
> pci/)
> And rebuild re(4) and rl(4). Since the issue is not always happen
> testers should do power recycle several times to verify the issue.
> Thanks.
> -- 
> Regards,
> Pyun YongHyeon
> _______________________________________________
> freebsd-current at mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at 
> "


That got it working for me.

HP Pavilion a6442p with a Realtek on the motherboard

re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe  
Gigabit Ethernet> port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff, 
0xfdff0000-0xfdffffff irq 18 at device 0.0 on pci2
re0: Chip rev. 0x3c000000
re0: MAC rev. 0x00200000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 1 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,  
1000baseT-FDX, auto
re0: Ethernet address: 00:1f:c6:4c:55:dc
re0: [FILTER]

re0 at pci0:2:0:0: class=0x020000 card=0x2a6f103c chip=0x816810ec  
rev=0x02 hdr=0x00
     vendor     = 'Realtek Semiconductor'
     device     = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
     class      = network
     subclass   = ethernet


More information about the freebsd-current mailing list