Subject: nfs_boot problems
To: None <port-sparc@netbsd.org>
From: Daniel Baird <daniel@shirow.net>
List: port-sparc
Date: 02/26/2000 16:45:17
Hi folks,

I've been stewing over this for quite some time, and I'm not getting any
closer to a solution.  I'm trying to network boot a sparc IPX (with
NetBSD 1.4.1) from a Linux 2.2 server.

The network boot process goes smoothly until I hit this error;

[on aegis, the diskless client]
nfs_boot: trying RARP (and RPC/bootparam)
nfs_boot: client_addr=0xa000106 (RARP from 0xa000101)
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: timeout...
nfs_boot: bootparam whoami, error=60
no file system for le0
cannot mount root, error = 79

There is no bootparamd debug output or logging done when this error
occurs.

If anyone has any suggestions I would be most grateful.  I've mucked
around with /etc/bootparams and /etc/exports to no avail.

Regards,

Daniel
http://wonkothesane.com


[tcpdump of the beginning of the boot process]
15:42:37.849034 rarp who-is 8:0:20:a:7b:1c tell 8:0:20:a:7b:1c
15:42:37.849070 rarp reply 8:0:20:a:7b:1c at aegis
15:42:38.241444 arp who-has aegis tell aegis
15:42:38.242656 aegis.1023 > 10.255.255.255.sunrpc: udp 96
15:43:22.807935 rarp who-is 8:0:20:a:7b:1c tell 8:0:20:a:7b:1c
15:43:22.807967 rarp reply 8:0:20:a:7b:1c at aegis
15:43:22.821821 aegis.21141 > gateway-eth1.tftp: 23 RRQ "0A000106.SUN4C"
15:43:22.980225 gateway-eth1.1325 > aegis.21141: udp 516
15:43:23.001725 aegis.21141 > gateway-eth1.1325: udp 4
15:43:23.002120 gateway-eth1.1325 > aegis.21141: udp 516
15:43:23.022955 aegis.21141 > gateway-eth1.1325: udp 4
15:43:23.023332 gateway-eth1.1325 > aegis.21141: udp 516
15:43:23.044177 aegis.21141 > gateway-eth1.1325: udp 4
15:43:23.044568 gateway-eth1.1325 > aegis.21141: udp 516
15:43:23.065413 aegis.21141 > gateway-eth1.1325: udp 4
15:43:23.065805 gateway-eth1.1325 > aegis.21141: udp 516
15:43:23.086653 aegis.21141 > gateway-eth1.1325: udp 4
15:43:23.087028 gateway-eth1.1325 > aegis.21141: udp 516
...

[The debug output from the first bootparamd call]
whoami got question for 10.0.1.6
This is host aegis
Returning aegis       10.0.1.1
getfile got question for "aegis" and file "root"
returning server:gateway-eth1 path:/home/aegis/root address: 10.0.1.1


[excerpt from tcpdump output on the server]
....
15:11:53.834029 aegis.2140 > gateway-eth1.nfs: 104 read [|nfs]
15:11:53.834258 gateway-eth1.nfs > aegis.2140: reply ok 1124 read [|nfs]
15:11:53.874727 aegis.2141 > gateway-eth1.nfs: 104 read [|nfs]
15:11:53.874917 gateway-eth1.nfs > aegis.2141: reply ok 376 read [|nfs]
15:12:17.042174 rarp who-is 8:0:20:a:7b:1c tell 8:0:20:a:7b:1c
15:12:17.042226 rarp reply 8:0:20:a:7b:1c at aegis
15:12:17.434660 arp who-has aegis tell aegis
15:12:17.436604 aegis.1023 > 10.255.255.255.sunrpc: udp 96
15:12:18.432573 aegis.1023 > 10.255.255.255.sunrpc: udp 96
15:12:20.432473 aegis.1023 > 10.255.255.255.sunrpc: udp 96
15:12:23.432370 aegis.1023 > 10.255.255.255.sunrpc: udp 96
15:12:27.432247 aegis.1023 > 10.255.255.255.sunrpc: udp 96
[this is where it hangs]


[/etc/exports on the server ]
#/home/aegis/root aegis(rw,no_root_squash)
#/home/aegis/swap aegis(rw,no_root_squash)
#/home/aegis/usr aegis(rw,root_squash)
#/home/aegis/home aegis(rw,root_squash)
/home/aegis  (rw,no_root_squash)

[/etc/bootparams on the server]
aegis root=gateway-eth1:/home/aegis/root
swap=gateway-eth1:/home/aegis/swap