From owner-freebsd-usb@FreeBSD.ORG Thu Jul 15 15:25:09 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA940106566B for ; Thu, 15 Jul 2010 15:25:09 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 397E58FC17 for ; Thu, 15 Jul 2010 15:25:08 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Nj4mdrGlPVEA:10 a=mI6YO6ZdSLUA:10 a=Q9fys5e9bTEA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=8kQB0OdkAAAA:8 a=m3EFQTg9c4VNXeDnRY0A:9 a=gPWf6tcm2ldcFJtzvZH07TSZ1aMA:4 a=PUjeQqilurYA:10 a=9aOQ2cSd83gA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 640905954; Thu, 15 Jul 2010 17:25:07 +0200 From: Hans Petter Selasky To: James Armstrong Date: Thu, 15 Jul 2010 17:22:12 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.1-PRERELEASE; KDE/4.4.5; amd64; ; ) References: <201007151717.00355.hselasky@c2i.net> In-Reply-To: X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201007151722.12083.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Unable to boot off USB Drive X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2010 15:25:09 -0000 On Thursday 15 July 2010 17:22:11 James Armstrong wrote: > On Thu, Jul 15, 2010 at 08:17, Hans Petter Selasky 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