Subject: FW: diskless: NFS Error 13
To: None <port-sparc@netbsd.org>
From: Chris Moran <cmoran@winisp.net>
List: port-sparc
Date: 09/17/2005 16:03:10
Back to the task of getting Mr Coffee to do something useful, I have an =
SS5
hosting a pair of Mr Coffees.=A0 It starts up, gets bootjs.net from the =
SS5
but can=92t load the kernel.=A0 I figure I have something messed up here =
in the
configs but need some other eyes to help find it.

Mr Coffee shows:

>> NetBSD/sparc Secondary Boot, Revision 1.14
>> (jmc@faith.netbsd.org, Wed May 11 00:55:35 UTC 2005)
Patching OFW for SUNW,JDM1
cpu: creating node
eeprom: adding =93model=94
le: deleting bogus =93interrupts=94
su: adding =93interrupts=94
8042: adding =93interrupts=94
Booting netbsd
Trying BOOTP protocol=85 net_open: client addr: 192.168.2.254
net_open: subnet mask: 255.255.255.0
net_open: net gateway: 192.168.2.1
net_open: server addr: 192.168.2.1
ip address: 192.168.2.254, hostname: etau-java-001, netmask: =
255.255.255.0,
gateway 192.168.2.1
root addr=3D192.168.2.1 path=3D
Can=92t open NFS network connection on
`/sbus/ledma@4,8400010/le@4,8c00000:dhcp=92
Cannot load netbsd: error=3D13

I figure the problem is:=A0 root addr=3D192.168.2.1 path=3D

My dhcpd.conf file looks like this:

#
# javastation 001
#
host etau-java-001.house.emergent.com.au {
=A0=A0=A0=A0=A0=A0=A0 hardware ethernet 08:00:20:87:eb:56;
=A0=A0=A0=A0=A0=A0=A0 fixed-address 192.168.2.254;
=A0=A0=A0=A0=A0=A0=A0 option host-name "etau-java-001";
=A0=A0=A0=A0=A0=A0=A0 filename "C0A002FE.SUN4W";
=A0=A0=A0=A0=A0=A0=A0 next-server 192.168.2.1;
=A0=A0=A0=A0=A0=A0=A0 option root-path =
"192.168.2.1:/export/clients/java001/root";
}

And exports looks like:

/export/clients/java001/root=A0=A0=A0 -maproot=3Droot:wheel=A0=A0=A0=A0 =
-network=3D192.168.2.0
-mask=3D255.255.255.0
/export/clients/java001/swap=A0=A0=A0 -maproot=3Droot:wheel=A0=A0=A0=A0 =
etau-java-001
/export/clients/java001/usr=A0=A0=A0=A0 =
-maproot=3Droot:wheel=A0=A0=A0=A0 -network=3D192.168.2.0
-mask=3D255.255.255.0

And finally, the root tree looks like:

gemini: {8} ls -l /export/clients/java001/root
total 4172
-rw-r--r--=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 940 Sep=A0 3=A0 2003 =
.cshrc
-rw-r--r--=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 519 Feb 22=A0 2005 =
.profile
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 May 11 10:22 altroot
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0 1024 May 11 10:56 bin
drwxr-xr-x=A0=A0 4 root=A0 wheel=A0=A0=A0=A0=A0 512 Sep 15 19:28 dev
drwxr-xr-x=A0 23 root=A0 wheel=A0=A0=A0=A0 2048 Sep 15 20:09 etc
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Sep 15 19:52 kern
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0 1024 May 11 10:35 lib
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 May 11 10:37 libexec
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 May 11 10:22 mnt
-rwxr-xr-x=A0=A0 1 root=A0 wheel=A0 2096598 May 11 11:29 netbsd
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0 2560 May 11 10:57 rescue
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Sep 15 19:28 root
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0 2048 May 11 10:57 sbin
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 May 11 10:22 stand
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Sep 15 19:51 swap
drwxrwxrwt=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 May 11 10:22 tmp
drwxr-xr-x=A0=A0 2 root=A0 wheel=A0=A0=A0=A0=A0 512 Sep 15 20:20 usr
drwxr-xr-x=A0 21 root=A0 wheel=A0=A0=A0=A0=A0 512 May 11 10:22 var
Can anybody spot where I=92ve gone wrong?