[PATCHJ] [MTD] [OneNAND] Allow for controller errors when reading

Adrian Hunter ext-adrian.hunter at nokia.com
Mon Apr 14 03:42:04 EDT 2008


Kyungmin Park wrote:
> Hi,
> 
> On Fri, Apr 11, 2008 at 8:05 PM, Adrian Hunter
> <ext-adrian.hunter at nokia.com> wrote:
>> Controller errors while reading can be caused by
>>  corruption caused by a previous powerloss. Because
>>  upper level software like JFFS2 treat -EIO as fatal,
>>  it is necessary to treat the error as an ECC error.
>>
> 
> Umm interesting. You mean it occurs controller error before ecc error
> at power loss case.
> And it needs to define the terminology the Sudden Power Off Recovery
> or POR shortly.
> I'm not sure a previous powerloss means POR.
> 
> Anyway could you show the controller error value? 

0x2440

Since it needs to
> distinguish others e.g., initial bad blocks condition.
> 
> Thank you,
> Kyungmin Park




More information about the linux-mtd mailing list