Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 13:31:52 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Ilya Bakulin <webmaster@kibab.com>
Cc:        Daniel Gerzo <danger@FreeBSD.org>, Norikatsu Shigemura <nork@FreeBSD.org>, stable@FreeBSD.org, yongari@FreeBSD.org
Subject:   Re: re0 problem
Message-ID:  <20081021043152.GE43039@cdnetworks.co.kr>
In-Reply-To: <20081020132827.edbb2c53.webmaster@kibab.com>
References:  <755632516.20081018001504@rulez.sk> <20081018020248.GB31303@cdnetworks.co.kr> <20081020012504.95adc0ca.nork@FreeBSD.org> <20081020071155.GH38923@cdnetworks.co.kr> <20081020132827.edbb2c53.webmaster@kibab.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

http://www.freebsd.org/~yongari/re/re.ephy.patch.20081021

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@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.

-- 
Regards,
Pyun YongHyeon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081021043152.GE43039>