FreeBSD Bugzilla – Attachment 232075 Details for
Bug 230172
FreeBSD 11.2 fails to boot on Celeron J1900 after upgrade from 11.1 (ACPI indicates no VGA)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed fix
0001-vt-vga-ignore-ACPI_FADT_NO_VGA-unless-running-virtua.patch (text/plain), 1.15 KB, created by
Roger Pau Monné
on 2022-02-24 15:58:17 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Roger Pau Monné
Created:
2022-02-24 15:58:17 UTC
Size:
1.15 KB
patch
obsolete
>From 7310c68f379ae8674e2bffd5bdc7b62cd800ca4c Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= <royger@FreeBSD.org> >Date: Thu, 24 Feb 2022 16:53:30 +0100 >Subject: [PATCH] vt/vga: ignore ACPI_FADT_NO_VGA unless running virtualized > >There's too many broken hardware out there that wrongly has the >ACPI_FADT_NO_VGA bit set. Ignore it unless running as a virtualized >guest, as then the expectation would be that the hypervisor does >provide correct ACPI tables. > >Sponsored by: Citrix Systems R&D >PR: 230172 >--- > sys/dev/vt/hw/vga/vt_vga.c | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/sys/dev/vt/hw/vga/vt_vga.c b/sys/dev/vt/hw/vga/vt_vga.c >index 563867399e53..d3e7f00d1377 100644 >--- a/sys/dev/vt/hw/vga/vt_vga.c >+++ b/sys/dev/vt/hw/vga/vt_vga.c >@@ -1260,7 +1260,11 @@ vga_acpi_disabled(void) > uint16_t flags; > int ignore; > >- ignore = 0; >+ /* >+ * Ignore the flag on real hardware: there's a lot of buggy firmware >+ * that will wrongly set it. >+ */ >+ ignore = vm_guest == VM_GUEST_NO; > TUNABLE_INT_FETCH("hw.vga.acpi_ignore_no_vga", &ignore); > if (ignore || !acpi_get_fadt_bootflags(&flags)) > return (false); >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 230172
:
196316
|
232021
|
232022
|
232059
| 232075