How to make boot wait a few seconds more for device response?
Ian Lepore
ian at FreeBSD.org
Sun Jan 5 15:41:07 UTC 2014
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
More information about the freebsd-stable
mailing list