From owner-freebsd-current@FreeBSD.ORG Mon Mar 23 23:46:22 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 3C5C31065785; Mon, 23 Mar 2009 23:46:22 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5965F8FC1A; Mon, 23 Mar 2009 23:46:20 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by ewy19 with SMTP id 19so1625770ewy.43 for ; Mon, 23 Mar 2009 16:46:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=1MyKk2tw5usd2R12CpyTq6zjCTbs6kHDC7iXlObDnuc=; b=iOJoL345eBtylFiCjw9dWcfx6DW6dqdfxdxltXJL6BlriaiDdxIyHwVkmZ6ck8s5t3 sMPghp1N1gCHPlSqrterRxd4pk5OvY/QeJCaorc8xdzBrUVl10NDhQh/JC0E5zBWyYz/ Uc5FEStjMKEe28+7eMbLx922pxO5VKuXgm380= 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:content-transfer-encoding; b=qY7TdzBNu4qYF6tarrHqm+MK1sbpa9Hp77h+w38edLwEpbtcdWySlvcPGEOYgmZ+XU u4fOVBtGHAJNWBxcw6RBqdmphTd4nfH/CQUytNEBBonG/yoGgd5nMoxvccAcwheULZal follwTmsQYno/8fcMV0kvHCU6vkhQ/czI+iww= MIME-Version: 1.0 Received: by 10.210.21.6 with SMTP id 6mr2689724ebu.63.1237851980320; Mon, 23 Mar 2009 16:46:20 -0700 (PDT) In-Reply-To: <1237829409.1771.13.camel@balrog.2hip.net> References: <200903231541.n2NFfP6f002755@monk.cnd.dundas.on.ca> <1237829409.1771.13.camel@balrog.2hip.net> Date: Tue, 24 Mar 2009 00:46:20 +0100 Message-ID: <3a142e750903231646x165d2bf2jcac4c6ca2c83702c@mail.gmail.com> From: "Paul B. Mahol" To: Robert Noland Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Douglas Berry , freebsd-current 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: Mon, 23 Mar 2009 23:46:25 -0000 On 3/23/09, Robert Noland wrote: > On Mon, 2009-03-23 at 11:41 -0400, Douglas Berry wrote: >> On Mon, 23 Mar 2009 05:36:15 CDT, 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 >> > option 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 is 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 any impact. It has been >> > suggested that this may be a "geom" timeout, but I don't know >> > anything about the boot system really. >> >> I have been using tunefs(8) labeled partitions on my usb hard disk >> under CURRENT. I changed the fstab entries to match the labels >> (eg. assume mylabel is myroot, /dev/da0s1a becomes /dev/ufs/myroot) >> It works well on most systems. On some systems, I see the symptom >> you show, but I am saved by the labels showing up just after the >> mountroot prompt. I am then able to type >> >> ufs:/dev/ufs/myroot >> >> and resume the boot. Maybe this helps you? > > Well, I haven't tried labeling the partitions, but ufs:/dev/da0s1a > doesn't work from the rootmount> prompt. Even after da0 shows up. That is strange, I just recently have used one of usb sticks (256MB) to fix stupid sysinstall error. In my case da0 appeared after some delay but usual da0s1a appeared after ? and I was able to mount root partition multiple times. I used usb via modules, on i386 revision r190297, with "boot -s" (I hacked fbsd installation on stick because I didnt have time for fine details ....) Could try just with uhci (but it will be too sloow) -- Paul