Subject: Re: Booting a PowerBook 2400 for install
To: Bryan Vyhmeister <bsd@hub3.net>
From: Daniel Eggert <danieleggert@mac.com>
List: port-macppc
Date: 11/14/2002 03:09:39
Hi Bryan,

We've all been truogh these initial booting problems. Once you figure it out, it's not so bad, though. I hope the following helps:

On Wednesday, Nov 13, 2002, at 11:35PM, Bryan Vyhmeister <bsd@hub3.net> wrote:

>I just got a PowerBook 2400 and I want to install NetBSD 1.6. I don't 
>have the floppy drive yet. It is coming in about a week. I want to 
>install NetBSD as soon as possible.
>
>I have an old 4x CD-R drive in an external scsi case that I have been 
>trying to boot from. I can't seem to get it to work. I have the 
>NetBSD/macppc CD-R in the drive and I issue the following commands and 
>get the following errors.
>
>I entered:
>
>boot scsi/sd@3:0 NETBSD.MACPPC

You (most likely) need to enter:
  boot scsi/sd@3:0,\OFWBOOT.XCF
or
  boot scsi/sd@3:0,\ofwboot.xcf

If you want to, you can append the kernel name (netbsd.macppc) as follows:
  boot scsi/sd@3:0,\OFWBOOT.XCF NETBSD.MACPPC
or
  boot scsi/sd@3:0,\ofwboot.xcf netbsd.macppc


>and I got:
>
>DEFAULT CATCH!, code=FFF00700 at  %SRR0: 00004000  %SRR1: 00083070
>
>I wondered what was going on so I tried this:
>
>dev scsi
>ls
>
>And I got:
>
>FF8354B8: /sd@0,0
>FF8360A0: /st@0,0
>
>This would seem to indicate that the CD-R drive is not being recognized 
>by Open Firmware since it is at scsi ID 3. Is that correct?

No, this is something different. The
  ls
command in open firmware shows you the content of the open firmware device tree, _not_ the content of the device itself. So you just see what open firmware knows about the scsi device. It shows you that it has sd and st which are disc and tape drivers.

To see what devices are present on the scsi bus, you need to enter
  dev scsi show-children
(but often this doesn't work -- for some strange reason).


Good luck,
Daniel