Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Feb 2017 12:37:39 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        wynkoop@wynn.com, freebsd-arm@freebsd.org
Subject:   Re: mounting USB drive at boot
Message-ID:  <1486669059.10020.220.camel@freebsd.org>
In-Reply-To: <assp.0213887e71.20170209141437.5c808ca9@pearl>
References:  <assp.0213887e71.20170209141437.5c808ca9@pearl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2017-02-09 at 14:14 -0500, freebsd-arm@wynn.com wrote:
> Greeting-
> 
> This is probably not ARM specific, but I just brought my original
> BeagleBone up on the freebsd current image from ftp.freebsd.org.
> 
> While I was pleased to discover that USB was working much better than
> it had on 10.x for disk devices (usb flash drive in this case).  I
> was
> disappointed to discover that attempts to mount the drive at boot
> would
> fail with the drive not being present when fsck started.  
> 
> I tried tagging it as a late file system in fstab and of course
> marked
> it as second to  check after /, but no joy.  The message about da0
> being discovered always came after the fsck failed and I was dropped
> to
> single user mode.
> 
> As a work around I set /dev/ufs/bb64 to noauto and I am running fsck
> on
> it and mounting it from rc.local.
> 
> Is there something obvious I have missed that will permit the fsck to
> happen after the usb bus has been probed?
> 
> -Brett
> 
> _______________________________________________
> freebsd-arm@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org
> "

Set kern.cam.boot_delay="10000" in /boot/loader.conf.  Tune the 10000
as needed, it's delay in milliseconds.

-- Ian





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