Re: CFT: RTL8168C re(4) attach issue

From: Michael Petry <petry_at_netmasters.com>
Date: Thu, 11 Dec 2008 23:31:55 -0500
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.
> http://people.freebsd.org/~yongari/re/if_re.c (copy it to /usr/usr/ 
> sys/dev/re/)
> http://people.freebsd.org/~yongari/re/if_rlreg.h (copy it /usr/src/ 
> sys/pci/)
> http://people.freebsd.org/~yongari/re/if_rl.c (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_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org 
> "

Thanks!!

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

Mike
Received on Fri Dec 12 2008 - 03:47:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC