Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Mar 2016 08:32:52 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>, current@freebsd.org
Subject:   Re: USB disks attach after rootfs prompt
Message-ID:  <1458397972.68920.69.camel@freebsd.org>
In-Reply-To: <1346.1458392679@critter.freebsd.dk>
References:  <1346.1458392679@critter.freebsd.dk>

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



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