Regarding UBI fastmap data CRC failure

Ronak Desai ronak.desai at rockwellcollins.com
Mon Mar 20 14:47:35 PDT 2017


Hi All,

In one of the products with MLC NAND flash, we are using UBI
filesystem with kernel 3.12.

Fastmap is enabled to reduce the attach time and it works as expected.
We performed number of powercycles on the unit and never seen a
continuous failure of attached by fastmap. But, at one occurrence I
observed that there was a  "fastmap data CRC failure". UBI was
complaining about not find anchor node error when performing detach
(that's why was not able to write new fastmap data). It was a
permanent failure until I reformatted that NAND partition.

I understand that UBI stores fastmap data in initial few KBs of that
NAND device and it was not able to find spare block in that region to
store fastmap data. But, I am not able to understand that why UBI end
up with this situation when it already manages the erasure of the bad
fastmap blocks?

I would like to know that how I can avoid this situation or get a
workaround of it. Any advice will be appreciated.

Best Regards,
Ronak Desai



More information about the linux-mtd mailing list