Subject: SLC netbooting woes
To: None <port-sparc@NetBSD.ORG, netbsd-help@NetBSD.ORG>
From: George Coulouris <glc5@cornell.edu>
List: port-sparc
Date: 03/12/1998 01:34:22
Hello,

I tried to netboot my SLC tonight, with little success.

Here are some hostnames so I don't have to use pronouns:
porter - i386/1.3
stout  - amiga/1.3
bock   - (nothing, want to netboot sparc/1.3)
lager  - Windows 95

I add bock's ethernet address to porter's /etc/ethers. Added the ip
address to /etc/hosts. Uncommented tftpd from porter's/etc/inetd.conf,
manually ran rarpd.

What happens:

bock chats with porter, and gets its ip via rarp
bock then tries to tftp the boot.net file (yes, it's named with
the IP address in hex, with the suffix .SUN4C.. so since it's looking
for the right file, I know it's getting the arp stuff right).. at this
point, I get errors from porter's tftpd:

from syslog:
Mar 12 02:23:39 porter tftpd[239]: tftpd: write: Host is down

from tcpdump (lots of packets like this):

8:23:36.181031 arp who-has bock tell 172.16.0.8
18:23:39.088004 bock.5721 > 172.16.0.8.tftp: 23 RRQ "AC100009.SUN4C"

(run while the sparc was polling the tftp server, trying to get
boot.net)
porter# arp -a
? (172.16.0.7) at 00:40:33:a2:08:04
? (172.16.0.8) at 00:40:33:d0:6d:6d permanent
bock (172.16.0.9) at (incomplete)


(run when the sparc was first negotiating rarp stuff)
porter# route monitor
got message of size 120
RTM_GET: Report Metrics: len 120, pid: 459, seq 1, errno 0,
flags:<UP,DONE,CLONI
NG>
locks:  inits:
sockaddrs: <DST,GATEWAY,NETMASK>
 172.16.0.0  (255) ff.ff.ff.ff.ff.00.00
got message of size 112
RTM_ADD: Add Route: len 112, pid: 459, seq 2, errno 0,
flags:<HOST,DONE,STATIC>
locks:  inits: <expire>
sockaddrs: <DST,GATEWAY>
 bock

I repeated all of this, except using stout instead of porter, and had
the same results.

Anyone know what's going on?

Thanks in advance.

-- 
George L. Coulouris - http://www.tc.cornell.edu/~glc5/
NetBSD 1.3 - free, multiplatform unix. http://www.netbsd.org/