amd64/119346: System freezes when intense I/O operation is performed on network mounted smb filesystem

Victor victor at nett.ca
Fri Jan 4 16:30:02 PST 2008


>Number:         119346
>Category:       amd64
>Synopsis:       System freezes when intense I/O operation is performed on network mounted smb filesystem
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-amd64
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 05 00:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Victor
>Release:        6.3 PRERELEASE
>Organization:
Nett Technologies
>Environment:
FreeBSD freebsd 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Thu Dec 27 12:49:12 EST 2007     victor at freebsd:/usr/obj/usr/src/sys/VICTOR_DEC07  amd64
>Description:
I had reported this problem before as http://www.freebsd.org/cgi/query-pr.cgi?pr=111337 with my old hardware,
but was unable to submit follow-up so the ticket expired. Since then, the hardware was completely replaced (except for adapte scsi controller and two hard disks) and the system exhibits similar behaviour i.e. freezes without throwing crashdump.

Kernel was compiled with default options only.

I appreciate your help,
pciconf and dmesg listings follow.

freebsd: >pciconf -l
none0 at pci0:0:0: class=0x058000 card=0x286510f1 chip=0x005e10de rev=0xa3 hdr=0x00
isab0 at pci0:1:0: class=0x060100 card=0x286510f1 chip=0x005010de rev=0xa3 hdr=0x00
none1 at pci0:1:1: class=0x0c0500 card=0x286510f1 chip=0x005210de rev=0xa2 hdr=0x00
ohci0 at pci0:2:0: class=0x0c0310 card=0x286510f1 chip=0x005a10de rev=0xa2 hdr=0x00
ehci0 at pci0:2:1: class=0x0c0320 card=0x286510f1 chip=0x005b10de rev=0xa3 hdr=0x00
atapci0 at pci0:6:0:       class=0x01018a card=0x286510f1 chip=0x005310de rev=0xf2 hdr=0x00
atapci1 at pci0:7:0:       class=0x010185 card=0x286510f1 chip=0x005410de rev=0xf3 hdr=0x00
atapci2 at pci0:8:0:       class=0x010185 card=0x286510f1 chip=0x005510de rev=0xf3 hdr=0x00
pcib1 at pci0:9:0: class=0x060401 card=0x00000000 chip=0x005c10de rev=0xa2 hdr=0x01
nve0 at pci0:10:0: class=0x068000 card=0x286510f1 chip=0x005710de rev=0xa3 hdr=0x00
pcib2 at pci0:11:0:        class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01
pcib3 at pci0:12:0:        class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01
pcib4 at pci0:13:0:        class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01
pcib5 at pci0:14:0:        class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01
hostb0 at pci0:24:0:       class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00
hostb1 at pci0:24:1:       class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00
hostb2 at pci0:24:2:       class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00
hostb3 at pci0:24:3:       class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00
none2 at pci1:5:0: class=0x030000 card=0x80081002 chip=0x47521002 rev=0x27 hdr=0x00
fwohci0 at pci1:6:0:       class=0x0c0010 card=0x30441106 chip=0x30441106 rev=0x80 hdr=0x00
sio4 at pci1:7:0:  class=0x070002 card=0x00d312b9 chip=0x100812b9 rev=0x01 hdr=0x00
aac0 at pci1:9:0:  class=0x010400 card=0x02869005 chip=0x02859005 rev=0x01 hdr=0x00
sio5 at pci1:10:0: class=0x078000 card=0x565611c1 chip=0x048011c1 rev=0x00 hdr=0x00
bge0 at pci4:0:0:  class=0x020000 card=0x165914e4 chip=0x165914e4 rev=0x11 hdr=0x00



freebsd: >dmesg
Copyright (c) 1992-2007 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.3-PRERELEASE #0: Thu Dec 27 12:49:12 EST 2007
    victor at freebsd:/usr/obj/usr/src/sys/VICTOR_DEC07
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Opteron(tm) Processor 146 (2009.27-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x20f71  Stepping = 1
  Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
  AMD Features2=0x1<LAHF>
real memory  = 3756916736 (3582 MB)
avail memory = 3623956480 (3456 MB)
ACPI APIC Table: <Nvidia AWRDACPI>
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: <Nvidia AWRDACPI> on motherboard
acpi0: Power Button (fixed)
unknown: I/O range not supported
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfebff000-0xfebfffff irq 21 at device 2.0 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: <OHCI (generic) USB controller> on ohci0
usb0: USB revision 1.0
uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 8 ports with 8 removable, self powered
ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 22 at device 2.1 on pci0
ehci0: [GIANT-LOCKED]
usb1: waiting for BIOS to give up control
usb1: timed out waiting for BIOS
usb1: EHCI version 1.0
usb1: companion controller, 4 ports each: usb0
usb1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
usb1: USB revision 2.0
uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 8 ports with 8 removable, self powered
atapci0: <nVidia nForce CK804 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <nVidia nForce CK804 SATA300 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd400-0xd40f mem 0xfebfc000-0xfebfcfff irq 23 at device 7.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
atapci2: <nVidia nForce CK804 SATA300 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc000-0xc00f mem 0xfebfb000-0xfebfbfff irq 21 at device 8.0 on pci0
ata4: <ATA channel 0> on atapci2
ata5: <ATA channel 1> on atapci2
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
fwohci0: <VIA Fire II (VT6306)> port 0xa800-0xa87f mem 0xfdffe000-0xfdffe7ff irq 18 at device 6.0 on pci1
fwohci0: OHCI version 1.10 (ROM=1)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:e0:81:00:00:26:75:55
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: 02:e0:81:26:75:55
fwe0: Ethernet address: 02:e0:81:26:75:55
fwe0: if_start running deferred for Giant
sbp0: <SBP-2/SCSI over FireWire> on firewire0
fwohci0: Initiate bus reset
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
sio0: configured irq 16 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0: <3COM PCI FaxModem> port 0xa400-0xa407 irq 16 at device 7.0 on pci1
sio0: moving to sio4
sio4: type 16550A
aac0: <Adaptec SCSI RAID 2120S> mem 0xf8000000-0xfbffffff irq 18 at device 9.0 on pci1
aac0: Enabling 64-bit address support
aac0: [FAST]
aac0: Adaptec Raid Controller 2.0.0-1
aacp0: <SCSI Passthrough Bus> on aac0
sio0: configured irq 17 not in bitmap of probed irqs 0
sio0: port may not be enabled
can't re-use a leaf (%desc)!
can't re-use a leaf (%driver)!
can't re-use a leaf (%location)!
can't re-use a leaf (%pnpinfo)!
can't re-use a leaf (%parent)!
sio0: <Lucent kermit based PCI Modem> port 0xa000-0xa0ff,0x9c00-0x9cff,0x9800-0x9807 mem 0xfdffd000-0xfdffd0ff irq 17 at device 10.0 on pci1
sio0: moving to sio5
sio5: type 16550A
nve0: <NVIDIA nForce MCP9 Networking Adapter> port 0xbc00-0xbc07 mem 0xfebfa000-0xfebfafff irq 22 at device 10.0 on pci0
nve0: Ethernet address 00:e0:81:5d:ec:98
miibus0: <MII bus> on nve0
e1000phy0: <Marvell 88E1111 Gigabit PHY> on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto
nve0: Ethernet address: 00:e0:81:5d:ec:98
pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci4: <ACPI PCI bus> on pcib4
bge0: <Broadcom BCM5750 B1, ASIC rev. 0x4101> mem 0xfe6f0000-0xfe6fffff irq 19 at device 0.0 on pci4
miibus1: <MII bus> on bge0
brgphy0: <BCM5750 10/100/1000baseTX PHY> on miibus1
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
bge0: Ethernet address: 00:e0:81:5d:ec:97
pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci5: <ACPI PCI bus> on pcib5
acpi_tz0: <Thermal Zone> on acpi0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
can't re-use a leaf (%desc)!
can't re-use a leaf (%driver)!
can't re-use a leaf (%location)!
can't re-use a leaf (%pnpinfo)!
can't re-use a leaf (%parent)!
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on acpi0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xcc000-0xcffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2009269461 Hz quality 800
Timecounters tick every 1.000 msec
acd0: DVDROM <LITE-ON DVD SHD-16P1S/GS02> at ata0-master UDMA33
aacd0: <RAID 1 (Mirror)> on aac0
aacd0: 34998MB (71677440 sectors)
Trying to mount root from ufs:/dev/aacd0s1a
WARNING: / was not properly dismounted
kldload: Unsupported file type
kldload: Unsupported file type
kldload: Unsupported file type
kldload: Unsupported file type
kldload: Unsupported file type
netsmb_dev: loaded



>How-To-Repeat:
on a smb mounted network filesystem (supplied by Win2003 server) run 
tar -zxvf archive.tar.gz
where the archive.tar.gz file is >100MB in size and consists of a few hundred files
>Fix:


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


More information about the freebsd-amd64 mailing list