Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Dec 2008 23:31:55 -0500
From:      Michael Petry <petry@netmasters.com>
To:        pyunyh@gmail.com
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: CFT: RTL8168C re(4) attach issue
Message-ID:  <A20916CD-E27E-4FE9-B9E7-2E0AA8D4F8B7@netmasters.com>
In-Reply-To: <20081212024713.GK46707@cdnetworks.co.kr>
References:  <20081212024713.GK46707@cdnetworks.co.kr>

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

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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A20916CD-E27E-4FE9-B9E7-2E0AA8D4F8B7>