From owner-freebsd-stable@FreeBSD.ORG Fri Jan 12 17:37:32 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 716A616A40F; Fri, 12 Jan 2007 17:37:32 +0000 (UTC) (envelope-from jrhett@svcolo.com) Received: from kininvie.sv.svcolo.com (kininvie.sv.svcolo.com [64.13.135.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5AAB613C480; Fri, 12 Jan 2007 17:37:32 +0000 (UTC) (envelope-from jrhett@svcolo.com) Received: from [10.66.240.106] (public-wireless.sv.svcolo.com [64.13.135.30]) (authenticated bits=0) by kininvie.sv.svcolo.com (8.13.8/8.13.4) with ESMTP id l0CHbWTM003646; Fri, 12 Jan 2007 09:37:32 -0800 (PST) (envelope-from jrhett@svcolo.com) In-Reply-To: <200701121216.25185.jhb@freebsd.org> References: <200701121025.15555.jhb@freebsd.org> <45A7AF93.1010803@svcolo.com> <200701121216.25185.jhb@freebsd.org> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <1D170045-5A43-4C93-AFDC-19C44CEDB0F5@svcolo.com> Content-Transfer-Encoding: 7bit From: Jo Rhett Date: Fri, 12 Jan 2007 09:37:24 -0800 To: John Baldwin X-Mailer: Apple Mail (2.752.2) X-Spam-Score: undef - SENDER Whitelisted (jrhett@svcolo.com: Mail from user authenticated via SMTP AUTH allowed always) X-CanItPRO-Stream: default X-Canit-Stats-ID: 43955 - 35a9873af36d X-Scanned-By: CanIt (www . roaringpenguin . com) on 64.13.135.12 Cc: freebsd-stable@freebsd.org Subject: Re: any real documentation of the boot2 prompt? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2007 17:37:32 -0000 Okay, let me make this really clear. My BIOS doesn't tell me which drive is which, and the BIOS of the 3ware card doesn't tell me what number the drive is going to be labeled either. I need some command I can run from the freebsd CD to tell me what freebsd observes. Like I mentioned before, lsdev only showed me a single drive. On Jan 12, 2007, at 9:16 AM, John Baldwin wrote: > On Friday 12 January 2007 10:56, Jo Rhett wrote: >> John Baldwin wrote: >>> A BIOS driver number is the number you pass to the BIOS to access >>> a drive. >>> Typically drive 0x0 is a floppy drive and hard drives start at 0x80. >>> Usually the SCSI BIOS will list the BIOS driver number during the >>> POST >>> messages and it will look like 80, 81, etc. There is no standard >>> way >>> as it is at the BIOS' discretion. >> >> How do I determine this? It doesn't list them during boot. > > To some extent you are at the mercy of your BIOS writers, yes it > sucks, and > this why I like things like EFI and OpenFirmware over BIOS. > >> Say I boot off the CD, is there any commands I can use to >> determine what >> the BIOS numbers are? They are da0 and da1 to freebsd. > > You can try using 'lsdev' in the loader from the CD. If a disk is > called A: > in the loader printfs it's drive 0, if it's C: it's drive 0x80, D: > drive 0x81 > (the drive letters may only be mentinoed in the printfs at teh > start of the > loader and not in lsdev, can't recall). > >>> To answer your question: you need to first make sure your SCSI >>> BIOS is >>> registering your second disk with the BIOS. Assuming it's mapped as >>> drive 81, you can then use '1:da(1,a)'. If it shows up as drive >>> 82, then >>> use 2:da(1,a)', etc. >> >> How does one do so? > > It would have to be in your SCSI adapter's BIOS. They tend to have > a BIOS > setup you can enter during boot before the OS loads and you would > have to > poke around in there. > > -- > John Baldwin > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable- > unsubscribe@freebsd.org" -- Jo Rhett senior geek Silicon Valley Colocation