From owner-svn-src-head@FreeBSD.ORG Tue Dec 30 02:34:01 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from hub.FreeBSD.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 954FF461; Tue, 30 Dec 2014 02:34:00 +0000 (UTC) Date: Tue, 30 Dec 2014 02:33:48 +0000 From: Glen Barber To: Ian Lepore Subject: Re: svn commit: r276383 - head/release Message-ID: <20141230023348.GA7902@hub.FreeBSD.org> References: <201412292232.sBTMWeMB096275@svn.freebsd.org> <1419893841.1018.269.camel@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="x+6KMIRAuhnl3hBn" Content-Disposition: inline In-Reply-To: <1419893841.1018.269.camel@freebsd.org> X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Dec 2014 02:34:01 -0000 --x+6KMIRAuhnl3hBn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 29, 2014 at 03:57:21PM -0700, Ian Lepore wrote: > On Mon, 2014-12-29 at 22:32 +0000, Glen Barber wrote: > > Author: gjb > > Date: Mon Dec 29 22:32:39 2014 > > New Revision: 276383 > > URL: https://svnweb.freebsd.org/changeset/base/276383 > >=20 > > Log: > > Delay dropping to the mountroot prompt for 10 seconds > > in case the root device is not yet ready. > > =20 > > Sponsored by: The FreeBSD Foundation > >=20 > > Modified: > > head/release/Makefile > >=20 > > Modified: head/release/Makefile > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D > > --- head/release/Makefile Mon Dec 29 21:59:44 2014 (r276382) > > +++ head/release/Makefile Mon Dec 29 22:32:39 2014 (r276383) > > @@ -201,6 +201,7 @@ system: packagesystem > > echo sendmail_enable=3D\"NONE\" > release/etc/rc.conf > > echo hostid_enable=3D\"NO\" >> release/etc/rc.conf > > echo debug.witness.trace=3D0 >> release/etc/sysctl.conf > > + echo kern.cam.boot_delay=3D\"10000\" >> release/boot/loader.conf > > cp ${.CURDIR}/rc.local release/etc > > touch ${.TARGET} > > =20 > > @@ -226,6 +227,7 @@ bootonly: packagesystem > > echo sendmail_enable=3D\"NONE\" > bootonly/etc/rc.conf > > echo hostid_enable=3D\"NO\" >> bootonly/etc/rc.conf > > echo debug.witness.trace=3D0 >> bootonly/etc/sysctl.conf > > + echo kern.cam.boot_delay=3D\"10000\" >> bootonly/boot/loader.conf > > cp ${.CURDIR}/rc.local bootonly/etc > > =20 > > dvd: > > @@ -248,6 +250,7 @@ dvd: > > echo sendmail_enable=3D\"NONE\" > ${.TARGET}/etc/rc.conf > > echo hostid_enable=3D\"NO\" >> ${.TARGET}/etc/rc.conf > > echo debug.witness.trace=3D0 >> ${.TARGET}/etc/sysctl.conf > > + echo kern.cam.boot_delay=3D\"10000\" >> ${.TARGET}/boot/loader.conf > > cp ${.CURDIR}/rc.local ${.TARGET}/etc > > touch ${.TARGET} > > =20 > >=20 >=20 > This will hard-wait for 10 seconds even if all devices are ready to roll > much earlier than that. An alternative is to set kern.mountroot.timeout > which will keep trying the available root devices until the timeout > expires and then drop you to the prompt, with the benefit of only > waiting 4 seconds if that's how long it really took the device to become > ready. (The default for kern.mountroot.timeout is 3 seconds.) >=20 Bah, you're right. I'll fix it once I get a few (unrelated, but conflicting) changes committed. Glen --x+6KMIRAuhnl3hBn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJUog8HAAoJEAMUWKVHj+KTHIkP/A7AUq4SWfzAsH0+0FhOZ/ed izZXxpsg6LWG2BP4NjD0uBXiRScKXtHuBvhrRgtn5H1fahCxfZeePTdqP4UbCmFE nutz09S4F25w6du6uG82XZNJFgY2ZDSw0LGKKtzFdGvYMCyDh+GrIgSiIrF8w5NN qG8Z+favMgI6gUUOlG1l8YzmaMXS8WZ4YDRWsQKydFfigxQ8gJJZJCg/vCDKA/pF vUZh/s3/MX7H/nQo+89+tWjekHjcXJYsZWPCs5M8fWfboubrrIKNHYRCGjLACa6m qQJWowy3/wySlOrgzoM7rEIaFG/nnSgsBvRZuAePmZ2m1/P5e0orZ5XoD2NdnebG QDgyJmGctHlMWSjN+Dc/qeCiGAjVvCkYH1CGBa8WslWAH3o8mcHfeZ2asGQtLiLs 3aKWHiRgmOQr8WZ71EvIE0yrVt4UMOmtCW+9MkbTmYa2Y+2uEYJURAvfGZT3byhp 8GEm5iXd1xr6ZtChn+q4X6/eHGA65GyqObkSA3jYjwKuW+OpRuhPApAqgGlg2+bB Io+9yXeRnsHa9Qm6v24Ni1gJAcG4Z2IJgw46eOuSKYqrjlmzzWhIdZB1T7XoyhAB DiNVAOpEDcSsEuiqC9/7f5yyY3WW4mlZ2WvTT2d+J95tXXiTFVejAkINBPXVwnpA Xw2u9Ulcy/pYpQLbKPx4 =La4B -----END PGP SIGNATURE----- --x+6KMIRAuhnl3hBn--