上下电UBIFS出错导致文件系统无法运行
最近在做一个项目,使用的是OK335xS核心板在断电后上电出现系统运行一般报出UBIFS出错,导致系统无法运行的情况发生,错误信息有两种现象:
错误信息1:
[ 4.139860] input: gpio-keys as /devices/platform/gpio-keys/input/input1
[ 4.148746] rtc-ds1307 2-0068: setting system clock to 2000-03-15 20:33:54 UTC (953152434)
[ 4.195257] UBIFS: recovery needed
[ 4.268405] UBIFS error (pid 1): ubifs_scanned_corruption: corruption at LEB 931:49152
[ 4.284539] UBIFS error (pid 1): ubifs_recover_leb: LEB 931 scanning failed
[ 4.292635] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[ 4.300011] Please append a correct "root=" boot option; here are the available partitions:
[ 4.308816] 1f00 2048 mtdblock0(driver?)
[ 4.314116] 1f01 2048 mtdblock1(driver?)
[ 4.319393] 1f02 2048 mtdblock2(driver?)
[ 4.324690] 1f03 2048 mtdblock3(driver?)
[ 4.329964] 1f04 2048 mtdblock4(driver?)
[ 4.335261] 1f05 2048 mtdblock5(driver?)
[ 4.340538] 1f06 8192 mtdblock6(driver?)
[ 4.345833] 1f07 241664 mtdblock7(driver?)
[ 4.351109] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[ 4.359742] Backtrace:
[ 4.362348] [<c0017d68>] (dump_backtrace+0x0/0x110) from [<c050fbb0>] (dump_stack+0x18/0x1c)
[ 4.371154]r6:c7030000 r5:c06ef474 r4:c076dfd0 r3:c071ef48
[ 4.377104] [<c050fb98>] (dump_stack+0x0/0x1c) from [<c050fc20>] (panic+0x6c/0x1a0)
[ 4.385129] [<c050fbb4>] (panic+0x0/0x1a0) from [<c06bfcb4>] (mount_block_root+0x184/0x228)
[ 4.393857]r3:c071ef48 r2:00000000 r1:c701df78 r0:c0611de0
[ 4.399779]r7:00008000
[ 4.402442] [<c06bfb30>] (mount_block_root+0x0/0x228) from [<c06bffd0>] (prepare_namespace+0xac/0x1e0)
[ 4.412176] [<c06bff24>] (prepare_namespace+0x0/0x1e0) from [<c06bf90c>] (kernel_init+0x124/0x130)
[ 4.421526]r5:c06fb6f8 r4:c06fb6f8
[ 4.425295] [<c06bf7e8>] (kernel_init+0x0/0x130) from [<c0041624>] (do_exit+0x0/0x67c)
[ 4.433567]r5:c06bf7e8 r4:00000000
错误信息2:
[ 4.183143] rtc-ds1307 2-0068: setting system clock to 2000-03-25 20:25:17 UT
C (954015917)
[ 4.228975] UBIFS: recovery needed
[ 4.328060] UBIFS: recovery completed
[ 4.331930] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 4.338192] UBIFS: file system size: 235540480 bytes (230020 KiB, 224 MiB,
1855 LEBs)
[ 4.346549] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEB
s)
[ 4.354175] UBIFS: media format: w4/r0 (latest is w4/r0)
[ 4.360253] UBIFS: default compressor: lzo
[ 4.364532] UBIFS: reserved for root:0 bytes (0 KiB)
[ 4.370900] VFS: Mounted root (ubifs filesystem) on device 0:14.
[ 4.378421] devtmpfs: mounted
[ 4.381897] Freeing init memory: 244K
INIT: version 2.88 booting
[ 4.758035] UBIFS error (pid 767): ubifs_read_node: bad node type (0 but expe
cted 2)
[ 4.766159] UBIFS error (pid 767): ubifs_read_node: bad node at LEB 11:114304
, LEB mapping status 1
[ 4.775606] UBIFS error (pid 767): ubifs_readdir: cannot find next direntry,
error -22
[ 4.784872] UBIFS error (pid 767): ubifs_read_node: bad node type (0 but expe
cted 2)
[ 4.792961] UBIFS error (pid 767): ubifs_read_node: bad node at LEB 11:114304
, LEB mapping status 1
[ 4.802402] UBIFS error (pid 767): ubifs_readdir: cannot find next direntry,
error -22
[ 4.810669] UBIFS error (pid 767): ubifs_read_node: bad node type (0 but expe
cted 2)
[ 4.818754] UBIFS error (pid 767): ubifs_read_node: bad node at LEB 11:114304
, LEB mapping status 1
[ 4.828192] UBIFS error (pid 767): ubifs_readdir: cannot find next direntry,
error -22
[ 4.836467] UBIFS error (pid 767): ubifs_read_node: bad node type (0 but expe
cted 2)
[ 4.844548] UBIFS error (pid 767): ubifs_read_node: bad node at LEB 11:114304
, LEB mapping status 1
[ 4.853987] UBIFS error (pid 767): ubifs_readdir: cannot find next direntry,
error -22
[ 4.862260] UBIFS error (pid 767): ubifs_read_node: bad node type (0 but expe
cted 2)
详细的信息见附件,请问各位大侠,有谁遇到过这种情况?? 有没有什么好的靠谱的解决方法??在线等待中。。。
页:
[1]