UBIFS corruptions on NOR-Flash

Han Xu xhnjupt at gmail.com
Wed Sep 23 11:21:15 PDT 2015


Have you enabled the CONFIG_CMA in kernel setting?

On Fri, Sep 18, 2015 at 4:50 PM, Richard Weinberger <richard at nod.at> wrote:
> Am 18.09.2015 um 23:36 schrieb Roshni Shah:
>> Thanks. I tried 4.1 Kernel ran UBI tests and mounting the UBIFS on
>> Vybrid TWR. I see a different error, however corruptions & UBI test
>> failures still persist.
>>
>> Flash chip: s25fl128s (same as above).
>>
>> # uname -r
>> 4.1.5
>>
>> Following are the results:
>
> [...]
>
>> ubi0 warning: ubi_eba_read_leb: CRC error: calculated 0x8f7714b9, must
>> be 0x31a3fc87
>> ubi0 warning: vol_cdev_write: volume 0 on UBI device 0 is corrupted
>> ubi0 warning: ubi_eba_read_leb: CRC error: calculated 0xd1882123, must
>
> So, reading data using UBI does not work as expected.
> One thing MTD drivers sometimes get wrong is that UBI is using vmalloc'ed buffers
> and drivers cannot deal with that.
>
> Adding Han Xu, maybe he has an idea.
>
> Thanks,
> //richard
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/



More information about the linux-mtd mailing list