public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: mike <mikelee@avantwave.com>
To: Aras Vaichas <arasv@magellan-technology.com>
Cc: linux-mtd@lists.infradead.org
Subject: Re: Can not mount root on mtd block
Date: Wed, 16 Mar 2005 19:15:27 +0800	[thread overview]
Message-ID: <4238154F.5070807@avantwave.com> (raw)
In-Reply-To: <4237D78C.60506@magellan-technology.com>

Aras Vaichas wrote:

> mike wrote:
>
>> Aras Vaichas wrote:
>>
>>> mike wrote:
>>>
>>>> Dear Aras
>>>>
>>>>>
>>>>>
>>>>> What is your kernel cmdline? The error says that it doesn't 
>>>>> understand your "root=" option.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> kernel cmdline:
>>>> root=/dev/mtdblock2 mem=16M console=ttySMX0,115200n8
>>>>
>>>> i also tried below cmdline. But the same result
>>>> root=/dev/mtd2 mem=16M console=ttySMX0,115200n8
>>>> root=1f:02 mem=16M console=ttySMX0,115200n8
>>>
>>>
>>>
>>>
>>> what is your filesystem type?
>>>
>>> for example, my command line is:
>>> root=/dev/mtdblock4 rootfstype=yaffs ... etc
>>>
>>> I'm sure that I had this same problem once and it was simply a 
>>> cmdline problem.
>>>
>>> Aras
>>>
>> i am using cramfs, i also try rootfstype=cramfs . but same result.
>> Also, i have trace the kernel to get_sb, it return ENXIO. Is it mean 
>> that i can not parse the super block or the driver problem.
>>
>> Thanks for helping
>> Mike,Lee
>
>
> Yes, I did exactly that same thing. My problem was that I was using:
>
> mtblock/4
>
> instead of:
>
> mtdblock4
>
> It was something very simple. Good luck anyway!
>
> Aras

I also try it but same result, in my rootfs i only add note like 
mtdblock0,mtdblock1.... I do not mknod mtd node to a directory
Also, the cram root fs work with 2.4.18. Do i miss something in the root 
directory?

best regard
Mike,Lee

  parent reply	other threads:[~2005-03-16 11:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-16  4:08 Can not mount root on mtd block mike
2005-03-16  4:56 ` Aras Vaichas
     [not found]   ` <4237CC0A.5090003@avantwave.com>
     [not found]     ` <4237CC31.6070409@magellan-technology.com>
     [not found]       ` <4237D666.1020302@avantwave.com>
     [not found]         ` <4237D78C.60506@magellan-technology.com>
2005-03-16 11:15           ` mike [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-04-15  9:10 Pawel Studencki

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=4238154F.5070807@avantwave.com \
    --to=mikelee@avantwave.com \
    --cc=arasv@magellan-technology.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