Subject: Help, cannot netboot O2
To: None <port-sgimips@netbsd.org>
From: Georg Schwarz <georg.schwarz@freenet.de>
List: port-sgimips
Date: 12/26/2006 20:56:49
I'M trying to netboot an O2. I've set up a dhcp server (dhcp3) and a  
tftp server (tftp-hpa-0.45) at 192.168.0.1.
I've set the O2's netaddr to 192.168.0.15 (which is also returned by  
the dhcp server).
When I enter bootp(): on the O2's prom, I almost immediately get a  
message that the address 192.168.0.15 has been received from the  
server, but that's it. After a while the O2 seems to give up saying  
"unable to execute bootp():: invalid argument".

Now here's the tcpdump output of the boot process. Looks like the O2  
correctly requests the file "netbsd" via tftp but never acknowledges  
receiving the first tftp packet. Thus the tftp server happily resends  
it, and after some timeout the O2 re-requests the file.
Now why doesn't it accept the tftp server's packets?
I also noticed that I could not ping the O2. Is this normal, doesn't  
it react to ICMP echo requests?
Any help would be appreciated. Thanks.

20:32:49.027355 arp who-has 192.168.0.15 tell 192.168.0.15
20:32:49.028053 IP 192.168.0.15.68 > 255.255.255.255.67: BOOTP/DHCP,  
Request [|bootp]
20:32:49.032566 IP 192.168.0.1.67 > 192.168.0.15.68: BOOTP/DHCP,  
Reply, length 300
20:32:49.033927 arp who-has 192.168.0.15 tell 192.168.0.15
20:32:49.045400 IP 192.168.0.15.11730 > 192.168.0.1.69:  19 RRQ  
"netbsd" octet M-0
20:32:49.057279 arp who-has 192.168.0.15 tell 192.168.0.1
20:32:49.058051 arp reply 192.168.0.15 is-at 08:00:69:05:e7:fa
20:32:49.060135 IP 192.168.0.1.8064 > 192.168.0.15.11730: UDP, length  
516
20:32:50.048626 IP 192.168.0.1.8064 > 192.168.0.15.11730: UDP, length  
516
20:32:52.048443 IP 192.168.0.1.8064 > 192.168.0.15.11730: UDP, length  
516
20:32:56.048139 IP 192.168.0.1.8064 > 192.168.0.15.11730: UDP, length  
516
20:33:04.047539 IP 192.168.0.1.8064 > 192.168.0.15.11730: UDP, length  
516
20:33:18.150150 IP 192.168.0.15.11731 > 192.168.0.1.69:  19 RRQ  
"netbsd" octet M-0
20:33:18.162539 IP 192.168.0.1.8065 > 192.168.0.15.11731: UDP, length  
516
20:33:19.156274 IP 192.168.0.1.8065 > 192.168.0.15.11731: UDP, length  
516
20:33:20.046166 IP 192.168.0.1.8064 > 192.168.0.15.11730: UDP, length  
516
20:33:21.156056 IP 192.168.0.1.8065 > 192.168.0.15.11731: UDP, length  
516
20:33:23.155031 arp who-has 192.168.0.15 tell 192.168.0.1
20:33:23.155789 arp reply 192.168.0.15 is-at 08:00:69:05:e7:fa
20:33:25.155770 IP 192.168.0.1.8065 > 192.168.0.15.11731: UDP, length  
516
20:33:33.155252 IP 192.168.0.1.8065 > 192.168.0.15.11731: UDP, length  
516
20:33:48.146721 IP 192.168.0.15.11732 > 192.168.0.1.69:  19 RRQ  
"netbsd" octet M-0
20:33:48.159100 IP 192.168.0.1.8066 > 192.168.0.15.11732: UDP, length  
516
20:33:49.153809 IP 192.168.0.1.8065 > 192.168.0.15.11731: UDP, length  
516
20:33:49.154940 IP 192.168.0.1.8066 > 192.168.0.15.11732: UDP, length  
516
20:33:51.153601 IP 192.168.0.1.8066 > 192.168.0.15.11732: UDP, length  
516
20:33:55.153299 IP 192.168.0.1.8066 > 192.168.0.15.11732: UDP, length  
516
20:34:03.152665 IP 192.168.0.1.8066 > 192.168.0.15.11732: UDP, length  
516
20:34:08.151372 arp who-has 192.168.0.15 tell 192.168.0.1
20:34:08.152134 arp reply 192.168.0.15 is-at 08:00:69:05:e7:fa
20:34:18.143171 IP 192.168.0.15.11733 > 192.168.0.1.69:  19 RRQ  
"netbsd" octet M-0
20:34:18.155414 IP 192.168.0.1.8064 > 192.168.0.15.11733: UDP, length  
516
20:34:19.151390 IP 192.168.0.1.8064 > 192.168.0.15.11733: UDP, length  
516
20:34:19.151955 IP 192.168.0.1.8066 > 192.168.0.15.11732: UDP, length  
516
20:34:21.153167 IP 192.168.0.1.8064 > 192.168.0.15.11733: UDP, length  
516
20:34:25.150884 IP 192.168.0.1.8064 > 192.168.0.15.11733: UDP, length  
516
20:34:33.150262 IP 192.168.0.1.8064 > 192.168.0.15.11733: UDP, length  
516
20:34:49.148972 IP 192.168.0.1.8064 > 192.168.0.15.11733: UDP, length  
516
20:34:54.147623 arp who-has 192.168.0.15 tell 192.168.0.1
20:34:55.147508 arp who-has 192.168.0.15 tell 192.168.0.1
20:34:56.147417 arp who-has 192.168.0.15 tell 192.168.0.1
20:34:57.147373 arp who-has 192.168.0.15 tell 192.168.0.1
20:34:58.147308 arp who-has 192.168.0.15 tell 192.168.0.1
20:34:59.147220 arp who-has 192.168.0.15 tell 192.168.0.1



-- 
Georg Schwarz    http://home.pages.de/~schwarz/
georg.schwarz@freenet.de  +49 151 11559652