JFFS2 crash in linux-2.6.30

Manoj manoj23 at gmail.com
Thu Aug 27 21:49:34 EDT 2009


It might be a timing issue. Make sure the you got the timing cycles
configured right in the NAND driver. Also, as an experiment, disable
JFFS2 debugging and enable CONFIG_JFFS2_WBUF_VERIFY, See if this
throws up an error.
I would also make sure that the driver passes nand tests.

On Thu, Aug 27, 2009 at 6:18 PM, linux newbie<linux.newbie79 at gmail.com> wrote:
> before setting CONFIG_JFFS2_WBUF_VERIFY, if I enable jffs2 debug
> messages, things are working fine.
>
> I suspect there should be some timing issue.
>
> any thoughts in this regard?
>
> On Tue, Aug 25, 2009 at 3:47 PM, linux newbie<linux.newbie79 at gmail.com> wrote:
>> Hi All,
>>
>> Thanks for your support.
>>
>> I havent set CONFIG_JFFS2_FS_WBUF_VERIFY and after enabling it, its
>> working fine.
>>
>> Thanking You
>>
>> On Mon, Aug 24, 2009 at 8:46 PM, Anders
>> Grafström<grfstrm at users.sourceforge.net> wrote:
>>> linux newbie wrote:
>>>> I tried this patch, after which I am not getting crash, but instead it shows
>>>> cp: input/output error. and this is not consistent. somtimes, file
>>>> copying is perfect and some times its not.
>>>
>>> You get this when you write to a dnode whose previous data resides
>>> in a NAND block that has gone bad.
>>>
>>> Have you set CONFIG_JFFS2_FS_WBUF_VERIFY?
>>>
>>> ______________________________________________________
>>> Linux MTD discussion mailing list
>>> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>>>
>>
>



More information about the linux-mtd mailing list