LINUX.ORG.RU

yaffs2 BUG

 


0

1

Плата на imx287. Ядро 3.10.20. В поисках обновления пробую монтировать все найденные разделы на SD карте. монтирую без указания типа ФС. В результате натолкнулся на BUG в yaffs2:

[  512.669368] ------------[ cut here ]------------
[  512.674017] kernel BUG at fs/yaffs2/yaffs_getblockinfo.h:30!
[  512.679691] Internal error: Oops - BUG: 0 [#1] ARM
[  512.684491] Modules linked in:
[  512.687580] CPU: 0 PID: 274 Comm: mount Not tainted 3.10.20 #58
[  512.693518] task: c7834fa0 ti: c7846000 task.ti: c7846000
[  512.698938] pc : [<c014ae7c>]    lr : [<c0014e50>]    psr: 20000013
[  512.698938] sp : c7847bc0  ip : c7847ad8  fp : c7847c24
[  512.710427] r10: 00000240  r9 : 0000c000  r8 : 00000240
[  512.715661] r7 : 00000000  r6 : 00241000  r5 : c7847c40  r4 : c0c55000
[  512.722196] r3 : 20000093  r2 : 00000007  r1 : 20000093  r0 : 00000038
[  512.728734] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[  512.735879] Control: 0005317f  Table: 4798c000  DAC: 00000015
[  512.741636] Process mount (pid: 274, stack limit = 0xc78461b8)
[  512.747478] Stack: (0xc7847bc0 to 0xc7848000)
[  512.751866] 7bc0: 00000000 c7804880 00000000 01400000 c7847bfc c7847be0 c004e4ac c004e394
[  512.760071] 7be0: 00000010 00000000 ffffffff c7847c7c c7847c14 c7847c00 c001a31c c004e450
[  512.768274] 7c00: 000000f3 00000010 c0c55000 00000240 c78151f8 00001000 c7847cc4 c7847c28
[  512.776480] 7c20: c014fcc8 c014ade8 ffffffe1 c79a0000 00241000 00000001 c79a0000 c0c87820
[  512.784681] 7c40: 00000001 50c0c87d 50c0c87b 00000000 00000003 00000000 00000000 00000000
[  512.792882] 7c60: 50000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  512.801085] 7c80: 00000000 00000000 c0540bcc 00000240 c7847cb4 c7847ca0 c0036468 c0c55000
[  512.809289] 7ca0: 0000023f 00000000 c78151f8 00000240 c7817200 00000000 c7847d9c c7847cc8
[  512.817491] 7cc0: c014ebe8 c014fc24 00000000 00000000 00000002 20000013 c055d1b0 c7847ce8
[  512.825694] 7ce0: c0055fa8 c7814000 0000023f c0c83c54 c7847d1c 00000000 c7817200 0000023f
[  512.833897] 7d00: c7816000 c0c877e0 00000001 00000003 c7847d44 c7847d20 c014c8a8 c003a9f0
[  512.842101] 7d20: c7847d4c c7847d30 c0150aec c015009c c0140038 c799b300 c799b300 c799b388
[  512.850306] 7d40: c7847d6c c7847d50 c0150aec c015009c c799b300 c799b388 00000000 0000000a
[  512.858511] 7d60: c7847d60 c7847d60 50000000 00000002 c0c55000 c0c55000 00000001 00000000
[  512.866714] 7d80: 0000000a c0c65cfc 00000001 00000000 c7847dcc c7847da0 c0149894 c014e89c
[  512.874918] 7da0: c0c83c1c c0c55000 c0c65e00 c0c83c00 c0540bc8 c0c550a8 00000001 00000000
[  512.883122] 7dc0: c7847e54 c7847dd0 c01430b8 c0149220 c7834fa0 00000020 00000000 00000000
[  512.891323] 7de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  512.899528] 7e00: 00000000 6d847e10 6c62636d 3270306b c005c500 c7847e2c c7847e54 c7847e30
[  512.907732] 7e20: c0176ed0 c01857dc c040879c c7408820 00000083 00008000 c7408888 c0c65e00
[  512.915936] 7e40: 00000000 00000000 c7847e64 c7847e58 c01432dc c0142bac c7847eb4 c7847e68
[  512.924141] 7e60: c0080670 c01432cc c7408820 c05831f0 62636d6d 70306b6c c7840032 c7847e88
[  512.932345] 7e80: c00956a8 000000d0 c7847eb4 c7847e98 c0c433c0 c0c879e0 c0540cec 00000000
[  512.940551] 7ea0: c0540cec c053bedc c7847ecc c7847eb8 c014012c c0080554 c01432bc c05831c4
[  512.948756] 7ec0: c7847ef4 c7847ed0 c0080e58 c0140120 c00956a8 c0062c04 00000000 c0c433c0
[  512.956960] 7ee0: c0c879e0 00008000 c7847f1c c7847ef8 c00959e0 c0080e4c 00000000 00000020
[  512.965163] 7f00: c0c879e0 c0540cec 00008000 c0c87cc0 c7847f6c c7847f20 c00978ac c009599c
[  512.973368] 7f20: beeabeaf 00001000 c7847f54 c7847f38 c0062b7c c0062ac4 c7b280b0 c7450bb0
[  512.981573] 7f40: beeabeaf c0c56000 beeabeaf 00008000 00000000 c0009464 c7846000 00000000
[  512.989776] 7f60: c7847fa4 c7847f70 c0097a50 c00971d4 00000000 c7847f80 c002c148 00000000
[  512.997980] 7f80: c0c879e0 c0c87cc0 00000000 beeabc80 b6f70380 00000015 00000000 c7847fa8
[  513.006185] 7fa0: c0009300 c00979d4 00000000 beeabc80 beeabeaf beeabebe 016bd260 00008000
[  513.014387] 7fc0: 00000000 beeabc80 b6f70380 00000015 00000000 016bc018 00000000 000a5910
[  513.022591] 7fe0: 000a54c4 beeabb90 000429c4 b6f25bfc 20000010 beeabeaf 00000000 00000000
[  513.030768] Backtrace:
[  513.033230] Function entered at [<c014add8>] from [<c014fcc8>]
[  513.039068]  r7:00001000 r6:c78151f8 r5:00000240 r4:c0c55000
[  513.044769] Function entered at [<c014fc14>] from [<c014ebe8>]
[  513.050609] Function entered at [<c014e88c>] from [<c0149894>]
[  513.056448] Function entered at [<c0149210>] from [<c01430b8>]
[  513.062286] Function entered at [<c0142b9c>] from [<c01432dc>]
[  513.068125] Function entered at [<c01432bc>] from [<c0080670>]
[  513.073964] Function entered at [<c0080544>] from [<c014012c>]
[  513.079803] Function entered at [<c0140110>] from [<c0080e58>]
[  513.085641] Function entered at [<c0080e3c>] from [<c00959e0>]
[  513.091478]  r6:00008000 r5:c0c879e0 r4:c0c433c0
[  513.096126] Function entered at [<c009598c>] from [<c00978ac>]
[  513.101962]  r8:c0c87cc0 r7:00008000 r6:c0540cec r5:c0c879e0 r4:00000020
r3:00000000
[  513.109849] Function entered at [<c00971c4>] from [<c0097a50>]
[  513.115689] Function entered at [<c00979c4>] from [<c0009300>]
[  513.121525]  r7:00000015 r6:b6f70380 r5:beeabc80 r4:00000000
[  513.127240] Code: e3130101 0a000001 e59f0028 eb08fb4e (e7f001f2)
[  513.133351] ---[ end trace 92d16452ba27e096 ]---
Segmentation fault

раздел был без ФС (мусор). Команда mount сегфолтится. Система работает нормально, но отказыеватся ребутится. проблему обошел добавлением для моутна "-t noyaffs". Но все же хотелось бы знать как лучше защитится от такого бага в yaffs


Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.