jffs2_scan_inode_node(): Data CRC failed on node at ... Read ... calculated ...

【问题】jffs2_scan_inode_node(): Data CRC failed on node at ... Read ... calculated ...
Empty flash at ...
之前用jffs2的时候,就遇到过此问题,但是一直没有搞懂具体的原因。
今天去google了一下,找到一些解释,说的应该是比较清楚了,
现摘录如下:

1.
http://www.infradead.org/pipermail/linux-mtd/2004-May/009725.html

"I have had similar problems to this. As you reboot you must make sure that root is
remounted read only. If you don't a reboot can cause the JFFS2 garbage collector to
be stopped mid operation. JFFS2 is verbose in error reporting. I suspect that your
files are still ok. There was a bug in the JFFS2 layer which caused the garbage
collector not to flush it's write buffer on remount read only. This would not screw up
the filesystem but it would generate messages for uncleanly finished garbage
operations. I have discussed this recently and it should be available via CVS now.

I have had discussions about the empty flash messages too. It seems it is not a
problem. If the message concerns you move it to KERN_DEBUG
"
2.
http://lists.infradead.org/pipermail/linux-mtd/2003-January/006861.html
"
Nothing's corrupted. It's probably because the machine was powered off or
rebooted while it was busy garbage-collecting. As it writes out new
replacement nodes before the old ones are marked obsolete, if you interrupt
it, it means that the original node will have remained intact on the flash
-- only the new node which was _going_ to replace it is broken, and that's
part of what the CRC check is there for.

It'll go away in time when the block in which the offending node resides is
garbage collected.
"

3.这里有详细的讨论,可以貌似后面的偶看不懂,没看出是否有提供什么好方法了:

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值