Hi,

just got this when trying to umount a media from an USB CF reader:

/usr/src/sys/kern/kern_synch.c:146: sleeping with "mountlist" locked from /usr/src/sys/kern/vfs_mount.c:1321. I have a core dump, but it's of the second panic.

Debugger("witness_sleep")
Stopped at Debugger+0x5a: xchgl %ebx,in_Debugger.0^M

db> trace
Debugger(c0441373,c043e1e9,92,c04413b4,c0445a4a) at Debugger+0x5a
witness_sleep(0,c04e532c,c043e1e9,92,8) at witness_sleep+0xe0
msleep(c8770564,c04e532c,50,c0459436,0) at msleep+0x5a
acquire(c8770564,1000040,600,e6,464c) at acquire+0x78
lockmgr(c8770564,1030002,c87704a0,c75d3b60,eb8d4bf4) at lockmgr+0x22d
vop_stdlock(eb8d4c10,eb8d4c30,c02d6c05,eb8d4c10,0) at vop_stdlock+0x2c
ufs_vnoperate(eb8d4c10,0,c04461c0,360,c026d9c3) at ufs_vnoperate+0x18
vn_lock(c87704a0,20002,c75d3b60,529,40) at vn_lock+0xa5
dounmount(c6d22400,0,c75d3b60,bfbffc6b,0) at dounmount+0x30f
unmount(c75d3b60,eb8d4d10,c0464b1d,42d,c75d4228) at unmount+0xc7
syscall(2f,2f,2f,809a02e,80b3b3d) at syscall+0x406
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (22, FreeBSD ELF32, unmount), eip = 0x804ae8b, esp = 0xbfbff5bc, ebp = 0xbfbff638 ---

db> c
panic: sleeping thread owns a mutex
cpuid = 0; lapic.id = 00000000
Debugger("panic")
Stopped at Debugger+0x5a: xchgl %ebx,in_Debugger.0

db> trace
Debugger(c043db3a,0,c043cd21,df2d7c08,1) at Debugger+0x5a
panic(c043cd21,1,c043cc46,6b,246) at panic+0x12f
propagate_priority(c23ad0d0,2,c043cc46,236,c043cc46) at propagate_priority+0x285
_mtx_lock_sleep(c04a1ba0,0,c0445ac2,d6e,c0445ac2) at _mtx_lock_sleep+0x129
_mtx_lock_flags(c04a1ba0,0,c0445ac2,d6e,c674da00) at _mtx_lock_flags+0x87
sync_fsync(df2d7cd0,20002,c23ad0d0,6a1,0) at sync_fsync+0xab
sched_sync(0,df2d7d48,c043b2ce,354,0) at sched_sync+0x16f
fork_exit(c02ca8a0,0,df2d7d48) at fork_exit+0x8d
fork_trampoline() at fork_trampoline+0x1a

Lars
--
Lars Eggert <[EMAIL PROTECTED]> USC Information Sciences Institute

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to