From: Keith M Wesolowski <wesolows@foobazco.org>
To: Patrick Fisher <pbfisher@seas.upenn.edu>
Cc: linux-mips@oss.sgi.com
Subject: Re: Executing Programs from initrd
Date: Fri, 4 May 2001 20:00:51 -0700 [thread overview]
Message-ID: <20010504200051.A1302@foobazco.org> (raw)
In-Reply-To: <019801c0d50c$32024fb0$2dd75b82@serendipity>; from pbfisher@seas.upenn.edu on Fri, May 04, 2001 at 10:36:31PM -0400
On Fri, May 04, 2001 at 10:36:31PM -0400, Patrick Fisher wrote:
> However, I can't run any binaries other than this one and the shell. I
> wrote an additional Hello World program in C, compiled it for mipsel, and
> put it in the ramdisk. The executable is definitely there when I boot on
> the nino - I can send it all to the serial console and see that it exists.
> However, any attempt to execute it returns "No such file or directory".
Did you compile with -static? If not, the system will attempt to load
it with /lib/ld.so.1. Do you have that file? Is it executable? What
about libc?
If you have a file starting with
#! /bin/fux0r
and /bin/fux0r does not exist, the execution will fail with that exact
error. In fact from the system's point of view it's the same thing
with /lib/ld.so.1 instead of /bin/fux0r.
--
Keith M Wesolowski <wesolows@foobazco.org> http://foobazco.org/~wesolows
------(( Project Foobazco Coordinator and Network Administrator ))------
"Nothing motivates a man more than to see his boss put
in an honest day's work." -- The fortune file
prev parent reply other threads:[~2001-05-05 3:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-05 2:36 Executing Programs from initrd Patrick Fisher
2001-05-05 2:36 ` Patrick Fisher
2001-05-05 2:57 ` Keith Owens
2001-05-05 3:00 ` Keith M Wesolowski [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=20010504200051.A1302@foobazco.org \
--to=wesolows@foobazco.org \
--cc=linux-mips@oss.sgi.com \
--cc=pbfisher@seas.upenn.edu \
/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