我有个问题想咨询技术牛人们一下,我们公司用的是之前用的是MT29F2G08ABAE 256M的芯片,现在用的是h27u4gbf2dtr的512M的nandflash芯片,刷文件系统之后有段时间是可以的,但是跑了一段时间之后,文件系统就会变成只读。这个问题已经困扰我很久了,不知道你们有没有遇到过这样的情况,有什么解决的办法。希望能够提供一个思路,拜谢。
这个错误日志
908.738678] UBIFS error (pid 3274): ubifs_scan: corrupt empty space at LEB 739:112227
[ 908.747049] UBIFS error (pid 3274): ubifs_scanned_corruption: corruption at LEB 739:112227
ubifs_err("corruption at LEB %d:%d", lnum, offs);
[ 908.764062] UBIFS error (pid 3274): ubifs_scan: LEB 739 scanning failed
[ 908.770987] UBIFS error (pid 3274): do_commit: commit failed, error -117
[ 908.777994] UBIFS warning (pid 3274): ubifs_ro_mode: switched to read-only mode, error -117
[ 908.786718] Backtrace:
[ 908.789307] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c0405034>] (dump_stack+0x18/0x1c)
[ 908.798130] r6:00000001 r5:ffffff8b r4:60008400 r3:c0630dc8
[ 908.804094] [<c040501c>] (dump_stack+0x0/0x1c) from [<c0174958>] (ubifs_ro_mode+0x74/0x78)
[ 908.812741] [<c01748e4>] (ubifs_ro_mode+0x0/0x78) from [<c017da2c>] (do_commit+0x71c/0x720)
[ 908.821465] r4:df3e2000 r3:df3e219c
[ 908.825216] [<c017d310>] (do_commit+0x0/0x720) from [<c017dc44>] (ubifs_run_commit+0x74/0xa4)
[ 908.834118] r8:df3e2000 r7:00000000 r6:df3deb58 r5:df3e218c r4:df3e2000
[ 908.841150] [<c017dbd0>] (ubifs_run_commit+0x0/0xa4) from [<c0170178>] (ubifs_sync_fs+0x84/0xa0)
[ 908.850334] r5:00000003 r4:000001c8
[ 908.854106] [<c01700f4>] (ubifs_sync_fs+0x0/0xa0) from [<c00cc4a8>] (__sync_filesystem+0x7c/0xa0)
[ 908.863376] r8:df2a5f84 r7:c063e80c r6:df5aa600 r5:00000001 r4:df3dee00
[ 908.870216] r3:c01700f4
[ 908.872979] [<c00cc42c>] (__sync_filesystem+0x0/0xa0) from [<c00cc4ec>] (sync_one_sb+0x20/0x24)
[ 908.882083] r5:df3dee40 r4:df3dee00
[ 908.885843] [<c00cc4cc>] (sync_one_sb+0x0/0x24) from [<c00ab1f0>] (iterate_supers+0x6c/0xa8)
[ 908.894667] [<c00ab184>] (iterate_supers+0x0/0xa8) from [<c00cc3ec>] (sync_filesystems+0x24/0x2c)
[ 908.903941] [<c00cc3c8>] (sync_filesystems+0x0/0x2c) from [<c00cc580>] (sys_sync+0x28/0x4c)
[ 908.913016] [<c00cc558>] (sys_sync+0x0/0x4c) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
Eason Wang:
Move to sitara forum
Jian Zhou:
回复 Eason Wang:
应该是有坏块吧,这个问题最后解决没有?
yehua lai1:
UBIFS运行一段时间,变为只读,最后你是怎样解决的,请问?