Can not mount root on mtd block

mike mikelee at avantwave.com
Wed Mar 16 06:15:27 EST 2005


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





More information about the linux-mtd mailing list