Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2008 16:22:06 -0500
From:      "Peter C. Lai" <peter@simons-rock.edu>
To:        Peter Jeremy <peterjeremy@optushome.com.au>
Cc:        hamtilla <tangel@gmail.com>, freebsd-stable@freebsd.org
Subject:   Re: Integrated RTL8168/8111 NIC not assigned interface
Message-ID:  <20081121212206.GI58082@cesium.hyperfine.info>
In-Reply-To: <20081121210931.GY51761@server.vk2pj.dyndns.org>
References:  <20616760.post@talk.nabble.com> <20081121210931.GY51761@server.vk2pj.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2008-11-22 08:09:31AM +1100, Peter Jeremy wrote:
> On 2008-Nov-21 00:07:26 -0800, hamtilla <tangel@gmail.com> wrote:
> >I'm running 7.0-RELEASE-i386 on Jetway's NC92-N230 mainboard. The board has
> >one integrated RTL8168/8111 gigabit NIC as well as an expansion board with
> >three RTL8168/8111 NICs. Why would the three NICs work while the onboard NIC
> >does not? 
> >
> >none2@pci0:1:0:0:       class=0x020000 card=0x816810ec chip=0x816810ec
> >rev=0x02 hdr=0x00
> >    vendor     = 'Realtek Semiconductor'
> >    device     = 'RTL8168/8111 PCI-E Gigabit Ethernet NIC'
> >    class      = network
> >    subclass   = ethernet
> >re0@pci0:2:4:0: class=0x020000 card=0x10ec16f3 chip=0x816710ec rev=0x10
> >hdr=0x00
> >    vendor     = 'Realtek Semiconductor'
> >    device     = 'RTL8169/8110 Family Gigabit Ethernet NIC'
> >    class      = network
> >    subclass   = ethernet
> ...
> 
> The on-board NIC is a different type to your expansion cards (note the
> different 'chip=' values.  Looking at the code, it appears that only
> some variants of the RTL8168 are supported in 7.x.  Unfortunately, pciconf
> doesn't report the actual hardware revision, so you can't tell from the
> pciconf output whether it's supported or not.
> 
> Can you report the output of 'pciconf -r pci0:1:0:0 0x40' (which should
> report the hw revision) and 'pciconf -r pci0:2:4:0 0x40' (which gives
> me a double-check).
> 
> You could try booting -current and see if the on-board NIC works there -
> the range of supported NICs has changed.
> 
> -- 
> Peter Jeremy
> Please excuse any delays as the result of my ISP's inability to implement
> an MTA that is either RFC2821-compliant or matches their claimed behaviour.

Yes, 7.0-R is pretty old in terms of re(4) work. I believe yongari@
is still working on this driver. 7.1 is close enough for patching
with patches from http://people.freebsd.org/~yongari/re/

Currently development is stifled because he has to basically guess
the appropriate magic values for various PHY permutations in these 
8111C/8168C gigabit cards everyone seems to be putting in their
motherboards these days.

-- 
===========================================================
Peter C. Lai                 | Bard College at Simon's Rock
Systems Administrator        | 84 Alford Rd.
Information Technology Svcs. | Gt. Barrington, MA 01230 USA
peter AT simons-rock.edu     | (413) 528-7428
===========================================================




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