UBI/UBIFS corruptions during random power-cuts

Bhuvanchandra DV bhuvanchandra.dv at toradex.com
Mon Feb 13 03:45:51 PST 2017


On 02/13/2017 01:27 PM, Richard Weinberger wrote:

> Bhuvan,
>
> Am 13.02.2017 um 04:34 schrieb Bhuvanchandra DV:
>> 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.
> So, the power-cut happens while the system is idle? Hmm.

May be not, sometimes power-cut might happen during boot. Sometimes I observed
journalctl logging just before power-cut.

>
>>> 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.
> Okay, so I didn't break it lately. Puh... ;)

:)

>
>>> Does it also only happen then xattrs are used?
>> Didn't check that. How exactly to check whether xattr is used ?
> i.e. is a LSM such das SELinux being used?

No, not used so far.

--
Bhuvan

>
> Thanks,
> //richard




More information about the linux-mtd mailing list