Subject: port-macppc/23206: -current (200310170000) snapshot ofwboot.xcf doesn't boot OF 1.0.5 system
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <michael@nosflow.com>
List: netbsd-bugs
Date: 10/20/2003 06:38:57
>Number:         23206
>Category:       port-macppc
>Synopsis:       -current (200310170000) snapshot ofwboot.xcf doesn't boot OF 1.0.5 system
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 20 06:39:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     michael wolfson
>Release:        -current (200310170000)
>Organization:
>Environment:
N/A -- won't even boot
>Description:
Open Firmware hangs before ofwboot.xcf starts.  I've tested this by trying to netboot and by putting ofwboot.xcf on an MS-DOS format floppy.  The system is a PowerMacintosh 8500 (Open Firmware 1.0.5) with System Disk patches.

0 > boot enet:,ofwboot.xcf file: 10.0.1.203,ofwboot.xcfloading XCOFF
tsize=BDC0 dsize=288 bsize=25C0 entry=640000
SECTIONS:
.text    00640000 00640000 0000BDC0 00000100
.rodata. 0064BDBC 0064BDBC 00000A44 0000BEC0
.data    0064D000 0064D000 00000288 0000C904
.bss     0064D288 0064D288 000025C0 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..
[hang]

Identical setup using an older ofwboot.xcf works:
0 > boot enet:,ofwboot.xcf file: 10.0.1.203,ofwboot.xcfloading XCOFF
tsize=CC50 dsize=14AC bsize=2668 entry=640000
SECTIONS:
.text    00640000 00640000 0000CC50 000000E0
.data    0064D000 0064D000 000014AC 0000CD30
.bss     0064E4B0 0064E4B0 00002668 00000000
loading .text, done..
loading .data, done..
clearing .bss, done..

>How-To-Repeat:
Try to boot OF 1.0.5 system with -current ofwboot.xcf
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 >> NetBSD/macppc OpenFirmware Boot, Revision 1.7
 >> (autobuild@tgm.daemon.org, Thu Feb  6 17:50:27 UTC 2003)
 file: 10.0.1.203,ofwboot.xcfnet_open: client addr: 10.0.1.204
 net_open: subnet mask: 255.255.255.0
 net_open: net gateway: 10.0.1.1
 net_open: server addr: 10.0.1.203
 net_open: server path: /export/doctor/root
 net_open: file name: ofwboot.xcf
 Using IP address: 10.0.1.204
 root addr=10.0.1.203 path=/export/doctor/root
 [...]