Subject: netboot problems with 1.6 beta
To: None <port-macppc@netbsd.org>
From: Michael Wolfson <michael@nosflow.com>
List: port-macppc
Date: 06/07/2002 18:40:04
I'm having some troubles getting a kernel to start via netboot on my two
machines.

On my 8500, it loads ofwboot.xcf fine, downloads the kernel, and fails at
starting to execute it (typically to do with symbol tables).  I've attached
the console output below.

On my PowerBook (FireWire), it downloads ofwboot.xcf fine, but hangs at
trying to load the kernel.  I can get to the "Boot:" prompt and type in a
kernel name, but it just keeps sending DHCP requests and eventually times
out with
>> NetBSD/macppc OpenFirmware Boot, Revision 1.6
>> (autobuild@tgm.daemon.org, Thu Jun  6 19:49:01 UTC 2002)
BOOTP/BSDP Failed: no FILENAME specifiedopen netbsd-GENERIC: Device not
configured

From the DHCP server, /var/log/messages spits out:
May 18 05:53:45 al dhcpd: DHCPDISCOVER from CC:CC:CC:CC:CC:CC via mc0
May 18 05:53:45 al dhcpd: DHCPOFFER on 10.0.1.200 to CC:CC:CC:CC:CC:CC via mc0
May 18 05:53:45 al dhcpd: DHCPREQUEST for 10.0.1.200 (10.0.1.201) from
CC:CC:CC:CC:CC:CC via mc0
May 18 05:53:45 al dhcpd: DHCPACK on 10.0.1.200 to CC:CC:CC:CC:CC:CC via mc0
May 18 05:53:50 al dhcpd: DHCPINFORM from 10.0.1.200 via mc0
May 18 05:53:50 al dhcpd: DHCPACK to 10.0.1.200
May 18 05:53:58 al dhcpd: DHCPINFORM from 10.0.1.200 via mc0
May 18 05:53:58 al dhcpd: DHCPACK to 10.0.1.200
May 18 05:54:14 al dhcpd: DHCPINFORM from 10.0.1.200 via mc0
May 18 05:54:14 al dhcpd: DHCPACK to 10.0.1.200
May 18 05:54:47 al dhcpd: DHCPINFORM from 10.0.1.200 via mc0
May 18 05:54:47 al dhcpd: DHCPACK to 10.0.1.200


This is using today's snapshot from releng.netbsd.org and both the
netbsd.GENERIC_MD.gz and netbsd-GENERIC.gz kernels.  And I tried gunzip'ing
them first (as that solved my problems before).

I'd appreciate any help.

  -- MW

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 > boot enet:,ofwboot.xcf netbsd.GENERIC_MD file:
10.0.1.201,ofwboot.xcfloading 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, Thu Jun  6 19:49:01 UTC 2002)
no active packagefile: 10.0.1.201,ofwbootnew.xcfnet_open: client addr:
10.0.1.20
2
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 10.0.1.1
net_open: server addr: 10.0.1.201
net_open: server path: /export/doctor/root
net_open: file name: ofwboot.xcf
Using IP address: 10.0.1.202
root addr=10.0.1.201 path=/export/doctor/root
5939200+219184=0x5dfa44
 start=0x800000
[ netbsd ELF symbol table not valid ]
[ no symbol table formats found ]


0 > boot enet:,ofwbootnew.xcf netbsd-GENERIC file:
10.0.1.201,ofwbootnew.xcfload
ing 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, Thu Jun  6 19:49:01 UTC 2002)
no active packagefile: 10.0.1.201,ofwbootnew.xcfnet_open: client addr:
10.0.1.20
2
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 10.0.1.1
net_open: server addr: 10.0.1.201
net_open: server path: /export/doctor/root
net_open: file name: ofwboot.xcf
Using IP address: 10.0.1.202
root addr=10.0.1.201 path=/export/doctor/root
3839052+219140 [187920+155996]=0x432e20
 start=0x100000
[ using 344528 bytes of netbsd ELF symbol table ]