Subject: Re: Can't execute "init" on mac68k
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Frederick Bruckman <fredb@immanent.net>
List: current-users
Date: 10/21/2002 17:15:38
On Mon, 21 Oct 2002, Manuel Bouyer wrote:
> 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 ?
EXEC_ELF32 is defined in "opt_execfmt.h" by virtue of of "options
EXEC_ELF32" in "std.mac8k". Plus, it fails in the same way with an old
kernel, too. I'm guessing there's something really wrong with the
toolchain.
Frederick