Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Jan 2014 08:40:56 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        Thomas Mueller <mueller6724@bellsouth.net>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re:  How to make boot wait a few seconds more for device response?
Message-ID:  <1388936456.1158.308.camel@revolution.hippie.lan>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1388936456.1158.308.camel>