Sunday, December 29, 2013

Fix Boost Error message : "INIT: ID "1" respawning too fast: disabled for 5 minutes"

INIT: ID "1" respawning too fast: disabled for 5 minutes         

            This is probably due to the issue of the "/etc/ld.so.preload" file in new raspbian images. If you search on this error messages you'll find instructions on how to edit this file within the .img file.  There's another way though, just setup your SD card as you normally would for the raspberry pi and run it in a raspberry pi.  



         You can do the normal things like expand the filesystem to fill your SD card, which will mean you get the same size of disk in qemu also.  You still need to edit the "/etc/ld.so.preload" file as it will stop you being able to log on in qemu (it causes the load of some shared-library, which will make you unable to login causes "kernel panic" apparently), so from the command line use:

sudo nano /etc/ld.so.preload

Now insert a # as the start of the only line in there to comment it out, giving:


#/usr/lib/arm-linux-gnueabihf/libcofi_rpi.so

Use CTRL+X to save and exit.  Then use this before powering off:

sudo halt

Now use Win32DiskImager to read the SD card and create an .iso image file.  Copy this into the qemu directory used above, update the raspberry.bat file to use its name and hey presto you have raspbian on your desktop.  There will be a few error messages as it boots due to hardware that isn't there, but it should load to the login prompt and be ready to go.

No comments:

Post a Comment