嵌入式爱好者

查看: 1751|回复: 0

[Linux] linux 3.2.0 ubi文件系统运行中的故障

[复制链接]

1

主题

1

帖子

43

积分

RK3568通行证RK3588通行证AM335x通行证

扫一扫,手机访问本帖
发表于 2024-6-12 10:41:49 | 显示全部楼层 |阅读模式
hi飞凌技术支持 我们使用FET335XD-V3.0 linux3.2.0 console ubi系统运行中报错如下打印,但是文件系统没有彻底死掉,请协助分析一下故障原因。
故障打印如下:
[   27.037510] elm_decode_bch_error 113
[   27.041366] reg_val 101
[   27.043955] elm_decode_bch_error 148
[   27.047690] fix errro bit_pos 0 byte_pos 261
[   27.136336] elm_decode_bch_error 113
[   27.140564] reg_val 101
[   27.143143] elm_decode_bch_error 148
[   27.146873] fix errro bit_pos 0 byte_pos 261
[   27.234913] elm_decode_bch_error 113
[   27.238966] reg_val 101
[   27.241516] elm_decode_bch_error 148
[   27.245262] fix errro bit_pos 0 byte_pos 261
[   27.333269] elm_decode_bch_error 113
[   27.337287] reg_val 101
[   27.339836] elm_decode_bch_error 148
[   27.343578] fix errro bit_pos 0 byte_pos 261
[   27.348039] UBI error: ubi_io_read: error 1 while reading 253952 bytes from PEB 374:8192, read 253952 bytes
[   27.358217] UBIFS error (pid 1410): ubifs_leb_read: reading 253952 bytes from LEB 991:0 failed, error 1
[   27.368030] UBIFS error (pid 1410): ubifs_start_scan: cannot read 253952 bytes from LEB 991:0, error 1
[   27.377912] Unable to handle kernel NULL pointer dereference at virtual address 0000000d
[   27.386376] pgd = de1b0000
[   27.389195] [0000000d] *pgd=9e525831, *pte=00000000, *ppte=00000000
[   27.395759] Internal error: Oops: 17 [#1]
[   27.399938] Modules linked in:
[   27.403127] CPU: 0    Not tainted  (3.2.0 #1)
[   27.407685] PC is at ubifs_add_snod+0xd8/0x100
[   27.412318] LR is at ubifs_add_snod+0x2c/0x100
[   27.416952] pc : [<c017af18>]    lr : [<c017ae6c>]    psr: 80000013
[   27.416959] sp : de25fb68  ip : 00000000  fp : de25fb8c
[   27.428928] r10: 00000000  r9 : 00000001  r8 : 00000078
[   27.434375] r7 : 00000000  r6 : 00000000  r5 : e0ccd000  r4 : 00000001
[   27.441181] r3 : de08ac80  r2 : 2000004a  r1 : 00000009  r0 : 00000000
[   27.447990] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   27.455430] Control: 10c5387d  Table: 9e1b0019  DAC: 00000015
[   27.461419]
[   27.461422] PC: 0xc017ae98:
[   27.465871] ae98  e5d5100f e1800808 e1822807 e1800c0c e5830010 e1822c01 e5832014 e5d52014
[   27.474433] aeb8  e583601c e5832018 e5d5c011 e5d50012 e5d52010 e5d51013 e182240c e5835024
[   27.482993] aed8  e1822800 e3a00000 e1822c01 e5832020 e5d52014 e3520003 830b2eaf 83a01004
[   27.491553] aef8  95952018 834d2ead 8583100c e2841008 85832008 95832008 9595201c 9583200c
[   27.500113] af18  e594200c e584300c e8830006 e5823000 e5943004 e2833001 e5843004 e89da9f8
[   27.508673] af38  e3e0000b e89da9f8 e1a0c00d e92dd870 e24cb004 e24dd014 e1a0e00d e1a06000
[   27.517233] af58  e3cecd7f e30808a8 e3ccc03f e1a04002 e1a05003 e59f2060 e59cc00c e1a03001
[   27.525794] af78  e34c0060 e59c10cc e58d4000 eb0d9e1a e59635bc e3060e74 e3041240 e34c005f
[   27.534356]
[   27.534359] LR: 0xc017adec:
[   27.538807] adec  e34c0060 e591100c e58d8000 e98d0060 e59110cc eb0d9e7b e1a00004 ebfca8d3
[   27.547367] ae0c  e1a04006 eaffffeb c04f98e4 e1a0c00d e92dd800 e24cb004 e59025ac e2420001
[   27.555927] ae2c  e2622000 e0800003 e0002002 e5812010 e89da800 e1a0c00d e92dd9f8 e24cb004
[   27.564488] ae4c  e30c09e8 e1a04001 e34c0070 e3a01050 e1a06003 e1a05002 e590000c ebfcabed
[   27.573047] ae6c  e2503000 0a000030 e5d5c009 e5d5100d e5d50008 e5d5200c e5d5800a e180040c
[   27.581608] ae8c  e5d5700e e1822401 e5d5c00b e5d5100f e1800808 e1822807 e1800c0c e5830010
[   27.590169] aeac  e1822c01 e5832014 e5d52014 e583601c e5832018 e5d5c011 e5d50012 e5d52010
[   27.598729] aecc  e5d51013 e182240c e5835024 e1822800 e3a00000 e1822c01 e5832020 e5d52014
[   27.607291]
[   27.607294] SP: 0xde25fae8:
[   27.611742] fae8  ffffffff de41401c de46e140 de25e000 de13cc40 c017af18 80000013 ffffffff
[   27.620303] fb08  de25fb54 00000078 de25fb8c de25fb20 c0013ed8 c0008374 00000000 00000009
[   27.628863] fb28  2000004a de08ac80 00000001 e0ccd000 00000000 00000000 00000078 00000001
[   27.637423] fb48  00000000 de25fb8c 00000000 de25fb68 c017ae6c c017af18 80000013 ffffffff
[   27.645983] fb68  00000000 0003e000 00000000 e0ccd000 de1c5000 000003df de25fbcc de25fb90
[   27.654543] fb88  c017b1b4 c017ae4c 00000000 00000000 de25fbcc de25fba8 00000a45 de25fc58
[   27.663103] fba8  de1c5000 00000000 00000000 00001000 00015000 00000000 de25fc3c de25fbd0
[   27.671663] fbc8  c017e240 c017b04c 00000000 c0039544 de1c5000 00000000 de1c5824 00000000
[   27.680225]
[   27.680228] FP: 0xde25fb0c:
[   27.684676] fb0c  00000078 de25fb8c de25fb20 c0013ed8 c0008374 00000000 00000009 2000004a
[   27.693236] fb2c  de08ac80 00000001 e0ccd000 00000000 00000000 00000078 00000001 00000000
[   27.701795] fb4c  de25fb8c 00000000 de25fb68 c017ae6c c017af18 80000013 ffffffff 00000000
[   27.710356] fb6c  0003e000 00000000 e0ccd000 de1c5000 000003df de25fbcc de25fb90 c017b1b4
[   27.718916] fb8c  c017ae4c 00000000 00000000 de25fbcc de25fba8 00000a45 de25fc58 de1c5000
[   27.727475] fbac  00000000 00000000 00001000 00015000 00000000 de25fc3c de25fbd0 c017e240
[   27.736036] fbcc  c017b04c 00000000 c0039544 de1c5000 00000000 de1c5824 00000000 de169600
[   27.744596] fbec  de25fc58 000003df de25fc00 c0180878 c04e37a0 00000011 00000000 de25fc2c
[   27.753158]
[   27.753161] R3: 0xde08ac00:
[   27.757609] ac00  0000000f 0000b3b0 000006cc 00000000 000117ab 00000000 00100100 00200200
[   27.766169] ac20  000001f1 20000086 00000000 00000000 00087000 00000000 00000000 00000000
[   27.774728] ac40  0000000f 0000ba80 0000063b 00000000 000117ac 00000000 00100100 00200200
[   27.783288] ac60  000001f1 20000087 00000000 00000000 00088000 00000000 00000000 00000000
[   27.791846] ac80  00000001 00000000 00000043 2000004a 0b78a8ce 00000000 00000001 00000000
[   27.800406] aca0  0000004c e0ccd000 00000000 00000000 00089000 00000000 00000000 00000000
[   27.808965] acc0  06101831 c0b3e194 0000023c 00000000 00000040 00000102 00000041 4c7a4801
[   27.817525] ace0  00000000 00000000 0000004b 00000000 00070000 00000000 2e736d67 00676f6c
[   27.826087]
[   27.826090] R5: 0xe0cccf80:
[   27.830537] cf80  ******** ******** ******** ******** ******** ******** ******** ********
[   27.839101] cfa0  ******** ******** ******** ******** ******** ******** ******** ********
[   27.847664] cfc0  ******** ******** ******** ******** ******** ******** ******** ********
[   27.856226] cfe0  ******** ******** ******** ******** ******** ******** ******** ********
[   27.864788] d000  06101831 844afea9 0b78a8ce 00000000 0000004c 00000001 00000043 2000004a
[   27.873348] d020  00000000 00000000 00001000 00000001 01010102 00200101 00000000 00000000
[   27.881908] d040  00000000 00e90000 00001100 00000000 06101831 dcc68a57 0b78a8cf 00000000
[   27.890469] d060  0000004c 00000001 00000043 2000004b 00000000 00000000 00001000 00000001
[   27.899033] Process GMS_TY_DEV_APP (pid: 1410, stack limit = 0xde25e2f0)
[   27.906021] Stack: (0xde25fb68 to 0xde260000)
[   27.910567] fb60:                   00000000 0003e000 00000000 e0ccd000 de1c5000 000003df
[   27.919100] fb80: de25fbcc de25fb90 c017b1b4 c017ae4c 00000000 00000000 de25fbcc de25fba8
[   27.927632] fba0: 00000a45 de25fc58 de1c5000 00000000 00000000 00001000 00015000 00000000
[   27.936165] fbc0: de25fc3c de25fbd0 c017e240 c017b04c 00000000 c0039544 de1c5000 00000000
[   27.944698] fbe0: de1c5824 00000000 de169600 de25fc58 000003df de25fc00 c0180878 c04e37a0
[   27.953231] fc00: 00000011 00000000 de25fc2c de25fc18 c0039924 de1c5000 de169600 00000000
[   27.961763] fc20: 00000000 00001000 00015000 00000000 de25fc9c de25fc40 c017e9b0 c017e1f8
[   27.970296] fc40: de25fce4 00000000 000000ac 00000000 de169628 de1c57c0 00000000 0003dca0
[   27.978829] fc60: 00000010 000003df de51bd98 de1c5898 ffffffff de1c5000 ffffffe4 de169730
[   27.987363] fc80: 00000000 00000000 000000ac de169758 de25fd14 de25fca0 c016a5d4 c017e8d4
[   27.995896] fca0: e0967000 00000010 df002350 0000007c 00000000 00000000 de25fcdc de25fcc8
[   28.004429] fcc0: c01afd08 de25e000 00000002 00000000 00000130 de1c518c 00000000 00000000
[   28.012962] fce0: de25fd28 00001000 de25fd14 de438000 de1c5000 de25fd68 000000ac 00000001
[   28.021496] fd00: dfcf1000 00001000 de25fd5c de25fd18 c016b2dc c016a4d8 de25fd2c de1c5008
[   28.030028] fd20: 00000002 00000000 0000007c 00000001 c00821ac c0b78e20 de1c5000 de9b0cc8
[   28.038560] fd40: 00001000 00000000 00000002 00000000 de25fd8c de25fd60 c016c9cc c016b1f0
[   28.047093] fd60: 00001000 de9b0d88 00000042 20000002 00100000 00000000 c0b78e20 de9b0cc8
[   28.055626] fd80: de25fdc4 de25fd90 c016cb00 c016c8c0 00100000 00000000 de25fec8 de9b0d88
[   28.064158] fda0: c0b78e20 00000000 de25fe1c 00000004 00000002 de9b0d88 de25fddc de25fdc8
[   28.072691] fdc0: c00822ac c016ca40 c0082290 ffffffff de25fe84 de25fde0 c0082a40 c008229c
[   28.081225] fde0: 0000000e de25fde4 de25fde4 de25fdec 00000001 00000001 00000002 de9b0d88
[   28.089758] fe00: c0082290 00000000 00000000 de25fec8 de25e000 00000004 00000000 c0b78e20
[   28.098291] fe20: c0b78e00 c0b706e0 c0b706c0 00000000 de1b0000 00000000 de25fe94 de25fe48
[   28.106824] fe40: c0094534 c0091a38 00000020 00000000 00000000 00000007 c023008c de9b0d88
[   28.115357] fe60: de25fec8 00000005 de9b0d88 ffffffff 7fffffff 00000000 de25feb4 de25fe88
[   28.123891] fe80: c0082c58 c0082844 91827364 de25fe8c de25fe8c de25fe94 de25fe94 00000000
[   28.132425] fea0: 00000000 00000000 de25fec4 de25feb8 c0083c84 c0082c18 de25fefc de25fec8
[   28.140959] fec0: c007be00 c0083c54 00000001 7fffffff 00000000 00000000 00000000 00000000
[   28.149492] fee0: ffffffff 7fffffff 00000000 00000000 de25ff34 de25ff00 c007be50 c007bdb0
[   28.158025] ff00: ffffffff 7fffffff 00000001 00000000 de9b0cc8 de1c5000 ffffffff 7fffffff
[   28.166559] ff20: c00144a8 de25e000 de25ff5c de25ff38 c016cc04 c007be14 ffffffff 7fffffff
[   28.175093] ff40: de45f4c0 00000000 000013d5 00000076 de25ff7c de25ff60 c00cc424 c016cbbc
[   28.183627] ff60: ffffffff 7fffffff 00000000 000948f8 de25ff94 de25ff80 c00cc4fc c00cc3e0
[   28.192162] ff80: 000948f8 000893b3 de25ffa4 de25ff98 c00cc7c0 c00cc4e0 00000000 de25ffa8
[   28.200696] ffa0: c0014300 c00cc7b8 000948f8 000893b3 00000007 00000002 40218294 00000000
[   28.209230] ffc0: 000948f8 000893b3 000013d5 00000076 00000000 00000000 46bf5000 00000000
[   28.217763] ffe0: 00000000 be8925f8 46d3677c 46d377e4 80000010 00000007 9fffe821 9fffec21
[   28.226289] Backtrace:
[   28.228850] [<c017ae40>] (ubifs_add_snod+0x0/0x100) from [<c017b1b4>] (ubifs_scan+0x174/0x2d4)
[   28.237832]  r8:000003df r7:de1c5000 r6:e0ccd000 r5:00000000 r4:0003e000
[   28.244655] r3:00000000
[   28.247398] [<c017b040>] (ubifs_scan+0x0/0x2d4) from [<c017e240>] (ubifs_garbage_collect_leb+0x54/0x6dc)
[   28.257294] [<c017e1ec>] (ubifs_garbage_collect_leb+0x0/0x6dc) from [<c017e9b0>] (ubifs_garbage_collect+0xe8/0x254)
[   28.268196] [<c017e8c8>] (ubifs_garbage_collect+0x0/0x254) from [<c016a5d4>] (make_reservation+0x108/0x3c8)
[   28.278364] [<c016a4cc>] (make_reservation+0x0/0x3c8) from [<c016b2dc>] (ubifs_jnl_write_data+0xf8/0x204)
[   28.288352] [<c016b1e4>] (ubifs_jnl_write_data+0x0/0x204) from [<c016c9cc>] (do_writepage+0x118/0x180)
[   28.298067] [<c016c8b4>] (do_writepage+0x0/0x180) from [<c016cb00>] (ubifs_writepage+0xcc/0x17c)
[   28.307228]  r7:de9b0cc8 r6:c0b78e20 r5:00000000 r4:00100000
[   28.313156] [<c016ca34>] (ubifs_writepage+0x0/0x17c) from [<c00822ac>] (__writepage+0x1c/0x64)
[   28.322144] [<c0082290>] (__writepage+0x0/0x64) from [<c0082a40>] (write_cache_pages+0x208/0x3d4)
[   28.331396]  r4:ffffffff r3:c0082290
[   28.335135] [<c0082838>] (write_cache_pages+0x0/0x3d4) from [<c0082c58>] (generic_writepages+0x4c/0x64)
[   28.344939] [<c0082c0c>] (generic_writepages+0x0/0x64) from [<c0083c84>] (do_writepages+0x3c/0x40)
[   28.354282]  r5:00000000 r4:00000000
[   28.358031] [<c0083c48>] (do_writepages+0x0/0x40) from [<c007be00>] (__filemap_fdatawrite_range+0x5c/0x64)
[   28.368110] [<c007bda4>] (__filemap_fdatawrite_range+0x0/0x64) from [<c007be50>] (filemap_write_and_wait_range+0x48/0x74)
[   28.379547] [<c007be08>] (filemap_write_and_wait_range+0x0/0x74) from [<c016cc04>] (ubifs_fsync+0x54/0xc8)
[   28.389614]  r9:de25e000 r8:c00144a8 r7:7fffffff r6:ffffffff r5:de1c5000
[   28.396437] r4:de9b0cc8
[   28.399188] [<c016cbb0>] (ubifs_fsync+0x0/0xc8) from [<c00cc424>] (vfs_fsync+0x50/0x54)
[   28.407535]  r7:00000076 r6:000013d5 r5:00000000 r4:de45f4c0
[   28.413459] [<c00cc3d4>] (vfs_fsync+0x0/0x54) from [<c00cc4fc>] (do_fsync+0x28/0x3c)
[   28.421543] [<c00cc4d4>] (do_fsync+0x0/0x3c) from [<c00cc7c0>] (sys_fsync+0x14/0x18)
[   28.429617]  r5:000893b3 r4:000948f8
[   28.433371] [<c00cc7ac>] (sys_fsync+0x0/0x18) from [<c0014300>] (ret_fast_syscall+0x0/0x30)
[   28.442086] Code: 85832008 95832008 9595201c 9583200c (e594200c)
[   28.448559] ---[ end trace abb24507c6fce452 ]---


************************************
*    XTDZ           V:2022-02-22   *
************************************

xtdz login:


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-11-14 14:29

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表