<div dir="ltr">&gt;<span style="font-family:arial,sans-serif;font-size:13.333333969116211px">Of course you will see that, INIT must not return. :-) I guess that will give you enough clue to move forward. </span><div><font face="arial, sans-serif">Yes Sarbojit, I know that it is expected behaviout... But my actual question is the following....In my bringup kernel with the same ramdisk.img that message is not seen.(So my bringup kernel is not able to launch init process....) My actual question is how to make my kernel also see that message?</font></div>

<div><font face="arial, sans-serif"><br></font><div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">3) In my bringup kernel, The similer kind of message is not seen. I can see ramdisk uncompression successful and also..</div>

<div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">I have kept logs in <font face="courier new, monospace">arch/arm/kernel/sys_arm.c </font></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">

in the function <font face="courier new, monospace">kernel_execv()</font></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">and i observed <font face="courier new, monospace">do_execv()</font> function call is successful.</div>

<div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">Can anyone help me, am i missing something??</div>

<div style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13.333333969116211px">Please give me pointers on how to proceed.</div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 19, 2013 at 10:38 AM, Sarbojit Ganguly <span dir="ltr">&lt;<a href="mailto:unixman.linuxboy@gmail.com" target="_blank">unixman.linuxboy@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"><div class="gmail_extra"><div class="gmail_quote"><div class="im">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><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 class="im">
<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><font color="#888888"><div>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br>
</div></font></span></div>
<br></div>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">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><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br>Regards,<br>Sarbojit
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>With regards,<br>Sandeep Kumar Anantapalli,<br>
</div>