From owner-freebsd-stable@freebsd.org  Sun Mar 17 16:10:59 2019
Return-Path: <owner-freebsd-stable@freebsd.org>
Delivered-To: freebsd-stable@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id CA86B1540B50
 for <freebsd-stable@mailman.ysv.freebsd.org>;
 Sun, 17 Mar 2019 16:10:59 +0000 (UTC)
 (envelope-from wlosh@bsdimp.com)
Received: from mail-qt1-x829.google.com (mail-qt1-x829.google.com
 [IPv6:2607:f8b0:4864:20::829])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4DB2B85DEA
 for <freebsd-stable@freebsd.org>; Sun, 17 Mar 2019 16:10:58 +0000 (UTC)
 (envelope-from wlosh@bsdimp.com)
Received: by mail-qt1-x829.google.com with SMTP id v32so15329464qtc.10
 for <freebsd-stable@freebsd.org>; Sun, 17 Mar 2019 09:10:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=bsdimp-com.20150623.gappssmtp.com; s=20150623;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=cXcsoydXs6YQzsiGnlfqdFvF7rRnpbkI7OgvYjaEyMg=;
 b=AwVKMZDI/8cDTDV3LavXCV1aFp7p5zcnst92jkVxcwfHfKTQuEL7hHKKegnR2RFYt9
 Ll/bbUpQxjWpADgHxmIcDSht0iVe+feQKg7NEc/J+RIqZuDB5pIGMx8i/berPES24tDa
 RzB4QMv7YzxGEqIET8dcxTjxosqV62BVFwdRpwZd5Wa2OSdMHr5EOPrSqa1KGcwZpWx4
 gAkMl5aqC4MljC88RsKXFqSvJMiKMZlHDkYkGJa09jvytPGH6qtupLOL5w+NseZZvpEx
 Q9ygYUAq1NXvQraCTaydg1NGqmO2j53RcTxjymMN3uS+cSo7IQYsOGLWHeuzu418db0i
 3l2A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=cXcsoydXs6YQzsiGnlfqdFvF7rRnpbkI7OgvYjaEyMg=;
 b=SLSMIKjuSRSKKtwWqnJpzt5R6sA61MKxWZ05Y4G55W6FrZqdBZuGrgq5GqShxnU+Oo
 A3Cy46p2Z9IQF+DEstwbg5ATfw7bip/pHfsI6uNSziJE3vHcqE9VyZCzY5GdQ5QdvCwe
 VXdbvFk4YSsy+A2gzoZ1u+F9y09Yy8CXqKAJWKB6UefbbZkbbc0wh8wKhDzVlAu6ouH6
 AFcK0mQYbB1au6r/i7hZl+baspeOQCqqDgYWI09ZI1EvzMB0RR8SUd3MUDq/lNod50Nm
 /OvDGq8k5hKUIdF7uJubeCiQpia7V9E4TQLPYfsdxUrdxT9wtAsIKuy9GvfVqEVp5/K9
 FPxg==
X-Gm-Message-State: APjAAAWMRL+ywE/+FbzfsMUYOAkjgCmB/dG697H1BTjwoEwGzOQbWqJn
 gksWEDinFlAhGo+VcRaNXnXY851/PbMMbFdAp3FwgQ==
X-Google-Smtp-Source: APXvYqwgQPF8e4LPRFgAYKqa7cTgcnV7doOUdnGB63tliYAEEs+EyG5wDueXYIZq7PRfrm2VTDp4N2phCJmZDD60cBo=
X-Received: by 2002:ac8:304a:: with SMTP id g10mr4449016qte.118.1552839057375; 
 Sun, 17 Mar 2019 09:10:57 -0700 (PDT)
MIME-Version: 1.0
References: <mailman.13.1552824000.329.freebsd-stable@freebsd.org>
 <ccfb7722-3703-2995-641d-256990a1c57d@chaotikum.org>
In-Reply-To: <ccfb7722-3703-2995-641d-256990a1c57d@chaotikum.org>
From: Warner Losh <imp@bsdimp.com>
Date: Sun, 17 Mar 2019 10:10:45 -0600
Message-ID: <CANCZdfqd0C=vknLi9Yrr=odLwokg-oSmSw5XfmDB+=CdkhPK2Q@mail.gmail.com>
Subject: Re: hw.vga.acpi_ignore_no_vga=1 for installation media
To: Leon Christopher Dietrich <doralitze@chaotikum.org>
Cc: FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
X-Rspamd-Queue-Id: 4DB2B85DEA
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623
 header.b=AwVKMZDI
X-Spamd-Result: default: False [-5.68 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-0.997,0];
 R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623];
 FROM_HAS_DN(0.00)[]; NEURAL_HAM_SHORT(-0.94)[-0.940,0];
 NEURAL_HAM_LONG(-1.00)[-1.000,0];
 MIME_GOOD(-0.10)[multipart/alternative,text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org];
 DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 TO_DN_ALL(0.00)[];
 MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com];
 DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+];
 RCPT_COUNT_TWO(0.00)[2];
 RCVD_IN_DNSWL_NONE(0.00)[9.2.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org
 : 127.0.5.0]; R_SPF_NA(0.00)[];
 FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com];
 MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[];
 ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
 FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com];
 IP_SCORE(-2.74)[ip: (-8.79), ipnet: 2607:f8b0::/32(-2.74), asn: 15169(-2.09),
 country: US(-0.07)]; RCVD_COUNT_TWO(0.00)[2]
Content-Type: text/plain; charset="UTF-8"
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, 
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 17 Mar 2019 16:11:00 -0000

I generally like this idea... But two caveats...

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...

Warner

On Sun, Mar 17, 2019 at 6:58 AM Leon Christopher Dietrich <
doralitze@chaotikum.org> wrote:

> Sound's like solid idea.
>
> 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.
>
> 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.
>
> 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=1 for installation media
> > Message-ID: <912fc95d-5a5e-012b-7385-0f43f50dca65@grosbein.net>
> > Content-Type: text/plain; charset=koi8-r
> >
> > Hi!
> >
> > 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.
> >
> > 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.
> >
> > vt(4) has loader knob to restore pre-11.2 behaviour and ignore ACPI:
> >
> > hw.vga.acpi_ignore_no_vga=1
> >
> > Should we add this unconditionally to the installation media designed
> for interactive VGA-based installation?
> >
> >
> > ------------------------------
> >
>
>