From owner-freebsd-current@freebsd.org Sat Mar 25 13:00:26 2017 Return-Path: Delivered-To: freebsd-current@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 CB4B0D1BCD8 for ; Sat, 25 Mar 2017 13:00:26 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id B7D5B1EEC for ; Sat, 25 Mar 2017 13:00:26 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: by mailman.ysv.freebsd.org (Postfix) id B465FD1BCD7; Sat, 25 Mar 2017 13:00:26 +0000 (UTC) Delivered-To: current@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 B4148D1BCD6 for ; Sat, 25 Mar 2017 13:00:26 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from aibo.runbox.com (aibo.runbox.com [91.220.196.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7AE3A1EEB for ; Sat, 25 Mar 2017 13:00:26 +0000 (UTC) (envelope-from jbtakk@iherebuywisely.com) Received: from [10.9.9.127] (helo=rmmprod05.runbox) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1crlIt-000896-79 for current@freebsd.org; Sat, 25 Mar 2017 14:00:23 +0100 Received: from mail by rmmprod05.runbox with local (Exim 4.86_2) (envelope-from ) id 1crlIt-00051B-3l for current@freebsd.org; Sat, 25 Mar 2017 14:00:23 +0100 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Received: from [Authenticated user (846156)] by runbox.com with http (RMM6); for ; Sat, 25 Mar 2017 13:00:22 GMT From: "Jeffrey Bouquet" Reply-To: jbtakk@iherebuywisely.com To: "current" Subject: lock order reversal another, repeatable... Date: Sat, 25 Mar 2017 06:00:22 -0700 (PDT) X-Mailer: RMM6 Message-Id: X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Mar 2017 13:00:26 -0000 Mar 24 14:25:16 kernel: lock order reversal: Mar 24 14:25:16 kernel: 1st 0xc09cf6dc ufs (ufs) @ /usr/src/sys/kern/vfs_m= ount.c:1277 Mar 24 14:25:16 kernel: 2nd 0xc0100a30 devfs (devfs) @ /usr/src/sys/ufs/ff= s/ffs_softdep.c:1908 Mar 24 14:25:16 kernel: stack backtrace: Mar 24 14:25:16 kernel: #0 0xb5c22421 at witness_debugger+0x81 Mar 24 14:25:16 kernel: #1 0xb5c22342 at witness_checkorder+0xd12 Mar 24 14:25:16 kernel: #2 0xb5b9b5d4 at __lockmgr_args+0xa64 Mar 24 14:25:16 kernel: #3 0xb5c784ad at vop_stdlock+0x4d Mar 24 14:25:16 kernel: #4 0xb618e7f7 at VOP_LOCK1_APV+0xd7 Mar 24 14:25:16 kernel: #5 0xb5c9c137 at _vn_lock+0xb7 Mar 24 14:25:16 kernel: #6 0xb5e9d648 at softdep_flushworklist+0x68 Mar 24 14:25:16 kernel: #7 0xb5ebc892 at ffs_sync+0x2b2 Mar 24 14:25:16 kernel: #8 0xb5c82955 at dounmount+0x6c5 Mar 24 14:25:16 kernel: #9 0xb5c82185 at sys_unmount+0x315 Mar 24 14:25:16 kernel: #10 0xb6155fa5 at syscall+0x3b5 Mar 24 14:25:16 kernel: #11 0xb6140ede at Xint0x80_syscall+0x2e umounting a sata filesystem, the above. Useful? aside: twice recently dropped to debugger upon shutdown. kb> [ or whatever ] any useful commands here? I thought 'st' but have not read about a procedure... That occured upon umount of a 2nd sata disk's filesystem(s). On a second note,