Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2015 08:02:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 196799] Lock order reversal after shutting down ZFS root system.
Message-ID:  <bug-196799-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196799

            Bug ID: 196799
           Summary: Lock order reversal after shutting down ZFS root
                    system.
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: freebsd.org@pob01.utahime.jp

Created attachment 151726
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=151726&action=edit
Kernel config file

root@rolling-vm-freebsd1:~ # uname -a                                      ~
FreeBSD rolling-vm-freebsd1.home.utahime.org 11.0-CURRENT FreeBSD 11.0-CURRENT
#0 r277230: Fri Jan 16 15:01:54 JST 2015    
root@rolling-vm-freebsd1.home.utahime.org:/usr0/freebsd/src/obj/am/eastasia/usr0/freebsd/src/head/sys/STATIC_ZFS
 amd64

root@rolling-vm-freebsd1:~ # shutdown -h now

...

All buffers synced.
lock order reversal:
 1st 0xfffff800062b1d50 zfs (zfs) @
/am/eastasia/usr0/freebsd/src/head/sys/kern/vfs_mount.c:1223
 2nd 0xfffff800062b25f0 devfs (devfs) @
/am/eastasia/usr0/freebsd/src/head/sys/kern/vfs_subr.c:2164
KBD: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe011c352660
witness_checkorder() ad witness_checkorder+0xe58/frame 0xfffffe011c3526f0
__lockmgr_args() at __lockmgr_args+0xacf/frame 0xfffffe011c352820
vop_stdlock() at vop_stdlock+0x3c/frame 0xfffffe011c352840
VOP_LOCK1-APV() at VOP_LOCK1-APV+0xfc/frame 0xfffffe011c352870
_vn_lock() at _vn_lock+0x8a/frame 0xfffffe011c3528e0
vget() at vget+0x67/frame 0xfffffe011c352920
devfs_allocv() at devfs_allocv+0xfd/frame 0xfffffe011c352970
devfs_root() at devfs_root+0x43/frame 0xfffffe011c3529a0
dounmount() at duunmount+0x349/frame 0xfffffe011c352a20
vfs_unmountall(0 at vfs_unmountall+0x61/frame 0xfffffe011c352a50
kern_reboot(0 at kern_reboot+0x4e6/frame 0xfffffe011c352ac0
sys_reboot(0 at sys_reboot+0x58/frame 0xfffffe011c352ae0
amd64_syscall() at amd64_syscall+0x25a/frame 0xfffffe011c352bf0
Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe011c352bf0
--- syscall (55 FreeBSD ELF64 sys_reboot), rip = 0x40fcec, rsp =
0x7fffffffe6d8, rbp = 0x7fffffffe7d0 ---

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196799-8>