From owner-freebsd-bugs@FreeBSD.ORG Wed Sep 2 10:10:05 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCAD81065672 for ; Wed, 2 Sep 2009 10:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 97E0E8FC23 for ; Wed, 2 Sep 2009 10:10:05 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n82AA57t090152 for ; Wed, 2 Sep 2009 10:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n82AA5Nc090151; Wed, 2 Sep 2009 10:10:05 GMT (envelope-from gnats) Resent-Date: Wed, 2 Sep 2009 10:10:05 GMT Resent-Message-Id: <200909021010.n82AA5Nc090151@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Stephane Rochoy Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4DA1106566C for ; Wed, 2 Sep 2009 10:01:32 +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 B1F298FC08 for ; Wed, 2 Sep 2009 10:01:32 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n82A1WAD060155 for ; Wed, 2 Sep 2009 10:01:32 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n82A1Wxu060154; Wed, 2 Sep 2009 10:01:32 GMT (envelope-from nobody) Message-Id: <200909021001.n82A1Wxu060154@www.freebsd.org> Date: Wed, 2 Sep 2009 10:01:32 GMT From: Stephane Rochoy To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/138476: [panic] [sshfs] [fuse] Almost regular panic during VFS operations; maybe related to sshfs X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 10:10:05 -0000 >Number: 138476 >Category: kern >Synopsis: [panic] [sshfs] [fuse] Almost regular panic during VFS operations; maybe related to sshfs >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 02 10:10:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Stephane Rochoy >Release: 7.2-RELEASE-p3 >Organization: >Environment: FreeBSD cthulhu.netasq.com 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #0: Wed Sep 2 09:06:11 CEST 2009 root@cthulhu.tac.netasq.com:/usr/obj/usr/src/sys/DEBUG-GENERIC i386 >Description: The system panic almost every two days at 03:02am CEST. The panics started to occure when I started to keep permanent sshfs mounts. Here is the backtrace: Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x20:0xc08617e6 stack pointer = 0x28:0xe71d3808 frame pointer = 0x28:0xe71d3844 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 13458 (find) trap number = 12 panic: page fault cpuid = 0 Uptime: 23h58m34s Physical memory: 1010 MB Dumping 134 MB: 119 103 87 71 55 39 23 7 Reading symbols from /boot/kernel/acpi.ko...Reading symbols from /boot/kernel/acpi.ko.symbols...done. done. Loaded symbols for /boot/kernel/acpi.ko Reading symbols from /usr/local/modules/fuse.ko...done. Loaded symbols for /usr/local/modules/fuse.ko Reading symbols from /boot/kernel/radeon.ko...Reading symbols from /boot/kernel/radeon.ko.symbols...done. done. Loaded symbols for /boot/kernel/radeon.ko Reading symbols from /boot/kernel/drm.ko...Reading symbols from /boot/kernel/drm.ko.symbols...done. done. Loaded symbols for /boot/kernel/drm.ko Reading symbols from /boot/kernel/smbfs.ko...Reading symbols from /boot/kernel/smbfs.ko.symbols...done. done. Loaded symbols for /boot/kernel/smbfs.ko Reading symbols from /boot/kernel/libiconv.ko...Reading symbols from /boot/kernel/libiconv.ko.symbols...d done. Loaded symbols for /boot/kernel/libiconv.ko Reading symbols from /boot/kernel/libmchain.ko...Reading symbols from /boot/kernel/libmchain.ko.symbols.. done. Loaded symbols for /boot/kernel/libmchain.ko #0 doadump () at pcpu.h:196 196 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:196 #1 0xc07e25c7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc07e2899 in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc0ae3efc in trap_fatal (frame=0xe71d37c8, eva=0) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0ae4180 in trap_pfault (frame=0xe71d37c8, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc0ae4b2c in trap (frame=0xe71d37c8) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc0ac923b in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc08617e6 in vgonel (vp=0xc52aabdc) at /usr/src/sys/kern/vfs_subr.c:979 #8 0xc086521d in vnlru_free (count=1) at /usr/src/sys/kern/vfs_subr.c:860 #9 0xc0865367 in getnewvnode (tag=0xc0b83ce1 "ufs", mp=0xc449a870, vops=0xc0c6c160, vpp=0xe71d3904) at /usr/src/sys/kern/vfs_subr.c:882 #10 0xc09f86a2 in ffs_vgetf (mp=0xc449a870, ino=641075, flags=2, vpp=0xe71d39b8, ffs_flags=0) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1436 #11 0xc09f8aee in ffs_vget (mp=0xc449a870, ino=641075, flags=2, vpp=0xe71d39b8) at /usr/src/sys/ufs/ffs/ffs_vfsops.c:1379 #12 0xc0a0503b in ufs_lookup (ap=0xe71d3a00) at /usr/src/sys/ufs/ufs/ufs_lookup.c:600 #13 0xc0af87f2 in VOP_CACHEDLOOKUP_APV (vop=0xc0c6c160, a=0xe71d3a00) at vnode_if.c:153 #14 0xc0851e4c in vfs_cache_lookup (ap=0xe71d3a84) at vnode_if.h:83 #15 0xc0afa4c6 in VOP_LOOKUP_APV (vop=0xc0c6c680, a=0xe71d3a84) at vnode_if.c:99 #16 0xc08587f1 in lookup (ndp=0xe71d3b48) at vnode_if.h:57 #17 0xc0859539 in namei (ndp=0xe71d3b48) at /usr/src/sys/kern/vfs_lookup.c:215 #18 0xc086702f in kern_lstat (td=0xc4f18460, path=0x282450f8
, pathseg=UIO_USERSPACE, sbp=0xe71d3c18) at /usr/src/sys/kern/vfs_syscalls.c:2184 #19 0xc08671ef in lstat (td=0xc4f18460, uap=0xe71d3cfc) at /usr/src/sys/kern/vfs_syscalls.c:2167 #20 0xc0ae44d5 in syscall (frame=0xe71d3d38) at /usr/src/sys/i386/i386/trap.c:1090 #21 0xc0ac92a0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:255 #22 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) Here is a dmesg (not the one before the crash): Copyright (c) 1992-2009 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 7.2-RELEASE-p3 #0: Wed Sep 2 09:06:11 CEST 2009 root@cthulhu.tac.netasq.com:/usr/obj/usr/src/sys/DEBUG-GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3200+ (2000.09-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20ff2 Stepping = 2 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 1072562176 (1022 MB) avail memory = 1035886592 (987 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard ioapic1 irqs 24-47 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3fde0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pcib2: irq 27 at device 2.0 on pci0 pci2: on pcib2 vgapci0: port 0x9000-0x90ff mem 0xc8000000-0xcfffffff,0xd1000000-0xd100ffff irq 24 at device 0.0 on pci2 vgapci1: mem 0xd1010000-0xd101ffff at device 0.1 on pci2 pcib3: irq 31 at device 3.0 on pci0 pci3: on pcib3 pcib4: irq 35 at device 3.1 on pci0 pci4: on pcib4 pcib5: irq 39 at device 3.2 on pci0 pci5: on pcib5 mskc0: port 0xa000-0xa0ff mem 0xd3000000-0xd3003fff irq 36 at device 0.0 on pci5 msk0: on mskc0 msk0: Ethernet address: 00:15:f2:89:3a:5a miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX-FDX, auto mskc0: [FILTER] pcib6: irq 43 at device 3.3 on pci0 pci6: on pcib6 pcib7: at device 11.0 on pci0 pci7: on pcib7 fxp0: port 0xb000-0xb01f mem 0xd4200000-0xd4200fff,0xd4000000-0xd40fffff irq 16 at device 4.0 on pci7 miibus1: on fxp0 inphy0: PHY 1 on miibus1 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:03:47:08:6d:09 fxp0: [ITHREAD] fxp1: port 0xb400-0xb41f mem 0xd4201000-0xd4201fff,0xd4100000-0xd41fffff irq 17 at device 5.0 on pci7 miibus2: on fxp1 inphy1: PHY 1 on miibus2 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:03:47:08:6d:0a fxp1: [ITHREAD] atapci0: port 0xc000-0xc007,0xc400-0xc403,0xc800-0xc807,0xcc00-0xcc03,0xd000-0xd00f,0xd400-0xd4ff irq 20 at device 15.0 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd800-0xd80f at device 15.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] ata1: on atapci1 ata1: [ITHREAD] uhci0: port 0xdc00-0xdc1f irq 21 at device 16.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xe000-0xe01f irq 21 at device 16.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xe400-0xe41f irq 21 at device 16.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered uhci3: port 0xe800-0xe81f irq 21 at device 16.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xd4300000-0xd43000ff irq 21 at device 16.4 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered uhub5: on uhub4 uhub5: multiple transaction translators uhub5: 4 ports with 4 removable, self powered isab0: at device 17.0 on pci0 isa0: on isab0 pci0: at device 17.5 (no driver attached) acpi_tz0: on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] cpu0: on acpi0 powernow0: on cpu0 device_attach: powernow0 attach returned 6 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff pnpid ORM0000 on isa0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/9 bytes threshold ppbus0: on ppc0 ppbus0: [ITHREAD] plip0: on ppbus0 plip0: WARNING: using obsoleted IFF_NEEDSGIANT flag lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ppc0: [GIANT-LOCKED] ppc0: [ITHREAD] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 ums0: on uhub0 ums0: 3 buttons and Z dir. Timecounter "TSC" frequency 2000092814 Hz quality 800 Timecounters tick every 1.000 msec ad6: 78167MB at ata3-master SATA150 GEOM_LABEL: Label for provider ad6s1 is ntfs/SYSTEM. GEOM_LABEL: Label for provider ad6s5 is ntfs/USERS. GEOM_LABEL: Label for provider ad6s3a is ufsid/498b17d3d30402da. GEOM_LABEL: Label for provider ad6s3d is ufsid/498b17d4aed77cce. GEOM_LABEL: Label for provider ad6s3e is ufsid/498b17d337b74b9b. GEOM_LABEL: Label for provider ad6s3f is ufsid/498b17d3e7acca4e. GEOM_LABEL: Label for provider ad6s3g is ufsid/498b17d33dac1cba. Trying to mount root from ufs:/dev/ad6s3a GEOM_LABEL: Label ufsid/498b17d3d30402da removed. GEOM_LABEL: Label for provider ad6s3a is ufsid/498b17d3d30402da. GEOM_LABEL: Label ufsid/498b17d3e7acca4e removed. GEOM_LABEL: Label for provider ad6s3f is ufsid/498b17d3e7acca4e. GEOM_LABEL: Label ufsid/498b17d337b74b9b removed. GEOM_LABEL: Label for provider ad6s3e is ufsid/498b17d337b74b9b. GEOM_LABEL: Label ufsid/498b17d33dac1cba removed. GEOM_LABEL: Label for provider ad6s3g is ufsid/498b17d33dac1cba. GEOM_LABEL: Label ufsid/498b17d4aed77cce removed. GEOM_LABEL: Label for provider ad6s3d is ufsid/498b17d4aed77cce. GEOM_LABEL: Label ufsid/498b17d3d30402da removed. GEOM_LABEL: Label ufsid/498b17d3e7acca4e removed. GEOM_LABEL: Label ufsid/498b17d337b74b9b removed. GEOM_LABEL: Label ufsid/498b17d33dac1cba removed. GEOM_LABEL: Label ufsid/498b17d4aed77cce removed. fuse4bsd: version 0.3.9-pre1, FUSE ABI 7.8 drm0: on vgapci0 vgapci0: child drm0 requested pci_enable_busmaster info: [drm] Initialized radeon 1.29.0 20080528 info: [drm] Setting GART location based on new memory map info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] info: [drm] Num pipes: 1 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] Num pipes: 1 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] Num pipes: 1 info: [drm] Setting GART location based on new memory map info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 info: [drm] writeback test succeeded in 1 usecs drm0: [ITHREAD] info: [drm] Num pipes: 1 info: [drm] Loading R300 Microcode info: [drm] Num pipes: 1 netsmb_dev: loaded Here is my kernel config, which is just GENERIC with debug enabled: include GENERIC ident DEBUG-GENERIC makeoptions DEBUG=-g >How-To-Repeat: Keep my station running and wait 2-3 days. >Fix: >Release-Note: >Audit-Trail: >Unformatted: