[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20071218224702.GI15227@1wt.eu>
Date: Tue, 18 Dec 2007 23:47:03 +0100
From: Willy Tarreau <w@....eu>
To: Alon Bar-Lev <alon.barlev@...il.com>
Cc: "H. Peter Anvin" <hpa@...or.com>, linux-mips@....linux-mips.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [MIPS] Build an embedded initramfs into mips kernel
On Wed, Dec 19, 2007 at 12:09:46AM +0200, Alon Bar-Lev wrote:
> On 12/18/07, H. Peter Anvin <hpa@...or.com> wrote:
> > Make sure your /init doesn't depend on an interpreter or library which
> > isn't available.
>
> Thank you for your answer.
>
> I already checked.
>
> /init is hardlink to busybox, it depends on libc.so.0 which is available at /lib
Are you sure that libc.so.0 is enough and that you don't need any ld.so ?
> But shouldn't I get a different error code if this is the case?
If it does not find part of the dynamic linker or libraries, this error
makes sense to me.
You should try to build a static init with any stupid thing such as a
hello world to ensure that the problem really comes from the init and
nothing else.
Regards,
Willy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists