From owner-svn-src-all@freebsd.org Mon Apr 23 14:52:13 2018 Return-Path: Delivered-To: svn-src-all@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 A9196FA2784 for ; Mon, 23 Apr 2018 14:52:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x230.google.com (mail-it0-x230.google.com [IPv6:2607:f8b0:4001:c0b::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 25AF66E89A for ; Mon, 23 Apr 2018 14:52:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x230.google.com with SMTP id 71-v6so11015826ith.2 for ; Mon, 23 Apr 2018 07:52:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=TSZLPFboDydYFm9/SPBJlMQopAcPg5h4dxJ+WCy6nv0=; b=v9gtUylOcv5/k16JQo1fHr6TSnGwopN6/sKTel8rkx5Lp+YdT740fO3II5NU36El5r ZEc7RhZHZd8tLv/Gw9c3LpaXft0OTr9umhUPZ+EEnpnTLY4oCiT16YgrNIK2gLZIN1nr sDdGjbJGEDOwaMfQ+NJ8fVdVL7cetX+bjnIQUweKOJLYh0qtA7POl6oLv+ZOBryLn9cq E3THqh78QM1usmDiFLqQUNrhc9L9EVGn8CmsEwz0JM0hUDHEcwXscfHsOVcvhLLeX6Qp Zl4O8mQn0Ikmir/hj+2kn18J46fA+YVaWOlJVt3XXx98cAxoJdM3St/muv6h4xdIpTuG rnmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=TSZLPFboDydYFm9/SPBJlMQopAcPg5h4dxJ+WCy6nv0=; b=uSo0QGmyLMrmOMkOdSxhrOx9luL203X3Pl0mfrUJpurineRwznVj+dFyaj9lHGvEda H+l7Ugc/87G82dCj7wKChDCn4YqO+7CC22r0PdaEY+k12MGpsNZVmlxHVaLLOnRx8/7V gE/tDPUK7zdu3eF1OeAfXA4H8oVvusy8MoDMQLQNiAb5izuyzUDaMkB6DpmwaINCAAj3 YHTkgzBF3PbN+1HYfrcNP82/ZGQfn460CepMsv1hI1ZU2hCGtxvWcrCAT72lxO/CXlZ3 Ci08OcEk0DL93fTXeZJ6rCiuUe4Zd+ws8X77pfiaQtDmCLrc6MpIIuPkkHMsvV4XdKMP MoCw== X-Gm-Message-State: ALQs6tB7EmhU99IFd2E5A+MbbJ+S1JojKqvB3xM3kBMY8id4+snaGNil 1rFaYW2KP/K4fHCCuxwbRfDxkTW0YJ46LyBrqws2eg== X-Google-Smtp-Source: AB8JxZoiUAbBK9BEoGTUVCi9aGpWLfG7qnKLGCGh/SRWEzS/JuifLaIRgQVe3KWRTUq0gdEp6Qp9hGtxLMmN76dSYu4= X-Received: by 2002:a24:1fc7:: with SMTP id d190-v6mr13687524itd.57.1524495132478; Mon, 23 Apr 2018 07:52:12 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 2002:a4f:a604:0:0:0:0:0 with HTTP; Mon, 23 Apr 2018 07:52:11 -0700 (PDT) X-Originating-IP: [50.227.106.226] In-Reply-To: <20180423134304.GB74306@tom-desk.erg.abdn.ac.uk> References: <201803130938.w2D9csB4099299@repo.freebsd.org> <20180423134304.GB74306@tom-desk.erg.abdn.ac.uk> From: Warner Losh Date: Mon, 23 Apr 2018 08:52:11 -0600 X-Google-Sender-Auth: EKTpSu4g4AhG80wk96PjcAUdY3Q Message-ID: Subject: Re: svn commit: r330834 - head/sys/dev/vt/hw/vga To: Tom Jones Cc: =?UTF-8?Q?Roger_Pau_Monn=C3=A9?= , src-committers , svn-src-all@freebsd.org, svn-src-head@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 14:52:13 -0000 On Mon, Apr 23, 2018 at 7:43 AM, Tom Jones wrote: > On Tue, Mar 13, 2018 at 09:38:54AM +0000, Roger Pau Monn=C3=A9 wrote: > > Author: royger > > Date: Tue Mar 13 09:38:53 2018 > > New Revision: 330834 > > URL: https://svnweb.freebsd.org/changeset/base/330834 > > > > Log: > > vt_vga: check if VGA is available from ACPI FADT table > > > > On x86 the IA-PC Boot Flags in the FADT can signal whether VGA is > > available or not. > > > > Sponsored by: Citrix systems R&D > > Reviewed by: marcel > > Differential revision: https://reviews.freebsd.org/D14397 > > > > Modified: > > head/sys/dev/vt/hw/vga/vt_vga.c > > Hi, > > Running the latest vm snapshots on bhyve, /dev/ttyv[0-b] devices are not > created leading to getty spamming the console: > > Apr 23 13:28:49 freebsd getty[710]: open /dev/ttyv6: No such file or > directory > Apr 23 13:28:49 freebsd getty[709]: open /dev/ttyv1: No such file or > directory > Apr 23 13:28:49 freebsd getty[715]: open /dev/ttyv5: No such file or > directory > Apr 23 13:28:49 freebsd getty[713]: open /dev/ttyv7: No such file or > directory > > Tracking through snapshots the change is somewhere between: > > good ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/ > 12.0-CURRENT/amd64/20180307/ > bad ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/VM-IMAGES/ > 12.0-CURRENT/amd64/20180315/ > > reverting r330834 returns to the old behaviour. > You need to change /etc/ttys to have 'onifexists' or 'off' for those devices. There was a change to init/getty to support pluggable TTYs that is causing it. Historically, there was no 'onifexists' so init/getty basically stopped looking at a device that wasn't there. Now we have TTYs that we want to present a getty on come and go, we need to adapt. Warner