failed to execute busybox Attempting defaults

Javier Gracia Castro javier.graciacastro at tut.fi
Thu May 10 06:44:36 UTC 2007


Hi,

I have the same problem as you. I can't run busybox because of this  
problem in the EABI version. I have tried both uClib and glibc  
toolchains but I obtain the same problem. However, when I compile the  
kernel everything works fine. But for all applications  
thttp://www.google.es/hat I want to run in the user space:

busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically  
linked (uses shared libs), stripped

ELF Header:
   Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
   Class:                             ELF32
   Data:                              2's complement, little endian
   Version:                           1 (current)
   OS/ABI:                            UNIX - System V
   ABI Version:                       0
   Type:                              EXEC (Executable file)
   Machine:                           ARM
   Version:                           0x1
   Entry point address:               0xd344
   Start of program headers:          52 (bytes into file)
   Start of section headers:          724300 (bytes into file)
   Flags:                             0x4000002, has entry point, Version4 EABI
   Size of this header:               52 (bytes)
   Size of program headers:           32 (bytes)
   Number of program headers:         6
   Size of section headers:           40 (bytes)
   Number of section headers:         24
   Section header string table index: 23

I have a Busybox package not compiled by me and the output is:

busybox: setuid ELF 32-bit LSB executable, ARM, version 1 (ARM),  
dynamically linked (uses shared libs), stripped

ELF Header:
   Magic:   7f 45 4c 46 01 01 01 61 00 00 00 00 00 00 00 00
   Class:                             ELF32
   Data:                              2's complement, little endian
   Version:                           1 (current)
   OS/ABI:                            ARM
   ABI Version:                       0
   Type:                              EXEC (Executable file)
   Machine:                           ARM
   Version:                           0x1
   Entry point address:               0xc34c
   Start of program headers:          52 (bytes into file)
   Start of section headers:          437340 (bytes into file)
   Flags:                             0x2, has entry point, GNU EABI
   Size of this header:               52 (bytes)
   Size of program headers:           32 (bytes)
   Number of program headers:         5
   Size of section headers:           40 (bytes)
   Number of section headers:         23
   Section header string table index: 22

I am also trying to install a webserver and the binary doesn't work  
because of this problem I guess.

I found a web (http://wiki.debian.org/ArmEabiPort) that comment this  
issues but I haven't solved this problem yet. If you find any clue,  
please let me know.

Regards,

Javier


Quoting Brian Austin <brian.austin at cirrus.com>:

> Hello,
>
> running busybox 1.2.0
> uclibc 0.9.29
> gcc-4.1.2 EABI toolchain.
>
> when booting kernel 2.6.20.4
> with init=/bin/busybox sh
>
> I get this error....
>
> Freeing init memory: 132K
> Failed to execute '/bin/busybox.  Attempting defaults...
>
>
> I have made my own static and shared init ( hello world ) and that
> executes fine.
>
> running file on the /bin/busybox gives...
>
> busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
> linked (uses shared libs), stripped
>
> has anyone seen this error before?
>
> Is there a version of busybox to use for EABI?
>
> Thanks
>
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
>






More information about the busybox mailing list