From: Hans-Christian Egtvedt <hcegtvedt@norway.atmel.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: linux-mtd@lists.infradead.org
Subject: Re: corruption of JFFS2 filesystem, csize is set to 0 after moving a block
Date: Fri, 27 Apr 2007 13:52:21 +0200 [thread overview]
Message-ID: <1177674741.18969.150.camel@localhost.localdomain> (raw)
In-Reply-To: <1177667175.2755.476.camel@pmac.infradead.org>
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.
--
Best regards
Hans-Christian Egtvedt
prev parent reply other threads:[~2007-04-27 11:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-26 14:54 corruption of JFFS2 filesystem, csize is set to 0 after moving a block Hans-Christian Egtvedt
2007-04-26 15:43 ` David Woodhouse
2007-04-27 9:13 ` Hans-Christian Egtvedt
2007-04-27 9:31 ` Haavard Skinnemoen
2007-04-27 9:46 ` David Woodhouse
2007-04-27 11:52 ` Hans-Christian Egtvedt [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1177674741.18969.150.camel@localhost.localdomain \
--to=hcegtvedt@norway.atmel.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox