public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Peter Menzebach <pm-mtd@mw-itcon.de>
To: "Lakshmi N. Sundararajan" <lakshmi.s@promise.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: boot issue.
Date: Tue, 21 Mar 2006 10:14:04 +0100	[thread overview]
Message-ID: <441FC3DC.4000909@mw-itcon.de> (raw)
In-Reply-To: <B70A50D07063384EB9BCE3330D18414F024CCD28@nonameb.ptu.promise.com>

Hi,

Lakshmi N. Sundararajan wrote:
> I have a compressed ext2 filesystem on a FLASH partition which I would
> like
> to use as a root file system mounted in RAM. The FLASH is accessed via
> MTD layer.
So you have *no* filesystem in the flash, but a compressed image. This 
is not usable as a filesystem directly in this format. Afaik, only the 
initrd code can use this...

> The kernel parameters are "console=ttyS0,115200  noinitrd mem=128M
> root=/dev/mtdblock5"
> But kernel panics saying "VFS: Cannot mount root unknown device (31,5)".
> 
which is correct, since there is no fs there...

> If I were to use cramfs on FLASH and use the same kernel command line,
> I am able to bringup the system.I am using 2.6 linux.
which would save the RAM space. You can still put some directories into 
RAM...

> Would anyone know about this issue? Is there any thing I got to do?
> Any pointers would be helpful.
The only solution I know is (assuming parallel flash) to give the 
compressed image as an initrd=<address>,<size> to the kernel.


Best regards
Peter
-- 
Peter Menzebach
Menzebach und Wolff IT-Consulting GbR
Phone +49 751 355 387 1

  reply	other threads:[~2006-03-21  9:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-21  0:06 boot issue Lakshmi N. Sundararajan
2006-03-21  9:14 ` Peter Menzebach [this message]
2006-03-21 16:13   ` trimarchi
  -- strict thread matches above, loose matches on Subject: below --
2006-03-21 20:39 Lakshmi N. Sundararajan

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=441FC3DC.4000909@mw-itcon.de \
    --to=pm-mtd@mw-itcon.de \
    --cc=lakshmi.s@promise.com \
    --cc=linux-mtd@lists.infradead.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