From owner-freebsd-current@FreeBSD.ORG Fri Apr 17 23:04:00 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4C8A106566B for ; Fri, 17 Apr 2009 23:04:00 +0000 (UTC) (envelope-from marcus@blazingdot.com) Received: from marklar.blazingdot.com (marklar.blazingdot.com [207.154.84.83]) by mx1.freebsd.org (Postfix) with SMTP id 73D8B8FC17 for ; Fri, 17 Apr 2009 23:04:00 +0000 (UTC) (envelope-from marcus@blazingdot.com) Received: (qmail 34033 invoked by uid 503); 17 Apr 2009 23:04:00 -0000 Date: Fri, 17 Apr 2009 16:03:59 -0700 From: Marcus Reid To: Greg 'groggy' Lehey Message-ID: <20090417230359.GA30758@blazingdot.com> References: <49E895CB.2040407@lissyara.su> <20090417213125.GI13564@dereel.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090417213125.GI13564@dereel.lemis.com> X-Coffee-Level: nearly-fatal User-Agent: Mutt/1.5.6i Cc: Alex Keda , freebsd-current@freebsd.org Subject: Re: new usb stack - boot problem from usb hdd X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Apr 2009 23:04:01 -0000 On Sat, Apr 18, 2009 at 07:31:25AM +1000, Greg 'groggy' Lehey wrote: > On Friday, 17 April 2009 at 18:44:27 +0400, Alex Keda wrote: > > After boot, before mount, disk da0 lost, or some partition > > lost/uninitialised > > > > ... > > umass0:0:0:-1: Attached to scbus0 > > da0 at umass-sim0 bus 0 target 0 lun 0 > > da0: Fixed Direct Access SCSI-2 device > > da0: 40.000MB/s transfers > > da0: 76319MB (156301488 512 byte sectors: 255H 63S/T 9729C) > > Trying to mount root from ufs:/dev/da0s1a > > > > Manual root filesystem specification: > > : Mount using filesystem > > eg. ufs:da0s1a > > ? List valid disk boot devices > > Abort manual input > > FWIW, I'm experiencing a similar problem with a USB stick. I get an > error 2 on the device entry (also /dev/da0s1a), followed by a panic > with an incomplete stack backtrace. I'm going to try remote debugging > to get more information; watch this space. There's a thread from a few days ago regarding this with a subject of "Booting from usb hard disk". There is a patch that allows me to boot, but there are still problems (I have to select usb:da0s1a at the manual root filesystem prompt still.) http://people.freebsd.org/~thompsa/root_wait.diff This was committed but then backed out as a less-than-perfect solution. Someone said that setting kern.cam.scsi_delay=10000 in loader.conf (or with option 6 at the boot prompt) helped them, but that was not the case for me. Marcus