kern/53228: [patch] fxp driver fails to detect 82562 chipset on Intel D865GBFL motherboard

Beric Farmer bfarmer at xe.com
Wed Jun 11 14:50:10 PDT 2003


>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 at 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:


More information about the freebsd-bugs mailing list