From owner-freebsd-bugs@freebsd.org Sat May 28 20:22:49 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A69A0B4E528 for ; Sat, 28 May 2016 20:22:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7F2C4178C for ; Sat, 28 May 2016 20:22:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u4SKMnrF034754 for ; Sat, 28 May 2016 20:22:49 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 209816] [lor] lock order reversal with devfs, tmpfs and ufs Date: Sat, 28 May 2016 20:22:49 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mva@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2016 20:22:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209816 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@FreeBSD.org Reporter: mva@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 --=20 You are receiving this mail because: You are the assignee for the bug.=