Re: USB disks attach after rootfs prompt

From: Ian Lepore <ian_at_freebsd.org>
Date: Sat, 19 Mar 2016 08:32:52 -0600
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.  It should do a sleep/pause every time
you enter '.', which should allow the interrupt-driven enumeration to
finish.  It's been a long time since I've done it, but it seems to
still work... I just plugged in a usb drive while I was at the prompt
and it didn't show up until the second time I entered a '.'.

-- Ian
Received on Sat Mar 19 2016 - 13:33:01 UTC

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