From: Chirag Kantharia <kantharia@hathway.com>
To: Prakash kanthi <pkanthi@yahoo.com>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: Linux Kernel hangs after execve("/bin/sh")
Date: Wed, 22 Jan 2003 15:17:12 +0530 [thread overview]
Message-ID: <20030122094712.GA5406@timesys.com> (raw)
In-Reply-To: <20030122091532.1705.qmail@web41202.mail.yahoo.com>
On Wed, Jan 22, 2003 at 01:15:32AM -0800, Prakash kanthi wrote:
| I wrote a small standalone program hello.c to test, if
| i can dynamically load it from init() instead of
| loading /bin/sh. I compiled the program added it to my
| ramdisk and called from init(). Following is the
| output. You can see that, it did all of it that it did
| for /bin/sh and also tried to open /etc/ld.so.preload
| and /etc/ld.so.cache and failed. But again towards the
| end, it tries to open /lib/libc.so.6 and succeds but
| still no output is displayed that hello.c is trying to
| print.
Quite sometime back, I had run into similar problem. init=/bin/bash
would not work, but init=/bin/helloworld would work. Later, I realized
that the board did not have FPU, and I had to pass relevant flags to
glibc, while compilation. The same might be the case with your board.
--
Chirag Kantharia, symonds.net/~chyrag/
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2003-01-22 9:47 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20030116083034.26873.qmail@web41206.mail.yahoo.com>
2003-01-22 0:05 ` busybox source Prakash kanthi
2003-01-22 0:29 ` HyunKook Kim
2003-01-22 5:57 ` Wolfgang Denk
2003-01-22 9:15 ` Linux Kernel hangs after execve("/bin/sh") Prakash kanthi
2003-01-22 9:47 ` Chirag Kantharia [this message]
2003-01-22 15:22 ` Linux Kernel hangs after execve('/bin/sh') Daris A Nevil
2003-01-22 19:50 ` Prakash kanthi
2003-01-22 20:14 ` Mark Pilon
2003-01-24 6:44 ` Linux Kernel hangs after execve("/bin/sh") Jan Damborsky
2003-01-24 7:03 ` Prakash kanthi
2003-01-22 20:35 Linux Kernel hangs after execve('/bin/sh') Jean-Denis Boyer
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=20030122094712.GA5406@timesys.com \
--to=kantharia@hathway.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=pkanthi@yahoo.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.