KIYOHARA Takashi | 26 Sep 2011 14:34
Picon

PegasosII can't boot

Hi! Frank,

My PegasosII can't find root on latest -current.
Maybe after this commit.

http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/ofppc/ofppc/disksubr.c.diff?r1=1.22&r2=1.23&only_with_tag=MAIN&f=h

My partition of HDD created 4 partitions on RDB with MorphOS.

  | FFS(AmigaDOS?) | SFS        | Custom     | DOS        |
  | 0x444f5301     | 0x53465300 | 0x4e444f53 | 0x4d534400 |
                                 ^^^^^^^^^^^^
    MorphOS                       NetBSD

MorphOS can't create these partitions.

-- disklabel_rdb.h --
#define DOST_NBR        0x4e425200      /* 'NBRx' NetBSD root partition */
#define DOST_NBS        0x4e425300      /* 'NBS0' NetBSD swap partition */
#define DOST_NBU        0x4e425500      /* 'NBUx' NetBSD user partition */

What should I do?

Thanks,
--
kiyohara

Frank Wille | 26 Sep 2011 15:50
Picon

Re: PegasosII can't boot

On Mon, 26 Sep 2011 21:34:23 +0900 (JST)
KIYOHARA Takashi <kiyohara <at> kk.iij4u.or.jp> wrote:

> My PegasosII can't find root on latest -current.
> Maybe after this commit.
> 
> http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/ofppc/ofppc/disksubr.c.diff?r1=1.22&r2=1.23&only_with_tag=MAIN&f=h

I don't hope so.
I spend some time to test my changes with an RDB and an MBR installation.

> My partition of HDD created 4 partitions on RDB with MorphOS.
> 
>   | FFS(AmigaDOS?) | SFS        | Custom     | DOS        |
>   | 0x444f5301     | 0x53465300 | 0x4e444f53 | 0x4d534400 |
>                                  ^^^^^^^^^^^^
>     MorphOS                       NetBSD

0x4e444f53 = "NDOS". This is not a valid NetBSD partition.
Did that really work before my last changes? It shouldn't. :)

> MorphOS can't create these partitions.
> 
> -- disklabel_rdb.h --
> #define DOST_NBR        0x4e425200      /* 'NBRx' NetBSD root partition */
> #define DOST_NBS        0x4e425300      /* 'NBS0' NetBSD swap partition */ 
> #define DOST_NBU        0x4e425500      /* 'NBUx' NetBSD user partition */

Why can't it create these partition? I could create them.

(Continue reading)

KIYOHARA Takashi | 27 Sep 2011 18:18
Picon

Re: PegasosII can't boot

Hi! Frank,

From: Frank Wille <frank <at> phoenix.owl.de>
Date: Mon, 26 Sep 2011 15:50:37 +0200

> On Mon, 26 Sep 2011 21:34:23 +0900 (JST)
> KIYOHARA Takashi <kiyohara <at> kk.iij4u.or.jp> wrote:
> 
> > My PegasosII can't find root on latest -current.
> > Maybe after this commit.
> > 
> > http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/ofppc/ofppc/disksubr.c.diff?r1=1.22&r2=1.23&only_with_tag=MAIN&f=h
> 
> I don't hope so.
> I spend some time to test my changes with an RDB and an MBR installation.
> 
> 
> > My partition of HDD created 4 partitions on RDB with MorphOS.
> > 
> >   | FFS(AmigaDOS?) | SFS        | Custom     | DOS        |
> >   | 0x444f5301     | 0x53465300 | 0x4e444f53 | 0x4d534400 |
> >                                  ^^^^^^^^^^^^
> >     MorphOS                       NetBSD
> 
> 0x4e444f53 = "NDOS". This is not a valid NetBSD partition.
> Did that really work before my last changes? It shouldn't. :)

Yes I did.
NetBSD disklabel and a,h,i part exists on Custom(0x4e444f53) partition.

(Continue reading)


Gmane