NAND flash write goes wrong

Matthieu CASTET matthieu.castet at
Fri May 11 03:16:09 EDT 2007

Hi Artem,

Artem Bityutskiy a écrit :
> Just FYI,
> we have recently fixed a bug in MTD which caused JFFS2 to mark good
> eraseblocks bad. It was caused by the mtdpart module. One had to have
> partitions to trigger this bug. The bug was that when JFFS2 wanted to
> mark eraseblock X within its partition as bad, mtdpart did not translate
> correctly to the _absolute_ number, but marked _absolute_ eraseblock
> number X as bad instead.
> So basically, once one met a true bad eraseblock, JFFS2 started trying
> to mark it as bad, but marked other eraseblock as bad instead.
> I'd recommend everybody to backport this fix.
Could you give a link to your fix ?



More information about the linux-mtd mailing list