EZ335X使用久了之后,出现文件系统只读的现象,
EZ335X flash用的是美光的2G08
跑qt程序一年多,现在进入系统之后文件系统变成只读,出现以下错误:
UBIFS error (pid 1960): ubifs_check_node: bad CRC: calculated 0xef8242c9, read 0x696c6702
[ 20.424835] UBIFS error (pid 1960): ubifs_check_node: bad node at LEB 1013:110592
[ 20.432739] UBIFS error (pid 1960): ubifs_scanned_corruption: corruption at LEB 1013:110592
[ 20.450866] UBIFS error (pid 1960): ubifs_scan: LEB 1013 scanning failed
[ 20.457977] UBIFS warning (pid 1960): ubifs_ro_mode: switched to read-only mode, error -117
[ 20.466796] Backtrace:
[ 20.469421] [<c0017978>] (dump_backtrace+0x0/0x110) from [<c03dac34>] (dump_stack+0x18/0x1c)
[ 20.478332] r6:ffffff8b r5:cf0fce00 r4:60008410 r3:c0599408
[ 20.484344] [<c03dac1c>] (dump_stack+0x0/0x1c) from [<c0173464>] (ubifs_ro_mode+0x74/0x78)
[ 20.493103] [<c01733f0>] (ubifs_ro_mode+0x0/0x78) from [<c017d23c>] (ubifs_garbage_collect+0x184/0x254)
[ 20.503021] r4:cf0fa000 r3:00000000
[ 20.506805] [<c017d0b8>] (ubifs_garbage_collect+0x0/0x254) from [<c0168dd8>] (make_reservation+0x108/0x3c8)
[ 20.517120] [<c0168cd0>] (make_reservation+0x0/0x3c8) from [<c0169c6c>] (ubifs_jnl_write_inode+0x80/0x1c8)
[ 20.527313] [<c0169bec>] (ubifs_jnl_write_inode+0x0/0x1c8) from [<c016ee34>] (ubifs_write_inode+0x88/0xdc)
[ 20.537506] [<c016edac>] (ubifs_write_inode+0x0/0xdc) from [<c016b2f0>] (ubifs_writepage+0xb8/0x17c)
[ 20.547149] r7:cf563818 r6:c07cade0 r5:00000000 r4:00570000
[ 20.553192] [<c016b238>] (ubifs_writepage+0x0/0x17c) from [<c0080e48>] (__writepage+0x1c/0x64)
[ 20.562316] [<c0080e2c>] (__writepage+0x0/0x64) from [<c00815d8>] (write_cache_pages+0x208/0x3d4)
[ 20.571685] r4:0000056f r3:c0080e2c
[ 20.575469] [<c00813d0>] (write_cache_pages+0x0/0x3d4) from [<c00817f0>] (generic_writepages+0x4c/0x64)
[ 20.585418] [<c00817a4>] (generic_writepages+0x0/0x64) from [<c008281c>] (do_writepages+0x3c/0x40)
[ 20.594879] r5:00000000 r4:0056f000
[ 20.598693] [<c00827e0>] (do_writepages+0x0/0x40) from [<c007a9e4>] (__filemap_fdatawrite_range+0x5c/0x64)
[ 20.608886] [<c007a988>] (__filemap_fdatawrite_range+0x0/0x64) from [<c007aa34>] (filemap_write_and_wait_range+0x48/0x74)
[ 20.620483] [<c007a9ec>] (filemap_write_and_wait_range+0x0/0x74) from [<c016b408>] (ubifs_fsync+0x54/0xc8)
[ 20.630645] r9:00000000 r8:0056f000 r7:00000000 r6:0056ffff r5:cf0fa000
[ 20.637573] r4:cf563818
[ 20.640380] [<c016b3b4>] (ubifs_fsync+0x0/0xc8) from [<c00cae84>] (generic_write_sync+0x80/0xac)
[ 20.649627] r7:00000000 r6:0056ffff r5:00000000 r4:00001000
[ 20.655639] [<c00cae04>] (generic_write_sync+0x0/0xac) from [<c007b178>] (generic_file_aio_write+0xb0/0xd0)
[ 20.665924] r7:00000001 r6:00001000 r5:00000000 r4:00001000
[ 20.671936] [<c007b0c8>] (generic_file_aio_write+0x0/0xd0) from [<c016b028>] (ubifs_aio_write+0x10c/0x19c)
[ 20.682128] [<c016af1c>] (ubifs_aio_write+0x0/0x19c) from [<c00a6d54>] (do_sync_write+0xac/0xec)
[ 20.691436] [<c00a6ca8>] (do_sync_write+0x0/0xec) from [<c00a7480>] (vfs_write+0xbc/0x150)
[ 20.700164] r8:00001000 r7:cf1c7f70 r6:bebbe9a0 r5:00001000 r4:cf1f85c0
[ 20.707275] [<c00a73c4>] (vfs_write+0x0/0x150) from [<c00a7718>] (sys_write+0x44/0x74)
[ 20.715606] r8:00001000 r7:bebbe9a0 r6:cf1f85c0 r5:00000000 r4:0056f000
[ 20.722747] [<c00a76d4>] (sys_write+0x0/0x74) from [<c0014280>] (ret_fast_syscall+0x0/0x30)
[ 20.731567] r8:c0014428 r7:00000004 r6:bebbe9a0 r5:00001000 r4:000a2afc
[ 20.738677] UBIFS error (pid 1960): make_reservation: cannot reserve 160 bytes in jhead 1, error -117
[ 20.748443] UBIFS error (pid 1960): ubifs_write_inode: can't write inode 14410, error -117
cp: write error: Structure needs cleaning
重新少些文件系统之后,可以暂时解决这个现象,用一段时间又会变成只读。
有没有人遇到过这样的问题。
你好,
请问你的问题解决了吗?我现在遇到跟你一模一样的问题,不知道如何解决。
问了TI的工程也没有解决方案。