Subject: Unable to netboot G3 (blue and white) NetBSD 1.5.2
To: None <port-macppc@netbsd.org>
From: Matt Shirts <mshirts@redback.com>
List: port-macppc
Date: 12/14/2001 16:43:49
Hello-

I have a couple of G3 (blue and white) macs that are giving me fits! A
number of these macs (11 in all) boot just fine, the remaining two however
are quite perplexing. The only difference between those that do and those
that do not, appears to be the non-booters are Rev B. (Dual IDE drive
carrier) versions running Open Firmware 3.1.1. Those that boot are G3 Rev A.
(Single IDE drive carrier) running Open Firmware 3.1.0.

First issue:

When I attempt to boot a Rev B. mac, The bootp server responds with the
following:

Dec 14 16:26:14 bootpd[24607]: recvd pkt from IP addr 0.0.0.0
Dec 14 16:26:14 bootpd[24607]: bootptab mtime: Fri Dec 14 16:24:16 2001
Dec 14 16:26:14 bootpd[24607]: request from Ethernet address
00:50:E4:10:E9:7D
Dec 14 16:26:14 bootpd[24607]: unknown client Ethernet address
00:50:E4:10:E9:7D
Dec 14 16:26:19 bootpd[24607]: recvd pkt from IP addr 0.0.0.0
Dec 14 16:26:19 bootpd[24607]: bootptab mtime: Fri Dec 14 16:24:16 2001
Dec 14 16:26:19 bootpd[24607]: request from Ethernet address
00:50:E4:10:E9:7D
Dec 14 16:26:19 bootpd[24607]: unknown client Ethernet address
00:50:E4:10:E9:7D
Dec 14 16:26:25 bootpd[24607]: recvd pkt from IP addr 0.0.0.0
Dec 14 16:26:25 bootpd[24607]: bootptab mtime: Fri Dec 14 16:24:16 2001
Dec 14 16:26:25 bootpd[24607]: request from Ethernet address
00:50:E4:10:E9:7D
Dec 14 16:26:25 bootpd[24607]: unknown client Ethernet address
00:50:E4:10:E9:7D

And here is a Rev A. mac...:

tail -f /var/log/messages
Dec 14 16:30:46 bootpd[24607]: bootptab mtime: Fri Dec 14 16:24:16 2001
Dec 14 16:30:46 bootpd[24607]: request from Ethernet address
00:05:02:5F:C8:93
Dec 14 16:30:46 bootpd[24607]: found 10.13.49.79 (mac1)
Dec 14 16:30:46 bootpd[24607]: bootfile="/netbsd-mac1"
Dec 14 16:30:46 bootpd[24607]: vendor magic field is 99.130.83.99
Dec 14 16:30:46 bootpd[24607]: request message length=548
Dec 14 16:30:46 bootpd[24607]: extended reply, length=548, options=312
Dec 14 16:30:46 bootpd[24607]: sending reply (with RFC1048 options)
Dec 14 16:30:46 bootpd[24607]: setarp 10.13.49.79 - 00:05:02:5F:C8:93
Dec 14 16:30:46 bootpd[24607]: arp -d 10.13.49.79; arp -s 10.13.49.79
00:05:02:5F:C8:93 temp

Here are my bootptab entries:

mactest:\
        :ht=1:ha="00:05:E4:10:E9:7D":\
        :ip=10.13.49.75:\
        :gw=10.13.49.254:\
        :rp=/usr/tftpboot/mac:\
        :sa=10.13.49.100:\
        :sm=255.255.255.0:\
        :td=/usr/tftpboot:\
        :bf=netbsd-mac1:\
        :vm=rfc1048:
mac1:\
        :ht=1:ha="00:05:02:5F:C8:93":\
        :ip=10.13.49.79:\
        :gw=10.13.49.254:\
        :rp=/usr/tftpboot/mac/mac1:\
        :sa=10.13.49.100:\
        :sm=255.255.255.0:\
        :td=/usr/tftpboot:\
        #:bf=netbsd-mac-LATEST
        :bf=netbsd-mac1:\

I have specifically altered the :rp entry on mactest to prevent it from
booting, should I get past the 'Server not responding, Can't open enet:0'
error message when attempting to netboot. The bootp server is running NetBSD
1.4.3.

Second issue:

After obtaining a home-brewed kernel (designated BLUEG3NETBOOT), I was able
to netboot a G3 Rev A. mac AND use my usb keyboard, a feat I could not
accomplish with the netbsd.GENERIC included on the netbsd 1.5.2 macppc iso
image. I believe I successfully ran sysinst to install 1.5.2 to the local
ide HDD (which apparently isn't supported by netbsd.ram on the 1.5.2 iso),
but I have not been able to figure out the magic boot command to boot the
HDD from Open Firmware. Can anyone shed some light on this one?

I appreciate everyone's time, patience, and any assistance you may have to
offer. If you need any additional information, please don't hesitate to
contact me and I'll be happy to provide any additional data. Thank you all
so much!

Warmest Holiday Wishes,

Matt Shirts
SQA Lab Guy
Redback Networks, Inc.
(408) 382-8414