[yocto] Kernel Panic: /sbin/init not found

Paul Eggleton paul.eggleton at linux.intel.com
Thu Apr 2 04:37:09 PDT 2015


Hi Chan Kit,

On Thursday 02 April 2015 09:25:35 Yu, Chan KitX wrote:
> My Yocto build environment was working perfectly until last week when I got
> kernel panic caused by missing/sbin/init. When I examined the image, I
> found that /sbin/init is indeed absent from the root image. To troubleshoot
> the issue, I tried building a stock Yocto whose target platform is 64-bit
> machine using a  freshly installed Ubuntu 14.04 from another build machine.
>  Despite that, the kernel panic still occurs and that's the main reason I'm
> writing here; that is to see if anyone else has the same issue. I did not
> make any change or any customization to local.conf aside from setting
> MACHINE to 64 bit and adding the following lines which enable multilib:
> 
> IMAGE_INSTALL = "lib32-connman"
> require conf/multilib.conf
> MULTILIBS = "multilib:lib32"
> DEFAULTTUNE_virtclass-multilib-lib32 = "x86"
> 
> I would be more than happy to provide necessary diagnostic message shall you
> request so. Let me know if you guys are able to reproduce this issue.

What version of the build system are you using? What exact image are you 
building? What image output type are you trying this with (ext3 / live / 
etc.)? What is your MACHINE value? Can you attach the manifest file for the 
image that is broken?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list