2009/11/11 Ralf Baechle <ralf@linux-mips.org>
On Tue, Nov 10, 2009 at 11:37:20PM +0800, wilbur.chan wrote:


I assume you meant printk, not printf.

If kernel_execve() is successful the function won't return so code following
that statement won't be executed.

 Ralf

It was 'printf' in init process which was generated by busybox.
 
After I replaced 'init' with a simple 'hello wolrd' executable , which was like kernel_execve("/hello wolrd"),
 
it could not print the 'hello wolrd' either.