corruption of JFFS2 filesystem, csize is set to 0 after moving a block
hcegtvedt at norway.atmel.com
Fri Apr 27 07:52:21 EDT 2007
On Fri, 2007-04-27 at 10:46 +0100, David Woodhouse wrote:
> On Fri, 2007-04-27 at 11:13 +0200, Hans-Christian Egtvedt wrote:
<cut jffs2dump initial image>
> Those are suspect. Why 4092 bytes not 4096? The node with version 2
> claims to be 4092 bytes starting from 4092, which is invalid because it
> crosses a page boundary.
Let me quote Homer Jay Simpson, "DOH!".
<cut jffs2dump corrupted image>
> Ok, in that case I agree that a csize of zero also looks suspicious.
> Matches the node 'totlen' though. What's the compression type.
> Did you use 'mkfs.jffs2 -s 4092'?
I have no idea how I turned up with this number, but rebuilding the
image with pagesize=4096 gives a fully working image.
Many thanks for your help.
More information about the linux-mtd