Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 1998 13:04:49 +0200 (SAT)
From:      Robert Nordier <rnordier@nordier.com>
To:        mike@smith.net.au (Mike Smith)
Cc:        karpen@ocean.campus.luth.se, hackers@FreeBSD.ORG
Subject:   Re: BETA problems...
Message-ID:  <199810131104.NAA03092@ceia.nordier.com>
In-Reply-To: <199810130120.SAA01157@dingo.cdrom.com> from Mike Smith at "Oct 12, 98 06:20:39 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Smith wrote:
> > I just tried to install the newest BETA on current.freebsd.org on a
> > friend's computer. It worked, let's say, less then satisfactory. Somehow
> > the installation got messed up, but the main problem was that he had two
> > IDE drives. Both set to master, on separate comntrollers. On wd0 he had
> > Window and on wd2 he wanted FreeBSD... That, however, was not much to
> > FreeBSD's liking.
> > 
> > At the "boot:" prompt, it would find the kernel at bios unit 1, but for
> > some inane reason it fails to recognize that the disk is NOT wd1, but wd2.
> > So you would manually have to enter "1:wd(2,a)kernel" or it would assume
> > "1:wd(1,a)kernel", and panic when trying to mount root. Why is this, and
> > shouldn't it be fixed?
> >
> > _Is_ it fixed in new boot code, perhaps?
> 
> No.  It's almost impossible to get the distinction right. 
> 
> 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...|

This is on my list of things to test in the new boot2.

-- 
Robert Nordier

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?199810131104.NAA03092>