内核启动出现Partially written xxx block detected
来源:互联网 发布:sai绘画软件安卓版 编辑:程序博客网 时间:2024/05/21 14:08
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了
但这肯定不是好办法,当然如果只是为了开发调试,只能自己去手动注释掉,也是可以的
- 内核启动出现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怎么处理
- XCODE 4.2 中的@synthesize, @property
- autosys error: start_times syntax: HH:MM,HH:MM,...
- Linux内核编译
- #include<iostream>与#include<iostream.h>的区别
- 第十二章 POSIX 线程(一)
- 内核启动出现Partially written xxx block detected
- linux 磁盘配额
- IT人不可不听的8个职场故事
- Source Insight 的应用技巧
- My_Java之笔记(8)- 实现TreeSet集合的排序方法
- ARM9+Linux下USB摄像头图像采集
- Oracle数据库查询优化的经验和方法
- 键盘焦点
- asp.net在后台给前台的控件设置Style属性与坐标,后台设置CSS样式,后台获取前台控件坐标