From owner-freebsd-sysinstall@FreeBSD.ORG Fri Oct 7 13:46:51 2011 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFC4A1065673; Fri, 7 Oct 2011 13:46:51 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id B43BB8FC18; Fri, 7 Oct 2011 13:46:51 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LSP00E0M7M3GO00@smtpauth1.wiscmail.wisc.edu>; Fri, 07 Oct 2011 08:46:51 -0500 (CDT) Received: from comporellon.tachypleus.net (adsl-76-208-66-139.dsl.mdsnwi.sbcglobal.net [76.208.66.139]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LSP00K5L7LZSM30@smtpauth1.wiscmail.wisc.edu>; Fri, 07 Oct 2011 08:46:47 -0500 (CDT) Date: Fri, 07 Oct 2011 08:46:46 -0500 From: Nathan Whitehorn In-reply-to: <201110070730.p977UGQM025266@freefall.freebsd.org> To: Jaakko Heinonen Message-id: <4E8F02C6.8080501@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.208.66.139 X-Spam-PmxInfo: Server=avs-12, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.10.7.133314, SenderIP=76.208.66.139 References: <201110070730.p977UGQM025266@freefall.freebsd.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0) Gecko/20110928 Thunderbird/7.0 Cc: freebsd-sysinstall@FreeBSD.org Subject: Re: bin/161047: bsdinstall should not run on vt0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2011 13:46:52 -0000 On 10/07/11 02:30, Jaakko Heinonen wrote: > The following reply was made to PR bin/161047; it has been noted by GNATS. > > From: Jaakko Heinonen > To: Ben Kaduk > Cc: bug-followup@FreeBSD.org > Subject: Re: bin/161047: bsdinstall should not run on vt0 > Date: Fri, 7 Oct 2011 10:21:30 +0300 > > On 2011-09-27, Ben Kaduk wrote: > > In the installer images, bsdinstall appears to be running on vt0, > > which is by default the (video) console. This means that any console > > spew, such as LOR warnings (which are ~guaranteed at present) will > > overwrite the installer dialogs. Running the installer on a vt that > > is not the console will prevent this. > > I have an experimental patch to start bsdinstall on ttyv8 when the > installer is run on syscons: > > http://people.freebsd.org/~jh/patches/bsdinstall-getty.3.diff > I don't think this works in the context of serial console installations, and I'd prefer to keep this kind of logic isolated to things like /usr/src/release/rc.local instead of polluting the installer itself with knowledge of how it is run. Can you think of a way to do it that doesn't break serial installations? There's some logic in rc.local already to detect the console type. -Nathan