kern/104914: network hang (the em driver) when filesystem is full

Imri Zvik imriz at co.zahav.net.il
Sun Oct 29 21:50:23 UTC 2006


>Number:         104914
>Category:       kern
>Synopsis:       network hang (the em driver) when filesystem is full
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 29 21:50:19 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Imri Zvik
>Release:        6.2-PRERELEASE
>Organization:
>Environment:
FreeBSD einstein 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #8: Sun Oct 29 23:21:16 IST 2006     root at einstein:/usr/obj/usr/src/sys/IGLD  i386
>Description:
When the filesystem is full, there is a complete network hang (not even arp is working), and only reboot solves it. The console remains responsive.

dmesg:

Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-PRERELEASE #8: Sun Oct 29 23:21:16 IST 2006
    root at einstein:/usr/obj/usr/src/sys/IGLD
MPTable: <  Kings Canyon>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2799.22-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNTX-ID,<b14>>
  Logical CPUs per core: 2
real memory  = 3220701184 (3071 MB)
avail memory = 3150663680 (3004 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ioapic0: Assuming intbase of 0
ioapic1: Assuming intbase of 24
ioapic2: Assuming intbase of 48
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 24-47 on motherboard
ioapic2 <Version 2.0> irqs 48-71 on motherboard
cpu0 on motherboard
cpu1 on motherboard
cpu2 on motherboard
cpu3 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
pci0: <unknown> at device 0.1 (no driver attached)
pcib1: <PCI-PCI bridge> at device 2.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <base peripheral, interrupt controller> at device 28.0 (no driver attached)
pcib2: <MPTable PCI-PCI bridge> at device 29.0 on pci1
pci2: <PCI bus> on pcib2
em0: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port 0x3000-0x303f mem 0xfc200000-0xfc21ffff irq 48 at device 1.0 on pci2
em0: Ethernet address: 00:07:e9:11:2d:e2
em1: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port 0x3040-0x307f mem 0xfc220000-0xfc23ffff irq 49 at device 1.1 on pci2
em1: Ethernet address: 00:07:e9:11:2d:e3
em2: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port 0x3080-0x30bf mem 0xfc240000-0xfc25ffff irq 54 at device 3.0 on pci2
em2: Ethernet address: 00:30:48:29:5b:a6
em3: <Intel(R) PRO/1000 Network Connection Version - 6.2.9> port 0x30c0-0x30ff mem 0xfc260000-0xfc27ffff irq 55 at device 3.1 on pci2
em3: Ethernet address: 00:30:48:29:5b:a7
pci1: <base peripheral, interrupt controller> at device 30.0 (no driver attached)
pcib3: <MPTable PCI-PCI bridge> at device 31.0 on pci1
pci3: <PCI bus> on pcib3
ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x4400-0x44ff,0x4000-0x40ff mem 0xfc300000-0xfc301fff irq 28 at device 2.0 on pci3
ahd0: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 0x4c00-0x4cff,0x4800-0x48ff mem 0xfc302000-0xfc303fff irq 29 at device 2.1 on pci3
ahd1: [GIANT-LOCKED]
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 101-133Mhz, 512 SCBs
pci0: <unknown> at device 2.1 (no driver attached)
uhci0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> port 0x2000-0x201f irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801CA/CAM (ICH3) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> port 0x2020-0x203f irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801CA/CAM (ICH3) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> port 0x2040-0x205f irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801CA/CAM (ICH3) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pcib4: <MPTable PCI-PCI bridge> at device 30.0 on pci0
pci4: <PCI bus> on pcib4
pci4: <display, VGA> at device 1.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2080-0x208f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcafff,0xe0000-0xe3fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
fdc1: No FDOUT register!
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding disabled, default to accept, logging unlimited
Waiting 5 seconds for SCSI devices to settle
da0 at ahd0 bus 0 target 0 lun 0
da0: <SEAGATE ST336753LW 0006> Fixed Direct Access SCSI-3 device
da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged Queueing Enabled
da0: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
SMP: AP CPU #2 Launched!
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
Trying to mount root from ufs:/dev/da0s1a



pciconf -vl:

hostb0 at pci0:0:0:        class=0x060000 card=0x358015d9 chip=0x254c8086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'E7501 Host Controller'
    class    = bridge
    subclass = HOST-PCI
none0 at pci0:0:1: class=0xff0000 card=0x358015d9 chip=0x25418086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'E7500 System Controller (MCH, Hub Interface A) Error Reporter'
pcib1 at pci0:2:0: class=0x060400 card=0x00000000 chip=0x25438086 rev=0x01 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = 'E7500/E7501 HI_B Virtual PCI-to-PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
none1 at pci0:2:1: class=0xff0000 card=0x00000000 chip=0x25448086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'E7500/E7501 HI_B PCI-to-PCI Bridge Error Reporting'
uhci0 at pci0:29:0:        class=0x0c0300 card=0x358015d9 chip=0x24828086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller'
    class    = serial bus
    subclass = USB
uhci1 at pci0:29:1:        class=0x0c0300 card=0x358015d9 chip=0x24848086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller'
    class    = serial bus
    subclass = USB
uhci2 at pci0:29:2:        class=0x0c0300 card=0x358015d9 chip=0x24878086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) USB Controller'
    class    = serial bus
    subclass = USB
pcib4 at pci0:30:0:        class=0x060400 card=0x00000000 chip=0x244e8086 rev=0x42 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82801BA/CA/DB/DBL/EB/ER/FB (ICH2/3/4/4/5/5/6), 6300ESB Hub Interface to PCI Bridge'
    class    = bridge
    subclass = PCI-PCI
isab0 at pci0:31:0:        class=0x060100 card=0x00000000 chip=0x24808086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) LPC Interface'
    class    = bridge
    subclass = PCI-ISA
atapci0 at pci0:31:1:      class=0x01018a card=0x358015d9 chip=0x248b8086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA (ICH3) UltraATA/100 EIDE Controller'
    class    = mass storage
    subclass = ATA
none2 at pci0:31:3:        class=0x0c0500 card=0x358015d9 chip=0x24838086 rev=0x02 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82801CA/CAM (ICH3-S/ICH3-M) SMBus Controller'
    class    = serial bus
    subclass = SMBus
none3 at pci1:28:0:        class=0x080020 card=0x358015d9 chip=0x14618086 rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'P64H2 I/O Advanced Programmable Interrupt Controller'
    class    = base peripheral
    subclass = interrupt controller
pcib2 at pci1:29:0:        class=0x060400 card=0x00000050 chip=0x14608086 rev=0x04 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82870P2 P64H2 PCI/PCI-X Hub Controller'
    class    = bridge
    subclass = PCI-PCI
none4 at pci1:30:0:        class=0x080020 card=0x358015d9 chip=0x14618086 rev=0x04 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = 'P64H2 I/O Advanced Programmable Interrupt Controller'
    class    = base peripheral
    subclass = interrupt controller
pcib3 at pci1:31:0:        class=0x060400 card=0x00000050 chip=0x14608086 rev=0x04 hdr=0x01
    vendor   = 'Intel Corporation'
    device   = '82870P2 P64H2 PCI/PCI-X Hub Controller'
    class    = bridge
    subclass = PCI-PCI
em0 at pci2:1:0:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Dual Port Gigabit Ethernet Controller (Copper)'
    class    = network
    subclass = ethernet
em1 at pci2:1:1:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Dual Port Gigabit Ethernet Controller (Copper)'
    class    = network
    subclass = ethernet
em2 at pci2:3:0:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Dual Port Gigabit Ethernet Controller (Copper)'
    class    = network
    subclass = ethernet
em3 at pci2:3:1:   class=0x020000 card=0x10118086 chip=0x10108086 rev=0x01 hdr=0x00
    vendor   = 'Intel Corporation'
    device   = '82546EB Dual Port Gigabit Ethernet Controller (Copper)'
    class    = network
    subclass = ethernet
ahd0 at pci3:2:0:  class=0x010000 card=0x005e9005 chip=0x801d9005 rev=0x10 hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'AIC-7902B Ultra320 SCSI Controller'
    class    = mass storage
    subclass = SCSI
ahd1 at pci3:2:1:  class=0x010000 card=0x005e9005 chip=0x801d9005 rev=0x10 hdr=0x00
    vendor   = 'Adaptec Inc'
    device   = 'AIC-7902B Ultra320 SCSI Controller'
    class    = mass storage
    subclass = SCSI
none5 at pci4:1:0: class=0x030000 card=0x00081002 chip=0x47521002 rev=0x27 hdr=0x00
    vendor   = 'ATI Technologies Inc'
    device   = 'Rage XL PCI'
    class    = display
    subclass = VGA

vmstat -i:

interrupt                          total       rate
irq1: atkbd0                           1          0
irq28: ahd0                        41514         74
irq29: ahd1                           15          0
irq54: em2                        155725        279
cpu0: timer                      1110289       1989
cpu2: timer                      1092537       1957
cpu1: timer                      1092537       1957
cpu3: timer                      1092537       1957
Total                            4585155       8217

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list