JFFS2文件系统的异常打印信息记录

在嵌入式产品中,使用JFFS2文件系统时,会遇到很多奇怪的打印:

JFFS2 notice: (154) check_node_data: wrong data CRC in data node at 0x036fef18: read 0x68bda766, calculated 0x1cd2b7dd.

打印这个说明文件系统中的文件节点读取有异常,可能导致该打印的行为:

or similar message about CRC failures. If you have ever done unclean reboots - this is harmless. This just means that the unclean reboot happened (1) during data write or write buffer sync or (2) while GC was working or (3) while the write-buffer contained some data and was not yet synced before the unclean reboot happened. In them first and the third cases, you just lose the very last data you have written, in the second case you lose nothing. The wrong nodes will eventually be recycled by Garbage Collector and the messages will go (but they may live quite long).

But this also may mean that data on your flash was corrupted for sum reasons. Unfortunately JFFS2 cannot distinguish between node corruptions cause by unclean reboots and by real media corruptions. But the latter case is very rare.

还有打印这个:

Empty flash at 0xXXXXXXXX ends at 0xXXXXXXXX

这个官方说打印这个没关系,不影响使用:

This message is generated if a block of data is partially written. It is generally not a sign of any problem


更多的MTD方面的参考:http://www.linux-mtd.infradead.org/faq/jffs2.html


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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值