From owner-freebsd-current@FreeBSD.ORG Sun Nov 3 18:09:31 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 24925BF3; Sun, 3 Nov 2013 18:09:31 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E600D2AC8; Sun, 3 Nov 2013 18:09:30 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed; delsp=yes Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MVP00A008UD5500@smtpauth4.wiscmail.wisc.edu>; Sun, 03 Nov 2013 12:09:28 -0600 (CST) X-Spam-PmxInfo: Server=avs-4, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.11.3.180314, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from [10.0.2.100] (adsl-76-208-69-44.dsl.mdsnwi.sbcglobal.net [76.208.69.44]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MVP004G893QMU00@smtpauth4.wiscmail.wisc.edu>; Sun, 03 Nov 2013 12:09:28 -0600 (CST) Message-id: From: Nathan Whitehorn To: Devin Teske In-reply-to: <97944047-D575-4E2E-B687-9871DFE058E3@fisglobal.com> Subject: Re: [CFT] bsdinstall and zfsboot enhancements Date: Sun, 03 Nov 2013 12:09:26 -0600 References: <5275C597.6070702@freebsd.org> <97944047-D575-4E2E-B687-9871DFE058E3@fisglobal.com> X-Mailer: Apple Mail (2.936) Cc: " Current" , "Teske, Devin" , Peter Grehan , Michael Dexter X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Nov 2013 18:09:31 -0000 On Nov 3, 2013, at 11:33 AM, Teske, Devin wrote: > > On Nov 2, 2013, at 8:40 PM, Nathan Whitehorn wrote: > >> On 11/02/13 12:59, Teske, Devin wrote: >>> Hi all, >>> >>> Another Call For Testing... >>> This one is for bsdinstall. >> Will look at the rest later... >>> >>> + Update bsdinstall's "config" script to adjust ttyu* entries in >>> /etc/ttys when it is determined that we are in-fact doing an install >>> over serial (e.g. bhyve). >>> >> >> I think this is the wrong solution. > > Thank you for your feedback. Sincerely. > > >> The installer is run in a lot of circumstances, and tying it to the >> boot environment is a mistake. If we want serial consoles to >> default to on for x86, they should default to on (they do for most >> other architectures). The magic should never ever be in the >> installer. >> > > Well, I would say we *don't* want serial to be on by default... > That would actually hurt me at $work where we actually use > the serial ports for barcode readers. Hmm, that's tricky. > >> Setting the terminal type to vt100 unconditionally is also >> questionable. Using kbdcontrol also doesn't do the right thing, >> since it will turn on serial consoles if you install to, say, a >> disk image from an xterm or if you use newcons. > > Kk. > > I'm CC'ing Peter Grehan, because we only arrived at this solution > based on a quick discussion with Michael Dexter at vBSDcon with > respect to bhyve. > > Peter, can you restate the problem for Nathan so that we can > maybe find a better home for this change? or perhaps more clearly > define (than I) how we arrived at the code for the bhyve work? So I guess the real problem here is that init does not know enough to start a login prompt on the console. This has irritated me for a while actually. Maybe that should be fixed? The "console" entry, which would always automatically work, in /etc/ttys is marked off, which apparently happened in the runup to 4.0. It might be time to revisit that. -Nathan