From owner-freebsd-arm@freebsd.org Sat Mar 26 18:40:29 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58072ADE2B7 for ; Sat, 26 Mar 2016 18:40:29 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3D5131680 for ; Sat, 26 Mar 2016 18:40:28 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 3ba6afa3-f382-11e5-9036-c33267960ba8 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Sat, 26 Mar 2016 18:40:37 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u2QIeJuS022298; Sat, 26 Mar 2016 12:40:19 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1459017619.1091.109.camel@freebsd.org> Subject: Re: [Bug 208308] Adding USB flash drive to fstab kills ue0 on Raspberry Pi 2 From: Ian Lepore To: Sylvain Garrigues Cc: freebsd-arm@FreeBSD.org Date: Sat, 26 Mar 2016 12:40:19 -0600 In-Reply-To: References: <20160326180748.GG86944@www.zefox.net> <1459016044.1091.107.camel@freebsd.org> Content-Type: text/plain; charset="iso-2022-jp" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Mar 2016 18:40:29 -0000 On Sat, 2016-03-26 at 19:22 +0100, Sylvain Garrigues wrote: > I fixed the same problem using the ‘late’ mount option in /etc/fstab. > 'late' doesn't imply waiting, it just means it happens later in the rc scripts. no g'tee that any new devices have appeared between early and late mounting, but if you're lucky maybe it usually works. Maybe we need a specific devwait script, similar to netwait (which really needs to be split into two scripts, netif_wait and netip_wait). -- Ian > > > Le 26 mars 2016 19:14, Ian Lepore a crit : > > > > 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. > > > > > > 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. > > > > > > > > > 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 > > > to it. > > > > > > 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. > > > > > > Thanks for reading, > > > > > > bob prohaska > > > > 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 > > > > kern.cam.boot_delay="10000" > > > > The number is delay in milliseconds. > > > > -- Ian > > > > _______________________________________________ > > 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 > freebsd-arm-unsubscribe@freebsd.org>" > > _______________________________________________ > 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 > " >