Re: Invalid checksum with 82574L (em)

2013-03-27 Thread Claudio Jeker
On Tue, Mar 26, 2013 at 05:46:12PM -0300, Hugo Osvaldo Barrera wrote:
 On 2013-03-20 20:37, Hugo Osvaldo Barrera wrote:
  I've been having a very annoying issue with an 82574L for a pretty long
  time now.
 
  After the PC is turned off (either properly or due to a power failure),
  the NIC does not work upon the next boot.
 
em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00:
 msiem0:
  The EEPROM Checksum Is Not Valid
em0: Unable to initialize the hardware
 
  I found an Intel firmware flashing utility for DOS that rebuilds the
  checksum. After running it, however, my MAC is 00:00:00:00:00:00. I
  need to set the mac back with it, and make it rebuild the checksum.
 
  After I do this, OpenBSD boots fine:
 
em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi,
  address 00:22:4d:7c:b2:76
 
  The NIC is an onboard one, and I've no extra PCI slots, so I can't
  really change it.
 
  Here's my full dmesg in case it's of further use.
  Please also let me know if there's anything else which may be of use.
 
  OpenBSD 5.2-current (GENERIC.MP) #5: Wed Dec 12 23:22:46 MST 2012
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
  real mem = 4275666944 (4077MB)
  avail mem = 4139347968 (3947MB)
  mainbus0 at root
  bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb920 (27 entries)
  bios0: vendor Intel Corp. version MUCDT10N.86A.0072.2012.0808.1512 date
  08/08/2012
  bios0: Intel Corporation D2700MUD
  acpi0 at bios0: rev 2
  acpi0: sleep states S0 S3 S4 S5
  acpi0: tables DSDT FACP SSDT APIC MCFG HPET
  acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3) USB0(S3)
  USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4)
  PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PWRB(S4)
  acpitimer0 at acpi0: 3579545 Hz, 24 bits
  acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
  cpu0: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.73 MHz
  cpu0:
 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
 
 H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
  CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
  cpu0: 512KB 64b/line 8-way L2 cache
  cpu0: apic clock running at 133MHz
  cpu1 at mainbus0: apid 1 (application processor)
  cpu1: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
  cpu1:
 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
 
 H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
  CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
  cpu1: 512KB 64b/line 8-way L2 cache
  cpu2 at mainbus0: apid 2 (application processor)
  cpu2: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
  cpu2:
 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
 
 H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
  CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
  cpu2: 512KB 64b/line 8-way L2 cache
  cpu3 at mainbus0: apid 3 (application processor)
  cpu3: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
  cpu3:
 
 FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
 
 H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
  CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
  cpu3: 512KB 64b/line 8-way L2 cache
  ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
  ioapic0: misconfigured as apic 0, remapped to apid 8
  acpimcfg0 at acpi0 addr 0xe000, bus 0-63
  acpihpet0 at acpi0: 14318179 Hz
  acpiprt0 at acpi0: bus 0 (PCI0)
  acpiprt1 at acpi0: bus 2 (P0P1)
  acpiprt2 at acpi0: bus 1 (RP01)
  acpiprt3 at acpi0: bus -1 (RP02)
  acpiprt4 at acpi0: bus -1 (RP03)
  acpiprt5 at acpi0: bus -1 (RP04)
  acpicpu0 at acpi0
  acpicpu1 at acpi0
  acpicpu2 at acpi0
  acpicpu3 at acpi0
  acpibtn0 at acpi0: PWRB
  acpibtn1 at acpi0: SLPB
  acpivideo0 at acpi0: GFX0
  acpivout0 at acpivideo0: DD02
  pci0 at mainbus0 bus 0
  pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0bf3 rev
  0x03
  vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x0be2 rev
 0x09
  wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
  wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
  intagp at vga1 not configured
  azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
  azalia0: codecs: Realtek ALC662
  audio0 at azalia0
  ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: msi
  pci1 at ppb0 bus 1
  em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi,
  address 00:22:4d:7c:b2:76
  uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 8 int 23
  uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 8 int 19
  uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 8 int 18
  uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 8 int 16
  ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 8 int 23
  usb0 

Re: Invalid checksum with 82574L (em)

2013-03-26 Thread Hugo Osvaldo Barrera
On 2013-03-20 20:37, Hugo Osvaldo Barrera wrote:
 I've been having a very annoying issue with an 82574L for a pretty long
 time now.

 After the PC is turned off (either properly or due to a power failure),
 the NIC does not work upon the next boot.

   em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00:
msiem0:
 The EEPROM Checksum Is Not Valid
   em0: Unable to initialize the hardware

 I found an Intel firmware flashing utility for DOS that rebuilds the
 checksum. After running it, however, my MAC is 00:00:00:00:00:00. I
 need to set the mac back with it, and make it rebuild the checksum.

 After I do this, OpenBSD boots fine:

   em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi,
 address 00:22:4d:7c:b2:76

 The NIC is an onboard one, and I've no extra PCI slots, so I can't
 really change it.

 Here's my full dmesg in case it's of further use.
 Please also let me know if there's anything else which may be of use.

 OpenBSD 5.2-current (GENERIC.MP) #5: Wed Dec 12 23:22:46 MST 2012
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 4275666944 (4077MB)
 avail mem = 4139347968 (3947MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb920 (27 entries)
 bios0: vendor Intel Corp. version MUCDT10N.86A.0072.2012.0808.1512 date
 08/08/2012
 bios0: Intel Corporation D2700MUD
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SSDT APIC MCFG HPET
 acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3) USB0(S3)
 USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4)
 PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PWRB(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.73 MHz
 cpu0:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
 CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
 cpu0: 512KB 64b/line 8-way L2 cache
 cpu0: apic clock running at 133MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
 cpu1:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
 CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
 cpu1: 512KB 64b/line 8-way L2 cache
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
 cpu2:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
 CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
 cpu2: 512KB 64b/line 8-way L2 cache
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
 cpu3:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
 CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
 cpu3: 512KB 64b/line 8-way L2 cache
 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 8
 acpimcfg0 at acpi0 addr 0xe000, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 2 (P0P1)
 acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus -1 (RP02)
 acpiprt4 at acpi0: bus -1 (RP03)
 acpiprt5 at acpi0: bus -1 (RP04)
 acpicpu0 at acpi0
 acpicpu1 at acpi0
 acpicpu2 at acpi0
 acpicpu3 at acpi0
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: SLPB
 acpivideo0 at acpi0: GFX0
 acpivout0 at acpivideo0: DD02
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0bf3 rev
 0x03
 vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x0be2 rev
0x09
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp at vga1 not configured
 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
 azalia0: codecs: Realtek ALC662
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: msi
 pci1 at ppb0 bus 1
 em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi,
 address 00:22:4d:7c:b2:76
 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 8 int 23
 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 8 int 19
 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 8 int 18
 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 8 int 16
 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 8 int 23
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
 pci2 at ppb1 bus 2
 re0 at pci2 dev 0 

Re: Invalid checksum with 82574L (em)

2013-03-21 Thread Kapetanakis Giannis

On 21/03/13 01:37, Hugo Osvaldo Barrera wrote:

I've been having a very annoying issue with an 82574L for a pretty long
time now.

After the PC is turned off (either properly or due to a power failure),
the NIC does not work upon the next boot.

   em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msiem0:
The EEPROM Checksum Is Not Valid
   em0: Unable to initialize the hardware

I found an Intel firmware flashing utility for DOS that rebuilds the
checksum. After running it, however, my MAC is 00:00:00:00:00:00. I
need to set the mac back with it, and make it rebuild the checksum.

After I do this, OpenBSD boots fine:

   em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi,
address 00:22:4d:7c:b2:76

The NIC is an onboard one, and I've no extra PCI slots, so I can't
really change it.

Here's my full dmesg in case it's of further use.
Please also let me know if there's anything else which may be of use.

OpenBSD 5.2-current (GENERIC.MP) #5: Wed Dec 12 23:22:46 MST 2012
 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4275666944 (4077MB)
avail mem = 4139347968 (3947MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb920 (27 entries)
bios0: vendor Intel Corp. version MUCDT10N.86A.0072.2012.0808.1512 date
08/08/2012
bios0: Intel Corporation D2700MUD
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC MCFG HPET
acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3) USB0(S3)
USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4)
PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.73 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
cpu1: 512KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
cpu2: 512KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
cpu3: 512KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0bf3 rev
0x03
vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x0be2 rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp at vga1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: msi
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi,
address 00:22:4d:7c:b2:76
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 8 int 23
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 8 int 19
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 8 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 8 int 16
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 8 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000),
apic 8 int 20, address 00:e0:52:c6:52:c3

Re: Invalid checksum with 82574L (em)

2013-03-21 Thread Hugo Osvaldo Barrera
On 2013-03-21 08:51, Kapetanakis Giannis wrote:
 On 21/03/13 01:37, Hugo Osvaldo Barrera wrote:
 I've been having a very annoying issue with an 82574L for a pretty long
 time now.
 
 After the PC is turned off (either properly or due to a power failure),
 the NIC does not work upon the next boot.
 
em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00:
msiem0:
 The EEPROM Checksum Is Not Valid
em0: Unable to initialize the hardware
 
 I found an Intel firmware flashing utility for DOS that rebuilds the
 checksum. After running it, however, my MAC is 00:00:00:00:00:00. I
 need to set the mac back with it, and make it rebuild the checksum.
 
 After I do this, OpenBSD boots fine:
 
em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00:
msi,
 address 00:22:4d:7c:b2:76
 
 The NIC is an onboard one, and I've no extra PCI slots, so I can't
 really change it.
 
 Here's my full dmesg in case it's of further use.
 Please also let me know if there's anything else which may be of use.
 
 OpenBSD 5.2-current (GENERIC.MP) #5: Wed Dec 12 23:22:46 MST 2012
  dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 4275666944 (4077MB)
 avail mem = 4139347968 (3947MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb920 (27 entries)
 bios0: vendor Intel Corp. version MUCDT10N.86A.0072.2012.0808.1512 date
 08/08/2012
 bios0: Intel Corporation D2700MUD
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S3 S4 S5
 acpi0: tables DSDT FACP SSDT APIC MCFG HPET
 acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3)
USB0(S3)
 USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4)
 PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PWRB(S4)
 acpitimer0 at acpi0: 3579545 Hz, 24 bits
 acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.73 MHz
 cpu0:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
S

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3
,
 CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
 cpu0: 512KB 64b/line 8-way L2 cache
 cpu0: apic clock running at 133MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
 cpu1:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
S

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3
,
 CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
 cpu1: 512KB 64b/line 8-way L2 cache
 cpu2 at mainbus0: apid 2 (application processor)
 cpu2: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
 cpu2:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
S

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3
,
 CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
 cpu2: 512KB 64b/line 8-way L2 cache
 cpu3 at mainbus0: apid 3 (application processor)
 cpu3: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
 cpu3:

FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLU
S

H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3
,
 CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
 cpu3: 512KB 64b/line 8-way L2 cache
 ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
 ioapic0: misconfigured as apic 0, remapped to apid 8
 acpimcfg0 at acpi0 addr 0xe000, bus 0-63
 acpihpet0 at acpi0: 14318179 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus 2 (P0P1)
 acpiprt2 at acpi0: bus 1 (RP01)
 acpiprt3 at acpi0: bus -1 (RP02)
 acpiprt4 at acpi0: bus -1 (RP03)
 acpiprt5 at acpi0: bus -1 (RP04)
 acpicpu0 at acpi0
 acpicpu1 at acpi0
 acpicpu2 at acpi0
 acpicpu3 at acpi0
 acpibtn0 at acpi0: PWRB
 acpibtn1 at acpi0: SLPB
 acpivideo0 at acpi0: GFX0
 acpivout0 at acpivideo0: DD02
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0bf3 rev
 0x03
 vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x0be2 rev
0x09
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 intagp at vga1 not configured
 azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
 azalia0: codecs: Realtek ALC662
 audio0 at azalia0
 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: msi
 pci1 at ppb0 bus 1
 em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi,
 address 00:22:4d:7c:b2:76
 uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 8 int
23
 uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 8 int
19
 uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 8 int
18
 uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 8 int
16
 ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 8 int
23
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
 ppb1 at pci0 dev 30 function 0 Intel 

Invalid checksum with 82574L (em)

2013-03-20 Thread Hugo Osvaldo Barrera
I've been having a very annoying issue with an 82574L for a pretty long
time now.

After the PC is turned off (either properly or due to a power failure),
the NIC does not work upon the next boot.

  em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msiem0:
The EEPROM Checksum Is Not Valid
  em0: Unable to initialize the hardware

I found an Intel firmware flashing utility for DOS that rebuilds the
checksum. After running it, however, my MAC is 00:00:00:00:00:00. I
need to set the mac back with it, and make it rebuild the checksum.

After I do this, OpenBSD boots fine:

  em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi,
address 00:22:4d:7c:b2:76

The NIC is an onboard one, and I've no extra PCI slots, so I can't
really change it.

Here's my full dmesg in case it's of further use.
Please also let me know if there's anything else which may be of use.

OpenBSD 5.2-current (GENERIC.MP) #5: Wed Dec 12 23:22:46 MST 2012
dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 4275666944 (4077MB)
avail mem = 4139347968 (3947MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.7 @ 0xeb920 (27 entries)
bios0: vendor Intel Corp. version MUCDT10N.86A.0072.2012.0808.1512 date
08/08/2012
bios0: Intel Corporation D2700MUD
acpi0 at bios0: rev 2
acpi0: sleep states S0 S3 S4 S5
acpi0: tables DSDT FACP SSDT APIC MCFG HPET
acpi0: wakeup devices SLT1(S4) PS2M(S4) PS2K(S4) UAR1(S3) UAR2(S3) USB0(S3)
USB1(S3) USB2(S3) USB3(S3) USB7(S3) PXSX(S4) RP01(S4) PXSX(S4) RP02(S4)
PXSX(S4) RP03(S4) PXSX(S4) RP04(S4) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee0: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.73 MHz
cpu0:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
cpu0: 512KB 64b/line 8-way L2 cache
cpu0: apic clock running at 133MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
cpu1:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
cpu1: 512KB 64b/line 8-way L2 cache
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
cpu2:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
cpu2: 512KB 64b/line 8-way L2 cache
cpu3 at mainbus0: apid 3 (application processor)
cpu3: Intel(R) Atom(TM) CPU D2700 @ 2.13GHz, 2133.41 MHz
cpu3:
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,SSSE3,
CX16,xTPR,PDCM,MOVBE,NXE,LONG,LAHF,PERF,ITSC
cpu3: 512KB 64b/line 8-way L2 cache
ioapic0 at mainbus0: apid 8 pa 0xfec0, version 20, 24 pins
ioapic0: misconfigured as apic 0, remapped to apid 8
acpimcfg0 at acpi0 addr 0xe000, bus 0-63
acpihpet0 at acpi0: 14318179 Hz
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 2 (P0P1)
acpiprt2 at acpi0: bus 1 (RP01)
acpiprt3 at acpi0: bus -1 (RP02)
acpiprt4 at acpi0: bus -1 (RP03)
acpiprt5 at acpi0: bus -1 (RP04)
acpicpu0 at acpi0
acpicpu1 at acpi0
acpicpu2 at acpi0
acpicpu3 at acpi0
acpibtn0 at acpi0: PWRB
acpibtn1 at acpi0: SLPB
acpivideo0 at acpi0: GFX0
acpivout0 at acpivideo0: DD02
pci0 at mainbus0 bus 0
pchb0 at pci0 dev 0 function 0 vendor Intel, unknown product 0x0bf3 rev
0x03
vga1 at pci0 dev 2 function 0 vendor Intel, unknown product 0x0be2 rev 0x09
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp at vga1 not configured
azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi
azalia0: codecs: Realtek ALC662
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: msi
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 Intel PRO/1000 MT (82574L) rev 0x00: msi,
address 00:22:4d:7c:b2:76
uhci0 at pci0 dev 29 function 0 Intel 82801GB USB rev 0x02: apic 8 int 23
uhci1 at pci0 dev 29 function 1 Intel 82801GB USB rev 0x02: apic 8 int 19
uhci2 at pci0 dev 29 function 2 Intel 82801GB USB rev 0x02: apic 8 int 18
uhci3 at pci0 dev 29 function 3 Intel 82801GB USB rev 0x02: apic 8 int 16
ehci0 at pci0 dev 29 function 7 Intel 82801GB USB rev 0x02: apic 8 int 23
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1
ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0xe2
pci2 at ppb1 bus 2
re0 at pci2 dev 0 function 0 Realtek 8169 rev 0x10: RTL8169/8110SB (0x1000),
apic 8 int 20, address 00:e0:52:c6:52:c3
rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3
pcib0