Subject: Re: Unable to boot from Mylex RAID card
To: Makoto Fujiwara <makoto@ki.nu>
From: Daniel Eggert <danieleggert@mac.com>
List: port-macppc
Date: 09/04/2002 05:46:08
On Wednesday, Sep 04, 2002, at 01:00PM, Makoto Fujiwara <makoto@ki.nu> wrote:

<snip>

>I would type just
>  0 > boot /pci1/dac960/sd@8:0
>                            ==

Actually I'm mistaken, the right one is
   boot /bandit/dac960:D/sd@8:0

<snip>

>So please do the installboot manually.
>Unfortunately (at lease to me) the installboot has been changed
>from 1.5 to 1.6, you have to be carefull.
>
>What I did recently, was:
>-------------------------------------
># cd to /usr/mdec
># umount /dev/wd0a
># installboot -v -t ffs /dev/rwd0a bootxx /boot
>File system:         /dev/rwd0a
>File system type:    ffs (blocksize 8192, needswap 0)
>Primary bootstrap:   bootxx
>Secondary bootstrap: /boot
>Bootstrap start sector: 4
>Bootstrap byte count:   1764
>Bootstrap block table:  118 entries of 8192 bytes available, 8 used: 2128 2144 2160 2176 2192 2208 2224 2106
>Writing bootstrap
>-------------------------------------
>(installboot = /usr/sbin/installboot,
>Ok you have not booted yet, just boot from CD and do
>the equivalent work of above. probably starting with
>
>mount /dev/sd0a /mnt
>mount /dev/sd0d /mnt/usr
>cd /mnt/usr/mdec
>./installboot ......

Thanks for pointing this out. I don't want to mount the ld0 device while running installboot(8), so here's what I did:
  (boot from cd)
  (create device nodes for ld0a-h and rld0a-h)
  # mount /dev/ld0a /mnt
  # cp /usr/mdec/ofwboot /mnt/boot
  # umount /dev/ld0a
  # cd /usr/mdec     (the dir on the CD)
  # /usr/sbin/installboot -v -t ffs /dev/rld0a bootxx /boot
  # reboot

But when I try to boot from Open Firmware I get.

  0 > boot /bandit/dac960:D/sd@8:0
  /bandit/dac960:D/sd@8:0
  
  DAC960P Bios version 1.00    October 17, 95
  Mylex Corporation
  DAC960 Firmware Version 2.44
  DAC960 Memory = 4Mbytes(EDRAM)
  1 system drive installed
  
  OF_open bootpath=/bandit/dac960
  read stage 2 blocks: 01234567. done!
  starting stage 2...
  DEFAULT CATCH!, code=FFF007==
   ok
  0 >

It seems like it's loading something (maybe the bootxx?) but then gets stuck (before loading /boot?).

Thanks in advance,
Daniel