[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: Busybox dies on booting
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2009-03-29 15:56:01
Message-ID: 200903291756.01368.vda.linux () googlemail ! com
[Download RAW message or body]

On Friday 20 March 2009 13:45, Roger Varley wrote:
> >
> > Let's figure out you reach main() and then init_main().
> >
> > in libbb/appletlib.c add this line:
> >
> > #if ENABLE_BUILD_LIBBUSYBOX
> > int lbb_main(char **argv)
> > #else
> > int main(int argc UNUSED_PARAM, char **argv)
> > #endif
> > {
> > +        write(1, "in main\n", 8);
> >
> > and in init/init.c
> >
> > int init_main(int argc UNUSED_PARAM, char **argv)
> > {
> > +        write(1, "in init_main\n", 13);
> >
> > Rebuild, install new /sbin/init, reboot. What do you see?
> >
> 
> Hmmm ... I don't see either of them.

Then the bug is not in busybox but in the build environment
(busybx binaries crash before they reach main())
or runtime (wrong versions of libc.so, for example).
--
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic