From owner-freebsd-arm@FreeBSD.ORG Sat Apr 18 21:37:48 2015 Return-Path: Delivered-To: freebsd-arm@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 79055AD1 for ; Sat, 18 Apr 2015 21:37:48 +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 5A64F674 for ; Sat, 18 Apr 2015 21:37:48 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t3ILbmHN090343 for ; Sat, 18 Apr 2015 21:37:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 188933] [lor] lock order reversal: backtrace while writing to SD/eMMC Date: Sat, 18 Apr 2015 21:37:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: 10.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: skeldoy@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Apr 2015 21:37:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D188933 --- Comment #4 from Sverre Eld=C3=B8y --- Actually I get the same when I do shutdown -p now on the BBB as well: Syncing disks, vnodes remaining...4 4 3 3 0 0 0 done All buffers synced. lock order reversal: 1st 0xc2fa94b4 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1229 2nd 0xc2faaa54 devfs (devfs) @ /usr/src/sys/ufs/ffs/ffs_vfsops.c:1375 KDB: stack backtrace: db_trace_self() at db_trace_self pc =3D 0xc05d62e0 lr =3D 0xc0233ff4 (db_trace_self_wrapper+0x30) sp =3D 0xcd2ff980 fp =3D 0xcd2ffa98 r10 =3D 0xc062db9b db_trace_self_wrapper() at db_trace_self_wrapper+0x30 pc =3D 0xc0233ff4 lr =3D 0xc03cdbd4 (witness_checkorder+0xf4c) sp =3D 0xcd2ffaa0 fp =3D 0xcd2ffaf0 r4 =3D 0xc063999a r5 =3D 0xc2faaa54 r6 =3D 0xc066399f r7 =3D 0xc066399c witness_checkorder() at witness_checkorder+0xf4c pc =3D 0xc03cdbd4 lr =3D 0xc0354628 (__lockmgr_args+0x838) sp =3D 0xcd2ffaf8 fp =3D 0xcd2ffb60 r4 =3D 0xc066399c r5 =3D 0xc063999a r6 =3D 0xc2faaa54 r7 =3D 0x00000000 r8 =3D 0xc2faaa74 r9 =3D 0x00080400 r10 =3D 0x00080000 __lockmgr_args() at __lockmgr_args+0x838 pc =3D 0xc0354628 lr =3D 0xc0411aa8 (vop_stdlock+0x3c) sp =3D 0xcd2ffb68 fp =3D 0xcd2ffb78 r4 =3D 0xcd2ffba0 r5 =3D 0xc07140e8 r6 =3D 0x00000000 r7 =3D 0x00080400 r8 =3D 0xcd2ffba0 r9 =3D 0xc06602f8 r10 =3D 0x0000055f vop_stdlock() at vop_stdlock+0x3c pc =3D 0xc0411aa8 lr =3D 0xc060374c (VOP_LOCK1_APV+0x128) sp =3D 0xcd2ffb80 fp =3D 0xcd2ffb98 VOP_LOCK1_APV() at VOP_LOCK1_APV+0x128 pc =3D 0xc060374c lr =3D 0xc0430044 (_vn_lock+0x48) sp =3D 0xcd2ffba0 fp =3D 0xcd2ffbd0 r4 =3D 0xc2faaa20 r5 =3D 0xc2a7d660 r6 =3D 0xc066399c r10 =3D 0x0000055f _vn_lock() at _vn_lock+0x48 pc =3D 0xc0430044 lr =3D 0xc0585760 (ffs_flushfiles+0x118) sp =3D 0xcd2ffbd8 fp =3D 0xcd2ffc10 r4 =3D 0xc2d65900 r5 =3D 0xc2a7d660 r6 =3D 0xc2d5a2b0 r7 =3D 0x00000000 r8 =3D 0x0000000a r9 =3D 0xc06602f8 r10 =3D 0xc2a7d660 ffs_flushfiles() at ffs_flushfiles+0x118 pc =3D 0xc0585760 lr =3D 0xc0569810 (softdep_flushfiles+0xdc) sp =3D 0xcd2ffc18 fp =3D 0xcd2ffc68 r4 =3D 0x00000008 r5 =3D 0xc2a7d660 r6 =3D 0x00000002 r7 =3D 0x0000000a r8 =3D 0x00000000 r9 =3D 0xc06602f8 r10 =3D 0xc2d5a2b0 softdep_flushfiles() at softdep_flushfiles+0xdc pc =3D 0xc0569810 lr =3D 0xc05883f4 (ffs_unmount+0x88) sp =3D 0xcd2ffc70 fp =3D 0xcd2ffca8 r4 =3D 0x00000000 r5 =3D 0xc2d65900 r6 =3D 0x00000002 r7 =3D 0xc2a7d660 r8 =3D 0x00000001 r9 =3D 0xc2d5a2b0 r10 =3D 0xc309b000 ffs_unmount() at ffs_unmount+0x88 pc =3D 0xc05883f4 lr =3D 0xc041a2e8 (dounmount+0x4c0) sp =3D 0xcd2ffcb0 fp =3D 0xcd2ffcf8 r4 =3D 0x00000000 r5 =3D 0x00000000 r6 =3D 0x00080000 r7 =3D 0x00000000 r8 =3D 0xc2fa9480 r9 =3D 0x00080000 r10 =3D 0xc2a7d660 dounmount() at dounmount+0x4c0 pc =3D 0xc041a2e8 lr =3D 0xc0422ea0 (vfs_unmountall+0x58) sp =3D 0xcd2ffd00 fp =3D 0xcd2ffd20 r4 =3D 0xc2a7d660 r5 =3D 0xc063999a r6 =3D 0xc07404e0 r7 =3D 0xc2d5a2b0 r8 =3D 0xc0714470 r9 =3D 0xc065e3f8 r10 =3D 0xc064ed48 vfs_unmountall() at vfs_unmountall+0x58 pc =3D 0xc0422ea0 lr =3D 0xc0372510 (kern_reboot+0x4ec) sp =3D 0xcd2ffd28 fp =3D 0xcd2ffd80 r4 =3D 0x00000000 r5 =3D 0x00000000 r6 =3D 0xc07404e0 r7 =3D 0xcd114eb0 r8 =3D 0x00004008 r9 =3D 0xc0725614 r10 =3D 0xc07b5ecc kern_reboot() at kern_reboot+0x4ec pc =3D 0xc0372510 lr =3D 0xc0372024 (kern_reboot) sp =3D 0xcd2ffd88 fp =3D 0xcd2ffd90 r4 =3D 0xcd2ffe00 r5 =3D 0x00000000 r6 =3D 0xc07b5840 r7 =3D 0x00000000 r8 =3D 0xcd2ffdf8 r9 =3D 0xc2a7a000 r10 =3D 0x0000001e kern_reboot() at kern_reboot pc =3D 0xc0372024 lr =3D 0xc05ea080 (swi_handler+0x2e4) sp =3D 0xcd2ffd98 fp =3D 0xcd2ffe48 r4 =3D 0xcd2ffdf8 r5 =3D 0xc2a7a000 r6 =3D 0x0000001e r7 =3D 0xcd2ffd90 r8 =3D 0xc0372024 r9 =3D 0xc2a7d660 r10 =3D 0x0000001e swi_handler() at swi_handler+0x2e4 pc =3D 0xc05ea080 lr =3D 0xc05d7990 (swi_exit) sp =3D 0xcd2ffe50 fp =3D 0xbffff938 r4 =3D 0x00008a18 r5 =3D 0x000ddd5c r6 =3D 0x0000003c r7 =3D 0x00000037 r8 =3D 0x0000001f r9 =3D 0x000e0430 r10 =3D 0x0000001e swi_exit() at swi_exit pc =3D 0xc05d7990 lr =3D 0xc05d7990 (swi_exit) sp =3D 0xcd2ffe50 fp =3D 0xbffff938 Uptime: 12m56s The operating system has halted. Please press any key to reboot. --=20 You are receiving this mail because: You are the assignee for the bug.=