Subject: A question on getting netbsd.ram.gz started on a StarMax 5000
To: None <port-macppc@netbsd.org>
From: David Henderson <David.G.Henderson@technologist.com>
List: port-macppc
Date: 01/07/2001 04:23:06
Hello,


I'm attempting to get NetBSD installed on a StarMax, and I'm pretty new
to the NetBSD operating system.


This StarMax has a SCSI CDROM drive, two IDE hard drives used by MacOS,
and a 0.5 gig SCSI drive I intend to install NetBSD onto. I have
disconnected my SCSI Zip drive.


I'm running open firmware from a Zterm program on another Mac; the
serial port seems to be the default and I'm OK with that. System Disk
beeps when I hit the SAVE button(does this mean the firmware didn't get
updated?).


I've created an ISO CDROM with <bigger>ofwboot.xcf</bigger> and
<bigger>netbsd.ram.gz</bigger> at the top level. I can't reliably get
<bigger>ofwboot.xcf</bigger> to start up from the CDROM. I've done the
following:


0 > setenv load-base 600000  ok

0 > setenv real-base F00000  ok

0 > boot scsi/sd@3:0,ofwboot.xcf -a loading XCOFF

tsize=BF00 dsize=14E4 bsize=1608 entry=600000

SECTIONS:

.text    00600000 00600000 0000BF00 000000E0

.data    0060C000 0060C000 000014E4 0000BFE0

.bss     0060D4E8 0060D4E8 00001608 00000000

loading .text, done..

loading .dataCLAIM failed

 ok


and another version, with the installer on the boot line:


0 > 

0 > setenv load-base 600000  ok

0 > setenv real-base F00000  ok

0 > boot scsi/sd@3:0,ofwboot.xcf netbsd.ram.gz loading XCOFF

tsize=BF00 dsize=14E4 bsize=1608 entry=600000

SECTIONS:

.text    00600000 00600000 0000BF00 000000E0

.data    0060C000 0060C000 000014E4 0000BFE0

.bss     0060D4E8 0060D4E8 00001608 00000000

loading .text, done..

loading .dataCLAIM failed

 

I then used Suntar to write a Partition 0 Boot image to the 0.5 gig
SCSI drive, with somewhat more success:


0 > setenv load-base 600000  ok

0 > setenv real-base F00000  ok

0 > boot scsi/sd@0:0 -a

>> NetBSD/macppc OpenFirmware Boot, Revision 1.2

>> (matt@duel.local, Thu Nov 16 17:26:57 PST 2000)

Boot: scsi/sd@3:0,netbsd.ram.gz

DEFAULT CATCH!, code=FFF00700 at   %SRR0: 006019B0   %SRR1: 00083070

 ok


My questions are as follows:


1. How do I tell "NetBSD/macppc OpenFirmware Boot, Revision 1.2" that
the netbsd.ram.gz file is on the CDROM?


2. If I burn the 1.5 boot image from the NetBSD ftp site, will this
give me a Partition 0 boot loader to get to the installer or will I
still have to use these open firmware commands to start up
netbsd.ram.gz.


3. Do I ignore the section in the FAQ that says that I need to mangle
the file names to the 8x3 MS-DOS format and put the names in upper
case?


Thanks in advance,


David