Using buildroot to build a system: Hangs after 'Freeing Unused Kernel Memory'

Evert Meulie evert at poboxes.info
Wed Jul 5 11:12:25 UTC 2006


Evert wrote:
> 
> Mike Frysinger wrote:
>> On Monday 03 July 2006 07:45, Evert wrote:
>>> Why does the system I buit with buildroot hang after 'Freeing Unused Kernel
>>> Memory'?
>> this could be one of many many things ... basically all you know for sure is 
>> userspace isnt working properly, that's it
>>
>> you can start debugging by dropping a static shell that is known to work and 
>> set init= to it at boot
>> -mike
> 
> That worked  :-)
> I copied sash from my host system, and that came up. The 'hello world' trick mentioned at http://www.busybox.net/FAQ.html#init works as well. So I guess my toolchain at least delivers functional
> static code...  ;-)

...but that is about it... My system still hangs after 'Freeing Unused
Kernel Memory'.
I have been playing around a bit with the busybox-binary generated:

ls gives me:
***
ls -al /home/evert/buildroot/build_i586/root/bin/busybox
-rwsr-xr-x 1 evert evert 336344 2006-07-05 11:23 /home/evert/buildroot/build_i586/root/bin/busybox
***

Then I tried file:
***
file /home/evert/buildroot/build_i586/root/bin/busybox
/home/evert/buildroot/build_i586/root/bin/busybox: setuid ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared
libs), stripped
***

That looks ok, right?

Then I figured I try ldd:
***
ldd /home/evert/buildroot/build_i586/root/bin/busybox
/usr/bin/ldd: line 124: /home/evert/buildroot/build_i586/root/bin/busybox: No such file or directory
***

Hmm, what happened there...? The file exists, but ldd can't process it?


Regards,
  Evert




More information about the uClibc mailing list