UBI文件系统遇到的问题
2012-11-22 15:04
316 查看
记录使用UBI遇到的一些问题,会补充。
1.UBI warning: ubi_scan: 35 PEBs are corrupted
corrupted PEBs are: 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 84 85 86
kernel中的注释是这样解释的:
/*
* Few corrupted PEBs are not a problem and may be just a result of
* unclean reboots. However, many of them may indicate some problems
* with the flash HW or driver. Print a warning in this case.
*/
有注释可知,出现这种打印的原因可能是不干净的断电(类似突然断电?),更多的是驱动的有问题。我想可能有这几种情况吧:
a. 制作ubi文件系统参数与flash参数不匹配(应该概率很小,如果不匹配,一般都直接失败,attach就会失败)
b. 驱动使用的ecc算法与nand所要求的不匹配?
c. 烧写工具烧录ubi文件系统有问题。
我这里的原因是uboot烧录ubi文件系统烧录的有问题,烧录ubi需要跳过全0xff的页,而这里没有跳过,造成ECC错误。
1.UBI warning: ubi_scan: 35 PEBs are corrupted
corrupted PEBs are: 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 84 85 86
kernel中的注释是这样解释的:
/*
* Few corrupted PEBs are not a problem and may be just a result of
* unclean reboots. However, many of them may indicate some problems
* with the flash HW or driver. Print a warning in this case.
*/
有注释可知,出现这种打印的原因可能是不干净的断电(类似突然断电?),更多的是驱动的有问题。我想可能有这几种情况吧:
a. 制作ubi文件系统参数与flash参数不匹配(应该概率很小,如果不匹配,一般都直接失败,attach就会失败)
b. 驱动使用的ecc算法与nand所要求的不匹配?
c. 烧写工具烧录ubi文件系统有问题。
我这里的原因是uboot烧录ubi文件系统烧录的有问题,烧录ubi需要跳过全0xff的页,而这里没有跳过,造成ECC错误。
相关文章推荐
- Android开发:设备文件系统遇到“... Read-only file system”的问题
- 移植YAFFS文件系统遇到问题解决问题
- 32位程序访问64位Windows操作系统存放64位系统文件的 \Windows\System32 目录时将遇到重定向目录问题
- 解决制作根文件系统遇到的共享库查找问题(转载)
- 又遇到redhat文件系统只读问题
- [置顶] 文件系统的制作遇到的问题(genext2fs: couldn't allocate a block (no free space))
- ubi文件系统制作,还是"-c"选项的问题
- Linux系统下Java应用程序打包成.jar文件遇到问题与解决问题
- 制作ubifs文件系统,所遇到的问题。
- 文件系统制作过程中遇到的问题
- 使用wildfly-10.1.0遇到一个问题:启动时提示“系统找不到指定的文件”
- S3C6410 烧写u-boot 内核 根文件系统 遇到的问题 及总结
- 今日遇到一问题,甚是定奇怪,我将文件名称改为小写,系统便能载入上,但为何这样呢?
- ubifs文件系统的制作过程&&遇到的问题及解决方案总结---之二“Linux内核中添加对UBIFS文件系统的支持”
- 移植ubifs文件系统遇到的问题
- TQ2440构建根文件系统遇到的问题
- 大分区使用xfs文件系统存储备份遇到的问题
- 遇到一个Linux文件系统因bios时间错误变成只读的问题
- 记2416移植2.6.36内核和yaffs根文件系统时遇到的一些问题
- Android NFS文件系统挂载遇到的问题解决方法