Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2015 21:37:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 188933] [lor] lock order reversal: backtrace while writing to SD/eMMC
Message-ID:  <bug-188933-7-6dFZcNVLLp@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-188933-7@https.bugs.freebsd.org/bugzilla/>
References:  <bug-188933-7@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D188933

--- Comment #4 from Sverre Eld=C3=B8y <skeldoy@gmail.com> ---
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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-188933-7-6dFZcNVLLp>