From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 22 18:11:55 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3F9F916A4D8; Tue, 22 Mar 2005 18:11:55 +0000 (GMT) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73CCA43D53; Tue, 22 Mar 2005 18:11:54 +0000 (GMT) (envelope-from des@des.no) Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IDR007HOMAN86C0@bgo1smout1.broadpark.no>; Tue, 22 Mar 2005 19:06:23 +0100 (CET) Received: from dsa.des.no ([80.203.228.37]) by bgo1sminn1.broadpark.no (Sun Java System Messaging Server 6.1 HotFix 0.05 (built Oct 21 2004)) with ESMTP id <0IDR00IV1MMLP8UD@bgo1sminn1.broadpark.no>; Tue, 22 Mar 2005 19:13:33 +0100 (CET) Received: by dsa.des.no (Pony Express, from userid 666) id AB09FBDC5E; Tue, 22 Mar 2005 19:11:52 +0100 (CET) Received: from xps.des.no (xps.des.no [10.0.0.12]) by dsa.des.no (Pony Express) with ESMTP id 1BD61BDC4B; Tue, 22 Mar 2005 19:11:47 +0100 (CET) Received: by xps.des.no (Postfix, from userid 1001) id F3CE833C1B; Tue, 22 Mar 2005 19:11:46 +0100 (CET) Date: Tue, 22 Mar 2005 19:11:46 +0100 From: des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) In-reply-to: <200503222351.44698.doconnor@gsoft.com.au> To: Daniel O'Connor Message-id: <86mzsvpn31.fsf@xps.des.no> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_L3xC/UQm68Tb2qWWRZtVkQ)" X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on dsa.des.no References: <200503222351.44698.doconnor@gsoft.com.au> User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (berkeley-unix) X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED,AWL autolearn=disabled version=3.0.2 X-Spam-Level: cc: freebsd-hackers@freebsd.org cc: "Kevin G. Eliuk" cc: Kevin Kinsey cc: Andrew Robinson cc: hackers@freebsd.org cc: jason henson Subject: Re: NIC detected, but won't DHCP or configure X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2005 18:11:55 -0000 --Boundary_(ID_L3xC/UQm68Tb2qWWRZtVkQ) Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: quoted-printable "Daniel O'Connor" writes: > On Tue, 22 Mar 2005 17:30, Andrew Robinson wrote: > > thanks for the suggestion! I tried that and it didn't seem to change > > anything: the relevant output of pciconf -lv is still > Try if_rl.ko/rl0 No, if_rl will not attach to 8169 cards. Andrew, it seems you have a chip revision which isn't currently supported. Try applying the attached patch, and see if loading if_re.ko results in something like this: re_probe(): vid 10ec did 8169 hwrev 00800000 the first two numbers should be exactly as shown, but the last number should be different; let me know what it is. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no --Boundary_(ID_L3xC/UQm68Tb2qWWRZtVkQ) Content-type: text/x-patch; NAME=if_re.diff Content-transfer-encoding: 7BIT Content-disposition: attachment; filename=if_re.diff Index: sys/dev/re/if_re.c =================================================================== RCS file: /home/ncvs/src/sys/dev/re/if_re.c,v retrieving revision 1.42 diff -u -p -r1.42 if_re.c --- sys/dev/re/if_re.c 13 Mar 2005 01:54:41 -0000 1.42 +++ sys/dev/re/if_re.c 22 Mar 2005 18:09:34 -0000 @@ -819,6 +819,7 @@ re_probe(dev) t = re_devs; sc = device_get_softc(dev); + hwrev = 0; while (t->rl_name != NULL) { if ((pci_get_vendor(dev) == t->rl_vid) && (pci_get_device(dev) == t->rl_did)) { @@ -847,6 +848,9 @@ re_probe(dev) } t++; } + if (hwrev != 0) + printf("%s(): vid %04x did %04x hwrev %08x\n", __func__, + pci_get_vendor(dev), pci_get_device(dev), hwrev); return (ENXIO); } --Boundary_(ID_L3xC/UQm68Tb2qWWRZtVkQ)--