UBIFS corruptions on NOR-Flash

Richard Weinberger richard at nod.at
Fri Sep 18 14:50:10 PDT 2015


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



More information about the linux-mtd mailing list