Re: USB disks attach after rootfs prompt

From: Justin Hibbits <chmeeedalf_at_gmail.com>
Date: Sat, 19 Mar 2016 11:06:59 -0500
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
Received on Sat Mar 19 2016 - 15:07:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC