Subject: Re: memory based root filesystem
To: Hubert Feyrer <hubert@feyrer.de>
From: Kamal R. Prasad <kamalpr@yahoo.com>
List: tech-kern
Date: 01/13/2005 03:14:22
--- Hubert Feyrer <hubert@feyrer.de> wrote:

> On Wed, 12 Jan 2005, Brian Rose wrote:
> >> cpu_lwp_fork: 0xc0732a1c 0xc2a4207c 0xc0732a1c
> 
> Ouch, that shouldn't happen.
> ?

> >> init: copying out path `/sbin/init' 11
> >> exec /sbin/init: error 8
> 
> From /usr/include/sys/errno.h, that is:
> #define ENOEXEC         8               /* Exec
> format error */
> 
> Assuming /sbin/init is ELF, did you remove the ELF
> loader from your 
> kernel?
> 
Yeah -there was a format error. The binary happened to
be an elf32-i386 binary and not an arm  binary because
of problems with cross-compiling.

Thanks alot.
regards
-kamal


> 
> >> init: copying out flags `-s' 3
> >> init: copying out path `/sbin/oinit' 12
> >> exec /sbin/oinit: error 2
> 
> #define ENOENT          2               /* No such
> file or directory */
> 
> 
>   - Hubert
> 
> -- 
> NetBSD - Free AND Open!      (And of course secure,
> portable, yadda yadda)
> 



		
__________________________________ 
Do you Yahoo!? 
Take Yahoo! Mail with you! Get it on your mobile phone. 
http://mobile.yahoo.com/maildemo