From owner-freebsd-bugs@freebsd.org Sat Dec 26 19:06:34 2015 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 42B3DA5260E for ; Sat, 26 Dec 2015 19:06:34 +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 0FCE3149C for ; Sat, 26 Dec 2015 19:06:34 +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 tBQJ6X0F022739 for ; Sat, 26 Dec 2015 19:06:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 205469] [panic] lock order reversal, userret: returning with the following locks held Date: Sat, 26 Dec 2015 19:06:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: op@freebsd.org 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: cc Message-ID: In-Reply-To: References: 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: Sat, 26 Dec 2015 19:06:34 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205469 Oliver Pinter changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |op@freebsd.org --- Comment #2 from Oliver Pinter --- Confirmed, I can reproduce this error in bhyve: WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from cd9660:/dev/iso9660/11_0__HBSD_AMD64_CD [ro]... lock order reversal: 1st 0xfffffe001d822e40 bufwait (bufwait) @ /usr/src/sys/vm/vm_pager.c:380 2nd 0xfffff8000512d240 isofs (isofs) @ /usr/src/sys/kern/imgact_elf.c:883 stack backtrace: #0 0xffffffff80a7d0a0 at witness_debugger+0x70 #1 0xffffffff80a7cfa1 at witness_checkorder+0xe71 #2 0xffffffff80a0056b at __lockmgr_args+0xd3b #3 0xffffffff80ac320c at vop_stdlock+0x3c #4 0xffffffff80fc0fa0 at VOP_LOCK1_APV+0x100 #5 0xffffffff80ae3baa at _vn_lock+0x9a #6 0xffffffff809c4d81 at exec_elf64_imgact+0xa91 #7 0xffffffff809e3809 at kern_execve+0x459 #8 0xffffffff809e305c at sys_execve+0x4c #9 0xffffffff809c788a at start_init+0x26a #10 0xffffffff809eafe4 at fork_exit+0x84 #11 0xffffffff80e4ec6e at fork_trampoline+0xe userret: returning with the following locks held: exclusive lockmgr bufwait (bufwait) r = 0 (0xfffffe001d822c10) locked @ /usr/src/sys/vm/vm_pager.c:380 exclusive lockmgr bufwait (bufwait) r = 0 (0xfffffe001d822e40) locked @ /usr/src/sys/vm/vm_pager.c:380 panic: witness_warn cpuid = 0 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe001d7906b0 vpanic() at vpanic+0x182/frame 0xfffffe001d790730 kassert_panic() at kassert_panic+0x126/frame 0xfffffe001d7907a0 witness_warn() at witness_warn+0x3c6/frame 0xfffffe001d790870 userret() at userret+0x98/frame 0xfffffe001d7908a0 trap() at trap+0x3f4/frame 0xfffffe001d790ab0 calltrap() at calltrap+0x8/frame 0xfffffe001d790ab0 --- trap 0xc, rip = 0x4001c4, rsp = 0x7231f647c380, rbp = 0x7231f647c3b0 --- KDB: enter: panic [ thread pid 1 tid 100002 ] Stopped at kdb_enter+0x3b: movq $0,kdb_why -- You are receiving this mail because: You are the assignee for the bug.