Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2003 09:52:11 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        current@FreeBSD.org
Cc:        jeff@FreeBSD.org
Subject:   Two witness panics in vfs_bio
Message-ID:  <20030210175211.GF21911@rot13.obsecurity.org>

next in thread | raw e-mail | index | archive | help

--8TaQrIeukR7mmbKf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

 recursed on non-recursive lock (sleep mutex) needsbuffer lock @ /local0/src-client/sys/kern/vfs_bio.c:1159
first acquired @ /local0/src-client/sys/kern/vfs_bio.c:1151
panic: recurse
Debugger("panic")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> trace
Debugger(c041c671,c048f620,c041f142,d8da9b00,1) at Debugger+0x54
panic(c041f142,c0421d15,47f,c0421d15,487) at panic+0xab
witness_lock(c04b4e20,8,c0421d15,487,c0492508) at witness_lock+0x3a4
_mtx_lock_flags(c04b4e20,0,c0421d15,487,0) at _mtx_lock_flags+0xb1
bwillwrite(0,c0498960,0,0,0) at bwillwrite+0x148
kern_rename(c55b8d20,8091480,bfbfcbe0,0,d8da9d40) at kern_rename+0x1e
rename(c55b8d20,d8da9d10,c0436514,407,2) at rename+0x29
syscall(808002f,bfbf002f,bfbf002f,8090b00,bfbfcbe0) at syscall+0x28e
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (128, FreeBSD ELF32, rename), eip = 0x2819e538, esp = 0xbfbec794, ebp = 0xbfbfd3e0 ---
db>

 /local0/src-client/sys/kern/kern_synch.c:152: sleeping with "buf queue lock" locked from /local0/src-client/sys/kern/vfs_bio.c:1778
Debugger("witness_sleep")
Stopped at      Debugger+0x54:  xchgl   %ebx,in_Debugger.0
db> trace
Debugger(c03f4e18,c041ce2d,98,c041f4e1,c0421d48) at Debugger+0x54
witness_sleep(0,c04b4e20,c041ce2d,98,1) at witness_sleep+0x135
msleep(c04b4e14,c04b4e20,50,c0421c6e,0) at msleep+0x73
getnewbuf(0,0,4000,4000,0) at getnewbuf+0x543
geteblk(4000,0,0,d6810aac,c0223ca8) at geteblk+0x3c
spec_freeblks(d6810b10,d6810b3c,c035553c,d6810b10,0) at spec_freeblks+0x35
spec_vnoperate(d6810b10,0,16f60,0,0) at spec_vnoperate+0x18
ffs_blkfree(c45cc000,c45d5b18,48e408,0,4000) at ffs_blkfree+0x1fc
indir_trunc(c642a400,11fe040,0,0,c) at indir_trunc+0x335
handle_workitem_freeblocks(c642a400,0,2,c04925f8,c4029600) at handle_workitem_freeblocks+0x21e
process_worklist_item(0,0,3e47df7e,0,c0423463) at process_worklist_item+0x1ed
softdep_process_worklist(0,0,c0423463,6dc,0) at softdep_process_worklist+0xc0
sched_sync(0,d6810d48,c041a2d8,361,3e722020) at sched_sync+0x2ee
fork_exit(c02ae1f0,0,d6810d48) at fork_exit+0xc4
fork_trampoline() at fork_trampoline+0x1a
--- trap 0x1, eip = 0, esp = 0xd6810d7c, ebp = 0 ---
db>


--8TaQrIeukR7mmbKf
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE+R+bLWry0BWjoQKURAgGAAJ90BMiczpbJc8zXbopV1AMumNhUdwCg+nhx
0nZ/VPBkEGyS+Y5v5IySXNA=
=Bs+6
-----END PGP SIGNATURE-----

--8TaQrIeukR7mmbKf--

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?20030210175211.GF21911>