Re: Could not use printf after init process

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

 



On Tue, Nov 10, 2009 at 11:37:20PM +0800, wilbur.chan wrote:

> When booting , Kernel could not print on console after calling
> run_init_process-->kernel_execve("/sbin/init")
> 
> I guess that printf in busybox  might fail  after the init process began.
> 
> Any sugguestion on how to trace this problem? Thank you in advance.

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


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

  Powered by Linux