内核启动出现Partially written xxx block detected
来源:互联网 发布:跑步计步器软件 编辑:程序博客网 时间:2024/05/18 22:47
arm板启动后出现大量的
Partially written block 53 detected
Partially written block 53 detected
Partially written block 53 detected
Partially written block 53 detected
Partially written block 53 detected
Partially written block 53 detected
Partially written block 53 detected
Partially written block 53 detected
Partially written block 53 detected
.......
.....
而且随着启动次数越来越多
原因:是yaffs2文件系统,在关闭之前,要将dirty数据写入nand flash,否则下一次开机yaffs2 scan的时候,就会发现这些block是Partially written 部分写入的,所以就会提示。是yaff2文件系统常见的错误
方法
1.解决办法就是,每次要关机之前,要去做一次:sync
让yaffs2将dirty的数据写入到nand flash里面。
但这个错误是可以积累的,
所以,随着不能正常sync而关机,会导致这些yaffs2的警告累积性地增加
2.修改fs/yaffs2/yaffs_guts.cstatic int yaffs_ScanBackwards(yaffs_Device * dev) 函数中
在
。。。。
T(YAFFS_TRACE_ALWAYS, /*YAFFS_TRACE_SCAN*/
(TSTR("Partially written block %d detected" TENDSTR),
blk));
。。。。
报错是由于YAFFS_TRACE_ALWAYS造成的。只要把它改成YAFFS_TRACE_SCAN 就OK了
但这肯定不是好办法,当然如果只是为了开发调试,只能自己去手动注释掉,也是可以的
有空可以研究下yaff2文件系统
- 内核启动出现Partially written xxx block detected
- 内核启动出现Partially written xxx block detected
- 内核启动出现Partially written xxx block detected
- 内核启动yaffs2文件系统出现Partially written xxx block detected
- 内核启动出现Partially written xxx block detected
- 系统启动出现:Partially written block XXX detected
- 系统启动出现:Partially written block X detected
- Partially written block detected
- Partially written block *** detected解决方案
- Partially written block *** detected解决方案
- Partially written block detected 疑问及解决办法
- ARM-Linux移植攻略--yaffs2 Partially written block xxx detected 问题解决
- ARM-Linux移植攻略--yaffs2 Partially written block xxx detected 问题解决
- 系统启动时打印Partially written block X detected信息
- 解决Partially written block xxx being set for retirement(dm365)
- (转)heap corruption detected: after normal block(#xxx) 。。
- C++ error: heap corruption detected:after normal block(#xxx) at 0x xxxxxxxx
- 遇到C++ error: heap corruption detected:after normal block(#xxx) at 0x xxxxxxxx怎么处理
- Dojo加载自定义对象
- CentOS 6 安装Hadoop 2.6 (二)配置Hadoop
- 在linux下用不了ifconfig的问题
- Android自定义下拉刷新动画--仿百度外卖下拉刷新
- 不加www有哪些好处和坏处?
- 内核启动出现Partially written xxx block detected
- python编程实践小结2016-04-11
- cygwin下面c++编译 在此作用域中尚未声明
- MTT ok
- 定时自动备份版本库
- Android开发环境搭建教程
- 进程与线程
- iOS手势操作UIGestureRecognizer
- 时间序列数据库武斗大会之 KairosDB 篇