Date: Thu, 9 Feb 2017 21:58:57 +0200 From: Konstantin Belousov <kostikbel@gmail.com> To: Ian Lepore <ian@freebsd.org> Cc: wynkoop@wynn.com, freebsd-arm@freebsd.org Subject: Re: mounting USB drive at boot Message-ID: <20170209195857.GQ2092@kib.kiev.ua> In-Reply-To: <1486669059.10020.220.camel@freebsd.org> References: <assp.0213887e71.20170209141437.5c808ca9@pearl> <1486669059.10020.220.camel@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 09, 2017 at 12:37:39PM -0700, Ian Lepore wrote: > 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. Right solution after r313350 is to set vfs.root_mount_always_wait=1 loader tunable. The knob should be merged to 11 in two weeks.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170209195857.GQ2092>