UBI/UBIFS corruptions during random power-cuts

Bhuvanchandra DV bhuvanchandra.dv at toradex.com
Sun Feb 12 19:34:14 PST 2017


On 02/10/2017 06:31 PM, Richard Weinberger wrote:

> Bhuvan,
>
> Am 09.02.2017 um 05:59 schrieb Bhuvanchandra DV:
>>> Just in case, you can trigger this also with a fresh filesystem?
>>> Or did you always keep the same one?
>> Yes, I triggered it with fresh filesystem.
> Okay. Not good.
>
> How do you trigger this? What workload is running while the power-cut
> happens?

The issue is triggered when doing a continous external power-cut for every
25sec since power ON. After a week or two observed this issue. There is no
additional work load on CPU during the test, it just boots to a lxde desktop.

> Did you try also kernel 4.9?

I did ran similar testes on our downstream kernel 4.4 and 4.9 kernel few weeks
back, observed similar issues.

> Does it also only happen then xattrs are used?

Didn't check that. How exactly to check whether xattr is used ?

--
Bhuvan

>
> Thanks,
> //richard




More information about the linux-mtd mailing list