Subject: Re: hp300 miniroot bug in NetBSD-3.0
To: None <Juha.Laiho@iki.fi>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-hp300
Date: 06/05/2006 01:55:49
Juha.Laiho@iki.fi wrote:

> Thanks for everyone who made NetBSD
> working on hp300 systems again!

I'm glad to see that there are certain people whe are still running
NetBSD/hp300. :-)

> One 'gotcha' I had during the install was that miniroot didn't
> list any disk on which to install. This appeared to be due to
> a bug on the install.md script on the miniroot image - looks like
> there has been a kernel change that should've been mirrored in
> the install.md, but wasn't.

Well, to be honest, miniroot has not been tested for long time.
(there are too many hp300 specific descriptions in install.md script
 and I don't have idea how I should fix it properly...)

Maybe sysinst based RAMDISK kernel (which can be booted by SYS_UBOOT
via NFS) is recommended. The install document should also be updated,
but any help will be appreciated ;-)

> Patch:
> --- install.md.orig     2006-06-04 16:28:43.000000000 +0300
> +++ install.md  2006-06-04 16:34:31.000000000 +0300
> @@ -77,7 +77,7 @@
>  md_get_diskdevs() {
>         # return available disk devices
>         dmesg | awk -F : '/^rd[0-9]*:./ { print $1; }' | sort -u
> -       dmesg | awk -F : '/^sd[0-9]*:.*cylinders/ { print $1; }' | sort -u
> +       dmesg | awk -F : '/^sd[0-9]*:.*sectors/ { print $1; }' | sort -u
>  }
> 
>  md_get_cddevs() {

Ah, it's a fallout on MI SCSI migration.
I've committed it, thanks.
---
Izumi Tsutsui