Date: Sat, 26 May 2001 11:07:36 -0500 From: Michael Harnois <mdharnois@home.com> To: freebsd-current@freebsd.org Cc: alfred@freebsd.org, jhb@freebsd.org Subject: recursed on non-recursive lock Message-ID: <20010526110731.A707@home.com>
next in thread | raw e-mail | index | archive | help
I finally got this much. I hope it helps. lock order reversal 1st 0xc03af0a0 mntvnode @ ../../ufs/ffs/ffs_vnops.c:1007 2nd 0xc8b539cc vnode interlock @ ../../ufs/ffs/ffs_vfsops.c:1016 recursed on non-recursive lock (sleep mutex) vm @ ../../ufs/ufs/ufs_readwrite.c:420 first acquired @ ../../vm/vnode_pager.c:912 panic:recurse Debugger ("panic") Stopped at Debugger+0x45: pushl %ebx db> t Debugger(c0310767b) at Debugger+0x45 panic(c0313348,c81b9cb8,a0,10,0) at panic+0x70 witness_lock(c03b3f20,8,c03263b6,1a4) at witness_lock+0x356 ffs_write(c81b9ca4) at ffs_write+0xba vnode_pager_generic_putpages(c8c31d00,c81b9ddc,10000,0,c81b9d74) at vnode_pager_generic_putpages+0x19c vop_stdputpages(c81b9d28,c81b9d0c,c02a7f9d,c81b9d28,c81b9d48) at vop_stdputpages+0x1f vop_defaultop(c81b9d28,c81b9d48,c02c5c3d,c81b9d28,0) at vop_defaultop+0x15 ufs_vnoperate(c81b9d28) at ufs_vnoperate+0x15 vnode_pager_putpages(c8c4b360,c81b9ddc,10,0,c81b9d74,c03b3f20,1,c0329ffa,91) at vnode_pager_putpages+0x1ad vm_pageout_flush(c81b9ddc,10,0,c09d3b7c,c0a0d638) at vm_pageout_flush+0x12c vm_object_page_clean(c8c4b360,0,0,4) at vm_object_page_clean+0x434 vfs_msync(c0eeb200,2,c81ae440,c7b9b200,c0e8b194) at vfs_msync+02x34 sync_fsync(c81b9f5c) at sync_fsync+0x17c sched_sync(0,c81b9fa8) at sched_sync+0x16c fork_exit(c01d330c,0,c81b9fa8) at fork_exit+0xb6 fork_trampoline() at fork_trampoline+0x8 db> show registers cs 0x8 ds 0x10 es 0x10 fs 0x18 ss 0x10 eax 0x12 ecx 0xc03a7c00 main_console.518 edx 0xc033074f db_lengths+0x1d7 ebx 0x202 esp 0xc81b9bc8 ebp 0xc81b9bd4 esi 0x100 edi 0xc0386ccc eip 0xc02daa39 Debugger+0x45 efl 0x46 Debugger+0x45: pushl %ebx db> show locks exclusive (sleep mutex) vm (oxc03b3f20) locked @ ../../vm/vnode_pager.c:912 exclusive (sleep mutex) Giant (0xc03b4b00) locked @ ../../kern/vfs_subr.c:1027 db> c syncing disks... panic: mutex vm owned at ../../kern/vfs_bio.c:2990 Debugger("panic") Stopped at Debugger+0x45: pushl %ebx db> c Uptime: 37s dumping to dev ad0s1b, offset 280744 dump ata0: resetting devices .. -- Michael D. Harnois mdharnois@home.com Redeemer Lutheran Church Washburn, Iowa Wise men talk because they have something to say; fools, because they have to say something. -- Plato 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?20010526110731.A707>