* UBI: infinite error loop
@ 2012-02-24 13:35 Patrick
2012-02-24 13:52 ` Matthieu CASTET
2012-03-09 9:07 ` Artem Bityutskiy
0 siblings, 2 replies; 5+ messages in thread
From: Patrick @ 2012-02-24 13:35 UTC (permalink / raw)
To: linux-mtd@lists.infradead.org
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:
UBI error: ubi_io_read: error -74 (ECC error) while reading 512 bytes from PEB 4059:512, read 512 bytes
UBI warning: ubi_io_read_vid_hdr: bad CRC at PEB 4059, calculated 0x9f1c9c0d, read 0x9f1c1c0d
UBI warning: ubi_eba_copy_leb: error 4 while reading VID header back from PEB 4059
UBI: run torture test for PEB 4059
UBI: PEB 4059 passed torture test, do not mark it as bad
UBI error: ubi_io_read: error -74 (ECC error) while reading 512 bytes from PEB 4059:512, read 512 bytes
UBI: run torture test for PEB 4059
UBI: PEB 4059 passed torture test, do not mark it as bad
UBI warning: ubi_io_read_vid_hdr: bad CRC at PEB 4059, calculated 0x42cdb8ed, read 0xff402946
UBI warning: ubi_eba_copy_leb: error 4 while reading VID header back from PEB 4059
UBI: run torture test for PEB 4059
UBI: PEB 4059 passed torture test, do not mark it as bad
UBI error: ubi_io_read: error -74 (ECC error) while reading 512 bytes from PEB 4059:512, read 512 bytes
UBI: run torture test for PEB 4059
....
I don't think it's normal that this error loop infinitely again and again...
Any help is appreciated !
Thanks in advance
Patrick
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: UBI: infinite error loop
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-03-09 9:07 ` Artem Bityutskiy
1 sibling, 1 reply; 5+ messages in thread
From: Matthieu CASTET @ 2012-02-24 13:52 UTC (permalink / raw)
To: Patrick; +Cc: linux-mtd@lists.infradead.org
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:
>
>
> UBI error: ubi_io_read: error -74 (ECC error) while reading 512 bytes from PEB 4059:512, read 512 bytes
> UBI warning: ubi_io_read_vid_hdr: bad CRC at PEB 4059, calculated 0x9f1c9c0d, read 0x9f1c1c0d
> UBI warning: ubi_eba_copy_leb: error 4 while reading VID header back from PEB 4059
> UBI: run torture test for PEB 4059
> UBI: PEB 4059 passed torture test, do not mark it as bad
> UBI error: ubi_io_read: error -74 (ECC error) while reading 512 bytes from PEB 4059:512, read 512 bytes
> UBI: run torture test for PEB 4059
> UBI: PEB 4059 passed torture test, do not mark it as bad
> UBI warning: ubi_io_read_vid_hdr: bad CRC at PEB 4059, calculated 0x42cdb8ed, read 0xff402946
> UBI warning: ubi_eba_copy_leb: error 4 while reading VID header back from PEB 4059
> UBI: run torture test for PEB 4059
> UBI: PEB 4059 passed torture test, do not mark it as bad
> UBI error: ubi_io_read: error -74 (ECC error) while reading 512 bytes from PEB 4059:512, read 512 bytes
> UBI: run torture test for PEB 4059
> .....
>
>
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re : UBI: infinite error loop
[not found] ` <1330094829.26769.YahooMailNeo@web29019.mail.ird.yahoo.com>
@ 2012-02-24 14:58 ` Matthieu CASTET
[not found] ` <1330096132.68067.YahooMailNeo@web29008.mail.ird.yahoo.com>
0 siblings, 1 reply; 5+ messages in thread
From: Matthieu CASTET @ 2012-02-24 14:58 UTC (permalink / raw)
To: Patrick, Linux mtd
Please keep mtd ML in CC
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 ?
> I have made a try with the -O 2048 flag but it's worst:
You need to use before ubiformat with the same flag.
Matthieu
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Re : Re : UBI: infinite error loop
[not found] ` <1330096132.68067.YahooMailNeo@web29008.mail.ird.yahoo.com>
@ 2012-02-24 15:22 ` Matthieu CASTET
0 siblings, 0 replies; 5+ messages in thread
From: Matthieu CASTET @ 2012-02-24 15:22 UTC (permalink / raw)
To: Patrick; +Cc: Linux mtd
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: UBI: infinite error loop
2012-02-24 13:35 UBI: infinite error loop Patrick
2012-02-24 13:52 ` Matthieu CASTET
@ 2012-03-09 9:07 ` Artem Bityutskiy
1 sibling, 0 replies; 5+ messages in thread
From: Artem Bityutskiy @ 2012-03-09 9:07 UTC (permalink / raw)
To: Patrick; +Cc: linux-mtd@lists.infradead.org
On Fri, 2012-02-24 at 13:35 +0000, Patrick wrote:
> I don't think it's normal that this error loop infinitely again and again...
>
> Any help is appreciated !
You've got help AFAICS. I agree that an infinite loop is not normal. But
the right thing for UBI to do in this situation would be to mark all
your eraseblocs as bad, which is not what you want I guess, so it is
probably better to have this infinite loop?
--
Best Regards,
Artem Bityutskiy
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-03-09 9:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` Re : " Matthieu CASTET
2012-03-09 9:07 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox