[Bug 262000] Boot loader ignores console directive in loader.conf

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 16 Feb 2022 20:53:57 UTC

            Bug ID: 262000
           Summary: Boot loader ignores console directive in loader.conf
           Product: Base System
           Version: 13.0-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: karels@freebsd.org

If I put this line in /boot/loader.conf:

    console="comconsole efi"

the loader menu and its other output go to the serial console, but the menu
lists "Video" for the console, and the serial port does not become the kernel
console unless I manually change the console selection by pressing a 5.  If I'm
not mistaken, the kernel environment shows a console value derived directly
from the loader.conf entry, not the selected console.

Also, the documentation, loader(8) and loader.conf(8), is not in sync with the
code.  loader.conf(8) documents vidconsole, which is apparently obsolete. I get
a message that it is not valid, and also that there is no valid console (even
if comconsole is listed as well).  Maybe efi replaces it.  But the boot menu
uses "Video" rather than "efi".

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