From owner-freebsd-stable@FreeBSD.ORG Fri Nov 21 21:24:42 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 766461065673 for ; Fri, 21 Nov 2008 21:24:42 +0000 (UTC) (envelope-from peter@simons-rock.edu) Received: from hedwig.simons-rock.edu (hedwig.simons-rock.edu [208.81.88.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE888FC18 for ; Fri, 21 Nov 2008 21:24:41 +0000 (UTC) (envelope-from peter@simons-rock.edu) Received: from cesium.hyperfine.info (c2.8d.5646.static.theplanet.com [70.86.141.194]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hedwig.simons-rock.edu (Postfix) with ESMTP id 79863ED002; Fri, 21 Nov 2008 16:24:40 -0500 (EST) Date: Fri, 21 Nov 2008 16:22:06 -0500 From: "Peter C. Lai" To: Peter Jeremy Message-ID: <20081121212206.GI58082@cesium.hyperfine.info> References: <20616760.post@talk.nabble.com> <20081121210931.GY51761@server.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081121210931.GY51761@server.vk2pj.dyndns.org> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: hamtilla , freebsd-stable@freebsd.org Subject: Re: Integrated RTL8168/8111 NIC not assigned interface X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2008 21:24:42 -0000 On 2008-11-22 08:09:31AM +1100, Peter Jeremy wrote: > On 2008-Nov-21 00:07:26 -0800, hamtilla 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 ===========================================================