All of lore.kernel.org
 help / color / mirror / Atom feed
* JFFS2 what file is a given node in?
@ 2010-08-24 12:52 Shane Volpe
  2010-08-24 13:10 ` Artem Bityutskiy
  2010-08-24 17:53 ` David Woodhouse
  0 siblings, 2 replies; 3+ messages in thread
From: Shane Volpe @ 2010-08-24 12:52 UTC (permalink / raw)
  To: linux-mtd

I get the following message:
<4>Data CRC 0550f35b != calculated CRC 81fbb81c for node at 02aedb74
I want to find out what file this node is in so I can further
investigate the corruption, how do I do that?
Regards,
Shane

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

* Re: JFFS2 what file is a given node in?
  2010-08-24 12:52 JFFS2 what file is a given node in? Shane Volpe
@ 2010-08-24 13:10 ` Artem Bityutskiy
  2010-08-24 17:53 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: Artem Bityutskiy @ 2010-08-24 13:10 UTC (permalink / raw)
  To: Shane Volpe; +Cc: linux-mtd

On Tue, 2010-08-24 at 08:52 -0400, Shane Volpe wrote:
> I get the following message:
> <4>Data CRC 0550f35b != calculated CRC 81fbb81c for node at 02aedb74
> I want to find out what file this node is in so I can further
> investigate the corruption, how do I do that?

Add a printk to the corresponding piece of code?

Also, notice that these messages are usually harmless and appear because
or unclean reboots.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)

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

* Re: JFFS2 what file is a given node in?
  2010-08-24 12:52 JFFS2 what file is a given node in? Shane Volpe
  2010-08-24 13:10 ` Artem Bityutskiy
@ 2010-08-24 17:53 ` David Woodhouse
  1 sibling, 0 replies; 3+ messages in thread
From: David Woodhouse @ 2010-08-24 17:53 UTC (permalink / raw)
  To: Shane Volpe; +Cc: linux-mtd

On Tue, 2010-08-24 at 08:52 -0400, Shane Volpe wrote:
> I get the following message:
> <4>Data CRC 0550f35b != calculated CRC 81fbb81c for node at 02aedb74
> I want to find out what file this node is in so I can further
> investigate the corruption, how do I do that? 

It's the Data CRC which is failing, so the node header should be fine,
and should happily identify the inode to which it belongs. At 0x2aedb74
on the flash, you'll find a struct jffs2_raw_inode (see
include/linux/jffs2.h for its definition).

It's almost certainly harmless though -- just a poweroff which happened
while the node was being written and before it was even *expected* to
have hit the medium.

-- 
dwmw2

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

end of thread, other threads:[~2010-08-24 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-24 12:52 JFFS2 what file is a given node in? Shane Volpe
2010-08-24 13:10 ` Artem Bityutskiy
2010-08-24 17:53 ` David Woodhouse

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.