From owner-freebsd-questions@freebsd.org Mon Feb 1 01:29:19 2016 Return-Path: Delivered-To: freebsd-questions@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 3BA43A74143 for ; Mon, 1 Feb 2016 01:29:19 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from cdptpa-oedge-vip.email.rr.com (cdptpa-outbound-snat.email.rr.com [107.14.166.231]) by mx1.freebsd.org (Postfix) with ESMTP id 06E12253 for ; Mon, 1 Feb 2016 01:29:18 +0000 (UTC) (envelope-from baho-utot@columbus.rr.com) Received: from [75.187.32.8] ([75.187.32.8:42179] helo=raspberrypi.bildanet.com) by cdptpa-oedge03 (envelope-from ) (ecelerity 3.5.0.35861 r(Momo-dev:tip)) with ESMTP id 51/3C-03237-824BEA65; Mon, 01 Feb 2016 01:26:00 +0000 Received: from [192.168.1.40] (helo=baho-utot.bildanet.com) by raspberrypi.bildanet.com with esmtp (Exim 4.84) (envelope-from ) id 1aQ3Fg-0002vM-0q for freebsd-questions@freebsd.org; Sun, 31 Jan 2016 20:26:00 -0500 To: freebsd-questions@freebsd.org From: Baho Utot Subject: CURRENT r293712 lock order reversal Message-ID: <56AEB427.8080009@columbus.rr.com> Date: Sun, 31 Jan 2016 20:25:59 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-RR-Connecting-IP: 107.14.168.142:25 X-Cloudmark-Score: 0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 01:29:19 -0000 I get the following when I unmount a thumb drive Here is how I created the system...... I installed FreeBSD-10.2 and then updated it to CURRENT by the handbook. I then rebuilt the whole system by using release.sh so I would have a clean "install" media. I then copied (dd) the memstick image to a thumb drive and booted to it. I then installed "CURRENT" from the memstick overwriting the system ie "clean install" This is from dmesg: FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 11.0-CURRENT #0 r293712: Wed Jan 13 01:02:51 UTC 2016 root@dell.bildanet.com:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225 WARNING: WITNESS option enabled, expect reduced performance. lock order reversal: 1st 0xfffff800430c0d50 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1224 2nd 0xfffff800431cc418 devfs (devfs) @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1375 stack backtrace: #0 0xffffffff80a7a2a0 at witness_debugger+0x70 #1 0xffffffff80a7a1a1 at witness_checkorder+0xe71 #2 0xffffffff809fb9bb at __lockmgr_args+0xd3b #3 0xffffffff80ac276c at vop_stdlock+0x3c #4 0xffffffff80fb81d0 at VOP_LOCK1_APV+0x100 #5 0xffffffff80ae366a at _vn_lock+0x9a #6 0xffffffff80cb812a at ffs_flushfiles+0x11a #7 0xffffffff80c9caef at softdep_flushfiles+0x3cf #8 0xffffffff80cbab84 at ffs_unmount+0x84 #9 0xffffffff80acc200 at dounmount+0x530 #10 0xffffffff80acbc3d at sys_unmount+0x35d #11 0xffffffff80e6b15b at amd64_syscall+0x2db #12 0xffffffff80e4afdb at Xfast_syscall+0xfb