From owner-freebsd-arm@freebsd.org Sat Mar 26 18:14:09 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 9520BADED01 for ; Sat, 26 Mar 2016 18:14:09 +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 76ED9133D for ; Sat, 26 Mar 2016 18:14:09 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 91a39bd7-f37e-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:14:23 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u2QIE4qH022215; Sat, 26 Mar 2016 12:14:04 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1459016044.1091.107.camel@freebsd.org> Subject: Re: [Bug 208308] Adding USB flash drive to fstab kills ue0 on Raspberry Pi 2 From: Ian Lepore To: bob prohaska Cc: freebsd-arm@FreeBSD.org Date: Sat, 26 Mar 2016 12:14:04 -0600 In-Reply-To: <20160326180748.GG86944@www.zefox.net> References: <20160326180748.GG86944@www.zefox.net> Content-Type: text/plain; charset="us-ascii" 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:14:09 -0000 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