From owner-freebsd-bugs@FreeBSD.ORG Mon Sep 24 09:00:07 2007 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 DE51816A46D for ; Mon, 24 Sep 2007 09:00:07 +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 A931713C4A5 for ; Mon, 24 Sep 2007 09:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8O907Lr057711 for ; Mon, 24 Sep 2007 09:00:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8O907Ko057710; Mon, 24 Sep 2007 09:00:07 GMT (envelope-from gnats) Resent-Date: Mon, 24 Sep 2007 09:00:07 GMT Resent-Message-Id: <200709240900.l8O907Ko057710@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, Nikolay Pavlov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3318C16A41B for ; Mon, 24 Sep 2007 08:53:58 +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 EB50613C43E for ; Mon, 24 Sep 2007 08:53:57 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8O8rvwR056513 for ; Mon, 24 Sep 2007 08:53:57 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.1/8.14.1/Submit) id l8O8rvqt056512; Mon, 24 Sep 2007 08:53:57 GMT (envelope-from nobody) Message-Id: <200709240853.l8O8rvqt056512@www.freebsd.org> Date: Mon, 24 Sep 2007 08:53:57 GMT From: Nikolay Pavlov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/116600: tmpfs panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/kern/vfs_mount.c:1046 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: Mon, 24 Sep 2007 09:00:08 -0000 >Number: 116600 >Category: kern >Synopsis: tmpfs panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/kern/vfs_mount.c:1046 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 24 09:00:06 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Nikolay Pavlov >Release: 7.0-CURRENT >Organization: >Environment: 7.0-CURRENT GENERIC i386 >Description: panic: mtx_lock() of spin mutex (null) @ /usr/src/sys/kern/vfs_mount.c:1046 cpuid = 0 KDB: enter: panic exclusive sleep mutex Giant r = 0 (0xc0ba7350) locked @ /usr/src/sys/kern/kern_module.c:117 panic: from debugger cpuid = 0 Uptime: 6s Physical memory: 1003 MB Dumping 47 MB: 32 16 #0 doadump () at pcpu.h:195 195 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); (kgdb) bt #0 doadump () at pcpu.h:195 #1 0xc074c19e in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xc074c45b in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xc048c6d7 in db_panic (addr=Could not find the frame base for "db_panic". ) at /usr/src/sys/ddb/db_command.c:433 #4 0xc048d0c5 in db_command_loop () at /usr/src/sys/ddb/db_command.c:401 #5 0xc048e835 in db_trap (type=3, code=0) at /usr/src/sys/ddb/db_main.c:222 #6 0xc07730c6 in kdb_trap (type=3, code=0, tf=0xe46959f0) at /usr/src/sys/kern/subr_kdb.c:502 #7 0xc09fd25b in trap (frame=0xe46959f0) at /usr/src/sys/i386/i386/trap.c:621 #8 0xc09e2c8b in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #9 0xc0773242 in kdb_enter (msg=0xc0a93513 "panic") at cpufunc.h:60 #10 0xc074c444 in panic (fmt=0xc0a92475 "mtx_lock() of spin mutex %s @ %s: %d") at /usr/src/sys/kern/kern_shutdown.c:547 #11 0xc0740d3a in _mtx_lock_flags (m=0xc42b0000, opts=0, file=0xc0a9e111 "/usr/src/sys/kern/vfs_mount.c", line=1046) at /usr/src/sys/kern/kern_mutex.c:180 #12 0xc07c154b in vfs_donmount (td=0xc429f800, fsflags=0, fsoptions=0xc431ce00) at /usr/src/sys/kern/vfs_mount.c:1046 #13 0xc07c25e3 in nmount (td=0xc429f800, uap=0xe4695cfc) at /usr/src/sys/kern/vfs_mount.c:413 #14 0xc09fca13 in syscall (frame=0xe4695d38) at /usr/src/sys/i386/i386/trap.c:1008 #15 0xc09e2cf0 in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:196 #16 0x00000033 in ?? () Previous frame inner to this frame (corrupt stack?) >How-To-Repeat: Add this to your fstab and reboot: tmpfs /tmp tmpfs rw,mode=777 0 0 >Fix: >Release-Note: >Audit-Trail: >Unformatted: