public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Matthieu CASTET <matthieu.castet@parrot.com>
To: Patrick <kpa_info@yahoo.fr>
Cc: Linux mtd <linux-mtd@lists.infradead.org>
Subject: Re: Re : Re : UBI: infinite error loop
Date: Fri, 24 Feb 2012 16:22:09 +0100	[thread overview]
Message-ID: <4F47AB21.1080807@parrot.com> (raw)
In-Reply-To: <1330096132.68067.YahooMailNeo@web29008.mail.ird.yahoo.com>

Patrick a écrit :
> 
>>>>> Dear mailing-list,
>>>>>
>>>>> I am still trying to use UBI and UBIFS on my board running a 3.0.21 kernel.
>>>>>
>>>>> When I am doing an the ubiattach -p /dev/mtd4 command I have the following infinite error loop:
>>>>>
>>>>>
>>>>> .....
>>>>>
>>>>>
>>>>> I don't think it's normal that this error loop infinitely again and again...
>>>>>
>>>>> Any help is appreciated !
>>>>>
>>>>> Thanks in advance
>>>>>
>>>> What's your nand driver ?
>>>> What's your nand device ?
>>>>
>>>> Look like it doesn't handle subpage reading : you have ecc error when reading
>>>> 512 bytes at offset 512.
>>>>
>>>> Maybe you should pass -O 2048 to ubiattach
>>>>
>>> Hello Matthieu,
>>>
>>> Thanks for your answer.
>>>
>>> I have a Micron MT29F4G08ABBDAH4 and I use the MTD_NAND driver.
>> But what driver is using your nand controller ?
> 
> MTD_NAND_OMAP2
> 
>>> I have made a try with the -O 2048 flag but it's worst:
>> You need to use before ubiformat with the same flag.
> 
> It's seems to help. I could attach without error, but now I couldn't mount the volume:
> "LEB size mismatch: 129024 in superblock, 126976 real"
> I will try to rebuild my fs image with this size of LEB
> 
Yes now your leb size is 62*2K instead of 63*2K.

Matthieu

  parent reply	other threads:[~2012-02-24 15:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-24 13:35 UBI: infinite error loop Patrick
2012-02-24 13:52 ` Matthieu CASTET
     [not found]   ` <1330094829.26769.YahooMailNeo@web29019.mail.ird.yahoo.com>
2012-02-24 14:58     ` Re : " Matthieu CASTET
     [not found]       ` <1330096132.68067.YahooMailNeo@web29008.mail.ird.yahoo.com>
2012-02-24 15:22         ` Matthieu CASTET [this message]
2012-03-09  9:07 ` Artem Bityutskiy

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=4F47AB21.1080807@parrot.com \
    --to=matthieu.castet@parrot.com \
    --cc=kpa_info@yahoo.fr \
    --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