analysis of kernel panic logs.

Dave Hylands dhylands at gmail.com
Mon Sep 5 03:56:19 EDT 2011


Hi Sandeep,

On Sun, Sep 4, 2011 at 10:51 PM, sandeep kumar
<coolsandyforyou at gmail.com> wrote:
> Hi Dave,
>
> The problem is solved.
> But i have one doubt.
>
>>So the PC is 0, and the LR is C92F. That tells me that the code at
>>C92F in your init process is trying to call a function through a NULL
>>pointer. You can try disassembling your init process. Something like
>
>>arm-eabi-objdump --disassemble init
>
> In this case we came to know the process name 'init'. But in some
> cases we might just have the link register address, and no process name.
> say some user-space process has caused the panic.
>
> Can u tell me ..how to debug in that case?

You should always have a pid & process name if its a user-space app
which dies (at least if you enable CONFIG_DEBUG_USER and enabling
user_debug)

-- 
Dave Hylands
Shuswap, BC, Canada
http://www.davehylands.com



More information about the Kernelnewbies mailing list