Subject: Re: netbooting problems with Mr.Coffee javastation
To: None <port-sparc@NetBSD.org>
From: Michael Parson <mparson@bl.org>
List: port-sparc
Date: 11/20/2005 15:50:11
On Sun, Nov 20, 2005 at 08:24:13PM +0100, Jasper Lievisse Adriaanse wrote:
> Ok, now I'm stuck again :( I managed to make my Krups boot of my laptop. But
> that's not very desireble so I wanted to make my Javastation boot of my gateway
> (with IP 192.168.1.1), this is also my DHCP and NFS-server.
> In my logs I see that an IP is given to my Krups and I notice a BOOTREQUEST and
> a BOOTREPLY, but when booting my Javastation with 'boot net' I get the
> following error:
>
> ------8<-----------
> Booting netbsd
> Trying BOOTP protocol... net_open: client addr: 192.168.1.10
> net_open: subnet mask: 255.255.255.0
> net_open: net gateway: 192.168.1.1
> net_open: server addr: 192.168.1.1
> ip address: 192.168.1.10, netmask: 255.255.255.0 gateway: 192.168.1.1
> root addr=192.168.1.1 path=
Looks like it's not getting the path to the root filesystem on the nfs
server.
> Can't open NFS network connection on `/pci@0,300c0000/network@0,1'
> Cannot load netbsd: error=13
>
> device[/pci@0,300c0000/network@0,1] ("halt" to halt);
> ------8<-----------
> The empty 'path=' bothers me.
Yeah.
> Here is my /etc/exports (the server is an OpenBSD-box):
>
> # $OpenBSD: exports,v 1.2 2002/05/31 08:15:44 pjanzen Exp $
> /var/export/ununquadium/root -maproot=root:wheel -network 192.168.1
> /var/export/ununquadium/swap -maproot=root:wheel -network 192.168.1
> /var/export/ununquadium/usr -maproot=nobody:nobody -network 192.168.1
> /var/export/ununquadium/home -maproot=nobody:nobody -network 192.168.1
>
> Here is the /var/export/ununquadium/fstab:
>
> 192.168.1.1:/var/export/ununquadium/swap none swap sw,nfsmnpt=/swap
> 192.168.1.1:/var/export/ununquadium/swap / nfs rw 0 0
> 192.168.1.1:/var/export/ununquadium/usr /usr nfs rw 0 0
> 192.168.1.1:/var/export/ununquadium/home /home nfs rw 0 0
>
> And here's the relevant /etc/dhcpd.conf part:
> # $OpenBSD: dhcpd.conf,v 1.1 1998/08/19 04:25:45 form Exp $
>
> allow bootp;
>
> shared-network LOCAL-net {
> subnet 192.168.1.0 netmask 255.255.255.0 {
> option routers 192.168.1.1;
> range 192.168.1.15 192.168.1.255;
> default-lease-time 600;
> max-lease-time 7200;
>
> host ununquadium {
> hardware ethernet 08:00:20:95:24:91;
> fixed-address 192.168.1.10;
> option host-name "ununquadium";
> filename "C0A8010A";
> # next-server 192.168.1.1;
> option root-path "/var/export/ununquadium/root";
> }
> }
> }
Here's how I boot my sun xterminal-1 off my FC-3 Linux box:
host one {
hardware ethernet 08:00:20:7a:ed:4c;
fixed-address 192.168.15.15;
option root-path "/home/netboot";
server-name "gold.bl";
option host-name "one";
}
The "filename" part is handled by the rarp process, you shouldn't need
that line.
--
Michael Parson
mparson@bl.org