From nobody@FreeBSD.org Sat Jan 5 00:26:10 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE08016A418 for ; Sat, 5 Jan 2008 00:26:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C70A813C457 for ; Sat, 5 Jan 2008 00:26:10 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m050PFXR097351 for ; Sat, 5 Jan 2008 00:25:15 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m050PF4a097350; Sat, 5 Jan 2008 00:25:15 GMT (envelope-from nobody) Message-Id: <200801050025.m050PF4a097350@www.freebsd.org> Date: Sat, 5 Jan 2008 00:25:15 GMT From: Victor To: freebsd-gnats-submit@FreeBSD.org Subject: System freezes when intense I/O operation is performed on network mounted smb filesystem X-Send-Pr-Version: www-3.1 X-GNATS-Notify: >Number: 119346 >Category: kern >Synopsis: [smbfs] System freezes when intense I/O operation is performed on network mounted smb filesystem >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jan 05 00:30:02 UTC 2008 >Closed-Date: Thu Mar 13 18:25:05 UTC 2008 >Last-Modified: Thu Mar 13 18:25:05 UTC 2008 >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@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 adaptec 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@pci0:0:0: class=0x058000 card=0x286510f1 chip=0x005e10de rev=0xa3 hdr=0x00 isab0@pci0:1:0: class=0x060100 card=0x286510f1 chip=0x005010de rev=0xa3 hdr=0x00 none1@pci0:1:1: class=0x0c0500 card=0x286510f1 chip=0x005210de rev=0xa2 hdr=0x00 ohci0@pci0:2:0: class=0x0c0310 card=0x286510f1 chip=0x005a10de rev=0xa2 hdr=0x00 ehci0@pci0:2:1: class=0x0c0320 card=0x286510f1 chip=0x005b10de rev=0xa3 hdr=0x00 atapci0@pci0:6:0: class=0x01018a card=0x286510f1 chip=0x005310de rev=0xf2 hdr=0x00 atapci1@pci0:7:0: class=0x010185 card=0x286510f1 chip=0x005410de rev=0xf3 hdr=0x00 atapci2@pci0:8:0: class=0x010185 card=0x286510f1 chip=0x005510de rev=0xf3 hdr=0x00 pcib1@pci0:9:0: class=0x060401 card=0x00000000 chip=0x005c10de rev=0xa2 hdr=0x01 nve0@pci0:10:0: class=0x068000 card=0x286510f1 chip=0x005710de rev=0xa3 hdr=0x00 pcib2@pci0:11:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 pcib3@pci0:12:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 pcib4@pci0:13:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 pcib5@pci0:14:0: class=0x060400 card=0x00000000 chip=0x005d10de rev=0xa3 hdr=0x01 hostb0@pci0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 hostb1@pci0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 hostb2@pci0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 hostb3@pci0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 none2@pci1:5:0: class=0x030000 card=0x80081002 chip=0x47521002 rev=0x27 hdr=0x00 fwohci0@pci1:6:0: class=0x0c0010 card=0x30441106 chip=0x30441106 rev=0x80 hdr=0x00 sio4@pci1:7:0: class=0x070002 card=0x00d312b9 chip=0x100812b9 rev=0x01 hdr=0x00 aac0@pci1:9:0: class=0x010400 card=0x02869005 chip=0x02859005 rev=0x01 hdr=0x00 sio5@pci1:10:0: class=0x078000 card=0x565611c1 chip=0x048011c1 rev=0x00 hdr=0x00 bge0@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@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 Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 3756916736 (3582 MB) avail memory = 3623956480 (3456 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: 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: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfebff000-0xfebfffff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: 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: 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: 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: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 6.0 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd400-0xd40f mem 0xfebfc000-0xfebfcfff irq 23 at device 7.0 on pci0 ata2: on atapci1 ata3: on atapci1 atapci2: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc000-0xc00f mem 0xfebfb000-0xfebfbfff irq 21 at device 8.0 on pci0 ata4: on atapci2 ata5: on atapci2 pcib1: at device 9.0 on pci0 pci1: on pcib1 pci1: at device 5.0 (no driver attached) fwohci0: 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: on fwohci0 fwe0: 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: 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: 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: 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: 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: port 0xbc00-0xbc07 mem 0xfebfa000-0xfebfafff irq 22 at device 10.0 on pci0 nve0: Ethernet address 00:e0:81:5d:ec:98 miibus0: on nve0 e1000phy0: on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto nve0: Ethernet address: 00:e0:81:5d:ec:98 pcib2: at device 11.0 on pci0 pci2: on pcib2 pcib3: at device 12.0 on pci0 pci3: on pcib3 pcib4: at device 13.0 on pci0 pci4: on pcib4 bge0: mem 0xfe6f0000-0xfe6fffff irq 19 at device 0.0 on pci4 miibus1: on bge0 brgphy0: on miibus1 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:e0:81:5d:ec:97 pcib5: at device 14.0 on pci0 pci5: on pcib5 acpi_tz0: on acpi0 fdc0: 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: port 0x378-0x37f irq 7 on acpi0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xc97ff,0xcc000-0xcffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2009269461 Hz quality 800 Timecounters tick every 1.000 msec acd0: DVDROM at ata0-master UDMA33 aacd0: 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: From: Pyun YongHyeon To: Victor Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: amd64/119346: System freezes when intense I/O operation is performed on network mounted smb filesystem Date: Sat, 5 Jan 2008 11:48:52 +0900 It seems that nve(4) was used to serve smbfs. Since nfe(4) is not avilable yet on RELENG_6, try nfe(4) patch for RELENG_6 at the following URL. http://www.f.csce.kyushu-u.ac.jp/~shigeaki/software/freebsd-nfe.html -- Regards, Pyun YongHyeon Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Sun Jan 13 23:37:51 UTC 2008 Responsible-Changed-Why: This does not sound amd64-specific. To submitter: did using nfe fix your problem? http://www.freebsd.org/cgi/query-pr.cgi?pr=119346 From: "Victor Matysiak" To: bug-followup@FreeBSD.org, victor@nett.ca Cc: Subject: Re: kern/119346: [smbfs] System freezes when intense I/O operation is performed on network mounted smb filesystem Date: Mon, 10 Mar 2008 15:16:28 -0400 Upgrade to FreeBSD version 7 solved to problem. Thanks, Victor State-Changed-From-To: open->suspended State-Changed-By: linimon State-Changed-When: Mon Mar 10 23:19:40 UTC 2008 State-Changed-Why: Fixed in 7; will be fixed in 6 if nfe(4) is MFCed. http://www.freebsd.org/cgi/query-pr.cgi?pr=119346 State-Changed-From-To: suspended->closed State-Changed-By: remko State-Changed-When: Thu Mar 13 18:25:04 UTC 2008 State-Changed-Why: Submitter states that updating to 7 resolved the problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=119346 >Unformatted: