Subject: my story of installing netbsd2.0 onto macppc
To: None <port-macppc@NetBSD.org>
From: Tomas D <u0giene@yahoo.com>
List: port-macppc
Date: 01/07/2005 03:32:48
I will try to show how do I went about installation of
netbsd2.0 on macppc 9500/200:
Instalation medium is CD-r with macppccd.iso for
netbsd2.0
## been trying to find out why my screen
## turns black after I'm trying to get onto
## open firmware for a week or so couldn't
## figure out what my output-device is I ## ended up
hooking up serial console and fun ## begins...
Open Firmware, 1.0.5
To continue booting the MacOS type:
BYE<return>
To continue booting from the default boot device type:
BOOT<return>
ok
0 >
## since my macppc is 9500/200 it means ## there's a
problem with output-device and ## thats the reason
why I'm doing this over ## serial rather than
directly on mac first ## check what do I have This
will list all of ## the devices present in my system
0 > dev /
0 > ls
[...]
FF83E498: /bandit@F4000000
FF8408B8: /pci106b,1@B
FF840A90: /pci10b6,2@D
FF840D80: /ATY,mach64@E
[...]
0 > dev /bandit@F4000000/ATY,mach64@E ok
## Now, to confirm if it really supports Open ##
Firmware type words
0 > words
close restore draw-logo write
open
display-init
display-remove display-install read-rectangle
fill-rectangle draw-rectangle
color@
color! get-colors set-colors
ok
## word "open" is among those listed, then ##
chances are very high that your card ## should work.
0 > setenv output-device /bandit@F4000000/ATY,mach64@E
ok
0 > setenv input-device kbd
## I'm still not sure if I really need to ## specify
my output and input devices cause ## I'm not trying
to access of
0 > reset-all
## mac restarts...
**** something new today! I didnt get anything on my
serial console so I connected my monitor to my mac and
guess what? just guess what... I got a blooody of
output on it! so 16$+6£ for cables for nothing... from
now on continuing directly from mac...
...just went upstairs and nicked my housemate's
monitor****
## Double-check Firmware version:
0 > dev /openprom
0 > .properties
name openprom
model Open Firmware, 1.0.5
relative-addressing
ok
## must set some Open Firmware variables
## before NetBSD can boot
0 > setenv load-base 600000
0 > setenv real-base F00000
0 > reset-all
## mac restarts...
## will try to find out where is my cdrom
0 > dev scsi-int ok
0 > ls
FF83C9C8: /sd@0,0
FF83D5F8: /st@0,0
ok
0 > dev scsi-int ok
0 > show-children
DEFAULT CATCH!, code=FFF00300
ok
## as far as I know DEFAULT CATCH! accurs ## only if
Open Firmware hadt trouble loading ## a file does
show-children load any file?
## trying to check
0 > dev scsi-int/sd@3 ok
0 > words
load write read seek
close
open
write-blocks read-blocks max-transfer
block-size dma-sync
dma-map-out
dma-map-in dma-free dma-alloc
ok
## seems like my cdrom got ID3
## so following line should boot setup
0 > boot scsi-int/sd@3:0 NETBSD.MACPPC
## cd starts to spin but nothing happens..
0 > boot scsi-int/sd@3:,\OFWBOOT.XCF;1 NETBSD.MACPPC;1
0 > boot cd:,\OFWBOOT.XCF;1 NETBSD.MACPPC;1
## getting reset-all message on the screen ## and
macos have to connect to mac via ## serial and set
previous
## settings. why boot cd: didn't worked might ##
explain this:
0 > devalias
vci0 /chaos@F0000000
pci1 /bandit@F2000000
pci2 /bandit@F4000000
fd /bandit/gc/swim3
kbd /bandit/gc/via-cuda/adb/keyboard
ttya /bandit/gc/escc/ch-a
ttyb /bandit/gc/escc/ch-b
enet /bandit/gc/mace
scsi /bandit/gc/53c94
scsi-int /bandit/gc/mesh
ok
## there are no alias for cd so I would ## assume
that boot device and other stuff ## must be fully
specified...
## thinking about that I came up with idea to ##
check my scsi drive info again
0 > dev scsi-int ok
0 > ls
FF83C9C8: /sd@0,0
FF83D5F8: /st@0,0
## I'm not sure but it seems to me that it's ##
worth trying messig about with /st@0,0
0 > boot scsi-int/sd@3:0:,\OFWBOOT.XCF;1
NETBSD.MACPPC;1 Invalid tape file number unrecognized
client program formastate not valid
ok
0 > boot scsi-int/st@3:0:,\OFWBOOT.XCF Invalid tape
file number unrecognized client program formastate not
valid
ok
## realised that I was wrong... will try to ## load
OFWBOOT.XCF from floppy
0 > dir fd:,\
Aofwb.o 00F 0 -10000
OFWBOOT .XCF 020 2 CBBC
RESOURCE.FRK 012 68 0
FINDER .DAT 022 B11 FCC
ATras.h 00F 0 -1
ATras.h 00F 0 -1
0 > boot fd:,\OFWBOOT.XCF loading XCOFF
[...]
>> NetBSD/macppc OpenFirmware Bootm Revision 1.10
>> (builds@build, Wed Dec 1 12:46:04 UTC 2004)
open /netbsd: No such file or directory
open /netbsd.gz: No such file or directory
open /netbsd.macppc: No such file or directory
## nevertheless I am very happy!
## just have to follow Creating the
## NetBSD/macppc install floppies ##instructions by
looking at this has anybody ## got a suggestion how
can I start netbsd ## install right from cd, it would
be much ## more convenient for me thanx for your
time ## and thanx for reading
ironic but just while waiting for tomorrow when I get
to work and email this to newsgroup I've tried setting
up things as I originally should.
1. start systemdisk and specify:
input-device: kbd
output-device: /bandit@F4000000/ATY,mach64@E
autoboot: false
2. restart pc
3. check of version and make sure it's <3
4. 0 > setenv load-base 600000
0 > setenv real-base F00000
0 > reset-all
5. put floppy in the drive
0 > boot fd:,\OFWBOOT.XCF
wait for setup screet to come up...
can anybody please write a note on NetBSD/macppc Model
Support page that 9500/200 might have
/bandit@F4000000/ATY,mach64@E instead of
/bandit@F4000000/ATY,mach64@D , well the one that I
found in north london- wood green just ouside
somebody's house has, and if not my fried who insisted
to take it nothing that would happend...
spent way too much time on it today...
__________________________________
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
http://my.yahoo.com