jffs2 filesystem/flash data integrity

Manoj manoj23 at gmail.com
Thu Apr 30 22:32:17 EDT 2009


David,
The problem exists after enabling jffs2 debug. I do have a capture of
dmesg output. How do you want me to send the file? It is 78K in size.
Can I attach and send it to your personal account? I don't have a ftp
server to upload it to.

Thanks.

On Mon, Apr 27, 2009 at 7:30 PM, Manoj <manoj23 at gmail.com> wrote:
> Hi David,
>
> When I set 'CONFIG_JFFS2_FS_DEBUG=1', the problem goes away :-(.  With
> that flag set to 0, I occasionally see
> "JFFS2 notice: (133) jffs2_get_inode_nodes: Node header CRC failed at
> xxxx" messages. Should I worry about it?
>
> When I make a copy of the file, does it get written to the flash right
> away or does the write happen later? I am doing a "sync" after the
> "cp" command. An interesting thing to note is that the 0s can appear
> in both original and the copied file.
>
> As a separate test, I write 3MB of data and read it back with
> mtd_debug utility; the compare passes.
>
> Thanks.
>
>
> On Tue, Apr 21, 2009 at 2:15 AM, David Woodhouse <dwmw2 at infradead.org> wrote:
>> On Mon, 2009-04-20 at 11:27 -0700, Manoj wrote:
>>> How do you want me to give the image that's on the flash? It is in
>>> megabytes. Or do you want me to give the output of jffs2dump for the
>>> image?
>>
>> The output of jffs2dump might be sufficient, but the image itself is
>> probably best, if you can. Stick it on a web/ftp site somewhere?
>>
>> --
>> dwmw2
>>
>>
>



More information about the linux-mtd mailing list