Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Feb 2015 19:53:25 +0200
From:      Damjan Jovanovic <damjan.jov@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   ufs/devfs "lock order reversal" on poweroff
Message-ID:  <CAJm2B-=wcJNnLS6scLMf4iV2Yi56z%2BVcxM3BTpDdwWPK38rYJQ@mail.gmail.com>

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

On r278909 (and probably earlier) I get the following when I run
"poweroff" (retyped from a video of it I had to record, since it
disappears very quickly):

Syncing disks, vnodes remaining...4 1 0 0 done
All buffers synced.
lock order reversal:
 1st 0xfffff80014d4d060 ufs (ufs) 0 /usr/src/sys/kern/vfs_mount.c:1229
 2nd 0xfffff00014a695f0 devfs (devfs) 0 /usr/src/sys/kern/vfs_subr.c:2176
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame ...
witness_checkorder() at witness_checkorder+...
__lockmgr_args() at __lockmgr_args+...
vop_stdlock() at vop_stdlock+0x3c/frame ..
VOP_LOOCK1_AVP()
_vm_lock()
vget()
devfs_allocv()
devfs_root()
dounmount()
vfs_unmountall()
kern_reboot()
sys_reboot()
amd64_syscall()
Xfast_syscall()
--- syscall (55, FreeBSD ELF64, sys_reboot), ript = 0x40fd1c, rsp =
..., rbp= ...
Uptime: ...

Thank you
Damjan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJm2B-=wcJNnLS6scLMf4iV2Yi56z%2BVcxM3BTpDdwWPK38rYJQ>