From owner-freebsd-current@FreeBSD.ORG Tue Mar 24 00:12:13 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 6EE521065673 for ; Tue, 24 Mar 2009 00:12:13 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1303E8FC25 for ; Tue, 24 Mar 2009 00:12:12 +0000 (UTC) (envelope-from matheusber@gmail.com) Received: by qw-out-2122.google.com with SMTP id 9so1118490qwb.7 for ; Mon, 23 Mar 2009 17:12:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:received :message-id:in-reply-to:references:date:subject:from:to:user-agent :mime-version:content-type:content-transfer-encoding:x-priority :importance; bh=/t1FNkMoIk1bt6ry9mLcIxt6OrfE4ip3YBjheQ+UqdM=; b=Ak1+Eo1cBa+RsX08XFCKWEgJT9Vlndoj8mEZ2ImkERfDfDoDoYaTi/YjbdbAl5O2Y+ nW6Lv34n2UJnYr++eIwScT01w7LAV0thqVNlkQTGhJLkNCV1TvgCtwPlv0CnOVL11VHC kP1HiTU6Jt/jlb338gNrwMEIa4+u68dl0QNNE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:in-reply-to:references:date:subject:from:to :user-agent:mime-version:content-type:content-transfer-encoding :x-priority:importance; b=BUJF4sdYE6Mg3nDb52AFNb+OPSwAVQhu+FCF6aDGWwBEnjURd0a+8HYzhip4U1lMAm m2uusG5vSBAdFKW9JVWUfxxPhsUXJ/042opQaU/Ux84VEXHvu0y2EwYbZB0G9JITobav aqPKXTyylNv0ksRRN1HwGcR+x2+CuxRyw3YlY= Received: by 10.224.45.77 with SMTP id d13mr9868147qaf.153.1237853532426; Mon, 23 Mar 2009 17:12:12 -0700 (PDT) Received: from cygnus.homeunix.com ([189.71.18.191]) by mx.google.com with ESMTPS id 33sm1079101yxr.37.2009.03.23.17.12.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 23 Mar 2009 17:12:12 -0700 (PDT) Sender: Nenhum_de_Nos Received: by cygnus.homeunix.com (Postfix, from userid 80) id 0A762B8074; Mon, 23 Mar 2009 21:12:06 -0300 (BRT) Received: from 189.92.17.177 (SquirrelMail authenticated user matheus) by cygnus.homeunix.com with HTTP; Mon, 23 Mar 2009 21:12:06 -0300 (BRT) Message-ID: <800e97aebad7e157c6b31466447501f7.squirrel@cygnus.homeunix.com> In-Reply-To: <3a142e750903231646x165d2bf2jcac4c6ca2c83702c@mail.gmail.com> References: <200903231541.n2NFfP6f002755@monk.cnd.dundas.on.ca> <1237829409.1771.13.camel@balrog.2hip.net> <3a142e750903231646x165d2bf2jcac4c6ca2c83702c@mail.gmail.com> Date: Mon, 23 Mar 2009 21:12:06 -0300 (BRT) From: "Nenhum_de_Nos" To: freebsd-current@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal 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 00:12:13 -0000 On Mon, March 23, 2009 20:46, Paul B. Mahol wrote: > 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) how can I make it use this module and not another ? (how to force) matheus -- We will call you cygnus, The God of balance you shall be