LORs in recent -current

From: Philipp Ost <pj_at_smo.de>
Date: Thu, 01 Jan 2009 14:56:13 +0100
Hi list,

I'm running -CURRENT as of December 27th and get these two LORs.

No. 1 (happens when booting, doesn't matter if single user or anything 
else):

lock order reversal:
  1st 0xc1c6a044 user map (user map) _at_ /usr/src/sys/vm/vm_map.c:3115
  2nd 0xc1d9d7ac ufs (ufs) _at_ /usr/src/sys/kern/vfs_subr.c:2079
KDB: stack backtrace:
db_trace_self_wrapper(c0839d29,c1aff90c,c05e1e05,4,c0835575,...) at 
db_trace_self_wrapper+0x26
kdb_backtrace(4,c0835575,c1c29728,c1c2ddd8,c1aff968,...) at 
kdb_backtrace+0x29
_witness_debugger(c083c844,c1d9d7ac,c083057e,c1c2ddd8,c08435fa,...) at 
_witness_debugger+0x25
witness_checkorder(c1d9d7ac,1,c08435fa,81f,0,...) at 
witness_checkorder+0x839
__lockmgr_args(c1d9d7ac,200501,c1d9d7c8,0,0,...) at __lockmgr_args+0x237
ffs_lock(c1affa78,c05e1bab,c0859b8c,200501,c1d9d754,...) at ffs_lock+0x8a
VOP_LOCK1_APV(c08a9f80,c1affa78,c1c66e24,c08b99e0,c1d9d754,...) at 
VOP_LOCK1_APV+0xa5
_vn_lock(c1d9d754,200501,c08435fa,81f,4,...) at _vn_lock+0x5e
vget(c1d9d754,200501,c1c66d80,4b4,0,...) at vget+0xc9
vnode_pager_lock(c10448b8,0,c0857168,127,c1affc18,...) at 
vnode_pager_lock+0x1e0
vm_fault(c1c6a000,80db000,2,8,80db780,...) at vm_fault+0x1df
trap_pfault(5,0,c086255f,2e7,c,...) at trap_pfault+0xf9
trap(c1affd38) at trap+0x26f
calltrap() at calltrap+0x6
--- trap 0xc, eip = 0x80480e5, esp = 0xbfbfeef0, ebp = 0xbfbfef10 ---
Enter full pathname of shell or RETURN for /bin/sh:

This one was already reported back in November: 
<http://www.freebsd.org/cgi/getmsg.cgi?fetch=347711+350803+/usr/local/www/db/text/2008/freebsd-current/20081123.freebsd-current>


No.2 happens when shutting down the system or rebooting:

# reboot
Jan  1 15:28:41 askja reboot: rebooted by root

Waiting (max 60 seconds) for system process `vnlru' to stop...done
Waiting (max 60 seconds) for system process `bufdaemon' to stop...done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining...1 1 1 0 0 done
All buffers synced.
lock order reversal:
  1st 0xc1e60164 ufs (ufs) _at_ /usr/src/sys/kern/vfs_mount.c:1190
  2nd 0xc1e97270 devfs (devfs) _at_ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1174
KDB: stack backtrace:
db_trace_self_wrapper(c0839d29,cac339a8,c05e1e05,4,c0835575,...) at 
db_trace_self_wrapper+0x26
kdb_backtrace(4,c0835575,c1c2ddd8,c1c2dd08,cac33a04,...) at 
kdb_backtrace+0x29
_witness_debugger(c083c844,c1e97270,c082cb0b,c1c2dd08,c08550ff,...) at 
_witness_debugger+0x25
witness_checkorder(c1e97270,9,c08550ff,496,c1e9728c,...) at 
witness_checkorder+0x839
__lockmgr_args(c1e97270,80400,c1e9728c,0,0,...) at __lockmgr_args+0x797
vop_stdlock(cac33b0c,542,cac33b04,80400,c1e97218,...) at vop_stdlock+0x62
VOP_LOCK1_APV(c0884680,cac33b0c,c20af860,c08b99e0,c1e97218,...) at 
VOP_LOCK1_APV+0xa5
_vn_lock(c1e97218,80400,c08550ff,496,c1e87200,...) at _vn_lock+0x5e
ffs_flushfiles(c1e4a500,2,c20bad80,542,3,...) at ffs_flushfiles+0xa7
softdep_flushfiles(c1e4a500,2,c20bad80,8a0,c05749d4,...) at 
softdep_flushfiles+0x2e
ffs_unmount(c1e4a500,80000,c20bad80,c20bad80,0,...) at ffs_unmount+0x14c
dounmount(c1e4a500,80000,c20bad80,c1993a30,0,...) at dounmount+0x482
vfs_unmountall(c0836af6,0,c0836ba0,12a,0,...) at vfs_unmountall+0x4e
boot(c08d3810,0,c0836ba0,ad,cac33d2c,...) at boot+0x3cf
reboot(c20bad80,cac33cf8,4,c083ddff,c0887fa8,...) at reboot+0x4b
syscall(cac33d38) at syscall+0x2a3
Xint0x80_syscall() at Xint0x80_syscall+0x20
--- syscall (55, FreeBSD ELF32, reboot), eip = 0x280be80b, esp = 
0xbfbfecfc, ebp = 0xbfbfed38 ---

I didn't find a report for this one.

$ uname -a
FreeBSD askja.x.y.z.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sat Dec 27 
23:43:34 CET 2008     pj_at_askja.x.y.z.de:/usr/obj/usr/src/sys/ASKJAKERNEL 
  i386

Regards,
Philipp
Received on Thu Jan 01 2009 - 16:30:14 UTC

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