[linux-yocto] Kernel panic after trying to start /init
Bruce Ashfield
bruce.ashfield at windriver.com
Wed Jun 25 07:11:19 PDT 2014
On 14-06-25 10:07 AM, Andreas Wick wrote:
> On Mon, Jun 23, 2014 at 3:26 AM, Bruce Ashfield
> <bruce.ashfield at windriver.com> wrote:
>> On 2014-06-21, 12:22 PM, Andreas Wick wrote:
>>>
>>> Hi,
>>>
>>> I currently try to build a kernel (3.14) for a SIMpad tablet
>>> (StrongARM SA1100). I'm not sure whether my problem is appropriate for
>>> this mailing list, just ignore it if it should ask somewhere else.
>>>
>>> The kernel does stop after it tried to execute the init process. Error
>>> message: "Kernel panic - not syncing: Attempted to kill init!
>>> exitcode=0x00000004"
>>> I already tried to use a different init process (busybox instead of
>>> tiny-init) however nothing changes.
>>>
>>> Are there any options or tools I can use to further track down the
>>> problem?
>>
>>
>> Hmmm. I typically figure these out by looking at the code, and adding
>> instrumentation (via ftrace, printk .. or whatever you prefer).
>>
>> What set of kernels have you tried ? Rather than debugging "everything",
>> bounding the problem is always a good idea.
>>
>> It could be the userspace options and build flags, mismatched with the
>> kernel if you can't execute anything in userspace.
>>
>> And finally, check to see if KDB works on the platform, if it does,
>> you might be able to use the in kernel debugger to get more hints.
>>
>> Bruce
>>
>
> Thank you for your suggestions. A few printk later, I was able to
> adjust the kernels EABI settings. Now everything seems to work fine.
Great! Thanks for following up, glad to hear you are up and running.
Bruce
>
> Thanks again for your support!
>
More information about the linux-yocto
mailing list