Subject: Re: netbooting the installer (Unknown error: code 60)
To: Charlie Allom <charlie@rubberduck.com>
From: Bill Studenmund <wrstuden@netbsd.org>
List: port-macppc
Date: 10/16/2002 10:13:55
On Wed, 16 Oct 2002, Charlie Allom wrote:

> Hi,
>
> disregard my previous email about the CDROm - I am having more luck
> with netbppting the kernel - It all goes fine until the load when I
> get an undocumented error:

Too late! Already sent message. :-)

> Open Firmware, 2.0f1
> To continue booting the MacOS type:
> BYE<return>
> To continue booting from the default boot device type:
> BOOT<return>
> For Open Firmware serial I/O type:
> TTYA IO<return>
>  ok
> 0 > boot enet:,ofwboot.xcf file: 131.170.41.249,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, Sun Sep  8 21:53:46 UTC 2002)
> file: 131.170.41.249,ofwboot.xcfnet_open: client addr: 131.170.41.5
> net_open: subnet mask: 255.255.255.0
> net_open: net gateway: 131.170.41.254
> net_open: server addr: 131.170.41.249
> net_open: server path: /export/client/root
> net_open: file name: ofwboot.xcf
> Using IP address: 131.170.41.5
> root addr=131.170.41.249 path=/export/client/root
> open /netbsd: Unknown error: code 60
> BOOTP failed
> open /netbsd.gz: Device not configured
> BOOTP failed
> open /netbsd.macppc: Device not configured
> Boot:
>
> What is "Unknown error: code 60"?

From /sys/sys/errno.h:

#define ETIMEDOUT       60              /* Operation timed out */

One thing you might need to do on the server is add this to rc.local:

arp -s 131.170.41.5 <mac-addr for box>

OF of this vintage doesn't handle arp requests, so what can happen is that
the server won't know where to send responses. bootp will fire up an arp
command for you, dhcpd doesn't.

I netboot my g3 every day. :-)

Take care,

Bill