Subject: Re: netbooting problems with Mr.Coffee javastation
To: Michael Parson <mparson@bl.org>
From: Jasper Lievisse Adriaanse <jasper@nedbsd.nl>
List: port-sparc
Date: 11/20/2005 20:24:13
On Sat, 24 Sep 2005 20:01:23 -0500
Michael Parson <mparson@bl.org> wrote:

> On Sat, Sep 24, 2005 at 04:49:05PM -0600, Sean Brown wrote:
> > On September 23, 2005 5:24 pm, you wrote:
> > > On Fri, Sep 23, 2005 at 11:30:17AM -0600, Sean Brown wrote:
> > > > This is in the archives, and it was suggested to try an updated
> > > > bootjs.net, the problem is, I cant find an updated bootjs.net. I am using
> > > > the one that came with the 2.0.2 release and its dated Wed Mar 23 01:03
> > > > 2005. Where is an updated one?
> > >
> > > It should be in both 3.0 and 2.1 - but currently there seems to not be any
> > > reasonable snapshot on ftp.netbsd.org, so I put the version I am using at
> > >
> > >   ftp://ftp.netbsd.org/pub/NetBSD/misc/martin/bootjs.net.gz
> > >
> > > Hope this helps,
> > >
> > > Martin
> > 
> > Thank you for the reply and the link. It boots farther now stopping with 
> > error=13, so I'm stuck again. Heres what it spits out
> > 
> > >> NetBSD/sparc Secondary Boot, Revision 1.15
> > >> (martin@night-porter.duskware.de, Mon Aug 15 21:32:30 CEST 2005)
> > Patching OFW for SUNW,JDM1
> > cpu: creating node
> > eeprom: adding "model"
> > le: deleting bogus "interrupts"
> > su: adding "interrupts"
> > 8042: adding "interrupts"
> > Booting netbsd
> > Trying BOOTP protocol... net_open: client addr: 192.168.1.10
> > net_open: subnet mask: 255.255.255.192
> > net_open: server addr: 192.168.1.4
> > net_open: server path: 192.168.1.4:/netbsd/OS/root
> > ip address: 192.168.1.10, netmask: 255.255.255.192
> > root addr=192.168.1.4 path=192.168.1.4:/netbsd/OS/root
> > Can't open NFS network connection on `/sbus/ledma@4,8400010/le@4,8c00000:dhcp'
> > Cannot load netbsd: error=13
> > 
> > device[/sbus/ledma@4,8400010/le@4,8c00000:dhcp] ("halt" to halt): 
> > 
> > Here is the host specific part of my dhcpd.conf:
> > host rhodes {
> >         hardware ethernet 08:00:20:88:0A:86;
> >         fixed-address rhodes.unix.subatomic.local;
> >         next-server 192.168.1.4;
> >         option root-path "192.168.1.4:/netbsd/OS/root";
> 
> This just needs to read:
>          option root-path "/netbsd/OS/root";
> 
> The nfs server is specified already.
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=
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.

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";
		}
	}
}

I hope you guys can help me.

Cheers,
Jasper

> 
> -- 
> Michael Parson
> mparson@bl.org


-- 
"Security is decided by quality" -- Theo de Raadt