Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Mar 2016 19:22:05 +0100
From:      Sylvain Garrigues <sylgar@gmail.com>
To:        Ian Lepore <ian@freebsd.org>
Cc:        bob prohaska <fbsd@www.zefox.net>, freebsd-arm@FreeBSD.org
Subject:   Re: [Bug 208308] Adding USB flash drive to fstab kills ue0 on Raspberry Pi 2
Message-ID:  <F50B0604-C186-4EB1-BDA0-523C7ED205B4@gmail.com>
In-Reply-To: <1459016044.1091.107.camel@freebsd.org>
References:  <bug-208308-7@https.bugs.freebsd.org/bugzilla/> <20160326180748.GG86944@www.zefox.net> <1459016044.1091.107.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I fixed the same problem using the =E2=80=98late=E2=80=99 mount option =
in /etc/fstab.


> Le 26 mars 2016 =C3=A0 19:14, Ian Lepore <ian@freebsd.org> a =C3=A9crit =
:
>=20
> On Sat, 2016-03-26 at 11:07 -0700, bob prohaska wrote:
>> I'd like to confirm mischief when trying to add a flash device to
>> /etc/fstab,
>> though the symptoms I observed were slightly different. I'm using the
>> latest
>> snapshot, I think it's dated March 8.
>>=20
>> After adding a /usr partition to /etc/fstab and rebooting it appeared
>> that
>> the system was trying to mount filesystems before /dev was populated,
>> reporting
>> that the device file wasn't found and going to single-user. Once in
>> single-user,
>> the device file existed and could be mounted. Attempts to add a
>> "late" option
>> didn't seem to help, eventually I gave up and rewrote the image to
>> start over,
>> thinking I'd made a mistake. Maybe not....or else I have company 8-)
>> Unfortunately
>> I didn't save the console messages.
>>=20
>>=20
>> This bug report seems to imply use of the video console, and IIRC, I
>> saw
>> the same output on the monitor, though I wasn't paying close
>> attention=20
>> to it.
>>=20
>> The system is now running buildworld of R297293 using hand-mounted
>> /usr
>> and swap. It's on the same SanDisk Extreme 32 GB flash drive. If
>> there's
>> a particular snapshot or revision that's worth trying please post.
>>=20
>> Thanks for reading,
>>=20
>> bob prohaska
>=20
> Normally the boot process waits only for the root filesystem device to
> appear.  You might try adding an unconditional boot delay to
> /boot/loader.conf, to give time for usb devices to arrive, like
>=20
> kern.cam.boot_delay=3D"10000"
>=20
> The number is delay in milliseconds.
>=20
> -- Ian
>=20
> _______________________________________________
> freebsd-arm@freebsd.org <mailto:freebsd-arm@freebsd.org> mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm =
<https://lists.freebsd.org/mailman/listinfo/freebsd-arm>;
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org =
<mailto:freebsd-arm-unsubscribe@freebsd.org>"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F50B0604-C186-4EB1-BDA0-523C7ED205B4>