USB disks attach after rootfs prompt

Justin Hibbits chmeeedalf at gmail.com
Sat Mar 19 16:07:03 UTC 2016


On Sat, 19 Mar 2016 15:09:35 +0000
"Poul-Henning Kamp" <phk at phk.freebsd.dk> wrote:

> --------
> In message <1458397972.68920.69.camel at freebsd.org>, Ian Lepore writes:
> >On Sat, 2016-03-19 at 13:04 +0000, Poul-Henning Kamp wrote:  
> >> Running:
> >> 
> >> 	FreeBSD 11.0-CURRENT #32 r296137: Sat Feb 27 11:34:01 UTC
> >> 2016
> >> 
> >> I tried "boot -a" and found that USB disks only attach *after* you
> >> enter some root filesystem.
> >> 
> >> That's not terribly useful.  
> >
> >iirc, interrupts are disabled while you're at the mountroot prompt,
> >which freezes usb enumeration.  
> 
> I am somewhat certain that this used to work...
> 
> 

Tunable vfs.mountroot.timeout may be what you're looking for.  By
default it waits for 3 seconds, but for USB it's suggested 10s or more,
from what I recall.

- Justin


More information about the freebsd-current mailing list