[Bug 209816] [lor] lock order reversal with devfs, tmpfs and ufs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 28 20:22:49 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209816

            Bug ID: 209816
           Summary: [lor] lock order reversal with devfs, tmpfs and ufs
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: mva at FreeBSD.org

uname -a:
FreeBSD ... 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r300409M: Wed May 25 22:39:21
CEST 2016     ...:/usr/obj/usr/src/sys/GENERIC  amd64


Running synth install or synth upgrade-system always produces the following
lock order reversal:

lock order reversal:
1st 0xfffff800149ddd50 tmpfs (tmpfs) @ /usr/src/sys/kern/vfs_mount.c:848
2nd 0xfffff800140d2d50 ufs (ufs) @
/usr/src/sys/modules/nullfs/../../fs/nullfs/null_vnops.c:670
stack backtrace:
#0 0xffffffff80a9b7c0 at witness_debugger+0x70
#1 0xffffffff80a9b6b4 at witness_checkorder+0xe54
#2 0xffffffff80a155c6 at __lockmgr_args+0x4d6
#3 0xffffffff80cf8466 at ffs_lock+0xa6
#4 0xffffffff81002f30 at VOP_LOCK1_APV+0x100
#5 0xffffffff823f7891 at null_lock+0xd1
#6 0xffffffff81002f30 at VOP_LOCK1_APV+0x100
#7 0xffffffff80b0b73a at _vn_lock+0x9a
#8 0xffffffff823f6b51 at nullfs_root+0x41
#9 0xffffffff80af2f90 at vfs_donmount+0x1430
#10 0xffffffff80af1b32 at sys_nmount+0x72
#11 0xffffffff80ea6a2b at amd64_syscall+0x2db
#12 0xffffffff80e86d9b at Xfast_syscall+0xfb
lock order reversal:
1st 0xfffff80014c699a0 tmpfs (tmpfs) @ /usr/src/sys/kern/vfs_mount.c:848
2nd 0xfffff80014cac7c8 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2498
stack backtrace:
#0 0xffffffff80a9b7c0 at witness_debugger+0x70
#1 0xffffffff80a9b6b4 at witness_checkorder+0xe54
#2 0xffffffff80a155c6 at __lockmgr_args+0x4d6
#3 0xffffffff80aeab0c at vop_stdlock+0x3c
#4 0xffffffff81002f30 at VOP_LOCK1_APV+0x100
#5 0xffffffff80b0b73a at _vn_lock+0x9a
#6 0xffffffff80afbbb3 at vget+0x63
#7 0xffffffff809114fd at devfs_allocv+0xcd
#8 0xffffffff80911013 at devfs_root+0x43
#9 0xffffffff80af2f90 at vfs_donmount+0x1430
#10 0xffffffff80af1b32 at sys_nmount+0x72
#11 0xffffffff80ea6a2b at amd64_syscall+0x2db
#12 0xffffffff80e86d9b at Xfast_syscall+0xfb

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


More information about the freebsd-bugs mailing list