[Bug 273418] [panic] Repeating kernel panic on open(/dev/console)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 20 Sep 2023 09:52:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273418

--- Comment #25 from Eugene Grosbein <eugen@freebsd.org> ---
(In reply to Eugene Grosbein from comment #23)

Also, noted virtual machine had Uptime: 1d2h59m35s when I decided to power it
down with "shutdown -p now" and it printed devfs-related LOR to its console:

Waiting (max 60 seconds) for system process `vnlru' to stop... done
Waiting (max 60 seconds) for system process `syncer' to stop...
Syncing disks, vnodes remaining... 0 0 done
All buffers synced.
lock order reversal:
 1st 0xfffff80003cb2810 ufs (ufs, lockmgr) @ /usr/src/sys/kern/vfs_mount.c:1806
 2nd 0xfffff800037db628 devfs (devfs, lockmgr) @
/usr/src/sys/kern/vfs_subr.c:3047
lock order devfs -> ufs established at:
#0 0xffffffff80c7d76d at witness_checkorder+0x32d
#1 0xffffffff80bdaaf2 at lockmgr_lock_flags+0x182
#2 0xffffffff80f5449c at ffs_lock+0x8c
#3 0xffffffff80d12364 at _vn_lock+0x54
#4 0xffffffff80cf34ef at vfs_domount_first+0x5af
#5 0xffffffff80cefe39 at vfs_domount+0x309
#6 0xffffffff80cee9a5 at vfs_donmount+0x895
#7 0xffffffff80cf24f3 at kernel_mount+0x63
#8 0xffffffff80cf61c4 at parse_mount+0x4d4
#9 0xffffffff80cf4803 at vfs_mountroot+0x7c3
#10 0xffffffff80b96ed3 at start_init+0x23
#11 0xffffffff80bc4fc0 at fork_exit+0x80
#12 0xffffffff810bc94e at fork_trampoline+0xe
lock order ufs -> devfs attempted at:
#0 0xffffffff80c7e03d at witness_checkorder+0xbfd
#1 0xffffffff80bdc525 at lockmgr_xlock+0x55
#2 0xffffffff80d12364 at _vn_lock+0x54
#3 0xffffffff80cfaa4f at vget_finish+0x4f
#4 0xffffffff80a9bfff at devfs_allocv+0xbf
#5 0xffffffff80a9b7c3 at devfs_root+0x43
#6 0xffffffff80cffa24 at vfs_cache_root_fallback+0x114
#7 0xffffffff80cfba9c at vflush+0x4c
#8 0xffffffff80a9b6ce at devfs_unmount+0x3e
#9 0xffffffff80cf09c1 at dounmount+0x391
#10 0xffffffff80cfd331 at vfs_unmountall+0xc1
#11 0xffffffff80cce9ec at bufshutdown+0x31c
#12 0xffffffff80c0c3a3 at kern_reboot+0x203
#13 0xffffffff80c0c140 at sys_reboot+0x390
#14 0xffffffff810e9405 at amd64_syscall+0x145
#15 0xffffffff810bc1eb at fast_syscall_common+0xf8
Uptime: 1d2h59m35s
acpi0: Powering system off

-- 
You are receiving this mail because:
You are the assignee for the bug.