Bug 193437 - Cubieboard2: lock order reversal on poweroff
Summary: Cubieboard2: lock order reversal on poweroff
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-arm (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-07 17:56 UTC by Maxim Filimonov
Modified: 2014-09-07 17:56 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Filimonov 2014-09-07 17:56:30 UTC
Gave poweroff command to my cubieboard, it begins to power off, syncs disks and I get the following:

All buffers synced.
lock order reversal:
1st 0xc3d8c274 ufs (ufs) @ /home/che/freebsd-src/head/sys/kern/vfs_mount.c:1223
2nd 0xc3d8c5d4 devfs (devfs) @ /home/che/freebsd-src/head/sys/kern/vfs_subr.c:2137
KDB: stack backtrace:
db_trace_self() at db_trace_self
pc = 0xc0509484  lr = 0xc02347e0 (X_db_symbol_values+0x11c)
sp = 0xebbcaa00  fp = 0xebbcab18
r10 = 0xc3d8c5d4
X_db_symbol_values() at X_db_symbol_values+0x11c
pc = 0xc02347e0  lr = 0xc0370d60 (kdb_backtrace+0x38)
sp = 0xebbcab20  fp = 0xebbcab28
r4 = 0xc0639a94  r5 = 0xc0550f1e
r6 = 0xc0573682  r7 = 0xc0572c46
kdb_backtrace() at kdb_backtrace+0x38
pc = 0xc0370d60  lr = 0xc038c608 (witness_checkorder+0xe58)
sp = 0xebbcab30  fp = 0xebbcab80
r4 = 0xc055e3ff
witness_checkorder() at witness_checkorder+0xe58
pc = 0xc038c608  lr = 0xc031adb8 (__lockmgr_args+0x8b4)
sp = 0xebbcab88  fp = 0xebbcabf0
r4 = 0x00000100  r5 = 0x00080500
r6 = 0x00000859  r7 = 0xc3d8c5f4
r8 = 0xc3d8c5d4  r9 = 0x00080000
r10 = 0xc057367f
__lockmgr_args() at __lockmgr_args+0x8b4
pc = 0xc031adb8  lr = 0xc03d18b0 (vop_stdlock+0x3c)
sp = 0xebbcabf8  fp = 0xebbcac08
r4 = 0xebbcac28  r5 = 0xc0613f40
r6 = 0x00000000  r7 = 0x00080500
r8 = 0xebbcac28  r9 = 0xc05512fb
r10 = 0x00000859
vop_stdlock() at vop_stdlock+0x3c
pc = 0xc03d18b0  lr = 0xc052ba20 (VOP_LOCK1_APV+0xd8)
sp = 0xebbcac10  fp = 0xebbcac20
VOP_LOCK1_APV() at VOP_LOCK1_APV+0xd8
pc = 0xc052ba20  lr = 0xc03efc14 (_vn_lock+0x44)
sp = 0xebbcac28  fp = 0xebbcac58
r4 = 0xc3d8c5a0  r5 = 0xc3d45500
r6 = 0xc057367f
_vn_lock() at _vn_lock+0x44
pc = 0xc03efc14  lr = 0xc03e048c (vget+0x60)
sp = 0xebbcac60  fp = 0xebbcac80
r4 = 0xc3d8c5a0  r5 = 0xc3d45500
r6 = 0x00080500  r7 = 0xc3d45514
r8 = 0xc3a87640  r9 = 0xc05512fb
r10 = 0x00000000
vget() at vget+0x60
pc = 0xc03e048c  lr = 0xc02952b8 (devfs_allocv+0xf8)
sp = 0xebbcac88  fp = 0xebbcacb0
r4 = 0xc08de4ac  r5 = 0xc3d45500
r6 = 0xc3d6f100  r7 = 0xc3d45514
r8 = 0x00080500
devfs_allocv() at devfs_allocv+0xf8
pc = 0xc02952b8  lr = 0xc0294d80 (devfs_unmount_final+0x4ec)
sp = 0xebbcacb8  fp = 0xebbcacc8
r4 = 0xebbcace8  r5 = 0xc3d8a560
r6 = 0xc3d45500  r7 = 0x00000000
r8 = 0xc3a87640  r9 = 0x00080000
r10 = 0x00080000
devfs_unmount_final() at devfs_unmount_final+0x4ec
pc = 0xc0294d80  lr = 0xc03d9c78 (dounmount+0x3a0)
sp = 0xebbcacd0  fp = 0xebbcad18
r4 = 0xc3d8c240  r5 = 0x00001000
r6 = 0xc0572c43
dounmount() at dounmount+0x3a0
pc = 0xc03d9c78  lr = 0xc03e2688 (vfs_unmountall+0x48)
sp = 0xebbcad20  fp = 0xebbcad40
r4 = 0xc3a87640  r5 = 0xc055e3ff
r6 = 0xc0562bd0  r7 = 0xc3d8a560
r8 = 0xc06141e0  r9 = 0xc056a980
r10 = 0xc0573d14
vfs_unmountall() at vfs_unmountall+0x48
pc = 0xc03e2688  lr = 0xc03377b4 (kern_reboot+0x4d4)
sp = 0xebbcad48  fp = 0xebbcada8
r4 = 0xc0620474  r5 = 0x00000000
r6 = 0xc0562bd0  r7 = 0xd91156a8
r8 = 0xc062b610  r9 = 0x00004008
r10 = 0xc08dfa9c
kern_reboot() at kern_reboot+0x4d4
pc = 0xc03377b4  lr = 0xc03372d8 (sys_reboot+0x44)
sp = 0xebbcadb0  fp = 0xebbcadb8
r4 = 0xebbcae18  r5 = 0xc3a84640
r6 = 0x00000000  r7 = 0x00000000
r8 = 0x0000001f  r9 = 0xebbcae10
r10 = 0x0000001e
sys_reboot() at sys_reboot+0x44
pc = 0xc03372d8  lr = 0xc051f4ec (swi_handler+0x290)
sp = 0xebbcadc0  fp = 0xebbcae58
r4 = 0xc3a87640
swi_handler() at swi_handler+0x290
pc = 0xc051f4ec  lr = 0xc050b0fc (swi_exit)
sp = 0xebbcae60  fp = 0xbffff938
r4 = 0x000de700  r5 = 0x000dc0c0
r6 = 0x00000034  r7 = 0x00000037
r8 = 0x0000001f  r9 = 0x0000000e
swi_exit() at swi_exit
pc = 0xc050b0fc  lr = 0xc050b0fc (swi_exit)
sp = 0xebbcae60  fp = 0xbffff938
Unable to unwind further
Uptime: 5m47s

The operating system has halted.
Please press any key to reboot.