[Top] [All Lists]

Re: Could not use printf after init process

To: Ralf Baechle <>
Subject: Re: Could not use printf after init process
From: "wilbur.chan" <>
Date: Wed, 11 Nov 2009 07:45:19 +0800
Cc: Linux MIPS Mailing List <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=7WyHLjEBes/Cvs1iJnqKj3HVDzJlq+Rj/vTiAS5QJ54=; b=rAzJF49xJRGTlwaJfpj4Tmu/vMNeEZiOinJO05fR5clv1yfsiTGEKYRZYeRwUKZZJH YRd9KG+vnxBsAkSilSl8zNyxozjbRq7TzUn6X9+iVygl5cV8HyPBzsaOiOytOUcR2wdH CbTosBWSRHsDez/g+9G9EmCsaKzkZX9L8Ju1E=
Domainkey-signature: a=rsa-sha1; c=nofws;; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=u/FPQu+laC8Essg8C7ANesjB3j8wjST+FqiHbppw8EXZVB3QstCJu+b0a+X/7IjQWc AQVC+tTbQGf2wH9BVOdzBxqY7xX000tKt3Ou0jmNZ7gYBsofy0uNYXMc4LWwFAOFt+Rj l9YXAJOO80KNCMqTcyXw6B8uRFsc/MkAkV6FY=
In-reply-to: <>
Original-recipient: rfc822;
References: <> <>

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


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.
<Prev in Thread] Current Thread [Next in Thread>