public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dzuy Nguyen <dzuy@infinity-studios.com>
To: linux-kernel@vger.kernel.org
Subject: Strange 2.6 initrd/initramfs problem with shared libraries on VIA C3
Date: Mon, 09 May 2005 23:54:30 -0500	[thread overview]
Message-ID: <42803E86.5060107@infinity-studios.com> (raw)

I'm not sure if this is a bug or whether it's been addressed, but I'm
seeing a strange problem with 2.6 kernel on my VI C3 boards.

I replace nash on FC3's initramfs with busybox compiled with shared
libs.  I put glibc, ld and other libs in the /lib directory of the
initramfs.  My /init is an ash script, which basically runs busybox.
When boots, it just hangs in initramfs.

I use the same initramfs on other Intel pentium system and it works
fine.  It just fails on any of my VIA C3 systems, both with the stock
FC3 kernel and customed 2.6.11.7 kernel compiled specifically for
Cyrix/C3 and i586/i686.

When use static nash and busybox, it works (on C3).  Looking at the
code, the kernel does an execve() on either /linuxrc or /init.  On pentium
system, this works fine.  I just can't place why/how it fails on C3.  I 
tried
catching errno from execve to no avail.  I suspect that there is something
wrong with the library loader, but can't think of any thing why it differs
from Pentium and C3.  Can someone please shed some light?

I'm not subscribed to the list, so please CC me.  Thanks.

Dzuy

                 reply	other threads:[~2005-05-10  4:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=42803E86.5060107@infinity-studios.com \
    --to=dzuy@infinity-studios.com \
    --cc=linux-kernel@vger.kernel.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