Re: Could not use printf after init process

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





2009/11/11 Ralf Baechle <ralf@xxxxxxxxxxxxxx>
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.
 
 
 
 

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux