Subject: Re: Diskless boot problem error=13
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Holo.Rodents.Montreal.QC.CA>
List: current-users
Date: 11/08/1996 08:34:33
> My problem was that I had forgotten to send HUP to mountd so the nfs
> mount requests were failing -- so I guess error=13 means nfs mount
> was unsuccessful.

error 13 is EACCES, Permssion denied.  (See /usr/include/sys/errno.h.)

> At this point I get past the root on server:/... and swap on
> server:/... messages.  It now cannot find /sbin/init.

> root on server:/.../root
> swap on server:/.../swap
> exec /sbin/init: error 8
> init: not found
> panic: no init

> I have populated the served up root area with an immage of of a
> normal system and have verified that sbin/init from that root area
> does exists.

Error 8 is ENOEXEC, Exec format error.

> The kernel configuration has EXEC_AOUT and NFSCLIENT options.

You're certain the sbin/init in the root area is in fact an a.out
binary?  And that the kernel the diskless boot process is loading
(which is not _necessarily_ the one in the root area, though it
probably is) was built from a config with EXEC_AOUT?

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     01 EE 31 F6 BB 0C 34 36  00 F3 7C 5A C1 A0 67 1D