NetBSD Problem Report #46487
From www@NetBSD.org Sun May 27 16:45:07 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 2B6AE63B88D
for <gnats-bugs@gnats.NetBSD.org>; Sun, 27 May 2012 16:45:07 +0000 (UTC)
Message-Id: <20120527164505.4087B63B882@www.NetBSD.org>
Date: Sun, 27 May 2012 16:45:05 +0000 (UTC)
From: randolf+netbsd.org@inter-corporate.com
Reply-To: randolf+netbsd.org@inter-corporate.com
To: gnats-bugs@NetBSD.org
Subject: Intel 82579LM NIC not supported
X-Send-Pr-Version: www-1.0
>Number: 46487
>Category: kern
>Synopsis: Intel 82579LM NIC not supported
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: msaitoh
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 27 16:50:00 +0000 2012
>Closed-Date: Wed Jun 19 08:18:31 +0000 2013
>Last-Modified: Wed Jun 19 08:18:31 +0000 2013
>Originator: Randolf Richardson
>Release: 5.1.2
>Organization:
Inter-Corporate Computer & Network Services, Inc.
>Environment:
NetBSD netbsd.example.com 5.1.2 NetBSD 5.1.2 (LUMBERCARTEL) #0: Sat May 19 06:16:43 PDT 2012 root@netbsd.example.com:/usr/obj/sys/arch/amd64/compile/LUMBERCARTEL amd64
>Description:
We have an Intel server with two on-board NICs and one PCI NIC (also by Intel). One of the NICs gets detected correctly as "wm0" but the second NIC, which has a slightly different model number ("82579LM") never gets detected. Here's the "dmesg" output in the hopes that this will be helpful:
===== Output from "dmesg" =====
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
2006, 2007, 2008, 2009, 2010, 2011, 2012
The NetBSD Foundation, Inc. All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 5.1.2 (LUMBERCARTEL) #0: Sat May 19 06:16:43 PDT 2012
root@netbsd.bb-es.ca:/usr/obj/sys/arch/amd64/compile/LUMBERCARTEL
total memory = 7916 MB
avail memory = 7659 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.6 @ 0xeb000 (58 entries)
Intel Corporation S1200BTL (....................)
mainbus0 (root)
cpu0 at mainbus0 apid 0/usr/src/sys/arch/x86/x86/mtrr_i686.c: FIXME: more than 8 MTRRs
: Intel 686-class, 3292MHz, id 0x206a7
cpu1 at mainbus0 apid 2: Intel 686-class, 3292MHz, id 0x206a7
cpu2 at mainbus0 apid 4: Intel 686-class, 3292MHz, id 0x206a7
cpu3 at mainbus0 apid 6: Intel 686-class, 3292MHz, id 0x206a7
cpu4 at mainbus0 apid 1: Intel 686-class, 3292MHz, id 0x206a7
cpu5 at mainbus0 apid 3: Intel 686-class, 3292MHz, id 0x206a7
cpu6 at mainbus0 apid 5: Intel 686-class, 3292MHz, id 0x206a7
cpu7 at mainbus0 apid 7: Intel 686-class, 3292MHz, id 0x206a7
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20080321
acpi0: X/RSDT: OemId < INTEL,S1200BTL,06222004>, AslId <INTL,20090903>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
ALSD (ACPI0008) at acpi0 not configured
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery (Control Method)
acpibat0: battery info: -Virtual Battery 0-, Fake, CRB Battery 0 Battery 0
acpibat1 at acpi0 (BAT1, PNP0C0A-1): ACPI Battery (Control Method)
acpibat2 at acpi0 (BAT2, PNP0C0A-2): ACPI Battery (Control Method)
FWHD (INT0800) at acpi0 not configured
hpet0 at acpi0 (HPET, PNP0103-0): mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
PEC2 (PNP0401) at acpi0 not configured
UAR1 (PNP0501) at acpi0 not configured
UAR2 (PNP0501) at acpi0 not configured
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
FAN0 (PNP0C0B) at acpi0 not configured
FAN1 (PNP0C0B) at acpi0 not configured
FAN2 (PNP0C0B) at acpi0 not configured
FAN3 (PNP0C0B) at acpi0 not configured
FAN4 (PNP0C0B) at acpi0 not configured
acpitz0 at acpi0 (TZ00): active cooling level 0: 71.0C active cooling level 1: 55.0C active cooling level 2: 0.0C active cooling level 3: 0.0C active cooling level 4: 0.0C critical 100.0C
acpitz1 at acpi0 (TZ01): critical 100.0C passive 29.8C, passive cooling
ipmi0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: vendor 0x8086 product 0x0108 (rev. 0x09)
vendor 0x8086 product 0x1502 (ethernet network, revision 0x05) at pci0 dev 25 function 0 not configured
ehci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x1c2d (rev. 0x05)
ehci0: interrupting at ioapic0 pin 22
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x1c10 (rev. 0xb5)
ppb0: unsupported PCI Express version
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 28 function 4: vendor 0x8086 product 0x1c18 (rev. 0xb5)
ppb1: unsupported PCI Express version
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
wm0 at pci2 dev 0 function 0: Intel i82574L, rev. 0
wm0: interrupting at ioapic0 pin 16
wm0: PCI-Express bus
wm0: 256 word (8 address bits) SPI EEPROM
wm0: Ethernet address 00:1e:67:3e:aa:cc
ukphy0 at wm0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000ac2, model 0x000b, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ppb2 at pci0 dev 28 function 5: vendor 0x8086 product 0x1c1a (rev. 0xb5)
ppb2: unsupported PCI Express version
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci3 dev 0 function 0: vendor 0x102b product 0x0522 (rev. 0x04)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
ehci1 at pci0 dev 29 function 0: vendor 0x8086 product 0x1c26 (rev. 0x05)
ehci1: interrupting at ioapic0 pin 20
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
usb1 at ehci1: USB revision 2.0
ppb3 at pci0 dev 30 function 0: vendor 0x8086 product 0x244e (rev. 0xa5)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
wm1 at pci4 dev 0 function 0: Intel i82541PI 1000BASE-T Ethernet, rev. 5
wm1: interrupting at ioapic0 pin 16
wm1: 32-bit 33MHz PCI bus
wm1: 64 word (6 address bits) MicroWire EEPROM
wm1: Ethernet address 00:1b:21:37:2e:b4
igphy0 at wm1 phy 1: Intel IGP01E1000 Gigabit PHY, rev. 0
igphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
pcib0 at pci0 dev 31 function 0
pcib0: vendor 0x8086 product 0x1c54 (rev. 0x05)
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x1c02
ahcisata0: interrupting at ioapic0 pin 21
ahcisata0: AHCI revision 0x10300, 6 ports, 32 command slots, features 0xe730e040
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
atabus2 at ahcisata0 channel 2
atabus3 at ahcisata0 channel 3
atabus4 at ahcisata0 channel 4
atabus5 at ahcisata0 channel 5
vendor 0x8086 product 0x1c22 (SMBus serial bus, revision 0x05) at pci0 dev 31 function 3 not configured
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
spkr0 at pcppi0
sysbeep0 at pcppi0
attimer1: attached to pcppi0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 3292649520 Hz quality 3000
uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 1: device present, speed: 3.0Gb/s
ahcisata0 port 5: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0: <WDC WD1003FBYX-01Y7B1>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1 at atabus1 drive 0: <WDC WD1003FBYX-01Y7B1>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
atapibus0 at atabus5: 1 targets
cd0 at atapibus0 drive 0: <HL-DT-ST DVDRAM GH24NS90, K6JBCP15429, IN00> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(ahcisata0:5:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
uhub2 at uhub1 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
uhub2: single transaction translator
uhub3 at uhub0 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
uhub3: single transaction translator
uhub2: 6 ports with 6 removable, self powered
uhub3: 6 ports with 6 removable, self powered
uhidev0 at uhub3 port 1 configuration 1 interface 0
uhidev0: American Megatrends Inc. Virtual Keyboard and Mouse, rev 1.10/1.00, addr 3, iclass 3/1
ukbd0 at uhidev0
uhidev1 at uhub2 port 4 configuration 1 interface 0
uhidev1: vendor 0x13ba Generic USB K/B, rev 1.10/0.01, addr 3, iclass 3/1
ukbd1 at uhidev1
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub3 port 1 configuration 1 interface 1wskbd2 at ukbd1 mux 1
wskbd2: connecting to wsdisplay0
uhidev3 at uhub2 port 4 configuration 1 interface 1
uhidev2: American Megatrends Inc. Virtual Keyboard and Mouse, rev 1.10/1.00, addr 3, iclass 3/1
ums0 at uhidev2: 3 buttons and Z dir
wsmouse0 at ums0 mux 0
uhidev3: vendor 0x13ba Generic USB K/B, rev 1.10/0.01, addr 3, iclass 3/1
uhidev3: 2 report ids
ums1 at uhidev3 reportid 1: 3 buttons and Z dir
wsmouse1 at ums1 mux 0
uhid0 at uhidev3 reportid 2: input=1, output=0, feature=0
ipmi0: version 2.0 interface KCS iobase 0xca2/2 spacing 1
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio0 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
ipmi0: critical over limit on 'Mem P1 Thrm Mrgn'
>How-To-Repeat:
Boot the server, type "ifconfig -l" to see that the second on-board NIC is missing.
>Fix:
Add a 10/100/1000 PCI NIC (this is not ideal because it consumes the only PCI slot in the server).
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->msaitoh
Responsible-Changed-By: msaitoh@NetBSD.org
Responsible-Changed-When: Thu, 15 Nov 2012 04:09:12 +0000
Responsible-Changed-Why:
mine.
State-Changed-From-To: open->pending-pullups
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Tue, 05 Mar 2013 03:49:42 +0000
State-Changed-Why:
wm(4) will be synched with netbsd-6 branch if the pullup ticket#1850 is
resolved.
http://releng.netbsd.org/cgi-bin/req-5.cgi?show=1850
From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46487 CVS commit: [netbsd-5] src
Date: Wed, 19 Jun 2013 07:50:15 +0000
Module Name: src
Committed By: bouyer
Date: Wed Jun 19 07:50:15 UTC 2013
Modified Files:
src/share/man/man4 [netbsd-5]: wm.4
src/sys/arch/amd64/conf [netbsd-5]: GENERIC XEN3_DOM0
src/sys/arch/i386/conf [netbsd-5]: ALL GENERIC INSTALL_FLOPPY XEN2_DOM0
src/sys/dev/mii [netbsd-5]: files.mii igphyreg.h inbmphyreg.h miidevs
src/sys/dev/pci [netbsd-5]: if_wm.c if_wmreg.h if_wmvar.h pcidevs
Added Files:
src/sys/dev/mii [netbsd-5]: ihphy.c ihphyreg.h
Log Message:
Pullup the following revisions via patch, requested by msaitoh in ticket #1850:
sys/dev/pci/if_wm.c 1.201, 1.203-1.204,
1.207-1.212, 1.215,
1.217-1.218, 1.220-1.223,
1.228, 1.232-245
sys/dev/pci/if_wmreg.h 1.40-1.45, 1.47-1.48
sys/dev/pci/if_wmvar.h 1.11-1.13
sys/dev/pci/pcidevs 1.1074, 1.1077, 1.1117
sys/dev/pci/pcidevs.h regen
sys/dev/pci/pcidevs_data.h regen
sys/dev/mii/igphyreg.h 1.6
sys/dev/mii/ihphy.c 1.1-1.2
sys/dev/mii/ihphyreg.h 1.1
sys/dev/mii/inbmphyreg.h 1.3
sys/dev/mii/files.mii 1.47 via patch
sys/dev/mii/miidevs 1.97 and 1.100
sys/dev/mii/miidevs.h regen
sys/dev/mii/miidevs_data.h regen
sys/arch/i386/conf/ALL 1.280
sys/arch/i386/conf/GENERIC 1.1001
sys/arch/i386/conf/INSTALL_FLOPPY 1.11
sys/arch/i386/conf/XEN2_DOM0 patch
sys/arch/amd64/conf/GENERIC 1.293
sys/arch/amd64/conf/XEN3_DOM0 1.61
share/man/man4/wm.4 1.21-1.24
Apply almost all fixes and improvements from netbsd-6 except for
the rev. 1.196's iqdrops' change.
- Add the detach code.
- Add code for WOL, ASF, IPMI and Intel AMT. WOL is disabled by default
- Add Yet another workaround for ICH8.
- 82576 is dual port, so check the FUNCID and increment the MAC address for
the 2nd port.
- Fix the names of 82577L[MC] LAN controllers (for mobile).
- Fix CTRL_EXT_SWDPIN() and CTRL_EXT_SWDPIO() macros. The bit order of the
SW definable pin is not 6543 but 3654!!!
- Rewrite the code to read MAC address from eeprom.
- Add 82580 support.
- 82571 quirk. Only 82571 shares port 0 of EEMNGCTL_CFGDONE.
- The document says that the TDH register must be set after
TCL.EN is set on 82575 and newer devices.
- Fix some register names. No functional change.
- Omit U+00AE "REGISTERED SIGN" in a product name due to its non-ASCII nature.
- Stop wm(4) from needlessly resetting when you add or delete a vlan(4).
- Fix MAC address check on 8257[156] and 80003 case. Some cards have non 0xffff
pointer but those don't use alternative MAC address in reality. So we check
whether the broadcast bit is set or not like Intel's e1000 driver.
Fixes PR kern/44072 reported by Jean-Yves Moulin.
- Add PCH2(and 82579) support. Fixes PR#46487
- Add yet another 82567V support.
- Add ICH10+HANKSVILL support.
- Add support Intel I350 Ethernet.
- Make vlan and all ip/ip6 checksum offload work for the I350.
- Fix compile error with WM_DEBUG.
- Fix a bug that PHY isn't set to low-power mode on PCH and PCH2.
- Add WM_DEBUG_NVM. If WM_DEBUG_NVM is enabled, dump the FLASH ROM data.
- Skip 64bit BAR correctly.
- Fix RAL_TABSIZE for ICH8, 82576, 82580 and I350.
- Use 82580(and I350) specific PHY read/write functions. Fixes PR#47542.
- Style fix. Fix typo in comment. Fix comments. Add comments.
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.19.12.1 src/share/man/man4/wm.4
cvs rdiff -u -r1.231.4.10 -r1.231.4.11 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.33.4.6 -r1.33.4.7 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.183.4.9 -r1.183.4.10 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.915.2.13 -r1.915.2.14 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.1.16.3 -r1.1.16.4 src/sys/arch/i386/conf/INSTALL_FLOPPY
cvs rdiff -u -r1.53.2.6 -r1.53.2.7 src/sys/arch/i386/conf/XEN2_DOM0
cvs rdiff -u -r1.41.20.1 -r1.41.20.2 src/sys/dev/mii/files.mii
cvs rdiff -u -r1.4.86.1 -r1.4.86.2 src/sys/dev/mii/igphyreg.h
cvs rdiff -u -r0 -r1.6.2.2 src/sys/dev/mii/ihphy.c
cvs rdiff -u -r0 -r1.1.32.2 src/sys/dev/mii/ihphyreg.h
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/sys/dev/mii/inbmphyreg.h
cvs rdiff -u -r1.78.4.4 -r1.78.4.5 src/sys/dev/mii/miidevs
cvs rdiff -u -r1.162.4.17 -r1.162.4.18 src/sys/dev/pci/if_wm.c
cvs rdiff -u -r1.24.20.6 -r1.24.20.7 src/sys/dev/pci/if_wmreg.h
cvs rdiff -u -r1.2.46.4 -r1.2.46.5 src/sys/dev/pci/if_wmvar.h
cvs rdiff -u -r1.962.4.17 -r1.962.4.18 src/sys/dev/pci/pcidevs
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: pending-pullups->closed
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Wed, 19 Jun 2013 08:18:31 +0000
State-Changed-Why:
Pulled up to netbsd-5 branch.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.