From owner-freebsd-bugs@FreeBSD.ORG Fri Jan 16 08:02:41 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B36CFDD for ; Fri, 16 Jan 2015 08:02:41 +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 1A45EA25 for ; Fri, 16 Jan 2015 08:02:41 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0G82ee3057614 for ; Fri, 16 Jan 2015 08:02:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196799] Lock order reversal after shutting down ZFS root system. Date: Fri, 16 Jan 2015 08:02:41 +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 Many People X-Bugzilla-Who: freebsd.org@pob01.utahime.jp 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.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 08:02:41 -0000 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.