Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2019 08:59:10 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Warner Losh <imp@bsdimp.com>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, Leon Christopher Dietrich <doralitze@chaotikum.org>
Subject:   Re: hw.vga.acpi_ignore_no_vga=1 for installation media
Message-ID:  <3B7CFB1B-EFC8-4251-ABFE-DA01D7619C2D@cs.huji.ac.il>
In-Reply-To: <20190317173421.GN96870@kib.kiev.ua>
References:  <mailman.13.1552824000.329.freebsd-stable@freebsd.org> <ccfb7722-3703-2995-641d-256990a1c57d@chaotikum.org> <CANCZdfqd0C=vknLi9Yrr=odLwokg-oSmSw5XfmDB%2B=CdkhPK2Q@mail.gmail.com> <20190317173421.GN96870@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 17 Mar 2019, at 19:34, Konstantin Belousov <kostikbel@gmail.com> =
wrote:
>=20
> On Sun, Mar 17, 2019 at 10:10:45AM -0600, Warner Losh wrote:
>> I generally like this idea... But two caveats...
>>=20
>> First, we'd need to update the docs so that folks doing serial =
installs can
>> unset it.... Though serial installs are a weird beast....
>> Second, if it's really needed, we should have the installer generate =
it.
>> alas, only vt can tell us that, but it should be easy to add a sysctl =
to it
>> that says that it has done video by ignoring the absence of the vga =
node...
> It is not about VGA node (what is that ?).
> It is about ignoring FACP flag IAPC_BOOT_ARCH=3D{NO_VGA}, and there =
are
> machines which actually break when trying to access VGA hardware =
despite
> the flag is set.
> Can anybody provide an example of machine where the flag is set but =
VGA
> works ?  For me, it is set on headless NUC when there is no monitor
> attached, and then BIOS does not configure framebuffer at all.
>=20
> So the proposal is about reversing the set of broken machines, but =
only
> in installer ?  In other words, if it worked for installer, the =
installed
> system would be broken (again) ?
>=20
>>=20
>> Warner
>>=20
>> On Sun, Mar 17, 2019 at 6:58 AM Leon Christopher Dietrich <
>> doralitze@chaotikum.org> wrote:
>>=20
>>> Sound's like solid idea.
>>>=20
>>> A lot of systems out there lack propper ACPI description for VGA and =
it
>>> would definitly make the installation on such a system much more =
easy.
>>>=20
>>> As far as I can tell it doesn't seam to break other things and even =
low
>>> power system without VGA (like a pcengines apu2) don't seam to =
suffer.
> What apu2 reports in FACP flags ?  Do
> 	acpidump -dt | grep IAPC_BOOT_ARCH


mine reports:
	IAPC_BOOT_ARCH=3D

>=20
>>>=20
>>> On 17.03.19 13:00, FreeBSD-stable-request@freebsd.org wrote:
>>>> Date: Sun, 17 Mar 2019 02:59:12 +0700
>>>> From: Eugene Grosbein <eugen@grosbein.net>
>>>> To: FreeBSD stable <freebsd-stable@freebsd.org>
>>>> Subject: hw.vga.acpi_ignore_no_vga=3D1 for installation media
>>>> Message-ID: <912fc95d-5a5e-012b-7385-0f43f50dca65@grosbein.net>
>>>> Content-Type: text/plain; charset=3Dkoi8-r
>>>>=20
>>>> Hi!
>>>>=20
>>>> Since 11.2-RELESE, default console driver vt(4) checks ACPI table =
for
>>> presence of VGA in the system.
>>>> It does not initialize console (no input, no output) if ACPI states
>>> there is no VGA adapter.
>>>>=20
>>>> There are PRs describing many cases when VGA is present but ACPI =
lies
>>>> and we have a regression compared with 11.1 and earlier:
>>>> FreeBSD cannot be installed interactively onto such a system, =
leaving
>>> aside serial console.
>>>>=20
>>>> vt(4) has loader knob to restore pre-11.2 behaviour and ignore =
ACPI:
>>>>=20
>>>> hw.vga.acpi_ignore_no_vga=3D1
>>>>=20
>>>> Should we add this unconditionally to the installation media =
designed
>>> for interactive VGA-based installation?
>>>>=20
>>>>=20
>>>> ------------------------------
>>>>=20
>>>=20
>>>=20
>> _______________________________________________
>> freebsd-stable@freebsd.org mailing list
>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
>> To unsubscribe, send any mail to =
"freebsd-stable-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-stable@freebsd.org <mailto:freebsd-stable@freebsd.org> mailing =
list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable =
<https://lists.freebsd.org/mailman/listinfo/freebsd-stable>;
> To unsubscribe, send any mail to =
"freebsd-stable-unsubscribe@freebsd.org =
<mailto:freebsd-stable-unsubscribe@freebsd.org>"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B7CFB1B-EFC8-4251-ABFE-DA01D7619C2D>