FreeBSD 7.1 Breaks re and rl Network Interface Drivers

Pyun YongHyeon pyunyh at gmail.com
Tue Jan 13 16:32:37 PST 2009


On Tue, Jan 13, 2009 at 10:17:54AM -0500, FreeBSD wrote:
 > Pyun YongHyeon a ?crit :
 > >On Mon, Jan 12, 2009 at 05:11:02PM -0500, FreeBSD wrote:
 > > > Pyun YongHyeon a ?crit :
 > > > >On Sun, Jan 11, 2009 at 07:22:06PM +0300, Eugene Gladchenko wrote:
 > > > > > Walter,
 > > > > > 
 > > > > > Thursday, January 8, 2009, 2:50:40 AM, you wrote:
 > > > > > 
 > > > > > WV> Booting kernel.old, which is 7.0-RELEASE-p7 completely 
 > > alleviates > > all
 > > > > > WV> problems.  I believe this roundly confirms that this is a bug 
 > > in the
 > > > > > WV> 7.1-RELEASE re kernel drivers.
 > > > > > 
 > > > > > Does kern/130011 look similar? 
 > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=130011
 > > > >
 > > > >Do you have RTL8168C controller? If not, it's not related with
 > > > >Walter's issue as 7.0-RELEASE didn't have a support for RTL8168C.
 > > > >
 > > > > > 
 > > > > > The re driver was really broken in 7.1-RC2 and the fix didn't get 
 > > to > > 7.1-RELEASE.
 > > > >
 > > > >If you have re(4) issues, please provide more details such as
 > > > >dmesg output, way to reproduce the issue etc.
 > > > >
 > > > 
 > > > Hi,
 > > > 
 > > > I have the exact same card and the exact same problem as the PR you 
 > > > mentionned.
 > > > 
 > > > re0 at pci0:3:0:0: class=0x020000 card=0x02831028 chip=0x816810ec rev=0x02 
 > > > hdr=0x00
 > > >     vendor     = 'Realtek Semiconductor'
 > > >     device     = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
 > > >     class      = network
 > > >     subclass   = ethernet
 > > > 
 > > > 
 > > > re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe 
 > > > Gigabit Ethernet> port 0xd800-0xd8ff mem 
 > > > 0xfeaff000-0xfeafffff,0xfdff0000-0xfdffffff irq 18 at device 0.0 on pci3
 > > > 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 tried to compile a new kernel with the latest version of the 3 files 
 > > > listed in the PR:
 > > > src/sys/dev/re/if_re.c,v 1.147 2008/12/22 00:46:22 yongari
 > > > src/sys/pci/if_rl.c,v 1.170.2.10 2009/01/12 04:10:40 yongari
 > > > src/sys/pci/if_rlreg.h,v 1.67.2.16 2009/01/12 03:48:25 yongari
 > > > 
 > >
 > >You need lastest if_rl.c and if_rlreg.h as well as if_re.c.
 > >
 > 
 > That's exactly what I tried. Look at the 3 revision of the specified 

You've used if_rlreg.h in stable/7.

 > files. I even tried with a if_rl.c from the 22/12/08 but got the same 
 > problem.
 > 

Use if_re.c, if_rl.h and if_rl.c in HEAD. Not all changes were
MFCed.

-- 
Regards,
Pyun YongHyeon


More information about the freebsd-stable mailing list