UBIFS - strange behaviour after enabling chk_index

Richard Weinberger richard at nod.at
Wed Sep 14 14:39:21 PDT 2016


Marcin,

On 14.09.2016 10:28, Krzeminski, Marcin (Nokia - PL/Wroclaw) wrote:
> (Plain text now)
> 
> Hi Richard, list
> 
> During some power-cut tests I accidently came across strange case.
> The test script is here (I could attach it this in thread later).
> 
> http://pastebin.com/daNrf6yG
> 
> Result of running this on HW and Qemu is the same, and it ends like below (logs from Qemu).
> 
> It does not reproduce if I use flash with 256KiB sectors (both Qemu and HW),
> or do not enable index integrity checks.
> Could it be real life case?

Is this the SPI-NOR device you talked about on IRC?
Maybe the check is broken, maybe it uncovers a hard to hit issue
on your flash. Both could be.

Do you emulate exactly the same device in qemu?

Thanks,
//richard



More information about the linux-mtd mailing list