From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 11 14:50:10 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EACF437B401 for ; Wed, 11 Jun 2003 14:50:09 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id CF25543FA3 for ; Wed, 11 Jun 2003 14:50:08 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h5BLo8Up010559 for ; Wed, 11 Jun 2003 14:50:08 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h5BLo8B0010558; Wed, 11 Jun 2003 14:50:08 -0700 (PDT) Resent-Date: Wed, 11 Jun 2003 14:50:08 -0700 (PDT) Resent-Message-Id: <200306112150.h5BLo8B0010558@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Beric Farmer Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2103437B401 for ; Wed, 11 Jun 2003 14:42:19 -0700 (PDT) Received: from xenon.xe.com (ws-gw.tor.xe.net [216.220.37.73]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5677A43FA3 for ; Wed, 11 Jun 2003 14:42:18 -0700 (PDT) (envelope-from bfarmer@xenon.xe.com) Received: from xenon.xe.com (localhost [127.0.0.1]) by xenon.xe.com (8.12.8p1/8.12.8) with ESMTP id h5BLgH7S000315 for ; Wed, 11 Jun 2003 17:42:17 -0400 (EDT) (envelope-from bfarmer@xenon.xe.com) Received: (from root@localhost) by xenon.xe.com (8.12.8p1/8.12.8/Submit) id h5BLgEAC000314; Wed, 11 Jun 2003 17:42:14 -0400 (EDT) Message-Id: <200306112142.h5BLgEAC000314@xenon.xe.com> Date: Wed, 11 Jun 2003 17:42:14 -0400 (EDT) From: Beric Farmer To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/53228: [patch] fxp driver fails to detect 82562 chipset on Intel D865GBFL motherboard X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Beric Farmer List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2003 21:50:10 -0000 >Number: 53228 >Category: kern >Synopsis: [patch] fxp driver fails to detect 82562 chipset on Intel D865GBFL motherboard >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 11 14:50:08 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Beric Farmer >Release: FreeBSD 4.8-RELEASE i386 >Organization: XE.com Inc. >Environment: Intel D865GBFL motherboard (AA Revision C25843-401) Integrated LAN with Intel 82562EZ PLC 2.4C GHz Pentium 4 processor (800MHz, HT) FreeBSD 4.8-RELEASE -- GENERIC kernel (although, would presumably happen with any kernel with the current fxp driver) Version info from if_fxp.c: * $FreeBSD: src/sys/dev/fxp/if_fxp.c,v 1.110.2.28 2003/01/28 11:17:33 sanpei Ex p $ Relevant output from 'pciconf -lv': none4@pci1:8:0: class=0x020000 card=0x302f8086 chip=0x10508086 rev=0x01 hdr=0x00 vendor = 'Intel Corporation' class = network subclass = ethernet >Description: The fxp driver fails to recognize the integrated Intel 82562EZ LAN on the Intel D865GBFL motherboard. If my diagnosis is correct, this is the result of this version of the 82562 chip reporting a new PCI "chip id", as has happened before (see kern/39974). >How-To-Repeat: Install 4.8-RELEASE on a system with an Intel D865GBFL motherboard (the AA Revision on the board in question was C25843-401). During and after installation, the kernel (specifically the fxp driver) fails to detect the on-board Intel 82562 LAN. >Fix: Add an entry to the fxp_ident_table array in sys/dev/fxp/if_fxp.c for the new PCI chip id and re-build the kernel. Here's a patch: --- if_fxp.c Wed Jun 11 16:36:59 2003 +++ if_fxp.c-patched Wed Jun 11 16:36:30 2003 @@ -165,6 +165,7 @@ { 0x103C, "Intel Pro/100 Ethernet" }, { 0x103D, "Intel Pro/100 Ethernet" }, { 0x103E, "Intel Pro/100 Ethernet" }, + { 0x1050, "Intel Pro/100 Ethernet" }, { 0x1059, "Intel Pro/100 M Mobile Connection" }, { 0, NULL }, }; Note: the timestamp on the original if_fxp.c file is wrong because I had to re-create the original after patching and testing it, and didn't back up the original first. The version info from the top of the file, however, is: * $FreeBSD: src/sys/dev/fxp/if_fxp.c,v 1.110.2.28 2003/01/28 11:17:33 sanpei Exp $ This solved the problem for me. >Release-Note: >Audit-Trail: >Unformatted: