linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dennis Khoo <dkhoo@atmxdsl.com>
To: Flavio Pereira <flavio.pereira@za.flextronics.com>,
	LinuxPPC <linuxppc-embedded@lists.linuxppc.org>
Subject: Re: Cramfs root file system
Date: Thu, 21 Nov 2002 11:17:51 -0800	[thread overview]
Message-ID: <001601c29192$afb08870$7ec7c7c7@dkhoo> (raw)
In-Reply-To: 7899847F7C05BE43A0687AD18D97DA2207F285@srv_mail.azisa.co.za


Flavio,

> Please append a correct "root=" boot option
> Kernel panic: VFS: Unable to mount root fs on 02:00
>
> Now, is it possible to do what Im trying to do, if so are there any
> suggestions as to what I'm doing wrong?
>

I saw the same error when I was trying to mount jffs2 as root.  Maybe your
problem is similar to mine.

My solution:

1)   in kernel file init/main.c 's dev_name_struct,  add entry for
 "mtdblock", 0x1f00
if it's not there already.

2) in ppcboot =>setenv bootargs init=/linuxrc root=/dev/mtdblockx

Hope this helps.

Dennis Khoo
Software Engineer
Adapcom, Inc


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

  reply	other threads:[~2002-11-21 19:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-21 11:09 Cramfs root file system Flavio Pereira
2002-11-21 19:17 ` Dennis Khoo [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-11-21 11:20 Gerhard TAEUBL
2002-11-22  7:25 Flavio Pereira

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='001601c29192$afb08870$7ec7c7c7@dkhoo' \
    --to=dkhoo@atmxdsl.com \
    --cc=flavio.pereira@za.flextronics.com \
    --cc=linuxppc-embedded@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).