Unstable bits and JFFS2
Matej Kupljen
matej.kupljen at gmail.com
Tue Apr 10 03:22:27 EDT 2012
To all,
>> Artem, you said that this unstable bits only happen
>> during power cuts, is this right? Would those appear
>> also on simulated power cuts, the ones that integck
>> can produce?
I've been trying to find the issue with my device over last week and for now,
I didn't find anything.
Here is what I've done:
Please NOTE, that I have used THE SAME device for testing, which showed
the problems in the past.
1) I've prepared SD card and booted the device from it. Then I run the
integchk without
simulating power cuts. The test run form more then 96 hours (four
days and nights)
and nothing happened. I mean, no errors were reported.
2) I made a simple "power cut simulator", which cuts the power to the
device. The device
was booted from SD card, then the UBIFS partition on NAND Flash was mounted.
The test file was removed, and then a new file was created with
simple dd from
/dev/zero to the test file on UBIFS.
The test run for 72 hours and again, nothing happened.
3) Now I am running the test, with power cut simulator, bit this time
the device is booted
from UBIFS. It has been running for more then 12h at the moment,
and for now it
is still working as expected.
The only real thing from previous tests is that now, I have formatted
the UBIFS from
the device, when it was booted from SD card and Linux was up and running.
Previous tests were done (when I've noticed the problems) only when U-Boot was
running and the ubinized image was flashed to Flash trough U-Boot.
Could this be the problem?
Maybe different timings or something in U-Boot compared to Linux?
Thank you and Best Regards,
Matej Kupljen
More information about the linux-mtd
mailing list