From owner-freebsd-stable@FreeBSD.ORG Sun Jan 5 15:41:07 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 B1C571CD for ; Sun, 5 Jan 2014 15:41:07 +0000 (UTC) Received: from mho-02-ewr.mailhop.org (mho-02-ewr.mailhop.org [204.13.248.72]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 82A121A10 for ; Sun, 5 Jan 2014 15:41:07 +0000 (UTC) Received: from c-24-8-230-52.hsd1.co.comcast.net ([24.8.230.52] helo=damnhippie.dyndns.org) by mho-02-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Vzpox-0001sW-NJ; Sun, 05 Jan 2014 15:40:59 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id s05FeubB026435; Sun, 5 Jan 2014 08:40:56 -0700 (MST) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 24.8.230.52 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+Sk1+U4OERiXHJl4UHpnj5 Subject: Re: How to make boot wait a few seconds more for device response? From: Ian Lepore To: Thomas Mueller In-Reply-To: <674003.48630.bm@smtp114.sbc.mail.gq1.yahoo.com> References: <43.76.14229.524B7C25@cdptpa-oedge01> <52C7EC3E.6070709@grosbein.net> <20140104213749.GA60414@neutralgood.org> <1388873531.1158.306.camel@revolution.hippie.lan> <674003.48630.bm@smtp114.sbc.mail.gq1.yahoo.com> Content-Type: text/plain; charset="us-ascii" Date: Sun, 05 Jan 2014 08:40:56 -0700 Message-ID: <1388936456.1158.308.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-stable@FreeBSD.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jan 2014 15:41:07 -0000 On Sat, 2014-01-04 at 23:20 -0800, Thomas Mueller wrote: > > I think vfs.mountroot.timeout is the tunable that gets the effect you > > want. It defaults to 3 seconds. > > -- Ian > > I don't see this documented anywhere, looked through "man loader.conf" and /boot/defaults/loader.conf . > > Is vfs.mountroot.timeout in milliseconds, like 3000 for default? > > I guess I could set vfs.mountroot.timeout=15000 then? > > I could also try setting kern.cam.boot.delay to something higher than the default 10000, though it seems 10 seconds should be long enough. > > Or maybe kern.cam.scsi delay to something higher than the default 2000. Maybe that would help avoid problems with wlan0 going down and up with USB-stick wireless adapter Hiro H50191, device rsu, especially on FreeBSD 10-prerelease amd64? I also get kernel messages throwing mud in my face about the Logitech USB mouse disconnecting when it's really connected and active. > > But I really ought to try with FreeBSD 10-prerelease i386 on USB 3.0 stick and 11-headamd64 and i386 onhard drive. > > Tom I don't know whether it's documented anywhere, I just remembered seeing it in the source when I was working on a change to nfs root filesystems, so I grepped and re-found it yesterday. I think it's set in terms of whole seconds. -- Ian