Where to report LORs? (ffs and unionfs LORs included

From: Harald Schmalzbauer <h.schmalzbauer_at_omnilan.de>
Date: Tue, 07 Jul 2009 20:57:36 +0200
Hello,

I remember when 7.0 was -current there was a specioal LOR reporting site.
Is it still the best place to report LORs?
Currently I have some of them:

lock order reversal:
  1st 0xc88d88b8 ufs (ufs) _at_ /usr/src/sys/kern/vfs_lookup.c:492
  2nd 0xd9ae0fb0 bufwait (bufwait) _at_ /usr/src/sys/ufs/ffs/ffs_softdep.c:6170
  3rd 0xc9d6a9c4 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2083
KDB: stack backtrace:
db_trace_self_wrapper(c08430b6,ec8272cc,c05cfd9f,c05c170b,c0845f64,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c05c170b,c0845f64,c5a0ee28,c5a12a48,ec827328,...) at 
kdb_backtrace+0x29
_witness_debugger(c0845f64,c9d6a9c4,c0838ab3,c5a12a48,c084d2d2,...) at 
_witness_debugger+0x1e
witness_checkorder(c9d6a9c4,9,c084d2d2,823,0,...) at 
witness_checkorder+0x815
__lockmgr_args(c9d6a9c4,80100,c9d6a9e0,0,0,...) at __lockmgr_args+0x771
ffs_lock(ec827430,c05cfb7b,c084c7c5,80100,c9d6a96c,...) at ffs_lock+0x7d
VOP_LOCK1_APV(c08ad460,ec827430,cae79524,c08c33a0,c9d6a96c,...) at 
VOP_LOCK1_APV+0xaf
_vn_lock(c9d6a96c,80100,c084d2d2,823,4,...) at _vn_lock+0x5e
vget(c9d6a96c,80100,cae79480,50,0,...) at vget+0xb8
vfs_hash_get(cb207c94,9bc0b,80000,cae79480,ec82758c,...) at 
vfs_hash_get+0xdf
ffs_vgetf(cb207c94,9bc0b,80000,ec82758c,1,...) at ffs_vgetf+0x43
softdep_sync_metadata(c88d8860,0,c085ff5b,146,0,...) at 
softdep_sync_metadata+0x5a6
ffs_syncvnode(c88d8860,1,ec827624,c05cfb7b,c083e509,...) at 
ffs_syncvnode+0x3c9
ffs_truncate(c88d8860,200,0,880,cb0fc400,...) at ffs_truncate+0x644
ufs_direnter(c88d8860,cd399d9c,ec8278e4,ec827bd8,0,...) at 
ufs_direnter+0x8e0
ufs_makeinode(ec827bd8) at ufs_makeinode+0x4df
ufs_create(ec827acc,ec827ae4,0,0,ec827bac,...) at ufs_create+0x2c
VOP_CREATE_APV(c08ad460,ec827acc,ec827bd8,ec827a64,0,...) at 
VOP_CREATE_APV+0xa2
vn_open_cred(ec827bac,ec827c60,1a4,0,cb0fc400,...) at vn_open_cred+0x1fc
vn_open(ec827bac,ec827c60,1a4,c7e080e0,c08e0102,...) at vn_open+0x3b
kern_openat(cae79480,ffffff9c,33f53970,0,602,...) at kern_openat+0x116
kern_open(cae79480,33f53970,0,601,1b6,...) at kern_open+0x35
open(cae79480,ec827cf8,c,ec827d2c,c088e6ec,...) at open+0x30
syscall(ec827d38) at syscall+0x281
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (5, FreeBSD ELF32, open), eip = 0x33dd10fb, esp = 
0xbfbfe02c, ebp = 0xbfbfe0b8 ---

These two are with unionfs:
lock order reversal:
  1st 0xc62f08b8 unionfs (unionfs) _at_ 
/usr/src/sys/fs/unionfs/union_subr.c:356
  2nd 0xc62f09c4 ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2188
KDB: stack backtrace:
db_trace_self_wrapper(c08430b6,e83a1868,c05cfd9f,c05c170b,c0845f4b,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c05c170b,c0845f4b,c5a12b80,c5a12a48,e83a18c4,...) at 
kdb_backtrace+0x29
_witness_debugger(c0845f4b,c62f09c4,c0838ab3,c5a12a48,c084d2d2,...) at 
_witness_debugger+0x1e
witness_checkorder(c62f09c4,9,c084d2d2,88c,0,...) at 
witness_checkorder+0x815
__lockmgr_args(c62f09c4,80100,c62f09e0,0,0,...) at __lockmgr_args+0x771
ffs_lock(e83a19cc,c5a12b80,c084d2d2,80100,c62f096c,...) at ffs_lock+0x7d
VOP_LOCK1_APV(c08ad460,e83a19cc,c0582686,c08c33a0,c62f096c,...) at 
VOP_LOCK1_APV+0xaf
_vn_lock(c62f096c,80100,c084d2d2,88c,c07ff2d1,...) at _vn_lock+0x5e
vrele(c62f096c,e83a1a54,c62f08d4,0,0,...) at vrele+0x126
unionfs_noderem(c62f0860,c61d6480,e83a1a94,c07fe256,e83a1ab4,...) at 
unionfs_noderem+0x4ac
unionfs_reclaim(e83a1ab4,1,0,c62f0860,e83a1ad8,...) at unionfs_reclaim+0x1b
VOP_RECLAIM_APV(c088b7c0,e83a1ab4,0,0,c62f08d4,...) at VOP_RECLAIM_APV+0x9f
vgonel(c62f08d4,0,c084d2d2,9c5,e83a1b38,...) at vgonel+0x1a9
vrecycle(c62f0860,c61d6480,e83a1b20,c07fe326,e83a1b38,...) at vrecycle+0x45
unionfs_inactive(e83a1b38,c62f08d4,c62f0860,c62f08d4,e83a1b50,...) at 
unionfs_inactive+0x28
VOP_INACTIVE_APV(c088b7c0,e83a1b38,c084d2d2,924,c08c3360,...) at 
VOP_INACTIVE_APV+0xa0
vinactive(c088b7c0,e83a1b6c,c084d2d2,8aa,e83a1bfc,...) at vinactive+0x82
vput(c62f0860,e83a1c1c,c08409ec,64a,400,...) at vput+0x1c0
kern_readlinkat(c61d6480,ffffff9c,33d7898f,0,bfbfe003,...) at 
kern_readlinkat+0x16d
kern_readlink(c61d6480,33d7898f,0,bfbfe003,0,...) at kern_readlink+0x3c
readlink(c61d6480,e83a1cf8,c,c0846dc1,c088ecb8,...) at readlink+0x38
syscall(e83a1d38) at syscall+0x281
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (58, FreeBSD ELF32, readlink), eip = 0x33cfb3ff, esp = 
0xbfbfdf8c, ebp = 0xbfbfe418 ---

lock order reversal:
  1st 0xc794082c filedesc structure (filedesc structure) _at_ 
/usr/src/sys/kern/kern_descrip.c:1088
  2nd 0xc7f4bce8 ufs (ufs) _at_ /usr/src/sys/fs/unionfs/union_vnops.c:1821
KDB: stack backtrace:
db_trace_self_wrapper(c08430b6,e847b9d0,c05cfd9f,c05c170b,c0845f4b,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c05c170b,c0845f4b,c5a0f100,c5a12a48,e847ba2c,...) at 
kdb_backtrace+0x29
_witness_debugger(c0845f4b,c7f4bce8,c0838ab3,c5a12a48,c0834c57,...) at 
_witness_debugger+0x1e
witness_checkorder(c7f4bce8,9,c0834c57,71d,0,...) at 
witness_checkorder+0x815
__lockmgr_args(c7f4bce8,80500,c7f4bd04,0,0,...) at __lockmgr_args+0x771
ffs_lock(e847bb4c,df,80500,80500,c7f5210c,...) at ffs_lock+0x7d
VOP_LOCK1_APV(c08ad460,e847bb4c,c0834c57,71a,100000,...) at 
VOP_LOCK1_APV+0xaf
unionfs_lock(e847bb9c,4,0,80400,c7f5210c,...) at unionfs_lock+0x1d2
VOP_LOCK1_APV(c088b7c0,e847bb9c,c083acd9,c08c33a0,c7f5210c,...) at 
VOP_LOCK1_APV+0xaf
_vn_lock(c7f5210c,80400,c084d2d2,ffb,e847bbf8,...) at _vn_lock+0x5e
vfs_knllock(c7f5210c,0,c083acd9,696,c7f4d088,...) at vfs_knllock+0x29
knlist_remove_kq(0,e847bc18,c0618395,c7d3801c,c7f4d088,...) at 
knlist_remove_kq+0x85
knlist_remove(c7d3801c,c7f4d088,0,e847bc44,c05625ae,...) at 
knlist_remove+0x1b
filt_vfsdetach(c7f4d088,0,c083acd9,777,d,...) at filt_vfsdetach+0x39
knote_fdclose(c70f3b40,12cd,c083a810,440,c794082c,...) at knote_fdclose+0xec
kern_close(c70f3b40,12cd,e847bd2c,c07f304a,c70f3b40,...) at kern_close+0xc8
close(c70f3b40,e847bcf8,4,c0846835,c088e708,...) at close+0x1a
syscall(e847bd38) at syscall+0x281
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (6, FreeBSD ELF32, close), eip = 0x33f6de2b, esp = 
0xbfbfe71c, ebp = 0xbfbfe738 ---


Some more:
lock order reversal:
  1st 0xd9914750 bufwait (bufwait) _at_ /usr/src/sys/kern/vfs_bio.c:2558
  2nd 0xc613f800 dirhash (dirhash) _at_ /usr/src/sys/ufs/ufs/ufs_dirhash.c:285
KDB: stack backtrace:
db_trace_self_wrapper(c08430b6,e850e864,c05cfd9f,c05c170b,c0845f4b,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c05c170b,c0845f4b,c5a0ee28,c5a12ab0,e850e8c0,...) at 
kdb_backtrace+0x29
_witness_debugger(c0845f4b,c613f800,c0860649,c5a12ab0,c08602e2,...) at 
_witness_debugger+0x1e
witness_checkorder(c613f800,9,c08602e2,11d,0,...) at 
witness_checkorder+0x815
_sx_xlock(c613f800,0,c08602e2,11d,c70ca244,...) at _sx_xlock+0x7f
ufsdirhash_acquire(d99146f0,e850e9d8,174,da423aa4,e850e990,...) at 
ufsdirhash_acquire+0x31
ufsdirhash_add(c70ca244,e850e9d8,aa4,e850e97c,e850e980,...) at 
ufsdirhash_add+0x13
ufs_direnter(c70d2a78,c799e430,e850e9d8,e850ebe0,0,...) at 
ufs_direnter+0x713
ufs_makeinode(e850ebe0) at ufs_makeinode+0x4df
ufs_create(e850ec04,e850ec18,e850eb4c,e850eb4c,0,...) at ufs_create+0x2c
VOP_CREATE_APV(c08ad460,e850ec04,e850ebe0,e850eb4c,c6408aac,...) at 
VOP_CREATE_APV+0xa2
uipc_bind(c7266ce0,c70df300,c7272b40,e850ec64,c05fa439,...) at 
uipc_bind+0x31f
sobind(c7266ce0,c70df300,c7272b40,c70df300,c71fee70,...) at sobind+0x23
kern_bind(c7272b40,4,c70df300,c70df300,c71c8d48,...) at kern_bind+0xaf
bind(c7272b40,e850ecf8,c,c0846835,c088f1c0,...) at bind+0x42
syscall(e850ed38) at syscall+0x281
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (104, FreeBSD ELF32, bind), eip = 0x33d91bd3, esp = 
0xbfbfe87c, ebp = 0xbfbfe978 ---



lock order reversal:
  1st 0xc7fb012c filedesc structure (filedesc structure) _at_ 
/usr/src/sys/kern/kern_descrip.c:1088
  2nd 0xcac46ad0 pseudofs (pseudofs) _at_ /usr/src/sys/kern/vfs_subr.c:4091
KDB: stack backtrace:
db_trace_self_wrapper(c08430b6,e84fba44,c05cfd9f,c05c170b,c0845f4b,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c05c170b,c0845f4b,c5a0f100,c5a12be8,e84fbaa0,...) at 
kdb_backtrace+0x29
_witness_debugger(c0845f4b,cac46ad0,c08340c3,c5a12be8,c084d2d2,...) at 
_witness_debugger+0x1e
witness_checkorder(cac46ad0,9,c084d2d2,ffb,cac46aec,...) at 
witness_checkorder+0x815
__lockmgr_args(cac46ad0,80400,cac46aec,0,0,0,c084d2d2,ffb) at 
__lockmgr_args+0x771
vop_stdlock(e84fbb9c,4,0,80400,cac46a78,...) at vop_stdlock+0x5c
VOP_LOCK1_APV(c088b540,e84fbb9c,c083acd9,c08c33a0,cac46a78,...) at 
VOP_LOCK1_APV+0xaf
_vn_lock(cac46a78,80400,c084d2d2,ffb,e84fbbf8,...) at _vn_lock+0x5e
vfs_knllock(cac46a78,0,c083acd9,696,c703a94c,...) at vfs_knllock+0x29
knlist_remove_kq(0,e84fbc18,c0618395,cacf0364,c703a94c,...) at 
knlist_remove_kq+0x85
knlist_remove(cacf0364,c703a94c,0,e84fbc44,c05625ae,...) at 
knlist_remove+0x1b
filt_vfsdetach(c703a94c,0,c083acd9,777,16,...) at filt_vfsdetach+0x39
knote_fdclose(c70f4b40,d6,c083a810,440,c7fb012c,...) at knote_fdclose+0xec
kern_close(c70f4b40,d6,e84fbd2c,c07f304a,c70f4b40,...) at kern_close+0xc8
close(c70f4b40,e84fbcf8,4,c085afd4,c088e708,...) at close+0x1a
syscall(e84fbd38) at syscall+0x281
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (6, FreeBSD ELF32, close), eip = 0x33f6de2b, esp = 
0xbfbfe5bc, ebp = 0xbfbfe5d8 ---


lock order reversal:
  1st 0xc7917880 kqueue (kqueue) _at_ /usr/src/sys/kern/kern_event.c:1112
  2nd 0xc1c900e8 system map (system map) _at_ /usr/src/sys/vm/vm_map.c:2762
KDB: stack backtrace:
db_trace_self_wrapper(c08430b6,e847b960,c05cfd9f,c05c170b,c0845f4b,...) 
at db_trace_self_wrapper+0x26
kdb_backtrace(c05c170b,c0845f4b,c5a0c318,c5a0c178,e847b9bc,...) at 
kdb_backtrace+0x29
_witness_debugger(c0845f4b,c1c900e8,c0861f20,c5a0c178,c086243d,...) at 
_witness_debugger+0x1e
witness_checkorder(c1c900e8,9,c086243d,aca,0,...) at 
witness_checkorder+0x815
_mtx_lock_flags(c1c900e8,0,c086243d,aca,c7b3c000,...) at 
_mtx_lock_flags+0xb8
_vm_map_lock(c1c9008c,c086243d,aca,c79956a8,c7b3a000,...) at 
_vm_map_lock+0x31
vm_map_remove(c1c9008c,c7b3a000,c7b3c000,e847ba48,c078d0b9,...) at 
vm_map_remove+0x2a
kmem_free(c1c9008c,c7b3a000,2000,e847ba60,c078df06,...) at kmem_free+0x30
page_free(c7b3a000,2000,22,2000,e847ba84,...) at page_free+0x46
uma_large_free(c79956a8,c083acd9,458,c7b3a000,600,...) at 
uma_large_free+0x89
free(c7b3a000,c0892874,1400,458,c7917880,...) at free+0xe9
kqueue_expand(0,500,e847baec,328,df,...) at kqueue_expand+0xf4
kqueue_register(1,e847bb48,1,0,0,...) at kqueue_register+0x11e
kern_kevent(c70f3b40,3,1,0,e847bc5c,...) at kern_kevent+0xd7
kevent(c70f3b40,e847bcf8,18,c0846c74,c0890e14,...) at kevent+0x197
syscall(e847bd38) at syscall+0x281
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (363, FreeBSD ELF32, kevent), eip = 0x33f50c2b, esp = 
0xbfbfe48c, ebp = 0xbfbfe6a8 ---


Received on Tue Jul 07 2009 - 16:57:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC