Subject: Re: Incorrectly determined root partition in latest kernel
To: Michael L. Hitch <mhitch@lightning.msu.montana.edu>
From: Simon Burge <simonb@netbsd.org>
List: port-pmax
Date: 02/24/2000 10:28:00
"Michael L. Hitch" wrote:

> On Wed, 23 Feb 2000, NetBSD Mailing list wrote:
> 
> > FYI, booting is exhibited as: boot -f rz(0,0)/netbsd
> 
>   Whoops - now I think I see what is going on:
> 
>   The bug in the code was extracting the boot device information if it
> started with "rz(", but did *not* have the correct format for the rest of
> the string.  It was taking the '/' as the partition, which resulted in -1
> as the partition value.  That would be masked to 7, which corresponds to
> 'h'.  The old parsing code looks like it would have accepted rz(0,0), and
> defaulted the partition to 0, which is partition 'a'.

FWIW, I've always used

	boot -f rz()netbsd

on my 3100 and 5100 for kernel testing (less typing!) since the
controller, device and partition all default to 0.  I haven't tried
either of these machines since Toru's recent makebootdev() changes.

Simon.