Misc - I have an Intel PRO/1000MT (82540EM) 32-bit PCI card which I've just added to an i386 architecture machine running OpenBSD 5.1. I have an extra card I can donate to a developer who may need it. The following line appears in my dmesg, and my Intel PRO/1000MT (82540EM) ethernet device fails to be configured:
em0 at pci6 dev 1 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: apic 0 int 19em0: Invalid mac address (Full dmesg at end of email) After searching I found the closest situation to this one occured in 2005 in a thread on misc@openbsd with the title "em (Intel 1000GT) on 3.6". A link to a search on marc.info for messages containing this text appears here: http://marc.info/?l=openbsd-misc&w=2&r=1&s=em+%28Intel+1000GT%29+on+3.6&q=b A similar problem appeared in a FreeBSD 8.0 Current bug with an arrival date of Wed Apr 29 05:50:01 UTC 2009: http://www.freebsd.org/cgi/query-pr.cgi?pr=134079 One listed resolution in that FreeBSD bug was: > I changed the e1000_read_mac_addr_generic() > function in /usr/src/sys/dev/e1000/e1000_nvm.c to the 7.2 version. It > works for me. In OpenBSD 5.1 RELEASE GENERIC sys/dev/pci/if_em_hw.c I find a similar function beginning: ------snip------ int32_t em_read_mac_addr(struct em_hw *hw) -----snip----- I thought it more efficient for the team if I post the error now rather than for me to try to make sense of differences going back through CVS. * * # dmesg OpenBSD 5.1 (GENERIC.MP) #188: Sun Feb 12 09:55:11 MST 2012 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: AMD E-350 Processor ("AuthenticAMD" 686-class, 512KB L2 cache) 1.61 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,SSE3,MWAIT,SSSE3,CX16,POPCNT,LAHF,SVM,ABM,SSE4A,WDT real mem = 2814578688 (2684MB) avail mem = 2758422528 (2630MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 06/16/10, SMBIOS rev. 2.6 @ 0xe9070 (60 entries) bios0: bios0: ASUSTeK Computer INC. E35M1-M PRO acpi0 at bios0: rev 2 acpi0: sleep states S0 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG HPET SSDT SSDT acpi0: wakeup devices SBAZ(S4) PS2K(S4) PS2M(S4) UAR1(S4) P0PC(S4) UHC1(S4) UHC2(S4) USB3(S4) UHC4(S4) USB5(S4) UHC6(S4) UHC7(S4) BR14(S4) PE20(S4) PE21(S4) RLAN(S4) PE22(S4) BR23(S4) PE23(S4) PWRB(S4) acpitimer0 at acpi0: 3579545 Hz, 32 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 199MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: AMD E-350 Processor ("AuthenticAMD" 686-class, 512KB L2 cache) 1.60 GHz cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,NXE,MMXX,FFXSR,LONG,SSE3,MWAIT,SSSE3,CX16,POPCNT,LAHF,SVM,ABM,SSE4A,WDT ioapic0 at mainbus0: apid 0 pa 0xfec00000, version 21, 24 pins ioapic0: misconfigured as apic 3, remapped to apid 0 acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318180 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (BR15) acpiprt2 at acpi0: bus -1 (PCE6) acpiprt3 at acpi0: bus -1 (PCE7) acpiprt4 at acpi0: bus -1 (PCE8) acpiprt5 at acpi0: bus 1 (BR14) acpiprt6 at acpi0: bus 3 (PE20) acpiprt7 at acpi0: bus 4 (PE21) acpiprt8 at acpi0: bus 5 (PE22) acpiprt9 at acpi0: bus 6 (BR23) acpiprt10 at acpi0: bus 7 (PE23) acpicpu0 at acpi0: C2, PSS acpicpu1 at acpi0: C2, PSS acpibtn0 at acpi0: PWRB bios0: ROM list: 0xc0000/0xe200 0xce800/0x1000 cpu0: 1600 MHz: speeds: 1600 1280 800 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 "AMD AMD64 14h Host" rev 0x00 vga1 at pci0 dev 1 function 0 "ATI Radeon HD 6310" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) azalia0 at pci0 dev 1 function 1 "ATI Radeon HD 6310 HD Audio" rev 0x00: msi azalia0: no supported codecs ppb0 at pci0 dev 4 function 0 "AMD AMD64 14h PCIE" rev 0x00: apic 0 int 16 pci1 at ppb0 bus 1 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x40: apic 0 int 19, AHCI 1.2 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, SAMSUNG HN-M101M, 2AR1> SCSI3 0/direct fixed naa.50024e920664f093 sd0: 953869MB, 512 bytes/sector, 1953525168 sectors sd1 at scsibus0 targ 1 lun 0: <ATA, SAMSUNG HN-M101M, 2AR1> SCSI3 0/direct fixed naa.50024e920664f095 sd1: 953869MB, 512 bytes/sector, 1953525168 sectors ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, version 1.0, legacy support ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 ohci1 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, version 1.0, legacy support ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17 usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x42: polling iic0 at piixpm0 iic0: addr 0x20 01=00 02=00 03=00 04=00 05=00 06=00 07=00 08=00 09=00 0a=10 0b=10 0c=10 0d=10 0e=09 0f=94 10=00 11=00 12=00 13=00 14=00 15=10 16=0c 17=ae 18=40 19=9a 1a=b3 1b=a8 1c=b6 1d=80 1e=0c 1f=03 20=09 21=09 22=09 23=09 24=03 3e=cf words 00=ff00 01=0000 02=0000 03=0000 04=0000 05=0000 06=0000 07=0000 spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-8500 spdmem1 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-8500 pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x40: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: <WDC WD3200BEKT-75PVMT1> wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x40: apic 0 int 16 azalia1: codecs: Realtek/0x0887 audio0 at azalia1 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x40 ppb1 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x40 pci2 at ppb1 bus 2 ohci2 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 0 int 18, version 1.0, legacy support ppb2 at pci0 dev 21 function 0 "ATI SB800 PCIE" rev 0x00 pci3 at ppb2 bus 3 ppb3 at pci0 dev 21 function 1 "ATI SB800 PCIE" rev 0x00 pci4 at ppb3 bus 4 re0 at pci4 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E (0x2c00), apic 0 int 17, address f4:6d:04:70:a5:0c rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 4 ppb4 at pci0 dev 21 function 2 "ATI SB800 PCIE" rev 0x00 pci5 at ppb4 bus 5 ppb5 at pci5 dev 0 function 0 vendor "ASMedia", unknown product 0x1080 rev 0x01 pci6 at ppb5 bus 6 em0 at pci6 dev 1 function 0 "Intel PRO/1000MT (82540EM)" rev 0x02: apic 0 int 19em0: Invalid mac address "VIA VT6306 FireWire" rev 0xc0 at pci6 dev 2 function 0 not configured ppb6 at pci0 dev 21 function 3 "ATI SB800 PCIE" rev 0x00 pci7 at ppb6 bus 7 "ASMedia ASM1042 xHCI" rev 0x00 at pci7 dev 0 function 0 not configured ohci3 at pci0 dev 22 function 0 "ATI SB700 USB" rev 0x00: apic 0 int 18, version 1.0, legacy support ehci2 at pci0 dev 22 function 2 "ATI SB700 USB2" rev 0x00: apic 0 int 17 usb2 at ehci2: USB revision 2.0 uhub2 at usb2 "ATI EHCI root hub" rev 2.00/1.00 addr 1 pchb1 at pci0 dev 24 function 0 "AMD AMD64 14h Link Cfg" rev 0x43 pchb2 at pci0 dev 24 function 1 "AMD AMD64 14h Address Map" rev 0x00 pchb3 at pci0 dev 24 function 2 "AMD AMD64 14h DRAM Cfg" rev 0x00 km0 at pci0 dev 24 function 3 "AMD AMD64 14h Misc Cfg" rev 0x00 pchb4 at pci0 dev 24 function 4 "AMD AMD64 14h CPU Power" rev 0x00 pchb5 at pci0 dev 24 function 5 "AMD AMD64 14h Reserved" rev 0x00 pchb6 at pci0 dev 24 function 6 "AMD AMD64 14h NB Power" rev 0x00 pchb7 at pci0 dev 24 function 7 "AMD AMD64 14h Reserved" rev 0x00 usb3 at ohci0: USB revision 1.0 uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb4 at ohci1: USB revision 1.0 uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1 isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pcppi0 at isa0 port 0x61 spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 wbsio0 at isa0 port 0x2e/2: NCT6776F rev 0x33 lm1 at wbsio0 port 0x290/8: NCT6776F npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 usb5 at ohci2: USB revision 1.0 uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 usb6 at ohci3: USB revision 1.0 uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 mtrr: Pentium Pro MTRR support uhidev0 at uhub4 port 2 configuration 1 interface 0 "Logitech USB Receiver" rev 2.00/12.01 addr 2 uhidev0: iclass 3/1 ukbd0 at uhidev0: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhidev1 at uhub4 port 2 configuration 1 interface 1 "Logitech USB Receiver" rev 2.00/12.01 addr 2 uhidev1: iclass 3/1, 8 report ids ums0 at uhidev1 reportid 2: 16 buttons, Z dir wsmouse0 at ums0 mux 0 uhid0 at uhidev1 reportid 3: input=4, output=0, feature=0 uhid1 at uhidev1 reportid 4: input=1, output=0, feature=0 uhid2 at uhidev1 reportid 8: input=1, output=0, feature=0 uhidev2 at uhub4 port 2 configuration 1 interface 2 "Logitech USB Receiver" rev 2.00/12.01 addr 2 uhidev2: iclass 3/0, 33 report ids uhid3 at uhidev2 reportid 16: input=6, output=6, feature=0 uhid4 at uhidev2 reportid 17: input=19, output=19, feature=0 uhid5 at uhidev2 reportid 32: input=14, output=14, feature=0 uhid6 at uhidev2 reportid 33: input=31, output=31, feature=0 vscsi0 at root scsibus1 at vscsi0: 256 targets softraid0 at root scsibus2 at softraid0: 256 targets softraid0: not all chunks were provided; attempting to bring volume 0 online softraid0: trying to bring up sd2 degraded sd2 at scsibus2 targ 1 lun 0: <OPENBSD, SR RAID 1, 005> SCSI2 0/direct fixed sd2: 953867MB, 512 bytes/sector, 1953520544 sectors root on wd0a (41fc70cb9e26e278.a) swap on wd0b dump on wd0b P.S. I selected this card based on its high performance to cost ratio for a 32-bit card after reading this dated but useful (to me) benchmark This card was also sold as "Intel 8390MT" according to another page from these benchmark results: http://www.accs.com/p_and_p/GigaBit/server.html