Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2017 14:31:23 -0500
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        wynkoop@wynn.com
Cc:        freebsd-arm@freebsd.org
Subject:   Re: mounting USB drive at boot
Message-ID:  <2793027D-E0AE-45F9-981A-0DCFB0723B06@gromit.dlib.vt.edu>
In-Reply-To: <assp.0213887e71.20170209141437.5c808ca9@pearl>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Feb 9, 2017, at 2:14 PM, 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?


I was having the same problem and found that adding this line to /boot/loader.conf solved the problem for me:

	kern.cam.boot_delay="10000"


That instructs the system to wait 10 seconds during boot to give time for the CAM subsystem probes to complete.

Cheers,

Paul.


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYnMOLAAoJEGsW1DqNux/ZQNAP/0CoFs9425mfski+SGH02FPV
nfzJNZvCwlVm2AdMt+e8bwmgv96/BD5ALxmOeCPsBXIhSh6Cj+DgbiPUc/NEmCv3
SlvMRAqiqz2hpeBm8e4LGl+21RhTCbmIMp2kuqTboxt2/IBmH8zsiWbA7NQmJ1KW
cuOrfN8PGO5bLXiX3HDJSsDneQmudZ/zlbgMteYHKtThw5etRZcodtFbfeZrdNtb
DFOTvluo3TlIaCt+AFfST3kdTFp5eZDLy9T1/fkcoHXvXAgDYeiZxQj6naQtUUq2
lCUpx8MfQg9XfCDBFkYltu6irBs0/Br6szCz5jx1iWAeOVmGqmCGmbt6u+AaF1fg
v36itumnBGxAOjO5kHkMQ+VOhxiVrTnbJLQ7iZ7aIaWII1mI8jJqaNCLdk6vb9C6
mnXm478QiOpxvwQu2xD9yaioqO+xULG2Qnmgmn8mSQERrWogS1w2KjUyzh6i5ym/
PgGLQn0oslh9H0oM0cZ3J/XLX4weu3eKNSvRF20AOnZL6juhCnhrem81WvQiBkbF
iSiMB71bL2g/rVkVtOqcgIKgZf1ko1lVOmdIafFfLIgVo7vEW7HeXQe4dga3UfqE
whhmTde8NWnsJkkMPsnVUwGfL2a8Rq30IAP+ShcgLqF2ZnxT4SPW6ONjoizjHfgz
4y4ESXyGEI+UiDW/K6aa
=Dhm2
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2793027D-E0AE-45F9-981A-0DCFB0723B06>