From owner-freebsd-current@FreeBSD.ORG Mon Nov 11 20:59:12 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 61DDD4EF; Mon, 11 Nov 2013 20:59:12 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from alto.onthenet.com.au (alto.OntheNet.com.au [203.13.68.12]) by mx1.freebsd.org (Postfix) with ESMTP id 1E14926F6; Mon, 11 Nov 2013 20:59:11 +0000 (UTC) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by alto.onthenet.com.au (Postfix) with ESMTPS id 7D4EF122E1; Tue, 12 Nov 2013 06:59:10 +1000 (EST) Received: from Peter-Grehans-MacBook-Pro-2.local ([64.245.0.210]) by dommail.onthenet.com.au (MOS 4.2.4-GA) with ESMTP id BPY32184 (AUTH peterg@ptree32.com.au); Tue, 12 Nov 2013 06:59:08 +1000 Message-ID: <5281451A.5000804@freebsd.org> Date: Mon, 11 Nov 2013 12:59:06 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Devin Teske Subject: Re: [CFT] bsdinstall and zfsboot enhancements References: <5275C597.6070702@freebsd.org> <97944047-D575-4E2E-B687-9871DFE058E3@fisglobal.com> <52769CFE.5080707@freebsd.org> <5281340E.8080009@callfortesting.org> <52813F9E.8080304@freebsd.org> <4E00C3CC-75EA-4249-8D9F-42F37988F4CE@fisglobal.com> <528141C1.7080409@freebsd.org> <29ADA509-0BB7-435C-8AC1-1D5BC32D6DC8@fisglobal.com> In-Reply-To: <29ADA509-0BB7-435C-8AC1-1D5BC32D6DC8@fisglobal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Michael Dexter , "Teske, Devin" , Current Current , Nathan Whitehorn 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: Mon, 11 Nov 2013 20:59:12 -0000 Hi Devin, > When boot is executed, I know I can see "kenv console", but hadn't realized > that there were/are a host of others that are slurped into the kernel for later > (very purposeful) fetching. > > So when you say that bhyve requests a serial console... I assume now it's > setting variables... but via raw Forth? C code? loader.conf(5)? I've seen my > menu come up under bhyve, and I noticed that it only has a 5-second count- > down instead of the usual 9 -- but I'm curious how you're exporting the variables. bhyve uses the loader facility to set env variables directly from loader code. This is no different than other arch ports of the loader that set env variables. The forced setting of boot_serial is just a convenience for users since that is the only supported console type. It doesn't touch the timeout code - should be whatever FreeBSD loader forth scripts tell it to do. later, Peter.