On 19 April 2013 09:39, sandeep kumar <coolsandyforyou@gmail.com> wrote:
Hi All

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,

1) I made a ramdisk image with the init process code, like this....
int main()
{
   return 0;
}

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!! )

Of course you will see that, INIT must not return. :-) I guess that will give you enough clue to move forward.

3) In my bringup kernel, The similer kind of message is not seen. I can see ramdisk uncompression successful and also..
I have kept logs in arch/arm/kernel/sys_arm.c 
in the function kernel_execv()
and i observed do_execv() function call is successful.

Can anyone help me, am i missing something??
Please give me pointers on how to proceed.
--
With regards,
Sandeep Kumar Anantapalli,

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




--
Regards,
Sarbojit