UBIFS errors when file-system is full

Richard Weinberger richard at nod.at
Fri Aug 7 05:37:41 PDT 2015


Hi!

Am 06.08.2015 um 12:31 schrieb Bhuvanchandra DV:
>>> The tests ran on ubi partition after isolating it from U-Boot completly.
>>> Formatted the ubi partition and then boot with SD card (4.1.2 kernel fastmap enabled/disabled, fm_debug enabled).
>>> Please find the below log of ubi-tests:
>>>
>>> [io_paral] write_thread():222: written and read data are different
>> *blink*
> 
> Tried to run the io_paral test multiple times seperately with few debug prints added to see what exact
> differences with read and write buffers, so far we could see one complete page is read twice even though
> it is written once. I'm now confused is the issue happen while reading or while writing. Can you give us
> some pointers so that we can narrow down the cause for this failure.

The test verifies that the data has been written correctly to the block.
(Maybe a buffer problem in your MTD driver?)

You can also enable UBI's IO checks.
i.e. echo 1 > /sys/kernel/debug/ubi/ubi0/chk_io

It will also verify it's writes. Maybe it can give you a clue.

Thanks,
//richard



More information about the linux-mtd mailing list