Subject: Problems booting a G4 over network
To: None <port-macppc@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: port-macppc
Date: 05/29/2005 22:35:33
Hello,
I'm trying to boot a Powermac G4 with OFW 3 over the network.
If I use "boot enet:0" it will do DHCP but never ask (via DHCP) for the
file to boot. Instead it will send out several DHCP Inform messages.
If I use "boot enet:0,ofwboot.xcf" it will load the boot loader. But
afterwards it will again just sit there, send out DHCP Inform messages
and not mount the root via NFS to load the kernel. After a while it
says "open enet:0,\netbsd: no such file or directory". It prompts for
the kernel afterwards but no matter what I enter it won't even try to
load the kernel (according to "tcpdump").
I've also tried "boot enet:0,ofwboot.xcf enet:0,/netbsd" with the
same result. Here is output from "ethereal":
Initial DHCP handshake:
=======================
Frame 1 (345 bytes on wire, 345 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Internet Protocol, Src Addr: 0.0.0.0 (0.0.0.0), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x000094f1
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Discover
Option 60: Vendor class identifier = "AAPLBSDPC/ppc/PowerMac3,6"
Option 43: Vendor-Specific Information (5 bytes)
Option 55: Parameter Request List
Unknown Option Code: 220 (4 bytes)
Unknown Option Code: 221 (11 bytes)
End Option
No. Time Source Destination Protocol Info
2 0.000482 81.187.181.114 81.187.181.118 DHCP DHCP Offer - Transaction ID 0x94f1
Frame 2 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:07:e9:0e:bb:33, Dst: 00:0a:95:79:49:28
Internet Protocol, Src Addr: 81.187.181.114 (81.187.181.114), Dst Addr: 81.187.181.118 (81.187.181.118)
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68)
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x000094f1
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 81.187.181.118 (81.187.181.118)
Next server IP address: 81.187.181.114 (81.187.181.114)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name: colwyn
Boot file name: ofwboot.xcf
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Offer
Option 54: Server Identifier = 81.187.181.114
Option 51: IP Address Lease Time = 12 hours
Option 1: Subnet Mask = 255.255.255.240
Option 3: Router = 81.187.181.113
End Option
Padding
No. Time Source Destination Protocol Info
3 0.000715 81.187.181.118 255.255.255.255 DHCP DHCP Request - Transaction ID 0x94f1
Frame 3 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Internet Protocol, Src Addr: 81.187.181.118 (81.187.181.118), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x000094f1
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 81.187.181.114 (81.187.181.114)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Request
Option 54: Server Identifier = 81.187.181.114
Option 50: Requested IP Address = 81.187.181.118
Option 60: Vendor class identifier = "AAPLBSDPC/ppc/PowerMac3,6"
Option 55: Parameter Request List
End Option
Padding
No. Time Source Destination Protocol Info
4 0.001017 81.187.181.114 81.187.181.118 DHCP DHCP ACK - Transaction ID 0x94f1
Frame 4 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:07:e9:0e:bb:33, Dst: 00:0a:95:79:49:28
Internet Protocol, Src Addr: 81.187.181.114 (81.187.181.114), Dst Addr: 81.187.181.118 (81.187.181.118)
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68)
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x000094f1
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 81.187.181.118 (81.187.181.118)
Next server IP address: 81.187.181.114 (81.187.181.114)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name: colwyn
Boot file name: ofwboot.xcf
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP ACK
Option 54: Server Identifier = 81.187.181.114
Option 51: IP Address Lease Time = 12 hours
Option 1: Subnet Mask = 255.255.255.240
Option 3: Router = 81.187.181.113
End Option
Padding
No. Time Source Destination Protocol Info
5 0.001143 AppleCom_79:49:28 Broadcast ARP Who has 81.187.181.118? Tell 0.0.0.0
Frame 5 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Address Resolution Protocol (request)
No. Time Source Destination Protocol Info
6 0.502193 AppleCom_79:49:28 Broadcast ARP Who has 81.187.181.118? Gratuitous ARP
Frame 6 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Address Resolution Protocol (request/gratuitous ARP)
No. Time Source Destination Protocol Info
7 0.502206 Intel_0e:bb:33 AppleCom_79:49:28 ARP 81.187.181.118 is at 00:0a:95:79:49:28
Frame 7 (42 bytes on wire, 42 bytes captured)
Ethernet II, Src: 00:07:e9:0e:bb:33, Dst: 00:0a:95:79:49:28
Address Resolution Protocol (reply)
No. Time Source Destination Protocol Info
8 1.003094 AppleCom_79:49:28 Broadcast ARP Who has 81.187.181.113? Tell 81.187.181.118
Frame 8 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Address Resolution Protocol (request)
ARP request to find the TFTP server:
====================================
No. Time Source Destination Protocol Info
9 1.003665 AppleCom_79:49:28 Broadcast ARP Who has 81.187.181.114? Tell 81.187.181.118
Frame 9 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Address Resolution Protocol (request)
No. Time Source Destination Protocol Info
10 1.003671 Intel_0e:bb:33 AppleCom_79:49:28 ARP 81.187.181.114 is at 00:07:e9:0e:bb:33
Frame 10 (42 bytes on wire, 42 bytes captured)
Ethernet II, Src: 00:07:e9:0e:bb:33, Dst: 00:0a:95:79:49:28
Address Resolution Protocol (reply)
TFTP download of "ofwboot.xcf":
===============================
No. Time Source Destination Protocol Info
11 1.005236 81.187.181.118 81.187.181.114 TFTP Read Request, File: ofwboot.xcf, Transfer type: octet
[...]
No. Time Source Destination Protocol Info
215 1.024947 81.187.181.118 81.187.181.114 TFTP Acknowledgement, Block: 102
Frame 215 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: 00:07:e9:0e:bb:33
Internet Protocol, Src Addr: 81.187.181.118 (81.187.181.118), Dst Addr: 81.187.181.114 (81.187.181.114)
User Datagram Protocol, Src Port: 49152 (49152), Dst Port: 50783 (50783)
Trivial File Transfer Protocol
No. Time Source Destination Protocol Info
216 1.044802 0.0.0.0 255.255.255.255 DHCP DHCP Discover - Transaction ID 0x9906
Another DHCP request ... by "ofwboot.xcf"?
==========================================
Frame 216 (345 bytes on wire, 345 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Internet Protocol, Src Addr: 0.0.0.0 (0.0.0.0), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x00009906
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Discover
Option 60: Vendor class identifier = "AAPLBSDPC/ppc/PowerMac3,6"
Option 43: Vendor-Specific Information (5 bytes)
Option 55: Parameter Request List
43 = Vendor-Specific Information
60 = Vendor class identifier
Unknown Option Code: 220 (4 bytes)
Unknown Option Code: 221 (11 bytes)
End Option
No. Time Source Destination Protocol Info
217 1.045276 81.187.181.114 81.187.181.118 DHCP DHCP Offer - Transaction ID 0x9906
Frame 217 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:07:e9:0e:bb:33, Dst: 00:0a:95:79:49:28
Internet Protocol, Src Addr: 81.187.181.114 (81.187.181.114), Dst Addr: 81.187.181.118 (81.187.181.118)
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68)
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x00009906
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 81.187.181.118 (81.187.181.118)
Next server IP address: 81.187.181.114 (81.187.181.114)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name: colwyn
Boot file name: ofwboot.xcf
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Offer
Option 54: Server Identifier = 81.187.181.114
Option 51: IP Address Lease Time = 12 hours
Option 1: Subnet Mask = 255.255.255.240
Option 3: Router = 81.187.181.113
End Option
Padding
No. Time Source Destination Protocol Info
218 1.045514 81.187.181.118 255.255.255.255 DHCP DHCP Request - Transaction ID 0x9906
Frame 218 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Internet Protocol, Src Addr: 81.187.181.118 (81.187.181.118), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x00009906
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 81.187.181.114 (81.187.181.114)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Request
Option 54: Server Identifier = 81.187.181.114
Option 50: Requested IP Address = 81.187.181.118
Option 60: Vendor class identifier = "AAPLBSDPC/ppc/PowerMac3,6"
Option 55: Parameter Request List
End Option
Padding
No. Time Source Destination Protocol Info
219 1.045808 81.187.181.114 81.187.181.118 DHCP DHCP ACK - Transaction ID 0x9906
Frame 219 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:07:e9:0e:bb:33, Dst: 00:0a:95:79:49:28
Internet Protocol, Src Addr: 81.187.181.114 (81.187.181.114), Dst Addr: 81.187.181.118 (81.187.181.118)
User Datagram Protocol, Src Port: bootps (67), Dst Port: bootpc (68)
Bootstrap Protocol
Message type: Boot Reply (2)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x00009906
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 0.0.0.0 (0.0.0.0)
Your (client) IP address: 81.187.181.118 (81.187.181.118)
Next server IP address: 81.187.181.114 (81.187.181.114)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name: colwyn
Boot file name: ofwboot.xcf
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP ACK
Option 54: Server Identifier = 81.187.181.114
Option 51: IP Address Lease Time = 12 hours
Option 1: Subnet Mask = 255.255.255.240
Option 3: Router = 81.187.181.113
End Option
Padding
Why is it doing that? Graceful ARP request?
===========================================
No. Time Source Destination Protocol Info
220 1.045944 AppleCom_79:49:28 Broadcast ARP Who has 81.187.181.118? Tell 0.0.0.0
Frame 220 (60 bytes on wire, 60 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Address Resolution Protocol (request)
No. Time Source Destination Protocol Info
221 6.010279 81.187.181.118 255.255.255.255 DHCP DHCP Inform - Transaction ID 0x9907
It starts sending out DHCP Inform packets now:
==============================================
Frame 221 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Internet Protocol, Src Addr: 81.187.181.118 (81.187.181.118), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x00009907
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 81.187.181.118 (81.187.181.118)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Inform
Option 60: Vendor class identifier = "AAPLBSDPC/ppc/PowerMac3,6"
Option 43: Vendor-Specific Information (8 bytes)
Option 55: Parameter Request List
End Option
Padding
No. Time Source Destination Protocol Info
222 14.110302 81.187.181.118 255.255.255.255 DHCP DHCP Inform - Transaction ID 0x9908
Frame 222 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Internet Protocol, Src Addr: 81.187.181.118 (81.187.181.118), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x00009908
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 81.187.181.118 (81.187.181.118)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Inform
Option 60: Vendor class identifier = "AAPLBSDPC/ppc/PowerMac3,6"
Option 43: Vendor-Specific Information (8 bytes)
Option 55: Parameter Request List
End Option
Padding
No. Time Source Destination Protocol Info
223 30.142516 81.187.181.118 255.255.255.255 DHCP DHCP Inform - Transaction ID 0x9909
Frame 223 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Internet Protocol, Src Addr: 81.187.181.118 (81.187.181.118), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x00009909
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 81.187.181.118 (81.187.181.118)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Inform
Option 60: Vendor class identifier = "AAPLBSDPC/ppc/PowerMac3,6"
Option 43: Vendor-Specific Information (8 bytes)
Option 55: Parameter Request List
End Option
Padding
No. Time Source Destination Protocol Info
224 63.094911 81.187.181.118 255.255.255.255 DHCP DHCP Inform - Transaction ID 0x990a
Frame 224 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Internet Protocol, Src Addr: 81.187.181.118 (81.187.181.118), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x0000990a
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 81.187.181.118 (81.187.181.118)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Inform
Option 60: Vendor class identifier = "AAPLBSDPC/ppc/PowerMac3,6"
Option 43: Vendor-Specific Information (8 bytes)
Option 55: Parameter Request List
End Option
Padding
No. Time Source Destination Protocol Info
225 127.787798 81.187.181.118 255.255.255.255 DHCP DHCP Inform - Transaction ID 0x990b
Frame 225 (342 bytes on wire, 342 bytes captured)
Ethernet II, Src: 00:0a:95:79:49:28, Dst: ff:ff:ff:ff:ff:ff
Internet Protocol, Src Addr: 81.187.181.118 (81.187.181.118), Dst Addr: 255.255.255.255 (255.255.255.255)
User Datagram Protocol, Src Port: bootpc (68), Dst Port: bootps (67)
Bootstrap Protocol
Message type: Boot Request (1)
Hardware type: Ethernet
Hardware address length: 6
Hops: 0
Transaction ID: 0x0000990b
Seconds elapsed: 0
Bootp flags: 0x0000 (Unicast)
Client IP address: 81.187.181.118 (81.187.181.118)
Your (client) IP address: 0.0.0.0 (0.0.0.0)
Next server IP address: 0.0.0.0 (0.0.0.0)
Relay agent IP address: 0.0.0.0 (0.0.0.0)
Client MAC address: 00:0a:95:79:49:28 (AppleCom_79:49:28)
Server host name not given
Boot file name not given
Magic cookie: (OK)
Option 53: DHCP Message Type = DHCP Inform
Option 60: Vendor class identifier = "AAPLBSDPC/ppc/PowerMac3,6"
Option 43: Vendor-Specific Information (8 bytes)
Option 55: Parameter Request List
End Option
Padding
No. Time Source Destination Protocol Info
226 471.049192 3.229.7.172 81.187.181.118 Messenger NetrSendMessage request
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/