[Bug 188933] [lor] lock order reversal: backtrace while writing to SD/eMMC
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Apr 18 21:37:48 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188933
--- Comment #4 from Sverre Eldøy <skeldoy at 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 = 0xc05d62e0 lr = 0xc0233ff4 (db_trace_self_wrapper+0x30)
sp = 0xcd2ff980 fp = 0xcd2ffa98
r10 = 0xc062db9b
db_trace_self_wrapper() at db_trace_self_wrapper+0x30
pc = 0xc0233ff4 lr = 0xc03cdbd4 (witness_checkorder+0xf4c)
sp = 0xcd2ffaa0 fp = 0xcd2ffaf0
r4 = 0xc063999a r5 = 0xc2faaa54
r6 = 0xc066399f r7 = 0xc066399c
witness_checkorder() at witness_checkorder+0xf4c
pc = 0xc03cdbd4 lr = 0xc0354628 (__lockmgr_args+0x838)
sp = 0xcd2ffaf8 fp = 0xcd2ffb60
r4 = 0xc066399c r5 = 0xc063999a
r6 = 0xc2faaa54 r7 = 0x00000000
r8 = 0xc2faaa74 r9 = 0x00080400
r10 = 0x00080000
__lockmgr_args() at __lockmgr_args+0x838
pc = 0xc0354628 lr = 0xc0411aa8 (vop_stdlock+0x3c)
sp = 0xcd2ffb68 fp = 0xcd2ffb78
r4 = 0xcd2ffba0 r5 = 0xc07140e8
r6 = 0x00000000 r7 = 0x00080400
r8 = 0xcd2ffba0 r9 = 0xc06602f8
r10 = 0x0000055f
vop_stdlock() at vop_stdlock+0x3c
pc = 0xc0411aa8 lr = 0xc060374c (VOP_LOCK1_APV+0x128)
sp = 0xcd2ffb80 fp = 0xcd2ffb98
VOP_LOCK1_APV() at VOP_LOCK1_APV+0x128
pc = 0xc060374c lr = 0xc0430044 (_vn_lock+0x48)
sp = 0xcd2ffba0 fp = 0xcd2ffbd0
r4 = 0xc2faaa20 r5 = 0xc2a7d660
r6 = 0xc066399c r10 = 0x0000055f
_vn_lock() at _vn_lock+0x48
pc = 0xc0430044 lr = 0xc0585760 (ffs_flushfiles+0x118)
sp = 0xcd2ffbd8 fp = 0xcd2ffc10
r4 = 0xc2d65900 r5 = 0xc2a7d660
r6 = 0xc2d5a2b0 r7 = 0x00000000
r8 = 0x0000000a r9 = 0xc06602f8
r10 = 0xc2a7d660
ffs_flushfiles() at ffs_flushfiles+0x118
pc = 0xc0585760 lr = 0xc0569810 (softdep_flushfiles+0xdc)
sp = 0xcd2ffc18 fp = 0xcd2ffc68
r4 = 0x00000008 r5 = 0xc2a7d660
r6 = 0x00000002 r7 = 0x0000000a
r8 = 0x00000000 r9 = 0xc06602f8
r10 = 0xc2d5a2b0
softdep_flushfiles() at softdep_flushfiles+0xdc
pc = 0xc0569810 lr = 0xc05883f4 (ffs_unmount+0x88)
sp = 0xcd2ffc70 fp = 0xcd2ffca8
r4 = 0x00000000 r5 = 0xc2d65900
r6 = 0x00000002 r7 = 0xc2a7d660
r8 = 0x00000001 r9 = 0xc2d5a2b0
r10 = 0xc309b000
ffs_unmount() at ffs_unmount+0x88
pc = 0xc05883f4 lr = 0xc041a2e8 (dounmount+0x4c0)
sp = 0xcd2ffcb0 fp = 0xcd2ffcf8
r4 = 0x00000000 r5 = 0x00000000
r6 = 0x00080000 r7 = 0x00000000
r8 = 0xc2fa9480 r9 = 0x00080000
r10 = 0xc2a7d660
dounmount() at dounmount+0x4c0
pc = 0xc041a2e8 lr = 0xc0422ea0 (vfs_unmountall+0x58)
sp = 0xcd2ffd00 fp = 0xcd2ffd20
r4 = 0xc2a7d660 r5 = 0xc063999a
r6 = 0xc07404e0 r7 = 0xc2d5a2b0
r8 = 0xc0714470 r9 = 0xc065e3f8
r10 = 0xc064ed48
vfs_unmountall() at vfs_unmountall+0x58
pc = 0xc0422ea0 lr = 0xc0372510 (kern_reboot+0x4ec)
sp = 0xcd2ffd28 fp = 0xcd2ffd80
r4 = 0x00000000 r5 = 0x00000000
r6 = 0xc07404e0 r7 = 0xcd114eb0
r8 = 0x00004008 r9 = 0xc0725614
r10 = 0xc07b5ecc
kern_reboot() at kern_reboot+0x4ec
pc = 0xc0372510 lr = 0xc0372024 (kern_reboot)
sp = 0xcd2ffd88 fp = 0xcd2ffd90
r4 = 0xcd2ffe00 r5 = 0x00000000
r6 = 0xc07b5840 r7 = 0x00000000
r8 = 0xcd2ffdf8 r9 = 0xc2a7a000
r10 = 0x0000001e
kern_reboot() at kern_reboot
pc = 0xc0372024 lr = 0xc05ea080 (swi_handler+0x2e4)
sp = 0xcd2ffd98 fp = 0xcd2ffe48
r4 = 0xcd2ffdf8 r5 = 0xc2a7a000
r6 = 0x0000001e r7 = 0xcd2ffd90
r8 = 0xc0372024 r9 = 0xc2a7d660
r10 = 0x0000001e
swi_handler() at swi_handler+0x2e4
pc = 0xc05ea080 lr = 0xc05d7990 (swi_exit)
sp = 0xcd2ffe50 fp = 0xbffff938
r4 = 0x00008a18 r5 = 0x000ddd5c
r6 = 0x0000003c r7 = 0x00000037
r8 = 0x0000001f r9 = 0x000e0430
r10 = 0x0000001e
swi_exit() at swi_exit
pc = 0xc05d7990 lr = 0xc05d7990 (swi_exit)
sp = 0xcd2ffe50 fp = 0xbffff938
Uptime: 12m56s
The operating system has halted.
Please press any key to reboot.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list