public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* CRC failed on node  ....
@ 2005-09-20 22:21 Brian T
  2005-09-21 13:01 ` Artem B. Bityutskiy
  0 siblings, 1 reply; 4+ messages in thread
From: Brian T @ 2005-09-20 22:21 UTC (permalink / raw)
  To: linux-mtd

Running the 2.4.20 kernel, after a power outage 2 of my test units get boot 
message mount errors:

jffs2_scan_dirent_node(): Name CRC failed on node at 0x00b620c8: Read 
0x640c8ca3, calculated 0x795111fe
jffs2_scan_dirent_node(): Name CRC failed on node at 0x00eaf1e0: Read 
0x16f2116a, calculated 0x0622ba51

The units seem to boot fine, but I'm sure there are probably files I can no 
longer access on the file system.

Is this possibly from JFFS2 running garbage collection when the power is 
removed?  Is there an MTD utility to fix this corruption _while_ the ROM is 
mounted?  Is there a work around ( like running "sync" every 5 minutes in 
cron )?

Thanks,

-Brian 

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

* Re: CRC failed on node  ....
       [not found] <A61771BC4AE2DD41B460E8D73082E6E307AA30FF@olympus.hekimian.com>
@ 2005-09-21  1:43 ` Brian T
  0 siblings, 0 replies; 4+ messages in thread
From: Brian T @ 2005-09-21  1:43 UTC (permalink / raw)
  To: linux-mtd

So, should the garbage collection eventually fix it by itself?


> In the power fail testing I have done, I did not see any files corrupted,
> other than the actual file data that was being actively written at the time
> of the power fail. I did see the same type of message and I assumed that
> that it was leftover junk that would get garbage collected later. I could
> not seem to force it to go away.
> 
> Vern Sauder

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

* Re: CRC failed on node  ....
  2005-09-20 22:21 CRC failed on node Brian T
@ 2005-09-21 13:01 ` Artem B. Bityutskiy
  2005-09-21 15:29   ` Brian T
  0 siblings, 1 reply; 4+ messages in thread
From: Artem B. Bityutskiy @ 2005-09-21 13:01 UTC (permalink / raw)
  To: Brian T; +Cc: linux-mtd

Brian T wrote:
> Running the 2.4.20 kernel, after a power outage 2 of my test units get boot 
> message mount errors:
> 
> jffs2_scan_dirent_node(): Name CRC failed on node at 0x00b620c8: Read 
> 0x640c8ca3, calculated 0x795111fe
> jffs2_scan_dirent_node(): Name CRC failed on node at 0x00eaf1e0: Read 
> 0x16f2116a, calculated 0x0622ba51

Brain, I've just added the corresponding entry to the JFFS2 FAQ, please, 
read it. If it is vague - ask.

http://www.linux-mtd.infradead.org/faq/jffs2.html

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

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

* Re: CRC failed on node  ....
  2005-09-21 13:01 ` Artem B. Bityutskiy
@ 2005-09-21 15:29   ` Brian T
  0 siblings, 0 replies; 4+ messages in thread
From: Brian T @ 2005-09-21 15:29 UTC (permalink / raw)
  To: Artem B. Bityutskiy; +Cc: linux-mtd

Thank you Artem, that clears it up.

-Brian

> 
> Brain, I've just added the corresponding entry to the JFFS2 FAQ, please, 
> read it. If it is vague - ask.
> 
> http://www.linux-mtd.infradead.org/faq/jffs2.html
> 

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

end of thread, other threads:[~2005-09-21 15:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-20 22:21 CRC failed on node Brian T
2005-09-21 13:01 ` Artem B. Bityutskiy
2005-09-21 15:29   ` Brian T
     [not found] <A61771BC4AE2DD41B460E8D73082E6E307AA30FF@olympus.hekimian.com>
2005-09-21  1:43 ` Brian T

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