[Bug 264226] setting kern.vty=sc causes hang during boot

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 26 May 2022 01:14:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264226

--- Comment #8 from Kubilay Kocak <koobs@FreeBSD.org> ---
(In reply to Ed Maste from comment #7)

Understood, thanks. So if I understand correctly, it sounds like two potential
routes (modulo sc removal), in context to current reported behaviour 'boot
hang', three if one counts hung boot without messaging as a route.

Since sc is incompatible with UEFI (comment 5):

Catch UEFI & kern.vty=sc case, and do something other than hang...

1) "stop", with message: "kern.vty=sc is set, but is incompatible with UEFI
boot"

Outcome: system stops, user informed why: incompatible system configuration
(for that boot)

2) use vt when sc is specified but its an EFI boot

Outcome: system boots

2.1) Log what happened: 

Outcome: user informed of incompatible system configuration (for that boot)

2.2) Don't log what happened: 

Outcome: the system did some magic, noone is the wiser

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