Problem with dynamically linked BB
Denis Vlasenko
vda.linux at googlemail.com
Thu Jul 27 04:56:02 PDT 2006
On Thursday 27 July 2006 12:40, Marc Bodmer wrote:
>
> Hello
>
> I have the following problem with busybox-1.2.0 on an mpc8xx (ppc)
> target:
>
> When I choose not to statically link BB (CONFIG_STATIC=n):
>
> - The kernel (2.4.4) starts up but as soon as /sbin/init is called the
> system hangs.
Make non-busyboxed test sandbox (that is, with stock bash, libraries etc),
boot into it with init=/bin/sh and try to run dynamically linked bb.
Does that work? if not, what ldd busybox says?
> - There is no output from BB, the last output from the kernel is:
> Freeing unused kernel momory: 40k init
>
> When I statically link BB (CONFIG_STATIC=y):
>
> - The kernel starts up and calls /sbin/init:
>
> Freeing unused kernel memory: 40k init
>
> - Init executes /etc/inittab (content: /dev/ttyS0::askfirst:-/bin/sh )
>
> - I get the prompt:
>
> init started: BusyBox v1.2.0 (2006.07.27-10:17+0000) multi-call
> Please press Enter to activate this console.
Can't help you here. I do not run bbox init.
--
vda
More information about the busybox
mailing list