LOR (ffs_snapshot.c:651 <> vm_map.c:2258).

Pawel Jakub Dawidek nick at garage.freebsd.pl
Wed Nov 5 08:42:07 PST 2003


Hello.

lock order reversal
 1st 0xc66a6db0 vnode interlock (vnode interlock) @ /usr/src/sys/ufs/ffs/ffs_snapshot.c:651
 2nd 0xc0c2f110 system map (system map) @ /usr/src/sys/vm/vm_map.c:2258
Stack backtrace:
backtrace(c05bbfcb,c0c2f110,c05c650b,c05c650b,c05c6581) at backtrace+0x17
witness_lock(c0c2f110,8,c05c6581,8d2,c0c2f0b0) at witness_lock+0x686
_mtx_lock_flags(c0c2f110,0,c05c6581,8d2,c6aee000) at _mtx_lock_flags+0xb5
_vm_map_lock(c0c2f0b0,c05c6581,8d2,c69e61b0,0) at _vm_map_lock+0x36
vm_map_remove(c0c2f0b0,c6aee000,c6af0000,e1b1a7f0,c0555f99) at vm_map_remove+0x30
kmem_free(c0c2f0b0,c6aee000,2000,e1b1a80c,c05579f9) at kmem_free+0x32
page_free(c6aee000,2000,22,c060c4b8,c05e9100) at page_free+0x3a
uma_large_free(c69e61b0,e1b1a83c,c0487f64,c66a6db0,2000) at uma_large_free+0xf9
free(c6aee000,c05e9100,c05c3358,28b,c25aff00) at free+0xe9
ffs_snapshot(c6522600,80c39a0,70,c04b5d36,c060d3e0) at ffs_snapshot+0x23f4
ffs_mount(c6522600,c69c4380,bfbffcc0,e1b1abf0,c6496720) at ffs_mount+0x617
vfs_mount(c6496720,c258ecd0,c69c4380,1211000,bfbffcc0) at vfs_mount+0x7d1
mount(c6496720,e1b1ad14,c05cd44e,3ee,4) at mount+0xba
syscall(2f,2f,2f,0,bfbffdc0) at syscall+0x28f
Xint0x80_syscall() at Xint0x80_syscall+0x1d
--- syscall (21), eip = 0x80557bb, esp = 0xbfbffb6c, ebp = 0xbfbffd48 ---

-- 
Pawel Jakub Dawidek                       pawel at dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031105/ca369c50/attachment.bin


More information about the freebsd-current mailing list