From owner-freebsd-bugs@FreeBSD.ORG Wed May 20 20:43:01 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA861EF8 for ; Wed, 20 May 2015 20:43:01 +0000 (UTC) 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 9BA4C1456 for ; Wed, 20 May 2015 20:43:01 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t4KKh1VE015423 for ; Wed, 20 May 2015 20:43:01 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 200353] lock order reversal (vfs_mount.c and vfs_subr.c) Date: Wed, 20 May 2015 20:43:01 +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: freebsd@tim.thechases.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- 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 attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 20:43:01 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200353 Bug ID: 200353 Summary: lock order reversal (vfs_mount.c and vfs_subr.c) Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: freebsd@tim.thechases.com Created attachment 156988 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=156988&action=edit dmesg output with backtrace On booting, I get this in my dmesg =================================================== lock order reversal: 1st 0xfffff8003135e5f0 zfs (zfs) @ /usr/src/sys/kern/vfs_mount.c:848 2nd 0xfffff800313d37c8 devfs (devfs) @ /usr/src/sys/kern/vfs_subr.c:2164 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00dcf75490 witness_checkorder() at witness_checkorder+0xe50/frame 0xfffffe00dcf75520 __lockmgr_args() at __lockmgr_args+0xacf/frame 0xfffffe00dcf75650 vop_stdlock() at vop_stdlock+0x3c/frame 0xfffffe00dcf75670 VOP_LOCK1_APV() at VOP_LOCK1_APV+0xfc/frame 0xfffffe00dcf756a0 _vn_lock() at _vn_lock+0x8a/frame 0xfffffe00dcf75710 vget() at vget+0x67/frame 0xfffffe00dcf75750 devfs_allocv() at devfs_allocv+0xfd/frame 0xfffffe00dcf757a0 devfs_root() at devfs_root+0x43/frame 0xfffffe00dcf757d0 vfs_donmount() at vfs_donmount+0x153e/frame 0xfffffe00dcf75aa0 sys_nmount() at sys_nmount+0x71/frame 0xfffffe00dcf75ae0 amd64_syscall() at amd64_syscall+0x25a/frame 0xfffffe00dcf75bf0 Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe00dcf75bf0 --- syscall (378, FreeBSD ELF64, sys_nmount), rip = 0x800aac5fa, rsp = 0x7fffffffdc28, rbp = 0x7fffffffe190 --- =================================================== It doesn't appear to impact my system since (AFAICT) it appears to be working fine, but if it's a bug, I wanted to make sure it got reported. I can provide extra info as needed, as it's just a tinkering machine. -- You are receiving this mail because: You are the assignee for the bug.