From owner-freebsd-usb@FreeBSD.ORG Thu Jul 15 15:22:13 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 3638E106564A for ; Thu, 15 Jul 2010 15:22:13 +0000 (UTC) (envelope-from jamescarmstrong@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id DB42A8FC16 for ; Thu, 15 Jul 2010 15:22:12 +0000 (UTC) Received: by gyd8 with SMTP id 8so814344gyd.13 for ; Thu, 15 Jul 2010 08:22:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=WJiGzmiMBvOzBkp/8FlMkGsbQB7KlwkiMvwAXy99rRk=; b=JxzjuVNF+fVHGJ7xbPGgIvlpmJCC7aj9NK8aav52tne0NmqlYpZlzxO6Kjsf3hmZ2w lhQvldEekNv7ghHVpY1kPX+8xk+c160GNGesvcF3vwkgLCzWI5ln6IZEx4xIGo5w8X3q OeZH98C5Gk8cGQyA4UwM+Hse5osGY9sv5ErtU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gx7i+iFLoYVJFj4m5Y5Sg2BdYd8TSZbfI+DfVR0ugxvP+1XfHO52puZHrG3juvMx4I JC4unVl1O/w2p2tOTDzhVcTXYTnENmKh1jzufcZZaqbdy3fUhTjl3aGL1TDL0OcIYba9 N7Nsftf1TnqcLMl3RS3aMe42jvk2iF2FNJX6g= MIME-Version: 1.0 Received: by 10.150.202.9 with SMTP id z9mr33902ybf.3.1279207331925; Thu, 15 Jul 2010 08:22:11 -0700 (PDT) Received: by 10.150.157.9 with HTTP; Thu, 15 Jul 2010 08:22:11 -0700 (PDT) In-Reply-To: <201007151717.00355.hselasky@c2i.net> References: <201007151717.00355.hselasky@c2i.net> Date: Thu, 15 Jul 2010 08:22:11 -0700 Message-ID: From: James Armstrong To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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:22:13 -0000 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.