From owner-freebsd-current@FreeBSD.ORG Tue Mar 24 08:50: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 EE814106564A for ; Tue, 24 Mar 2009 08:50:00 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 9AACD8FC12 for ; Tue, 24 Mar 2009 08:50:00 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from [192.168.1.156] (adsl-1-207-58.bna.bellsouth.net [65.1.207.58]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n2O8mZvD018607 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 24 Mar 2009 04:48:35 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Nenhum_de_Nos In-Reply-To: References: <1237804575.1771.7.camel@balrog.2hip.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ufgED6cs1kXmznRR0gSS" Organization: FreeBSD Date: Tue, 24 Mar 2009 03:49:32 -0500 Message-Id: <1237884572.1771.28.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-current@freebsd.org Subject: Re: Booting from usb hard disk 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: Tue, 24 Mar 2009 08:50:01 -0000 --=-ufgED6cs1kXmznRR0gSS Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2009-03-23 at 19:40 -0300, Nenhum_de_Nos wrote: > On Mon, March 23, 2009 07:36, Robert Noland wrote: > > So I have my i386 install on a usb hard disk, which I can only boot on > > one machine now. The one machine that I can make work has a bios optio= n > > that reads "BIOS ehci handoff". This used to work with the old usb > > stack. The machines that it doesn't work on, boot the kernel, but fail > > to mount root, giving me the forbidding mountroot> prompt, which is > > immediately followed by the message saying that da0 is attached. da0 i= s > > however not listed in the available boot devices list. I tried playing > > around with the timeout in vfs_mount.c, but that didn't seem to have an= y > > impact. It has been suggested that this may be a "geom" timeout, but I > > don't know anything about the boot system really. >=20 > I had problem a while ago with via mini itx hardware, that was quite > close. If I try boot from usb (installed in usb hdd), I get to the point > of loader not finding my disk. >=20 > I then used a small flash disk attached to the ata (44 pin ide) channel > and formatted /boot in there. this way I get to the point of mount root > you said, and da0 not being alive soon enough to mount root. list disks > also couldn't find da0 though. >=20 > I tried current from that time, and no good. >=20 > if this is solved, I'll be happy to try whatever patch to current. (as > long as I can install it from another box/or its ata channel, as it can't > boot vanilla 7.1R) So, my solution was to set kern.cam.scsi_delay=3D10000 in /boot/loader.conf You can hit 6 from the boot menu and set it manually the first time. robert. > matheus >=20 --=20 Robert Noland FreeBSD --=-ufgED6cs1kXmznRR0gSS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEABECAAYFAknInpwACgkQM4TrQ4qfROML/ACcC2d45/zP1GSjJwSta3y0HuwV WrsAn18y4ApeNv5S/KZeyDw6s9yRKMWX =k5Ex -----END PGP SIGNATURE----- --=-ufgED6cs1kXmznRR0gSS--