Bug 222053 - [lor] lock order reversal in path
Summary: [lor] lock order reversal in path
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 11.1-STABLE
Hardware: arm64 Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-04 16:27 UTC by Heinz N. Gies
Modified: 2017-09-04 16:27 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 Heinz N. Gies 2017-09-04 16:27:03 UTC
after `poweroff`:

root@thunderx:~ # poweroff
Shutdown NOW!
poweroff: [pid 581]
root@thunderx:~ #                   Stopping cron.
Waiting for PIDS: 522.
Stopping sshd.
Waiting for PIDS: 512.
Stopping ntpd.
Waiting for PIDS: 482, 482.
Stopping devd.
Waiting for PIDS: 252.
Writing entropy file:.
Writing early boot entropy file:.
.
TerminatedAug 15 06:37:17 thunderx sdone
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining... 4 3 0 done
All buffers synced.
lock order reversal:
 1st 0xfffffd000c93d9a0 ufs (ufs) @ /usr/src/sys/kern/path+0x1b4
#2 0xffff00000057bdc4 at VOP_LOCK1_APV+0xcc
#3 0xffff000000364ae0 at _vn_lock+0x6c
#4 0xffff000000356504 at vget+0x78
#5 0xffff000000184bbc at devfs_allocv+0xdc
#6 0xffff0000001846f4 at devfs_root+0x44
#7 0xffff00000034ee1c at dounmount+0x534
#8 0xffff0000003581e8 at vfs_unmountall+0xd4
#9 0xffff000000336df0 at bufshutdown+0x398
#10 0xffff00000029bb6c at kern_reboot+0x1a0
#11 0xffff00000029b960 at sys_reboot+0x378
#12 0xffff00000055eb94 at do_el0_sync+0x864
#13 0xffff0000005481f4 at handle_el0_sync+0x74