Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 2009 16:36:33 GMT
From:      Henrik Friedrichsen <hrkfdn@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/130586: if_re doesn't always attach to Realtek 8111C
Message-ID:  <200901151636.n0FGaXAU039975@www.freebsd.org>
Resent-Message-ID: <200901151640.n0FGe3jX055342@freefall.freebsd.org>

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

>Number:         130586
>Category:       misc
>Synopsis:       if_re doesn't always attach to Realtek 8111C
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 15 16:40:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Henrik Friedrichsen
>Release:        7.1-RELEASE
>Organization:
>Environment:
FreeBSD canaan.connecticut 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Sun Jan 4 20:18:09 CET 2009 root@canaan.megawr.ath.cx:/usr/obj/usr/src/sys/PLUTONIUM i386
>Description:
I have a NIC with the Realtek 8111C on a Gigabyte GA-EP43-DS3L.
However, the if_re driver doesn't always attach. I have not found out when it does or doesn't, it seems to be random, once it has attached, which is rarely the case, it works fine though.

if_re prints the following messages ..

. if it works:
re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xe9010000-0xe9010fff,0xe9000000-0xe900ffff irq 17 at device 0.0 on pci4
re0: Chip rev. 0x3c000000
re0: MAC rev. 0x00400000
miibus0: <MII bus> on re0
re0: Ethernet address: 00:1f:d0:8e:95:4c
re0: [FILTER]
re0: link state changed to UP

. if it doesn't work:
re0: <RealTek 8168/8168B/8168C/8168CP/8168D/8111B/8111C/8111CP PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xe9010000-0xe9010fff,0xe9000000-0xe900ffff irq 17 at device 0.0 on pci4
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

pciconf output:
re0@pci0:4:0:0:	class=0x020000 card=0xe0001458 chip=0x816810ec rev=0x02 hdr=0x00
    vendor     = 'Realtek Semiconductor'
    device     = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
    class      = network
    subclass   = ethernet

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



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