Subject: Open Firmware 1.0.5 error not in FAQ
To: None <port-macppc@netbsd.org>
From: Jon Whitlock <jon@3ev.com>
List: port-macppc
Date: 11/13/2002 16:23:28
Hi

I'm having a problem getting netBSD to initially run the kernel on the 
floppy (scuse my terminology) so I can then then partition and install on 
my Mac PPC 9600/200.  I'm getting Open Firmware errors I cannot see in the 
documentation.

I've set real-base to F00000 and load-base to 600000, as per ...

http://www.netbsd.org/Ports/macppc/faq.html#ofw-real-base

... and am using ofwboot.xcf  and netbsd.INSTALL.gz downloaded today from 
ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-1.6/macppc/ ...


Im using another mac as a term on ttya to operate Open Firmware, and here's 
the exact output:


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 > printenv

little-endian?      false               false
real-mode?          false               false
auto-boot?          false               true
diag-switch?        false               false
fcode-debug?        false               false
oem-banner?         false               false
oem-logo?           false               false
use-nvramrc?        true                false
real-base           F00000              -1
real-size           100000              100000
virt-base           -1                  -1
virt-size           100000              100000
load-base           600000              4000
pci-probe-list      -1                  -1
screen-#columns     64                  64
screen-#rows        28                  28
selftest-#megs      0                   0
boot-device         /AAPL,ROM           /AAPL,ROM
boot-file
diag-device                             fd:diags
diag-file
input-device        kbd                 ttya
output-device       /chaos/control      ttya
oem-banner
oem-logo
&W E0 + ' P2 BLpatch device-end 4 + ;op 1f4 ms loop then bye ;
boot-command        boot                boot
  ok

0 > dir fd:,\
OFWBOOT .XCF 020 2 E148
NETBSD  .GZ  020 73 155AC3  ok

0 > boot fd:,\OFWBOOT.XCF NETBSD.GZ loading XCOFF
tsize=CBC0 dsize=14A8 bsize=2670 entry=640000
SECTIONS:
.text    00640000 00640000 0000CBC0 000000E0
.data    0064D000 0064D000 000014A8 0000CCA0
.bss     0064E4A8 0064E4A8 00002670 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..

 >> NetBSD/macppc OpenFirmware Boot, Revision 1.6
 >> (autobuild@tgm.daemon.org, Sun Sep  8 21:53:46 UTC 2002)
no active package3720996+128848=0x3ac088
  start=0x800000


... and here it hangs :(

Note the "no active package" error - this pops up straight after the 
previous line, then the spinning cursor appears and I can hear some floppy 
reading activity. Then the numbers appear a bit after that and it hangs.  I 
have taken then floppy back out onto a win machine, and copied the files to 
its HD with no errors, and I can open the .gz archive in wizip and see the 
file inside, so I dont think they have corrupted somewhere along the process.

As such, I'm stuck!  I cant find any docs mentioning the error, and 
googling reveals one other user with a similar prob. and no resolution.

TIA,
Jon