<div>Hi Dave,</div>
<div> </div>
<div>The problem is solved.</div>
<div>But i have one doubt.</div>
<div> </div>
<div>>So the PC is 0, and the LR is C92F. That tells me that the code at<br>>C92F in your init process is trying to call a function through a NULL<br>>pointer. You can try disassembling your init process. Something like<br>
<br>>arm-eabi-objdump --disassemble init</div>
<div> </div>
<div>In this case we came to know the process name 'init'. But in some </div>
<div>cases we might just have the link register address, and no process name.</div>
<div>say some user-space process has caused the panic.</div>
<div> </div>
<div>Can u tell me ..how to debug in that case?</div>
<div> </div>
<div>Thank you so much..</div>
<div>Sandeep</div>
<div><br><br><br> </div>
<div class="gmail_quote">On Fri, Sep 2, 2011 at 8:43 PM, Dave Hylands <span dir="ltr"><<a href="mailto:dhylands@gmail.com">dhylands@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Sandeep,<br>
<div class="im"><br>On Fri, Sep 2, 2011 at 4:11 AM, sandeep kumar <<a href="mailto:coolsandyforyou@gmail.com">coolsandyforyou@gmail.com</a>> wrote:<br>> Logs after enabling the CONFIG_DEBUG_USER and setting user_debug to 255, to<br>
> get more info....(as suggested by Dave..)<br>><br>> <3>[ 89.663286] init: [boot time] processing action 0x4c5e8<br>> (property:init.svc.samsungani=stopped)<br>> <3>[ 89.663988] init: [boot time] processing action 0x4ef20<br>
> (property:init.svc.samsungani=stopped)<br>> <7>[ 89.664049] init: unhandled page fault (11) at 0x00000000, code<br>> 0x80000007<br>> <1>[ 89.664080] pgd = de370000<br>> <1>[ 89.664110] [00000000] *pgd=5eb83031, *pte=00000000, *ppte=00000000<br>
> <4>[ 89.664141]<br>> <4>[ 89.664171] Pid: 1, comm: init<br>> <4>[ 89.664202] CPU: 1 Not tainted (2.6.35.11 #4)<br>> <4>[ 89.664232] PC is at 0x0<br>> <4>[ 89.664232] LR is at 0xc92f<br>
> <4>[ 89.664263] pc : [<00000000>] lr : [<0000c92f>] psr: 60000010<br><br></div>So the PC is 0, and the LR is C92F. That tells me that the code at<br>C92F in your init process is trying to call a function through a NULL<br>
pointer. You can try disassembling your init process. Something like<br><br>arm-eabi-objdump --disassemble init<br><br>You'll need to figure out which toolchain was used to compile the init<br>process. I'm jjust taking a guess that it was arm-eabi-gcc.<br>
<br>You may need to recompile with debug symbols or dig up the unstripped<br>executable from your build.<br><font color="#888888"><br>--<br>Dave Hylands<br>Shuswap, BC, Canada<br><a href="http://www.davehylands.com/" target="_blank">http://www.davehylands.com</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br><br>