UBI: infinite error loop

Matthieu CASTET matthieu.castet at parrot.com
Fri Feb 24 10:22:09 EST 2012


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



More information about the linux-mtd mailing list