Subject: PowerMac 4400/200 install trouble
To: None <port-macppc@netbsd.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: port-macppc
Date: 12/29/2000 17:34:56
I've got a PowerMac 4400/200 and am trying to install NetBSD/macppc on
it...and can't seem to get to the first check-station.  No, the second.

I hooked up a screen and keyboard long enough to drop into OF and
"setenv auto-boot? false".  It boots into OF reliably.  According to
.properties on /openprom, it's "Open Firmware, 2.0.2".

What I can't seem to do is get it to load a kernel from anywhere.

It's got a ~2G internal IDE disk which contains MacOS 7.something.
I've taken a snapshot of that disk using another machine, but haven't
yet modified it at all.

"boot enet:" and variants like enet:0 (all variants I've tried) pause,
then spew garbage characters.  (Mostly character code 243, with a
generous helping of codes 203 and 2, with 220, 111, and 227 mixed in,
and a scattering of others.)  It looks as though it switched baudrates,
but I haven't been able to find a baudrate that renders the gibberish
comprehensible.  (The pause is long enough for me to switch baudrates.)
The timing is interesting; it spits out a good deal of junk fast, then
dribbles a little more out in bursts of a few characters every second
or so.  Except that I can't find a working baudrate, I'd suspect it of
trying to talk to a modem - it *is* the modem port I'm using, of
course.  "tcpdump not tcp" on the hub the card is cabled to doesn't
show anything hopeful - indeed, the hub never even indicates link.  It
occurs to me that it might be trying to do LocalTalk...but out the
*phone* port??

"boot cdrom:" with the 1.4.2 CD 1 in the drive acts similarly.  So do
variants such as "boot cdrom:ofwboot.elf -as".

"boot fd:0" pauses, spins a twirler for a moment (perhaps four twirler
updates), and reports "FD: can't LOAD from this device".  I've tried
all the floppy images in ftp.netbsd.org:/pub/NetBSD/arch/macppc/floppy.
Even a floppy full of bits from /dev/zero acts this way, so if it's a
problem with the floppy images it's probably one basic enough that the
ROMs don't even recognize them as bootable.

"dev /" and "ls" gives:

FF828A20: /PowerPC,603ev@0
FF828E50:   /l2-cache@0,0
FF829490: /chosen@0
FF8295C0: /memory@0
FF829708: /openprom@0
FF8297C8: /AAPL,ROM@FFC00000
FF8299E0: /options@0
FF829EC8: /aliases@0
FF82A160: /packages@0
FF82A1E8:   /deblocker@0,0
FF82A910:   /disk-label@0,0
FF82AE88:   /obp-tftp@0,0
FF82D0F8:   /mac-files@0,0
FF82D818:   /mac-parts@0,0
FF82DF78:   /aix-boot@0,0
FF82E3C8:   /fat-files@0,0
FF82F9E0:   /iso-9660-files@0,0
FF830348:   /xcoff-loader@0,0
FF830C00:   /terminal-emulator@0,0
FF830C98: /bandit@F2000000
FF832230:   /ohare@10
FF832AC0:     /mesh@10000
FF834738:       /sd@0,0
FF835320:       /st@0,0
FF835F98:     /escc@13000
FF8360F0:       /ch-a@13020
FF836730:       /ch-b@13000
FF836D70:     /awacs@14000
FF836E58:     /swim3@15000
FF837FB8:     /nvram@60000
FF838088:     /ata@20000
FF839680:       /ata-disk@0,0
FF83A7F0:     /ata@21000
FF83BDF0:       /atapi-disk@0,0
FF83CF38:     /via-cuda@16000
FF83DB68:       /adb@0,0
FF83DC58:         /keyboard@0,0
FF83E498:         /mouse@1,0
FF83E758:       /pram@0,0
FF83E808:       /rtc@0,0
FF83ECA8:       /power-mgt@0,0
FF83F3A0:   /pci106b,1@B
FF83F578:   /pci1011,14@F
FF83F838:   /ATY,264VT@11

I'm now trying to build a bootable zipdisk by making the filesystem on
a SPARC (also big-endian) and using the macppc installboot to install
bootblocks.  I don't know how easy this will be, but I'm not sure what
else to try at this point.

Any hints?  Anyone have any idea what's with the serial-line junk?

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B