[Top] [All Lists]

Re: Could not use printf after init process

To: "wilbur.chan" <>
Subject: Re: Could not use printf after init process
From: Ralf Baechle <>
Date: Tue, 10 Nov 2009 17:03:54 +0100
Cc: Linux MIPS Mailing List <>
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.5.19 (2009-01-05)
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.


<Prev in Thread] Current Thread [Next in Thread>