https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253253

--- Comment #3 from Toomas Soome <[email protected]> ---
(In reply to sirdice from comment #2)

vidvonsole is only valid with bios loade, not with uefi (loader.efi).

There is this block of code:

        rv = efi_global_getenv("ConOut", buf, &sz);
        if (rv != EFI_SUCCESS) {
                /* If we don't have any ConOut default to serial */
                how = RB_SERIAL;
                goto out;
        }

That does explain it... This patch should fix it

tsoome@freebsd-2:/usr/src % git diff
diff --git a/stand/efi/loader/main.c b/stand/efi/loader/main.c
index ca41cd4a2610..a21e8b0d96ba 100644
--- a/stand/efi/loader/main.c
+++ b/stand/efi/loader/main.c
@@ -735,6 +735,8 @@ parse_uefi_con_out(void)
        how = 0;
        sz = sizeof(buf);
        rv = efi_global_getenv("ConOut", buf, &sz);
+       if (rv != EFI_SUCCESS) {
+               rv = efi_global_getenv("ConOutDev", buf, &sz);
        if (rv != EFI_SUCCESS) {
                /* If we don't have any ConOut default to serial */
                how = RB_SERIAL;
tsoome@freebsd-2:/usr/src %

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to