Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Dec 2011 05:51:05 -0800 (PST)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/163608: [lor] Two seemingly vfs-related LORs
Message-ID:  <4ef72a49.0c5a650a.0d53.0a50@mx.google.com>
Resent-Message-ID: <201112251420.pBPEK9n4029966@freefall.freebsd.org>

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

>Number:         163608
>Category:       kern
>Synopsis:       [lor] Two seemingly vfs-related LORs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 25 14:20:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Raphael Kubo da Costa
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD gibbon 8.2-STABLE FreeBSD 8.2-STABLE #37: Sun Dec 25 11:10:40 BRST 2011 root@gibbon:/usr/obj/usr/src/sys/GIBBON amd64


	
>Description:
After updating my 8-STABLE installation today, I get some LOR messages after logging in and using the machine as usual.

lock order reversal:
 1st 0xffffff0004957c48 filedesc structure (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:1135
 2nd 0xffffff0004b0b448 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:4201
KDB: stack backtrace:
db_trace_self_wrapper() at 0xffffffff801d488a = db_trace_self_wrapper+0x2a
kdb_backtrace() at 0xffffffff80349e07 = kdb_backtrace+0x37
_witness_debugger() at 0xffffffff8035a72c = _witness_debugger+0x2c
witness_checkorder() at 0xffffffff8035b771 = witness_checkorder+0x651
__lockmgr_args() at 0xffffffff803086b8 = __lockmgr_args+0xb98
ffs_lock() at 0xffffffff805039fc = ffs_lock+0x8c
VOP_LOCK1_APV() at 0xffffffff80592442 = VOP_LOCK1_APV+0x52
_vn_lock() at 0xffffffff803afef7 = _vn_lock+0x47
knlist_remove_kq() at 0xffffffff802eddfe = knlist_remove_kq+0x7e
knote_fdclose() at 0xffffffff802eeee7 = knote_fdclose+0x157
kern_close() at 0xffffffff802ea399 = kern_close+0xe9
amd64_syscall() at 0xffffffff80550a4b = amd64_syscall+0x11b
Xfast_syscall() at 0xffffffff8053a56c = Xfast_syscall+0xfc
--- syscall (6, FreeBSD ELF64, close), rip = 0x80118759c, rsp = 0x7fffffffe838, rbp = 0x8030506d0 ---

lock order reversal:
 1st 0xffffff80f37a9250 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2636
 2nd 0xffffff0004528600 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:285
KDB: stack backtrace:
db_trace_self_wrapper() at 0xffffffff801d488a = db_trace_self_wrapper+0x2a
kdb_backtrace() at 0xffffffff80349e07 = kdb_backtrace+0x37
_witness_debugger() at 0xffffffff8035a72c = _witness_debugger+0x2c
witness_checkorder() at 0xffffffff8035b771 = witness_checkorder+0x651
_sx_xlock() at 0xffffffff80323d34 = _sx_xlock+0x34
ufsdirhash_acquire() at 0xffffffff805057e3 = ufsdirhash_acquire+0x33
ufsdirhash_add() at 0xffffffff80505d39 = ufsdirhash_add+0x19
ufs_direnter() at 0xffffffff805083af = ufs_direnter+0x82f
ufs_makeinode() at 0xffffffff8050d705 = ufs_makeinode+0x245
VOP_CREATE_APV() at 0xffffffff80592d84 = VOP_CREATE_APV+0x44
vn_open_cred() at 0xffffffff803afb2a = vn_open_cred+0x44a
kern_openat() at 0xffffffff803ab9ff = kern_openat+0x17f
amd64_syscall() at 0xffffffff80550a4b = amd64_syscall+0x11b
Xfast_syscall() at 0xffffffff8053a56c = Xfast_syscall+0xfc
--- syscall (5, FreeBSD ELF64, open), rip = 0x802c5072c, rsp = 0x7fffffffdb08, rbp = 0x8078041c0 ---
>How-To-Repeat:
    Log in and use the system.
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ef72a49.0c5a650a.0d53.0a50>