mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Kees Bakker <rnews@altium.nl>
To: linux-kernel@vger.kernel.org
Subject: Q. Is initrd/cramfs usable on 2.5.x?
Date: Mon, 13 May 2002 21:46:24 +0200	[thread overview]
Message-ID: <15584.6160.11925.565003@iris.hendrikweg.doorn> (raw)

Do you think initrd+cramfs should be usable on 2.5.x kernels? I keep
getting "wrong magic". BTW. I applied a small patch to init/do_mount.c
(which is also used by Debian in their 2.4.x kernels) so that it sees
CRAMFS_MAGIC.

Unfortunately I can't give a complete log of the boot messages because
booting stops with a panic. I wrote down the last couple of lines.

RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 1016 blocks [1 disk] into ram disk...done.
Freeing initrd memory: 1016k freed
cramfs: wrong magic
Kernel panic: VFS: Unable to mout root fs on 03:02

After putting some debug printk I could see that in cramfs_fill_super() it
indeed fails to see a correct CRAMFS_MAGIC. But the loading seems to have
succeeded.

Since there were quite a few changes since 2.5.0 I am not really able to
compare with my working initrd+cramfs on 2.4.17.

I am nuts to even try this, or should it work? (Both can be true.)
-- 

                 reply	other threads:[~2002-05-13 19:44 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=15584.6160.11925.565003@iris.hendrikweg.doorn \
    --to=rnews@altium.nl \
    --cc=kees.bakker@xs4all.nl \
    --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

all inboxes | Powered by JetHome®