<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 19 April 2013 09:39, sandeep kumar <span dir="ltr">&lt;<a href="mailto:coolsandyforyou@gmail.com" target="_blank">coolsandyforyou@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All<div><br></div><div>I am doing a open-source kernel bringup on Qualcomm board. I reached till the successfull kernel initialization complete, and i can see the run_init_process() function executing successfully. But still i am not seeing my init process is not launched. Here are the following check points...i did,</div>


<div><br></div><div>1) I made a ramdisk image with the init process code, like this....</div><div><font face="courier new, monospace">int main()</font></div><div><font face="courier new, monospace">{</font></div>

<div><font face="courier new, monospace">   return 0;</font></div><div><font face="courier new, monospace">}</font></div></div></blockquote><div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><br></div><div>2) With the same ramdisk.img(which contains my init process(a return; statement in the main()) and another kernel i can see init process launch is successful. (in the kernel logs i am seeing panic message: Trying to kill init!! )</div>
</div></blockquote><div><br></div><div>Of course you will see that, INIT must not return. :-) I guess that will give you enough clue to move forward. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">

<div><br></div><div>3) In my bringup kernel, The similer kind of message is not seen. I can see ramdisk uncompression successful and also..</div><div>I have kept logs in <font face="courier new, monospace">arch/arm/kernel/sys_arm.c </font></div>


<div>in the function <font face="courier new, monospace">kernel_execv()</font></div><div>and i observed <font face="courier new, monospace">do_execv()</font> function call is successful.</div><div><br></div><div>Can anyone help me, am i missing something??</div>


<div>Please give me pointers on how to proceed.</div><span class="HOEnZb"><font color="#888888"><div>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br>
</div></font></span></div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Sarbojit
</div></div>