Subject: Re: open firmware 1.0.5
To: None <port-macppc@netbsd.org>
From: Makoto Fujiwara <makoto@ki.nu>
List: port-macppc
Date: 06/27/2003 17:52:24
From: Erik Osheim <erik@plastic-idolatry.com>
Date: Fri, 27 Jun 2003 03:55:18 -0400

Erik> scsi-int/sd@3:0,OFWBOOT.XCF;1 NETBSD.GZ;1

Erik> Is this a known problem, or is my 8500 just precocious? I didn't see 
Erik> any mention of it in any of the install docs (this is the first 1.0.5 
Erik> machine I've installed onto). Perhaps the documentation needs to be 
Erik> updated?

Sorry not with 8500, but I have checked on my 1.0.5 machine:

I don't belive OF 1/2 machine need to adhere any 
parameters at OF boot. Just need boot-device,
say, just
  boot scsi/sd@3:0

Your problem is that type of thing, isn't it ?

Following is my confirmation on UMAX S900.
(But I noticed this did not make any confirmation..)

I have burned 1.6.1/macppccd.iso and tried to boot
on my OF 1.0.5 machine:
  ----------------------
  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 > 
  ----------------------

And tried several boot command lines:
(1) boot scsi/sd@3:0,ofwboot.xcf netbsd.gz      BAD
(2) boot scsi/sd@3:0,ofwboot.xcf netbsd.macppc  OK 
(3) boot scsi/sd@3:0,ofwboot.xcf                OK
(4) boot scsi/sd@3:0                            OK

In (1)-(3) case, ,ofwboot.xcf is just ignored and 
getting 'bad partition number, using 0' message.
(1) was giving wrong boot-file so to fail. Others 
are all OK as a result.

(1) boot scsi/sd@3:0,ofwboot.xcf netbsd.gz

0 > boot scsi/sd@3:0,ofwboot.xcf netbsd.gz bad partition number, using 0
>> NetBSD/macppc OpenFirmware Boot, Revision 1.7
>> (autobuild@tgm.daemon.org, Tue Apr  8 14:55:46 UTC 2003)
no active packagebad partition number, using 0read header
Boot: 

(2) boot scsi/sd@3:0,ofwboot.xcf netbsd.macppc 

0 > boot scsi/sd@3:0,ofwboot.xcf netbsd.macppc bad partition number, using 0
>> NetBSD/macppc OpenFirmware Boot, Revision 1.7
>> (autobuild@tgm.daemon.org, Tue Apr  8 14:55:46 UTC 2003)
no active package3881664+147164=0x3d7bb0
 start=0x800000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6.1 (INSTALL) #0: Tue Apr  8 15:11:16 UTC 2003
  

(3) boot scsi/sd@3:0,ofwboot.xcf
0 > boot scsi/sd@3:0,ofwboot.xcf bad partition number, using 0
>> NetBSD/macppc OpenFirmware Boot, Revision 1.7
>> (autobuild@tgm.daemon.org, Tue Apr  8 14:55:46 UTC 2003)
bad partition number, using 0read header
bad partition number, using 0read header
3881664+147164=0x3d7bb0
 start=0x800000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002

(4) boot scsi/sd@3:0 
0 > boot scsi/sd@3:0 
>> NetBSD/macppc OpenFirmware Boot, Revision 1.7
>> (autobuild@tgm.daemon.org, Tue Apr  8 14:55:46 UTC 2003)
open /netbsd: Device not configured
open /netbsd.gz: Device not configured
3881664+147164=0x3d7bb0
 start=0x800000
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.6.1 (INSTALL) #0: Tue Apr  8 15:11:16 UTC 2003

---
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.