Subject: help with 2.0 netboot on IPC
To: None <port-sparc@netbsd.org>
From: Tom Uban <uban@ubanproductions.com>
List: port-sparc
Date: 01/23/2005 12:33:54
Hello,

I'm attempting to netboot 2.0 onto an IPC and when it gets to the
point of trying to NFS mount the miniroot, I get the following EACCES
error on the IPC console:

>ok boot le()netbsd
>Booting from: le(0,0,0)netbsd
>13a00 >> NetBSD/sparc Secondary Boot, Revision 1.14
> >> (builds@build, Thu Dec  2 01:42:46 UTC 2004)
>Booting netbsd
>Trying BOOTP protocol... net_open: client addr: 192.168.0.7
>net_open: subnet mask: 255.255.255.0
>net_open: net gateway: 192.168.0.254
>net_open: server addr: 192.168.0.254
>ip address: 192.168.0.7, hostname: netbsd, netmask: 255.255.255.0, 
>gateway: 192.
>168.0.254
>root addr=192.168.0.254 path=
>Can't open NFS network connection on `le(0,0,0)netbsd'
>Cannot load netbsd: error=13
>
>device[le(0,0,0)netbsd] ("halt" to halt):

I've setup the /etc/exports as follows:

>/export/netbsd/root -maproot=root netbsd.ubanproductions.com

And mountd is running and showmount -e displays:

>/export/netbsd/root                netbsd

The nfs daemons are running as well.

Is the problem that the path= does not have any path? I have
the /etc/dhcpd.conf setup with this:

>         option root-path       "/export/netbsd/root";

And the /export/netbsd/root miniroot exists and contains the
extracted miniroot.

If I run mountd in debug mode (-d) there isn't any useful
debug output when the client attempts the NFS mount, but I'm
not sure that there would be.

Any help would be appreciated.

--tnx
--tom