当前位置: 代码迷 >> 驱动开发 >> jffs2文件系统出错!
  详细解决方案

jffs2文件系统出错!

热度:433   发布时间:2016-04-28 10:01:23.0
jffs2文件系统报错!!!
给位大侠就过来看一眼吧 可怜一下我这个刚出来实习的苦逼


情况是这样的,在3G下载过程中,(不是每一次都会有这样的情况出现,大概也就1/5的几率)内核抛出了 oops,文件系统的错误,第一次遇到这么头痛的问题,小公司,木有专家,只有我一个人在跟这个问题。

我的疑问是:
是nand flash 驱动有问题吗?
还是我的文件系统的问题呢?

以下是log


10:04:45:WRITE LEN: 264208 !  After MEMMOVE !
10:04:45:Unable to handle kernel paging request at virtual address d8aaf702
10:04:45:pgd = c7f54000
10:04:45:[d8aaf702] *pgd=00000000
10:04:45:Internal error: Oops: 1 [#1] PREEMPT
10:04:45:Modules linked in: mxc_hbi mx_sdhci
10:04:45:CPU: 0    Tainted: G        W  (2.6.26-466-ga04670e #41)
10:04:45:PC is at jffs2_garbage_collect_pass+0x5ec/0x18dc
10:04:45:LR is at jffs2_garbage_collect_pass+0x1c/0x18dc
10:04:45:pc : [<c012085c>]    lr : [<c012028c>]    psr: a0000013
10:04:45:sp : c7d15e20  ip : c7d15e20  fp : c7d15efc
10:04:45:r10: c7ea9c00  r9 : 00000000  r8 : 00000000
10:04:45:r7 : c03898c8  r6 : c700eba8  r5 : d8aaf702  r4 : c700eba0
10:04:45:r3 : d8aaf702  r2 : c88a6878  r1 : c88a6878  r0 : 00000000
10:04:45:Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
10:04:45:Control: 00c5387f  Table: 87f54008  DAC: 00000017
10:04:45:Process pdflush (pid: 140, stack limit = 0xc7d14260)
10:04:45:Stack: (0xc7d15e20 to 0xc7d16000)
10:04:45:5e20: c7d15e54 c7d15e30 c005f13c c0032ce8 c003f8c8 c7d14000 c88a6878 00001cb0 
10:04:45:5e40: c7020600 c7c20900 c7d15e74 c7d15e58 c005f5c8 c005f110 00000000 c003f844 
10:04:45:5e60: c7c2e01c c7d04300 c7d15e8c c7d15e78 c005f614 c005f5a4 00000000 c7d04300 
10:04:45:5e80: c7d15ebc c7d15e90 c02bb280 c003fe4c 00000001 c7ea9c2c c7d14000 c7d04300 
10:04:45:5ea0: c03898c8 00000000 00000000 00000000 c7d15eec c7d15ec0 c02bbfe0 c02bafd4 
10:04:45:5ec0: c043e840 c7ea9c30 c7ea9c30 c7d04300 c00ae348 c7ea9c00 51a8f800 c7ea9c2c 
10:04:45:5ee0: c03898c8 00000000 00000000 00000000 c7d15f1c c7d15f00 c01265a8 c012027c 
10:04:45:5f00: c7ea9c00 00000000 c038d728 c03898c8 c7d15f34 c7d15f20 c01232dc c0126524 
10:04:45:5f20: c7ea9800 c7d14000 c7d15f4c c7d15f38 c009b994 c01232a4 c7d14000 c7d15fac 
10:04:45:5f40: c7d15f9c c7d15f50 c0078e4c c009b900 00000000 00000000 c7d15f84 00000000 
10:04:45:5f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000025 00000000 
10:04:45:5f80: c03898c8 00000000 c7d14000 c7d15fac c7d15fd4 c7d15fa0 c00796a8 c0078e10 
10:04:45:5fa0: c7d04300 c0078e04 00000000 c7d15fac c7d15fac 0000a5f6 c7d14000 00000000 
10:04:45:5fc0: c007953c 00000000 c7d15ff4 c7d15fd8 c005a41c c0079548 00000000 00000000 
10:04:45:5fe0: 00000000 00000000 00000000 c7d15ff8 c00481b4 c005a3cc ffffffff ffeffffb 
10:04:45:Backtrace: 
10:04:45:[<c0120270>] (jffs2_garbage_collect_pass+0x0/0x18dc) from [<c01265a8>] (jffs2_flush_wbuf_gc+0x90/0xfc)
10:04:45:[<c0126518>] (jffs2_flush_wbuf_gc+0x0/0xfc) from [<c01232dc>] (jffs2_write_super+0x44/0x48)
10:04:45: r7:c03898c8 r6:c038d728 r5:00000000 r4:c7ea9c00
10:04:45:[<c0123298>] (jffs2_write_super+0x0/0x48) from [<c009b994>] (sync_supers+0xa0/0x110)
10:04:45: r5:c7d14000 r4:c7ea9800
10:04:45:[<c009b8f4>] (sync_supers+0x0/0x110) from [<c0078e4c>] (wb_kupdate+0x48/0x144)
10:04:45: r5:c7d15fac r4:c7d14000
10:04:45:[<c0078e04>] (wb_kupdate+0x0/0x144) from [<c00796a8>] (pdflush+0x16c/0x258)
10:04:45: r5:c7d15fac r4:c7d14000
10:04:45:[<c007953c>] (pdflush+0x0/0x258) from [<c005a41c>] (kthread+0x5c/0x94)
10:04:45: r7:00000000 r6:c007953c r5:00000000 r4:c7d14000
10:04:45:[<c005a3c0>] (kthread+0x0/0x94) from [<c00481b4>] (do_exit+0x0/0x670)
10:04:45: r6:00000000 r5:00000000 r4:00000000
10:04:45:Code: eb066d13 e3a09000 ea000484 e1a05003 (e5953000) 
10:04:45:---[ end trace 1b75b31a2719ed1c ]---
10:04:45:------------[ cut here ]------------
10:04:45:WARNING: at kernel/exit.c:965 do_exit+0x40/0x670()
10:04:45:Modules linked in: mxc_hbi mx_sdhci
10:04:45:[<c0029790>] (dump_stack+0x0/0x14) from [<c0044c48>] (warn_on_slowpath+0x4c/0x84)
10:04:45:[<c0044bfc>] (warn_on_slowpath+0x0/0x84) from [<c00481f4>] (do_exit+0x40/0x670)
10:04:45: r6:0000000b r5:c7d04300 r4:c7d14000
10:04:45:[<c00481b4>] (do_exit+0x0/0x670) from [<c0029604>] (die+0x2a0/0x324)
10:04:45:[<c0029364>] (die+0x0/0x324) from [<c002aac8>] (__do_kernel_fault+0x6c/0x7c)
10:04:45:[<c002aa5c>] (__do_kernel_fault+0x0/0x7c) from [<c002ad74>] (do_bad_area+0x6c/0x78)
10:04:45: r7:c7d15dd8 r6:00000000 r5:d8aaf702 r4:00000001
10:04:45:[<c002ad08>] (do_bad_area+0x0/0x78) from [<c002cb10>] (do_alignment+0x448/0x598)
10:04:45: r5:e5953000 r4:00000000
10:04:45:[<c002c6c8>] (do_alignment+0x0/0x598) from [<c0025244>] (do_DataAbort+0x3c/0xa0)
10:04:45:[<c0025208>] (do_DataAbort+0x0/0xa0) from [<c00256ac>] (__dabt_svc+0x4c/0x60)
10:04:45:Exception stack(0xc7d15dd8 to 0xc7d15e20)
10:04:45:5dc0:                                                       00000000 c88a6878 
10:04:45:5de0: c88a6878 d8aaf702 c700eba0 d8aaf702 c700eba8 c03898c8 00000000 00000000 
10:04:45:5e00: c7ea9c00 c7d15efc c7d15e20 c7d15e20 c012028c c012085c a0000013 ffffffff 
10:04:45: r8:00000000 r7:c03898c8 r6:c700eba8 r5:c7d15e0c r4:ffffffff
10:04:45:[<c0120270>] (jffs2_garbage_collect_pass+0x0/0x18dc) from [<c01265a8>] (jffs2_flush_wbuf_gc+0x90/0xfc)
10:04:45:[<c0126518>] (jffs2_flush_wbuf_gc+0x0/0xfc) from [<c01232dc>] (jffs2_write_super+0x44/0x48)
10:04:45: r7:c03898c8 r6:c038d728 r5:00000000 r4:c7ea9c00
10:04:45:[<c0123298>] (jffs2_write_super+0x0/0x48) from [<c009b994>] (sync_supers+0xa0/0x110)
10:04:45: r5:c7d14000 r4:c7ea9800
10:04:45:[<c009b8f4>] (sync_supers+0x0/0x110) from [<c0078e4c>] (wb_kupdate+0x48/0x144)
10:04:45: r5:c7d15fac r4:c7d14000
10:04:45:[<c0078e04>] (wb_kupdate+0x0/0x144) from [<c00796a8>] (pdflush+0x16c/0x258)
10:04:45: r5:c7d15fac r4:c7d14000
10:04:45:[<c007953c>] (pdflush+0x0/0x258) from [<c005a41c>] (kthread+0x5c/0x94)
10:04:45: r7:00000000 r6:c007953c r5:00000000 r4:c7d14000
10:04:45:[<c005a3c0>] (kthread+0x0/0x94) from [<c00481b4>] (do_exit+0x0/0x670)
10:04:45: r6:00000000 r5:00000000 r4:00000000
10:04:45:---[ end trace 1b75b31a2719ed1c ]---
------解决思路----------------------
udp传输吗?传过来后有校验没