Re: Booting Sun3/50 Diskless from Serving PC

David Brownlee <[email protected]> Mon, 9 Mar 2009 14:48:53 +0000 (GMT)
Newsgroups gmane.os.netbsd.ports.sun3
Message-ID <alpine.NEB.2.00.0903091437040.972@localhost>
On Sun, 8 Mar 2009, David Johnson wrote:

> I'm not booting to multi-user mode but it's not quite time to ring the soup 
> bell:
>
> I get two warnings during boot to multi-user mode as follows:
> Building databases:
> KVM_mkdb: machdep.booted_kernel: the value is not available: no such file or 
> dir

 	Hmm, what is the output of 'sysctl machdep', and can you confirm
 	that the booted kernel is available as /netbsd in the client's
 	mounted root filesystem? (I think it pretty much has to be
 	given your setup?)

> and the second more troublesome one:
> mount_nfs: g21:/export/sun350/swap on /swap  not a directory
> swapctl: g21:/export/sun350/swap mount failed
>
> /export/sun350/root/etc/fstab has the following line in it for swap:
> g21:/export/sun350/swap none swap sw,nfsmntpt=/swap
> g21:/export/sun350/root  /       nfs    r,w
>
> Yet, as recommended in the previous e-mail, the directory 
> /export/sun350/root/swap  is really there as well as
> /export/sun350/swap    this one is a file.  I enlarged it to 16 Mbytes
>
> Sun350 appears to basically running though I'm not sure how it manages to get 
> fully booted in mult-user mode without a swap file.  I only have 4Mbytes of 
> memory.

 	Thats pretty good going with only 4MB of RAM before framebuffer and
 	kernel is taken away...

 	OK, a couple more tests on the client:

 	a) run 'ls -ld /swap' - can you confirm it sees it as a directory

 	b) run 'mount g21:/export/sun350/root /swap' - it should mount
 	   another copy of the client's root filesystem on /swap on the
 	   client. Assuming that works just 'umount /swap'.

 	c) does 'swapctl -A' give the same 'not a directory' error on
 	   the client (or server)

-- 
 		David/absolute       -- www.NetBSD.org: No hype required --