Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 1998 12:57:51 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Robert Nordier <rnordier@nordier.com>
Cc:        mike@smith.net.au (Mike Smith), karpen@ocean.campus.luth.se, hackers@FreeBSD.ORG
Subject:   Re: BETA problems... 
Message-ID:  <199810131957.MAA00823@dingo.cdrom.com>
In-Reply-To: Your message of "Sat, 13 Oct 1998 13:04:49 %2B0200." <199810131104.NAA03092@ceia.nordier.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > 
> > 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810131957.MAA00823>