[Bug 264226] setting kern.vty=sc causes hang during boot
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 264226] setting kern.vty=sc causes hang during boot"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 26 May 2022 00:14:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264226 --- Comment #4 from Ed Maste <emaste@freebsd.org> --- (In reply to Kubilay Kocak from comment #3) There's no need to include a log - this behaviour is clear from the code. References: sys/amd64/amd64/machdep.c sys/kern/kern_cons.c The priority order for choosing a console is: - sc, if kern.vty=sc - vt, if kern.vt=vt - vt, if EFI boot (via vty_set_preferred) - vt - sc (there's some redundancy left over, from the iterative approach we took to changing the default) Moving the vty_set_preferred handling to the top of the list would have the behaviour you describe, but would mean the system ignores the user's setting when it has a preferred choice. The easiest way to address this will be to just remove sc from GENERIC. -- You are receiving this mail because: You are the assignee for the bug.