linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Robert Schwebel <robert@schwebel.de>
To: Bill Fink <billfink@mindspring.com>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: init does not run on 405GP system
Date: Wed, 11 Jun 2003 09:11:21 +0200	[thread overview]
Message-ID: <20030611071121.GY9379@pengutronix.de> (raw)
In-Reply-To: <20030611022215.572055d2.billfink@mindspring.com>


On Wed, Jun 11, 2003 at 02:22:15AM -0400, Bill Fink wrote:
> One other simple thing to try if you haven't already is the kernel
> boot parameter init=/bin/bash.

Well, I've replaced init by a statically linked hello-world program. So
there should be no need for any shared library besides ld.so.1, the ELF
processor, but that one is loaded correctly and as far as I can see it
interprets the ELF file right; the right code is loaded (compared the
binary mem content at the entry point with objdump output) and the
correct entry point is called, but exactly after that I don't get an
answer any more. Unfortunately this is the point where the BDI doesn't
help any more because it cannot follow the user space memory mapping.

> gwiz% ldd /sbin/init
>         libc.so.6 => /lib/libc.so.6 (0x0fea0000)
>         /lib/ld.so.1 => /lib/ld.so.1 (0x30000000)

metis:/tftpboot/solidcard/sbin# file init
init: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), statically linked, stripped

And I don't see any call to the open() system call.

Robert
--
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Braunschweiger Str. 79,  31134 Hildesheim, Germany
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
    Phone: +49-5121-28619-0 |  Fax: +49-5121-28619-4

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-06-11  7:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-11  3:21 init does not run on 405GP system Bill Fink
2003-06-11  4:53 ` Robert Schwebel
2003-06-11  6:22   ` Bill Fink
2003-06-11  7:11     ` Robert Schwebel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-12 22:51 Kabir Ahsan-r9aahw
2006-01-13  1:19 ` Wolfgang Denk
2003-06-10 14:10 Robert Schwebel
2003-06-10 14:39 ` Wolfgang Denk
2003-06-10 15:27   ` Robert Schwebel
2003-06-10 15:02 ` Hollis Blanchard
2003-06-10 15:12   ` Robert Schwebel
2003-06-10 16:52     ` Wolfgang Denk
2003-06-10 18:00       ` Robert Schwebel
2003-06-17  9:26 ` Robert Schwebel

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=20030611071121.GY9379@pengutronix.de \
    --to=robert@schwebel.de \
    --cc=billfink@mindspring.com \
    --cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).