From owner-freebsd-current@FreeBSD.ORG Wed Oct 9 16:23:33 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8FD2EB9E for ; Wed, 9 Oct 2013 16:23:33 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5A5E42326 for ; Wed, 9 Oct 2013 16:23:33 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id r99GNPwB009410 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 9 Oct 2013 11:23:25 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.103]) by LTCFISWMSGHT06.FNFIS.com ([10.132.206.17]) with mapi id 14.02.0309.002; Wed, 9 Oct 2013 11:23:24 -0500 From: "Teske, Devin" To: Allan Jude Subject: Re: [CFT] Patch to bsdinstall to support root-on-ZFS and GELI Thread-Topic: [CFT] Patch to bsdinstall to support root-on-ZFS and GELI Thread-Index: AQHOxQvfPJPIP8ZCyUiSsjBzr2++AA== Date: Wed, 9 Oct 2013 16:23:22 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D720FC4B002@LTCFISWMSGMB21.FNFIS.com> References: <52531295.7090700@allanjude.com> <5254D231.5070803@allanjude.com> <52557ED1.5020008@allanjude.com> In-Reply-To: <52557ED1.5020008@allanjude.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.121] Content-Type: text/plain; charset="us-ascii" Content-ID: <89EB3FA1CA999647B312885908724571@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794, 1.0.431, 0.0.0000 definitions=2013-10-09_05:2013-10-09,2013-10-09,1970-01-01 signatures=0 Cc: Matthias Gamsjager , "Teske, Devin" , FreeBSD Current 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: Wed, 09 Oct 2013 16:23:33 -0000 On Oct 9, 2013, at 9:05 AM, Allan Jude wrote: > On 2013-10-09 03:22, Matthias Gamsjager wrote: >> Hi, >>=20 >> tried 10-8 iso in Virtualbox but after reboot I was looking at a >> bootloader with a nice '-' but nothing more.=20 >> post setup 'gpart list' showed no entries at all. >>=20 >>=20 >>=20 >>=20 >> On Wed, Oct 9, 2013 at 5:49 AM, Allan Jude > > wrote: >>=20 >> On 2013-10-07 15:59, Allan Jude wrote: >>> Devin Teske and I have been working on a big patch to bsdinstall to >>> implement installing on a ZFS pool. It supports both GPT and >> MBR, the 4k >>> sector gnop trick, and optional GELI encryption. We would like >> to commit >>> this in time for 10.0-BETA1 so it needs some testing to work out any >>> obvious bugs before we send it off to re@ to get it committed. >>>=20 >>> It includes a single configuration menu that allows you to >> select all of >>> the required details, including which drives to use (gets >> details from >>> camcontrol, also includes an inspection utility that presents the >>> detailed output of camcontrol inquiry/identify, and gpart show), >> what >>> ZFS RAID level to use (taking in to consideration the selected >> number of >>> drives), GPT/mbr, 4k YES/no, GELI yes/NO, pool name, etc. >>>=20 >>>=20 >>> Additional, it includes some other changes to bsdinstall: >>> 1. Change the default to the 'non-standard keyboard mapping' >> prompt to no >>> 2. Replace the 3 separate dialogs to configure an ipv4 address >> with just 1 >>> 3. Remove the dialog asking if you wish to enable crash dumps, this >>> feature has been combined into the regular 'services to enable' >> dialog >>> and enabled by default >>>=20 >>>=20 >>> You can browse the patches here: >>> http://druidbsd.cvs.sf.net/viewvc/druidbsd/bsdinstall_zfs/ >>>=20 >>> I've built a bootonly.iso (10.0-ALPHA4) to make testing easier, >>> available compressed (48 MB) or uncompressed (211 MB): >>>=20 >>> http://www.allanjude.com/bsd/zfsbootonly_2013-10-06.iso.xz >>>=20 >>> http://www.allanjude.com/bsd/zfsbootonly_2013-10-06.iso >>>=20 >>>=20 >>> We look forward to your feedback >>>=20 >>=20 >> We've made more improvements, including corporating most all of the >> feedback we've gotten so far >>=20 >>=20 >> Outstanding items: >> 1. Apply the changes to ipv6 config the way we did ipv4 >> 2. improve disk identification (model info and serial # instead of one >> or the other) >> 3. Include a helpful message before the GELI step where you have to >> enter your password many times, the user will be less confused if >> it is >> explained why they have to enter their password 3 * number of >> disks times >> 4. Validate vdev type choice inside the vdev type menu, and warn the >> user if they have made an invalid selection, so they can add more >> disks >> or chance their selection, without having to try to start the >> installation first >> 5. Whatever else you guys find wrong tonight >>=20 >> I generated new test images, and attached the patch (which got REALLY >> big when Devin Teske decided to fix "all of the things": >>=20 >> http://www.allanjude.com/bsd/zfsbootonly.2013-10-08.iso.xz >>=20 >> http://www.allanjude.com/bsd/zfsbootonly.2013-10-08.iso >>=20 >>=20 >> -- >> Allan Jude >>=20 >>=20 >> _______________________________________________ >> freebsd-current@freebsd.org >> mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to >> "freebsd-current-unsubscribe@freebsd.org >> " >>=20 >>=20 > This was a variable scoping error made by Devin when he refactored some > of the code into a subroutine. I have fixed it >=20 Ouch and apologies. It was too hard to see at 2AM after starting-in on a deeper pathos to the k= eymap patches (which I'm still working on). Allan alerted me to the issue but whe= n I started digging-in, I realized much deeper changes were required. And then I passed= out around 2:30AM (keyboard-faceplant). --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.