public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* JFFS2 on Sibley
@ 2006-05-17 13:25 Davide CASCONE
  2006-05-17 14:44 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: Davide CASCONE @ 2006-05-17 13:25 UTC (permalink / raw)
  To: linux-mtd

I'm working to support Sibley devices in Linux OS with the JFF2 file system.

I have patched my Linux 2.6.16 OS with the latest snapshot downloaded at the following web address

http://ftp.linux.org.uk/pub/people/dwmw2/mtd/cvs/

After the boot, the Operating System mounts correctly the JFFS2 file system on the Sibley device and it seems to work properly (for example, a new file has been correctly created and/or deleted). But, when I reboot the system, I can see some Warning Messages during the file system mount phase:

>Empty flash at 0x000cd808 ends at 0x000cdc00
>jffs2_scan_dirent_node(): Name CRC failed on node at 0x000cdfd8: Read 
>0xebaf74d5, calculated 0x44660075 JFFS2 notice: (12) check_node_data: wrong data CRC in data node at 0x000cf000: read 0xe49530c6, calculated 0xe6751c2f.

The file system still works properly. So, I have the following questions: 
1. Do you have some suggestion to solve my problem? 
2. With my patch it seems that the headers are not correctly written. Do you know anything about it? 
3. Do you know if a most recent patch is available?

Thanks in advance for any kind of support.

Best Regards,
Davide

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: JFFS2 on Sibley
  2006-05-17 13:25 JFFS2 on Sibley Davide CASCONE
@ 2006-05-17 14:44 ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2006-05-17 14:44 UTC (permalink / raw)
  To: Davide CASCONE; +Cc: linux-mtd

On Wed, 2006-05-17 at 15:25 +0200, Davide CASCONE wrote:
> The file system still works properly. So, I have the following
> questions: 
> 1. Do you have some suggestion to solve my problem? 

Mount read-only or unmount, at _least_ sync, before rebooting.

> 2. With my patch it seems that the headers are not correctly written.
> Do you know anything about it? 

It looks like you haven't correctly synced -- there are still buffers
waiting to be written. The node which it complains about was already
partially written to the flash, but the _end_ of the node is still in
the buffer. So the CRC fails and you get a harmless complaint.

> 3. Do you know if a most recent patch is available? 

The CVS tree is no longer used. The current MTD code is in the git tree
at git://git.infradead.org/mtd-2.6.git -- browsable at
http://git.infradead.org/?p=mtd-2.6.git

-- 
dwmw2

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-17 14:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-17 13:25 JFFS2 on Sibley Davide CASCONE
2006-05-17 14:44 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox