>Number: 6607 >Category: system >Synopsis: Network device em0 detaches when transferring large files >Confidential: yes >Severity: serious >Priority: medium >Responsible: bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Thu May 19 04:00:02 GMT 2011 >Closed-Date: >Last-Modified: >Originator: >Release: >Organization: >Environment: System : OpenBSD 4.9 Details : OpenBSD 4.9 (GENERIC.MP) #819: Wed Mar 2 06:57:49 MST 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Architecture: OpenBSD.amd64 Machine : amd64 >Description: I have a Supermicro X8SIL motherboard which has 2 82574L Gigabit ethernet controllers on it. These NICs use the em(4) driver. Under OpenBSD 4.9 (but NOT 4.8, so this is a recent regression), a substantial amount of network traffic will cause the console and dmesg to report "em0 detached". I've also seen this problem when there is relatively small amounts of netowrk traffic, but it usually takes a day or two of uptime before that occurs. >How-To-Repeat: Install OpenBSD 4.9. Attempt to transfer a 500MB file to (or from) another host using scp(1). After about 200MB, sometimes less, em0 will detach. This happens for both inbound and outbound transfers. >Fix: Only rebooting seems to fix the problem. dmesg: OpenBSD 4.9 (GENERIC.MP) #819: Wed Mar 2 06:57:49 MST 2011 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 3211329536 (3062MB) avail mem = 3111821312 (2967MB) mainbus0 at root bios0 at mainbus0: SMBIOS rev. 2.6 @ 0x9f000 (68 entries) bios0: vendor American Megatrends Inc. version "1.1" date 05/27/2010 bios0: Supermicro X8SIL acpi0 at bios0: rev 2 acpi0: sleep states S0 S1 S4 S5 acpi0: tables DSDT FACP APIC MCFG OEMB HPET GSCI DMAR SSDT EINJ BERT ERST HEST acpi0: wakeup devices P0P1(S4) P0P3(S4) P0P4(S4) P0P5(S4) P0P6(S4) BR1E(S4) PS2K(S4) PS2M(S4) USB0(S4) USB1(S4) USB2(S4) USB3(S4) USB4(S4) USB5(S4) USB6(S4) GBE_(S4) BR20(S4) BR21(S4) BR22(S4) BR23(S4) BR24(S4) BR25(S4) BR26(S4) BR27(S4) EUSB(S4) USBE(S4) SLPB(S4) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2667.05 MHz cpu0: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu0: 256KB 64b/line 8-way L2 cache cpu0: apic clock running at 133MHz cpu1 at mainbus0: apid 2 (application processor) cpu1: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2666.67 MHz cpu1: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu1: 256KB 64b/line 8-way L2 cache cpu2 at mainbus0: apid 4 (application processor) cpu2: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2666.67 MHz cpu2: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu2: 256KB 64b/line 8-way L2 cache cpu3 at mainbus0: apid 6 (application processor) cpu3: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2666.67 MHz cpu3: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu3: 256KB 64b/line 8-way L2 cache cpu4 at mainbus0: apid 1 (application processor) cpu4: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2666.67 MHz cpu4: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu4: 256KB 64b/line 8-way L2 cache cpu5 at mainbus0: apid 3 (application processor) cpu5: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2666.67 MHz cpu5: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu5: 256KB 64b/line 8-way L2 cache cpu6 at mainbus0: apid 5 (application processor) cpu6: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2666.67 MHz cpu6: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu6: 256KB 64b/line 8-way L2 cache cpu7 at mainbus0: apid 7 (application processor) cpu7: Intel(R) Xeon(R) CPU X3450 @ 2.67GHz, 2666.67 MHz cpu7: FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,SSE4.2,POPCNT,NXE,LONG cpu7: 256KB 64b/line 8-way L2 cache ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins ioapic0: misconfigured as apic 1, remapped to apid 8 acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus -1 (P0P1) acpiprt2 at acpi0: bus 1 (P0P3) acpiprt3 at acpi0: bus 2 (P0P5) acpiprt4 at acpi0: bus -1 (P0P6) acpiprt5 at acpi0: bus 6 (BR1E) acpiprt6 at acpi0: bus 3 (BR20) acpiprt7 at acpi0: bus 4 (BR24) acpiprt8 at acpi0: bus 5 (BR25) acpicpu0 at acpi0: C3, C2, C1, PSS acpicpu1 at acpi0: C3, C2, C1, PSS acpicpu2 at acpi0: C3, C2, C1, PSS acpicpu3 at acpi0: C3, C2, C1, PSS acpicpu4 at acpi0: C3, C2, C1, PSS acpicpu5 at acpi0: C3, C2, C1, PSS acpicpu6 at acpi0: C3, C2, C1, PSS acpicpu7 at acpi0: C3, C2, C1, PSS acpibtn0 at acpi0: SLPB acpibtn1 at acpi0: PWRB ipmi at mainbus0 not configured cpu0: Enhanced SpeedStep 2666 MHz: speeds: 2668, 2667, 2533, 2400, 2267, 2133, 2000, 1867, 1733, 1600, 1467, 1333, 1200 MHz pci0 at mainbus0 bus 0 pchb0 at pci0 dev 0 function 0 "Intel Core DMI" rev 0x11 ppb0 at pci0 dev 3 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 (irq 10) pci1 at ppb0 bus 1 ppb1 at pci0 dev 5 function 0 "Intel Core PCIE" rev 0x11: apic 8 int 16 (irq 10) pci2 at ppb1 bus 2 vga1 at pci2 dev 0 function 0 "ATI Radeon HD 4670" rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) radeondrm0 at vga1: apic 8 int 16 (irq 10) drm0 at radeondrm0 azalia0 at pci2 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: apic 8 int 17 (irq 11) azalia0: no supported codecs azalia0: initialization failure, detaching "Intel Core Management" rev 0x11 at pci0 dev 8 function 0 not configured "Intel Core Scratch" rev 0x11 at pci0 dev 8 function 1 not configured "Intel Core Control" rev 0x11 at pci0 dev 8 function 2 not configured "Intel Core Misc" rev 0x11 at pci0 dev 8 function 3 not configured "Intel Core QPI Link" rev 0x11 at pci0 dev 16 function 0 not configured "Intel Core QPI Routing" rev 0x11 at pci0 dev 16 function 1 not configured ehci0 at pci0 dev 26 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 21 (irq 14) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb2 at pci0 dev 28 function 0 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 (irq 11) pci3 at ppb2 bus 3 ppb3 at pci0 dev 28 function 4 "Intel 3400 PCIE" rev 0x05: apic 8 int 17 (irq 11) pci4 at ppb3 bus 4 em0 at pci4 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 8 int 16 (irq 10), address 00:25:90:0b:2f:be ppb4 at pci0 dev 28 function 5 "Intel 3400 PCIE" rev 0x05: apic 8 int 16 (irq 10) pci5 at ppb4 bus 5 em1 at pci5 dev 0 function 0 "Intel PRO/1000 MT (82574L)" rev 0x00: apic 8 int 17 (irq 11), address 00:25:90:0b:2f:bf ehci1 at pci0 dev 29 function 0 "Intel 3400 USB" rev 0x05: apic 8 int 23 (irq 7) usb1 at ehci1: USB revision 2.0 uhub1 at usb1 "Intel EHCI root hub" rev 2.00/1.00 addr 1 ppb5 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xa5 pci6 at ppb5 bus 6 pcib0 at pci0 dev 31 function 0 "Intel 3420 LPC" rev 0x05 ahci0 at pci0 dev 31 function 2 "Intel 3400 AHCI" rev 0x05: apic 8 int 19 (irq 15), AHCI 1.3 scsibus0 at ahci0: 32 targets sd0 at scsibus0 targ 0 lun 0: <ATA, ST3500514NS, SN11> SCSI3 0/direct fixed sd0: 476940MB, 512 bytes/sec, 976773168 sec total ichiic0 at pci0 dev 31 function 3 "Intel 3400 SMBus" rev 0x05: apic 8 int 18 (irq 6) iic0 at ichiic0 sdtemp0 at iic0 addr 0x18: stts424e02 sdtemp1 at iic0 addr 0x19: stts424e02 "eeprom" at iic0 addr 0x50 not configured "eeprom" at iic0 addr 0x51 not configured isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo com0: console com1 at isa0 port 0x2f8/8 irq 3: 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 wbsio0 at isa0 port 0x2e/2: W83627DHG rev 0x25 lm1 at wbsio0 port 0xa10/8: W83627DHG mtrr: Pentium Pro MTRR support uhub2 at uhub0 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhidev0 at uhub2 port 2 configuration 1 interface 0 "Winbond Electronics Corp Hermon USB hidmouse Device" rev 1.10/0.01 addr 3 uhidev0: iclass 3/1 ums0 at uhidev0 ums0: X report 0x0022 not supported uhidev1 at uhub2 port 2 configuration 1 interface 1 "Winbond Electronics Corp Hermon USB hidmouse Device" rev 1.10/0.01 addr 3 uhidev1: iclass 3/1 ukbd0 at uhidev1: 8 modifier keys, 6 key codes wskbd1 at ukbd0 mux 1 wskbd1: connecting to wsdisplay0 uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 ulpt0 at uhub3 port 1 configuration 1 interface 0 "Hewlett Packard product 0x0517" rev 1.10/1.20 addr 3 ulpt0: using bi-directional mode uhub4 at uhub3 port 2 "ATEN International product 0x8021" rev 1.10/1.00 addr 4 uhidev2 at uhub4 port 1 configuration 1 interface 0 "Apple, Inc Apple Keyboard" rev 2.00/0.69 addr 5 uhidev2: iclass 3/1 ukbd1 at uhidev2: 8 modifier keys, 5 key codes, country code 33 wskbd2 at ukbd1 mux 1 wskbd2: connecting to wsdisplay0 uhidev3 at uhub4 port 1 configuration 1 interface 1 "Apple, Inc Apple Keyboard" rev 2.00/0.69 addr 5 uhidev3: iclass 3/0 uhid0 at uhidev3: input=1, output=0, feature=0 uhidev4 at uhub4 port 1 configuration 1 interface 2 "Apple, Inc Apple Keyboard" rev 2.00/0.69 addr 5 uhidev4: iclass 3/1 ums1 at uhidev4: 5 buttons, Z dir wsmouse0 at ums1 mux 0 uhidev5 at uhub4 port 2 configuration 1 interface 0 "PIXART USB OPTICAL MOUSE" rev 1.10/1.00 addr 6 uhidev5: iclass 3/1 ums2 at uhidev5: 3 buttons, Z dir wsmouse1 at ums2 mux 0 umass0 at uhub3ehci_idone: ex=0xffff800000245800 is done! ehci_idone: ex=0xffff800000245800 is done! port 3 configuration 1 interface 0 "vendor 0x0dc4 G-DRIVE mini" rev 2.00/0.00 addr 7 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: <Hitachi, HTS541212H9AT00, HP4O> SCSI0 0/direct fixed sd1: 114473MB, 512 bytes/sec, 234441648 sec total umass1 at uhub3 port 5 configuration 1 interface 0 "Crucial Gizmo!" rev 2.00/11.00 addr 8 umass1: using SCSI over Bulk-Only scsibus2 at umass1: 2 targets, initiator 0 sd2 at scsibus2 targ 1 lun 0: <Crucial, Gizmo!, 1100> SCSI0 0/direct removable sd2: 7648MB, 512 bytes/sec, 15663104 sec total vscsi0 at root scsibus3 at vscsi0: 256 targets softraid0 at root root on sd0a swap on sd0b dump on sd0b usbdevs: Controller /dev/usb0: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0020), Intel(0x8087), rev 0.00 port 1 powered port 2 addr 3: full speed, power 100 mA, config 1, Hermon USB hidmouse Device(0x2221), Winbond Electronics Corp(0x0557), rev 0.01 port 3 powered port 4 powered port 5 powered port 6 powered port 2 powered Controller /dev/usb1: addr 1: high speed, self powered, config 1, EHCI root hub(0x0000), Intel(0x8086), rev 1.00 port 1 addr 2: high speed, self powered, config 1, Rate Matching Hub(0x0020), Intel(0x8087), rev 0.00 port 1 addr 3: full speed, self powered, config 1, hp LaserJet 1000(0x0517), Hewlett-Packard(0x03f0), rev 1.20 port 2 addr 4: full speed, self powered, config 1, product 0x8021(0x8021), ATEN International(0x0557), rev 1.00 port 1 addr 5: low speed, power 20 mA, config 1, Apple Keyboard(0x0220), Apple, Inc(0x05ac), rev 0.69 port 2 addr 6: low speed, power 100 mA, config 1, USB OPTICAL MOUSE(0x2510), PIXART(0x093a), rev 1.00 port 3 powered port 4 powered port 3 addr 7: high speed, self powered, config 1, G-DRIVE mini(0x0072), G-TECH(0x0dc4), rev 0.00, iSerialNumber E2079F port 4 powered port 5 addr 8: high speed, power 100 mA, config 1, Gizmo!(0xa790), Crucial(0x05dc), rev 11.00, iSerialNumber AA04015300008072 port 6 powered port 7 powered port 8 powered port 2 powered >Release-Note: >Audit-Trail: >Unformatted: