Date: Thu, 8 Mar 2001 13:27:14 +0100 From: Andrea Campi <andrea@webcom.it> To: current@freebsd.org Subject: Panic mounting msdos fs Message-ID: <20010308132714.A569@webcom.it>
next in thread | raw e-mail | index | archive | help
--jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Yesterday -current: # mount /msdos Acquring duplicate lock of same type: "lockmgr interlock" 1st @ ../../kern/kern_lock.c:239 2nd @ ../../kern/kern_lock.c:239 Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor write, page not present instruction pointer = 0x8:0xc015c3f5 stack pointer = 0x10:0xc7821ce4 frame pointer = 0x10:0xc7821cf0 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 = 489 (mount_msdos) kernel: type 12 trap, code=0 Stopped at witness_exit+0x23d: movl %eax,0(%edx) db> I am attaching output of a few "show" commands from debug... -- Weird enough for government work. --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="panic.cap" Content-Transfer-Encoding: quoted-printable trace witness_exit(c780634c,0,c024085a,f1,c780634c,1,c024085a,f1) at witness_exit= +0x23d lockmgr(c780637c,1010002,c780634c,c77a3980,c7821d70) at lockmgr+0xf5 vop_stdlock(c7821d60) at vop_stdlock+0x1f vn_lock(c78062e0,10002,c77a3980,c780634c,c0e8fb80) at vn_lock+0x186 vget(c78062e0,10002,c77a3980,c0df1400,4) at vget+0x109 msdosfs_hashget(c0da7600,0,1fffffff,c7806760,4) at msdosfs_hashget+0x11b deget(c0ea7000,0,1fffffff,c7821e1c,17d) at deget+0x41 msdosfs_root(c0df1400,c7821e4c) at msdosfs_root+0x20 vfs_mount(c77a3980,c0d7db40,c0e8fc00,0,bfbff8e8) at vfs_mount+0xc40 mount(c77a3980,c7821f80,bfbffd94,bfbffcc0,0) at mount+0x6a syscall(2f,2f,2f,0,bfbffcc0) at syscall+0x6b1 syscall_with_err_pushed() at syscall_with_err_pushed+0x1b db> show mu=08 =08=08 =08registers cs 0x8 ds 0x10 es 0x10 fs 0x18 ss 0x10 eax 0xc02ade20 Giant ecx 0xc0e7f040 edx 0 ebx 0xc780634c esp 0xc7821ce4 ebp 0xc7821cf0 esi 0 edi 0xc0294ed8 w_data+0x1518 eip 0xc015c3f5 witness_exit+0x23d efl 0x10282 witness_exit+0x23d: movl %eax,0(%edx) db> show mutexes "lockmgr interlock" (0xc05a8ef0) locked at ../../kern/kern_lock.c:239 "Giant" (0xc02ade20) locked at ../../i386/i386/trap.c:1169 db> who=08 =08=08 =08=08 =08show witness Sleep mutexes: 0 rman head -- last acquired @ ../../kern/subr_rman.c:107 0 sf_bufs list lock -- last acquired @ ../../kern/uipc_syscalls.c:1437 0 vm86pcb lock -- last acquired @ ../../i386/i386/vm86.c:579 0 Giant -- last acquired @ ../../i386/i386/trap.c:1169 1 mbuf free list lock -- last acquired @ ../../kern/uipc_mbuf.c:591 1 vnode pollinfo -- last acquired @ ../../kern/vfs_subr.c:2761 1 vm object_list -- last acquired @ ../../vm/vm_object.c:456 1 ip_inq -- last acquired @ ../../netinet/ip_input.c:817 1 arp_inq -- last acquired @ ../../netinet/if_ether.c:446 1 eventhandler -- last acquired @ ../../kern/subr_eventhandler.c:76 3 lockmgr interlock -- last acquired @ ../../kern/kern_lock.c:239 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 4 lockmgr -- last acquired @ ../../kern/kern_lock.c:505 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 1 zone subsystem -- last acquired @ ../../vm/vm_zone.c:422 3 lockmgr interlock -- last acquired @ ../../kern/kern_lock.c:239 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 3 zone -- last acquired @ ../../vm/vm_zone.c:366 4 lockmgr -- last acquired @ ../../kern/kern_lock.c:505 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 1 bpf interface lock -- last acquired @ ../../net/bpf.c:1070 2 bpf1 -- last acquired @ ../../net/bpf.c:1074 2 bpf0 -- last acquired @ ../../net/bpf.c:1074 3 lockmgr interlock -- last acquired @ ../../kern/kern_lock.c:239 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 1 ifsvgt -- last acquired @ ../../ufs/ffs/ffs_vfsops.c:1128 1 ep -- last acquired @ ../../dev/ep/if_ep.c:480 1 mcluster free list lock -- last acquired @ ../../kern/uipc_mbuf.c:591 1 m_ext counter free list lock -- last acquired @ ../../kern/uipc_mbuf.c:5= 91 1 ufs ihash -- last acquired @ ../../ufs/ufs/ufs_ihash.c:133 2 vnode interlock -- last acquired @ ../../kern/vfs_syscalls.c:375 3 lockmgr interlock -- last acquired @ ../../kern/kern_lock.c:239 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 3 spechash -- last acquired @ ../../kern/vfs_subr.c:2003 3 mntvnode -- last acquired @ ../../kern/vfs_subr.c:650 3 vnode_free_list -- last acquired @ ../../kern/vfs_subr.c:2674 3 zone -- last acquired @ ../../vm/vm_zone.c:366 4 lockmgr -- last acquired @ ../../kern/kern_lock.c:505 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 1 mntid -- last acquired @ ../../kern/vfs_subr.c:426 2 mountlist -- last acquired @ ../../kern/vfs_syscalls.c:379 3 lockmgr interlock -- last acquired @ ../../kern/kern_lock.c:239 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 1 pccbb1 -- last acquired @ ../../dev/pccbb/pccbb.c:632 2 rman -- last acquired @ ../../kern/subr_rman.c:420 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 2 bpf global lock -- last acquired @ ../../net/bpf.c:921 3 zone -- last acquired @ ../../vm/vm_zone.c:366 4 lockmgr -- last acquired @ ../../kern/kern_lock.c:505 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 1 pccbb0 -- last acquired @ ../../dev/pccbb/pccbb.c:632 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 1 random reseed -- last acquired @ ../../dev/random/yarrow.c:272 1 fork list -- last acquired @ ../../kern/kern_sx.c:138 1 buftime lock -- last acquired @ ../../sys/buf.h:255 3 lockmgr interlock -- last acquired @ ../../kern/kern_lock.c:239 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 1 proctree -- last acquired @ order list:0 2 allproc -- last acquired @ order list:0 5 process lock -- last acquired @ ../../i386/i386/trap.c:880 6 ucred -- last acquired @ ../../kern/kern_prot.c:1177 6 uidinfo hash -- last acquired @ ../../kern/kern_resource.c:765 7 malloc -- last acquired @ ../../kern/kern_malloc.c:317 7 uidinfo struct -- last acquired @ ../../kern/kern_resource.c:782 Spin mutexes: 1 sio -- last acquired @ ../../isa/sio.c:1825 5 ithread table lock -- last acquired @ ../../i386/isa/intr_machdep.c:= 576 6 ithread list lock -- last acquired @ ../../kern/kern_intr.c:249 7 sched lock -- last acquired @ ../../kern/kern_clock.c:350 8 clk -- last acquired @ ../../i386/isa/clock.c:1192 9 callout -- last acquired @ ../../kern/kern_clock.c:203 Mutexes which were never acquired: msdosfs dehash lo db>=20 --jI8keyz6grp/JLjh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010308132714.A569>