From: "wilbur.chan" <wilbur512@gmail.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Linux MIPS Mailing List <linux-mips@linux-mips.org>
Subject: Re: Could not use printf after init process
Date: Wed, 11 Nov 2009 07:45:19 +0800 [thread overview]
Message-ID: <e997b7420911101545o29dc79adod17c4166880886ff@mail.gmail.com> (raw)
In-Reply-To: <20091110160354.GA7367@linux-mips.org>
[-- Attachment #1: Type: text/plain, Size: 510 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 1015 bytes --]
prev parent reply other threads:[~2009-11-10 23:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-10 15:37 Could not use printf after init process wilbur.chan
2009-11-10 16:03 ` Ralf Baechle
2009-11-10 23:45 ` wilbur.chan [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e997b7420911101545o29dc79adod17c4166880886ff@mail.gmail.com \
--to=wilbur512@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox