From owner-freebsd-hackers Tue Oct 13 12:54:34 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10660 for freebsd-hackers-outgoing; Tue, 13 Oct 1998 12:54:34 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA10649 for ; Tue, 13 Oct 1998 12:54:32 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id MAA00823; Tue, 13 Oct 1998 12:57:52 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199810131957.MAA00823@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Robert Nordier cc: mike@smith.net.au (Mike Smith), karpen@ocean.campus.luth.se, hackers@FreeBSD.ORG Subject: Re: BETA problems... In-reply-to: Your message of "Sat, 13 Oct 1998 13:04:49 +0200." <199810131104.NAA03092@ceia.nordier.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Oct 1998 12:57:51 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > > The difficulty lies in working out which physical drives the BIOS > > numbers correspond to. Unless you have a *very* new system, there is > > simply no way to know that the BIOS drive 0x81 is in fact wd2. In > > order for this to work, the user has to provide the missing data, > > either by typing 1:wd(2a)kernel every time (tedious) or putting it in > > /boot.config. > > Any reason we can't pick this up from d_typename? > > 00000200 57 45 56 82 05 00 00 00 77 64 30 73 32 00 00 00 |WEV.....wd0s2...| You lose if the disk has been moved. > This is on my list of things to test in the new boot2. The loader will (probably) have a better chance at this; it should be feasible to work out the number of units on each IDE controller either from the available PnP data or (*shudder*) by poking at them. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message