Subject: Netbooting times out
To: None <port-sparc@NetBSD.ORG>
From: Martin Husemann <martin@duskware.de>
List: port-sparc
Date: 10/13/2001 00:08:13
Please excuse if this is a dumb question, mayb I'm missing something
very obvious, but I can't see what's wrong:

I'm trying to netboot a Sparc2 to install 1.5.2 for the first time. I tried
the boot floppies, but all the other computers that still have floppy drives
around here seem to be incompatible with the floppy in the sparc - I got
a single working disk1, but never managed to create a readable disk2.

So I followed the instructions and setup a netboot server. I've done that
before for a sparc64 machine, so I think I got it right. The whole session
looks like this:

ok boot net netbsd
Boot device: /sbus/le@0,c00000   File and args: netbsd
13200 
>> NetBSD/sparc Secondary Boot, Revision 1.9
>> (toor@proxima, Tue Aug 21 23:18:13 CST 2001)
Booting netbsd
Using BOOTPARAMS protocol: ip address: 192.168.150.128, hostname: pizza.duskware.de
root addr=192.168.150.7 path=/usr/exp/hosts/pizza
2407018read text: Unknown error: code 60

device[/sbus/le@0,c00000] ("halt" to halt): 

Ok, 60 = ETIMEDOUT, and that's not surprising - it takes ages so far.
I traced the whole session with tcpdump (excerpts attached below).

The tftp download sends 544 bytes each 4 seconds.
After finaly boot.net is running a few small packets are exchanged quickly,
then the kernel is loaded in one packet each two second intervals and after
about 10 packets the process halts and times out.

Since I did not succeed running netbsd so far, I have no clue if the on
board le is broken. Am I doing something wrong? Is there some secret OF
setting I should use?

Martin

P.S.: just for completeness: the le has an AUI interface, where a AUI<->TP
dongle is plugged in, that is connected to the same 10/100 MBit/s switch
as the boot server.

tcpdump: listening on tlp0
23:32:54.382249 rarp reply pizza at pizza.duskware.de
23:32:54.393854 pizza.duskware.de.45985 > night-porter.duskware.de.tftp: [no cksum]  23 RRQ "C0A89680.SUN4C" (ttl 123, id 1234, len 51)
23:32:54.403492 night-porter.duskware.de.63272 > pizza.duskware.de.45985:  udp 516 (ttl 64, id 34833, len 544)
23:32:54.422513 pizza.duskware.de.45985 > night-porter.duskware.de.63272: [no cksum]  udp 4 (ttl 123, id 1234, len 32)
23:32:54.424890 night-porter.duskware.de.63272 > pizza.duskware.de.45985:  udp 516 (ttl 64, id 34834, len 544)
23:32:54.443232 pizza.duskware.de.45985 > night-porter.duskware.de.63272: [no cksum]  udp 4 (ttl 123, id 1234, len 32)
23:32:54.444501 night-porter.duskware.de.63272 > pizza.duskware.de.45985:  udp 516 (ttl 64, id 34835, len 544)
23:32:58.446241 pizza.duskware.de.45985 > 0.0.0.0.tftp: [no cksum]  4 ACK block 2 (ttl 123, id 1234, len 32)
23:32:59.451159 night-porter.duskware.de.63272 > pizza.duskware.de.45985:  udp 516 (ttl 64, id 34844, len 544)
23:33:02.445264 pizza.duskware.de.45985 > 0.0.0.0.tftp: [no cksum]  4 ACK block 2 (ttl 123, id 1234, len 32)
23:33:04.467705 night-porter.duskware.de.63272 > pizza.duskware.de.45985:  udp 516 (ttl 64, id 34855, len 544)
...
23:38:26.818665 pizza.duskware.de.45985 > night-porter.duskware.de.63272: [no cksum]  udp 4 (ttl 123, id 1234, len 32)
23:38:26.819449 night-porter.duskware.de.63272 > pizza.duskware.de.45985:  udp 516 (ttl 64, id 35447, len 544)
23:38:26.838991 pizza.duskware.de.45985 > night-porter.duskware.de.63272: [no cksum]  udp 4 (ttl 123, id 1234, len 32)
23:38:26.839447 night-porter.duskware.de.63272 > pizza.duskware.de.45985:  udp 268 (ttl 64, id 35448, len 296)
23:38:26.849818 pizza.duskware.de.45985 > night-porter.duskware.de.63272: [no cksum]  udp 4 (ttl 123, id 1234, len 32)
23:38:28.561381 rarp reply pizza at pizza.duskware.de
23:38:28.739917 pizza.duskware.de.1023 > 255.255.255.255.sunrpc:  udp 96 (ttl 4, id 0, len 124)
23:38:28.747958 night-porter.duskware.de.1022 > pizza.duskware.de.1023:  udp 80 (ttl 64, id 35459, len 108)
23:38:30.198458 pizza.duskware.de.1023 > 255.255.255.255.sunrpc:  udp 96 (ttl 4, id 0, len 124)
23:38:30.201668 night-porter.duskware.de.1022 > pizza.duskware.de.1023:  udp 80 (ttl 64, id 35472, len 108)
23:38:34.197384 pizza.duskware.de.1023 > 255.255.255.255.sunrpc:  udp 96 (ttl 4, id 0, len 124)
23:38:34.201756 night-porter.duskware.de.1022 > pizza.duskware.de.1023:  udp 80 (ttl 64, id 35485, len 108)
23:38:34.315734 arp who-has night-porter.duskware.de tell pizza.duskware.de
23:38:34.315768 arp reply night-porter.duskware.de is-at 0:0:c0:87:5f:f2
23:38:34.336130 pizza.duskware.de.1022 > night-porter.duskware.de.1020:  udp 92 (ttl 4, id 0, len 120)
23:38:34.338682 night-porter.duskware.de.1020 > pizza.duskware.de.1022:  udp 84 (ttl 64, id 35492, len 112)
23:38:34.508807 pizza.duskware.de.1021 > night-porter.duskware.de.sunrpc:  udp 76 (ttl 4, id 0, len 104)
23:38:34.510332 night-porter.duskware.de.sunrpc > pizza.duskware.de.1021: [udp sum ok]  udp 28 (ttl 64, id 35493, len 56)
23:38:34.534761 pizza.duskware.de.1021 > night-porter.duskware.de.1021:  udp 84 (ttl 4, id 0, len 112)
23:38:34.537596 night-porter.duskware.de.1021 > pizza.duskware.de.1021:  udp 60 (ttl 64, id 35496, len 88)
23:38:34.559627 pizza.duskware.de.1021 > night-porter.duskware.de.sunrpc:  udp 76 (ttl 4, id 0, len 104)
23:38:34.560384 night-porter.duskware.de.sunrpc > pizza.duskware.de.1021: [udp sum ok]  udp 28 (ttl 64, id 35497, len 56)
23:38:36.197306 pizza.duskware.de.1021 > night-porter.duskware.de.sunrpc:  udp 76 (ttl 4, id 0, len 104)
23:38:36.198159 night-porter.duskware.de.sunrpc > pizza.duskware.de.1021: [udp sum ok]  udp 28 (ttl 64, id 35499, len 56)
23:38:40.196156 pizza.duskware.de.1021 > night-porter.duskware.de.sunrpc:  udp 76 (ttl 4, id 0, len 104)
23:38:40.200669 night-porter.duskware.de.sunrpc > pizza.duskware.de.1021: [udp sum ok]  udp 28 (ttl 64, id 35503, len 56)
23:38:40.219753 pizza.duskware.de.6 > night-porter.duskware.de.nfs: 104 lookup [|nfs] (ttl 4, id 0, len 132)
23:38:40.219957 night-porter.duskware.de.nfs > pizza.duskware.de.6: reply ok 128 lookup [|nfs] (ttl 64, id 35504, len 156)
23:38:40.253962 pizza.duskware.de.7 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:40.254171 night-porter.duskware.de.nfs > pizza.duskware.de.7: reply ok 1124 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35505, len 1152)
23:38:40.289379 pizza.duskware.de.8 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:40.293606 night-porter.duskware.de.nfs > pizza.duskware.de.8: reply ok 1124 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35506, len 1152)
23:38:40.327133 pizza.duskware.de.9 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:40.327315 night-porter.duskware.de.nfs > pizza.duskware.de.9: reply ok 1124 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35507, len 1152)
23:38:40.364818 pizza.duskware.de.10 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:40.368162 night-porter.duskware.de.nfs > pizza.duskware.de.10: reply ok 1124 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35509, len 1152)
23:38:40.403374 pizza.duskware.de.11 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:40.408145 night-porter.duskware.de.nfs > pizza.duskware.de.11: reply ok 132 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35510, len 160)
23:38:42.194264 pizza.duskware.de.11 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:42.194482 night-porter.duskware.de.nfs > pizza.duskware.de.11: reply ok 132 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35511, len 160)
23:38:42.246166 pizza.duskware.de.12 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:42.246360 night-porter.duskware.de.nfs > pizza.duskware.de.12: reply ok 1124 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35512, len 1152)
23:38:42.283927 pizza.duskware.de.13 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:42.288004 night-porter.duskware.de.nfs > pizza.duskware.de.13: reply ok 1124 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35513, len 1152)
23:38:44.197353 pizza.duskware.de.13 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:44.199888 night-porter.duskware.de.nfs > pizza.duskware.de.13: reply ok 1124 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35517, len 1152)
23:38:48.196285 pizza.duskware.de.13 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:48.199545 night-porter.duskware.de.nfs > pizza.duskware.de.13: reply ok 1124 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35519, len 1152)
23:38:56.191883 pizza.duskware.de.13 > night-porter.duskware.de.nfs: 104 read [|nfs] (ttl 4, id 0, len 132)
23:38:56.192090 night-porter.duskware.de.nfs > pizza.duskware.de.13: reply ok 1124 read REG 100664 ids 0/0 sz 2821855  [|nfs] (ttl 64, id 35527, len 1152)

2429 packets received by filter
0 packets dropped by kernel