Date: Thu, 15 Jul 2010 17:22:12 +0200 From: Hans Petter Selasky <hselasky@c2i.net> To: James Armstrong <jamescarmstrong@gmail.com> Cc: freebsd-usb@freebsd.org Subject: Re: Unable to boot off USB Drive Message-ID: <201007151722.12083.hselasky@c2i.net> In-Reply-To: <AANLkTinzJFsl81yyXoN-5Gbrh9OdHiT2cuAsSWalvvqw@mail.gmail.com> References: <AANLkTimY9E6dlW0SWM6WM3OxvFnBJ2U85aRwAyecrQYU@mail.gmail.com> <201007151717.00355.hselasky@c2i.net> <AANLkTinzJFsl81yyXoN-5Gbrh9OdHiT2cuAsSWalvvqw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 15 July 2010 17:22:11 James Armstrong wrote: > On Thu, Jul 15, 2010 at 08:17, Hans Petter Selasky <hselasky@c2i.net> wrote: > > On Thursday 15 July 2010 15:49:37 James Armstrong wrote: > > > We're trying to boot a machine off a USB drive, and it looks like we're > > > getting a race condition. After going through post, we get the message > > > "FAILED TO MOUNT ROOT" and we enter the mountroot command screen, but > > > amidst that screen, we also get the post message identifying the disk, > > > with the notation that it has a 40.00000MB transfer speed. > > > > > > At the mountroot prompt, entering "ufs:/dev/da0s1a" properly boots. > > > > > > It looks to me like the system is trying to mount root before the USB > > > drivers finish identifying all the devices, including the disk from > > > which we are booting. > > > > > > Have any of you seen this? Any suggestions on how we can correct this? > > > (As an interim, we're going to move the boot to a SATA drive, but we > > > want to use all the SATA ports for other purposes, so this means we're > > > sacrificing a SATA device.) > > > > Try to set this tunable to 5000, for example. > > > > kern.cam.boot_delay: 0 > > This was one of the first things we tried (set at 10000). No joy. How did you set this variable? It should work. Do you see a 10 second delay at boot before mountroot? --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007151722.12083.hselasky>