LOR ufs , devfs

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Wed, 09 Jul 2025 13:19:32 UTC
During shutdown:

lock order reversal:
  1st 0xfffff8000159d908 ufs (ufs, lockmgr) @ /usr/src/sys/kern/vfs_mount.c:2261
  2nd 0xfffff80001af0908 devfs (devfs, lockmgr) @ /usr/src/sys/kern/vfs_subr.c:3384
lock order ufs -> devfs attempted at:
#0 0xffffffff80bd9dd1 at witness_checkorder+0xbe1
#1 0xffffffff80b2e071 at lockmgr_xlock+0x51
#2 0xffffffff810febba at VOP_LOCK1_APV+0x2a
#3 0xffffffff80c81043 at _vn_lock+0x53
#4 0xffffffff80c6716d at vget_finish+0x4d
#5 0xffffffff809df00e at devfs_allocv+0xbe
#6 0xffffffff809de713 at devfs_root+0x43
#7 0xffffffff80c6c376 at vfs_cache_root_fallback+0x116
#8 0xffffffff80c6806b at vflush+0x4b
#9 0xffffffff809de60e at devfs_unmount+0x3e
#10 0xffffffff80c5c749 at dounmount+0x649
#11 0xffffffff80c69811 at vfs_unmountall+0xc1
#12 0xffffffff80c36d1c at bufshutdown+0x32c
#13 0xffffffff80b61d33 at kern_reboot+0x703
#14 0xffffffff80b6162c at sys_reboot+0x42c
#15 0xffffffff81037279 at amd64_syscall+0x169
#16 0xffffffff8100839b at fast_syscall_common+0xf8


-- 
Bjoern A. Zeeb                                                     r15:7