From owner-freebsd-stable@FreeBSD.ORG Mon Jan 6 17:19:54 2014 Return-Path: Delivered-To: freebsd-stable@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 ESMTPS id 0258FDAB; Mon, 6 Jan 2014 17:19:54 +0000 (UTC) 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 BBB9E1703; Mon, 6 Jan 2014 17:19:53 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id s06HJowu021920 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 6 Jan 2014 11:19:50 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.118]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.03.0174.001; Mon, 6 Jan 2014 11:19:49 -0600 From: "Teske, Devin" To: Mark Martinec Subject: Re: Installer fails with "out of swap space" when installing ZFS-on-root with less then 4 GB mem (10.0-RC4) Thread-Topic: Installer fails with "out of swap space" when installing ZFS-on-root with less then 4 GB mem (10.0-RC4) Thread-Index: AQHPCwOAAVKGeGcYvEK58nVPYVvItA== Date: Mon, 6 Jan 2014 17:19:49 +0000 Message-ID: <105CFF1A-C71D-4670-8D70-DCE56F9EDA2A@fisglobal.com> References: <7a61b7a1f156dcf67b3ba44bca7dd906@mailbox.ijs.si> In-Reply-To: <7a61b7a1f156dcf67b3ba44bca7dd906@mailbox.ijs.si> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="us-ascii" Content-ID: <5654A33873D2694395DA1933B84F09C5@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.87, 1.0.14, 0.0.0000 definitions=2014-01-06_02:2014-01-06,2014-01-06,1970-01-01 signatures=0 Cc: Devin Teske , freebsd-stable Stable , "Teske, Devin" X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Devin Teske List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jan 2014 17:19:54 -0000 On Jan 5, 2014, at 5:27 PM, Mark Martinec wrote: > [snip] > I understand that ZFS would be happier with more memory for heavy product= ion > use, and that a modern real iron has much more than 4 GB of memory, but > virtualized guests are often dedicated to a single task and could do well > with 'just' 2 GB of memory, even if using ZFS. >=20 > So my suggestion is twofold: >=20 > - let the installer mount the available swap partitions before jumping > into heavy installation work; >=20 That sounds reasonable enough. > - avoid covering an underlying failure with a quickly-redrawn installer > menu; at least some delay after a failure but before erasing the screen > would be useful, avoiding the user to go to great lengths to be able to > capture the failure reason. >=20 While the error reporting could be improved in that area of bsdinstall that you fingered, the perception that the errors are quickly being erased is incorrect. What's actually going on is the errors are being shunted over to vty1 (Alt+F2) as well as /tmp/bsdinstall_log But granted... the error messages that are displayed on vty0 could certainly be improved (which will take time). Thank you very much for testing and feedback. --=20 Cheers, 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.