Subject: Re: Can't execute "init" on mac68k
To: Frederick Bruckman <fredb@immanent.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 10/21/2002 23:49:09
On Mon, Oct 21, 2002 at 03:30:38PM -0500, Frederick Bruckman wrote:
> I just built a full release for 1.6I/mac68k from sources checked out
> with the date tag of 2002-10-20 (on a 1.6/i386 host) and installed it
> all with sysinstall. Now I get
> 
>     exec: /sbin/init: error 8
> 
> then it goes on to try a few other locations and panics for "no init".
> If I set the Booter to prompt for root drive, I eventually get
> prompted for the location of "init", too, so I try "/rescue/init", but
> same "error 8". Same thing with an old 1.6E kernel.
> 
> On my other Mac, a custom kernel (with old static binaries) also
> fails, but I'll have to hook a monitor up to see what the error is,
> so I don't know if it's related or not.
> 
> Any idea what "error 8" means? Is anyone successfully running with
> the new dynamic root on mac68k?

rochebonne:/home/bouyer>awk '$3 == "8" {print $0}' /usr/include/sys/errno.h 
#define ENOEXEC         8               /* Exec format error */

(hum, maybe we could provide a errno2name ? :)
But I don't know why it complains about the exec format. Do you have
EXEC_ELF in your kernel ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--