re0 problem

Pyun YongHyeon pyunyh at
Mon Oct 20 21:33:57 PDT 2008

On Mon, Oct 20, 2008 at 01:28:27PM +0400, Ilya Bakulin wrote:
 > Just my five cents...
 > On my laptop (Dell Vostro 1310) I get _periodically_ (not always!) the same error:
 > re0: <RealTek 8168/8168B/8168C/8168CP/8111B/8111C/8111CP PCIe Gigabit Ethernet> port 0x5000-0x50ff mem 0xf8410000-0xf8410fff,0xf8400000-0xf840ffff irq 16 at device 0.0 on pci7
 > re0: Chip rev. 0x3c000000
 > re0: MAC rev. 0x00400000
 > re0: PHY write failed
 > re0: PHY write failed
 > re0: MII without any phy!
 > device_attach: re0 attach returned 6
 > I didn't notice any regularity of this error. I kldload this driver by hand (most of working time I don't need wired connection), and sometimes I have to reboot after it due to error described above... 
 > Fell free to ask any additional information, I'll be glad to help!

This is known issue which happens on RTL8168C/CP and RTL8102E/EL
PCIe controllers. Would you try the patch at the following URL?

Even if the patch work for you, you should try serveral times to
make sure it really fix the issue.(e.g. completely shutdown your
box, unplug power cord  and wait several mininutes and reboot.)

 > Information from pciconf:
 > -------------------------
 > re0 at pci0:7:0:0: class=0x020000 card=0x026f1028 chip=0x816810ec rev=0x02 hdr=0x00
 >     vendor     = 'Realtek Semiconductor'
 >     device     = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
 >     class      = network
 >     subclass   = ethernet
 > -------------------------
 > Running 7.1-PRERELEASE, cvsupped 29th Aug.

Pyun YongHyeon

More information about the freebsd-stable mailing list