도와주세요!!
다음과 같은 메세지가 뜨면선 동작을 하지 않습니다.
원인이 어떤건지 알 수 있나요.
참고로.. TCP통신에서 ARM 서버 모드로 동작하고 Data 수신만 하는 작업을 합니다.
아주 중요한 것입니다. 도움 요청 합니다.
작년 11월 부터 장비에 적용되어 동작 중이다가 어제 아래와 같은 현상으로 동작이 멈추었네요.
실시간 운영되는 장비라 장비가 죽는 현상이 생기면 안되는 곳입니다.
전문가 님들의 조언이 필요합니다.
----------------------------------------------------------------------------------------------------------------
Unhandled fault: dcache parity error (0x418) at 0x0000b390
Internal error: : 418 [#1]
Modules linked in: dws_pxa
CPU: 0
PC is at run_timer_softirq+0xf4/0x1d0
LR is at __init_begin+0x3fff8000/0x30
pc : [<c0047464>] lr : [<00000000>] Not tainted
sp : c0391ed0 ip : c03994b0 fp : c0391f00
r10: c0399094 r9 : 69054114 r8 : c0391ed0
r7 : c03dd9e0 r6 : 0000000a r5 : c03ddc58 r4 : 0000001d
r3 : c03d9d48 r2 : c03ddd48 r1 : c03ddd40 r0 : 2756cd00
Flags: nzCv IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 397F
Table: A05F8000 DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc0390250)
Stack: (0xc0391ed0 to 0xc0392000)
1ec0: c03ddc30 00000000 c0391ef8 00000001
1ee0: c03dda24 0000000a c03dd9e0 a002127c a0021248 c0391f20 c0391f04 c00430e8
1f00: c004737c 0000001a c03926c0 c03e3600 00000000 c0391f30 c0391f24 c0043318
1f20: c0043098 c0391f50 c0391f34 c002a4dc c00432e4 ffffffff c0391f88 04000000
1f40: c03f3830 c0391fa8 c0391f54 c0029804 c002a4a4 00000001 c03d8768 00000000
1f60: 60000013 c002a6b4 c0390000 c0022954 c03f3830 a002127c 69054114 a0021248
1f80: c0391fa8 c0391fac c0391f9c c002a6f4 c002a700 60000013 ffffffff c0391fc0
1fa0: c0391fac c002a750 c002a6c0 c03e03b4 c03d7cc8 c0391fd0 c0391fc4 c0029024
1fc0: c002a714 c0391ff4 c0391fd4 c0008930 c002900c c0008328 c0022954 0000397d
1fe0: c03d8184 c0396444 00000000 c0391ff8 a0008030 c00086c8 00000000 00000000
Backtrace:
[<c0047370>] (run_timer_softirq+0x0/0x1d0) from [<c00430e8>] (__do_softirq+0x5c/0xc8)
[<c004308c>] (__do_softirq+0x0/0xc8) from [<c0043318>] (irq_exit+0x40/0x48)
r7 = 00000000 r6 = C03E3600 r5 = C03926C0 r4 = 0000001A
[<c00432d8>] (irq_exit+0x0/0x48) from [<c002a4dc>] (asm_do_IRQ+0x44/0x58)
[<c002a498>] (asm_do_IRQ+0x0/0x58) from [<c0029804>] (__irq_svc+0x24/0x60)
r7 = C03F3830 r6 = 04000000 r5 = C0391F88 r4 = FFFFFFFF
[<c002a6b4>] (default_idle+0x0/0x54) from [<c002a750>] (cpu_idle+0x48/0x64)
[<c002a708>] (cpu_idle+0x0/0x64) from [<c0029024>] (__init_end+0x24/0x2c)
r5 = C03D7CC8 r4 = C03E03B4
[<c0029000>] (__init_end+0x0/0x2c) from [<c0008930>] (start_kernel+0x274/0x2e0)
[<c00086bc>] (start_kernel+0x0/0x2e0) from [<a0008030>] (0xa0008030)
Code: e0851184 e2812008 e2833001 e5853004 (e5913008)
Kernel panic - not syncing: Aiee, killing interrupt handler!
Unhandled fault: dcache parity error (0x4f8) at 0xbf000ba4
Internal error: : 4f8 [#2]
Modules linked in: dws_pxa
CPU: 0
PC is at eth_type_trans+0x48/0x12c
LR is at 0xc3199012
pc : [<c0248034>] lr : [<c3199012>] Not tainted
sp : c0391c28 ip : c0cbac00 fp : c0391c40
r10: c0cbac00 r9 : 00000021 r8 : c3199012
r7 : c0cbaf20 r6 : 000005ea r5 : c0cbaf20 r4 : c3197d20
r3 : c3199020 r2 : 00000000 r1 : c0cbac00 r0 : c3197d20
Flags: nzCv IRQs on FIQs on Mode SVC_32 Segment kernel
Control: 397F
Table: A05F8000 DAC: 00000017
Process swapper (pid: 0, stack limit = 0xc0390250)
Stack: (0xc0391c28 to 0xc0392000)
1c20: c3197d20 c0cbaf20 000005ea c0391c88 c0391c44 c01a8674
1c40: c0247ff8 00000000 00000034 00007f00 c4800000 05ee5121 c0391e88 c0391c94
1c60: c3c0b940 00000000 00000000 c4800000 00000001 c0390000 c0cbac00 c0391cb8
1c80: c0391c8c c01a888c c01a8320 c0cbaf20 c3c0b940 00000000 00000000 00000092
1ca0: 0000000b c0390000 c0391e88 c0391cd8 c0391cbc c0063ff4 c01a8768 c03944c0
1cc0: 00000092 c3c0b940 c0391f54 c0391cf4 c0391cdc c006550c c0063fbc 00000001
1ce0: c03944c0 00000093 c0391d10 c0391cf8 c0032a00 c0065414 0000000a c03922c0
1d00: c03e3600 c0391d30 c0391d14 c002a4d8 c00328f8 ffffffff c0391d68 00000400
1d20: c0047464 c0391d88 c0391d34 c0029804 c002a4a4 0001f8a5 00000000 000000fa
1d40: c03d90cc 00001393 c03d90d0 c03d90cc c0047464 0000000b c0390000 c0391e88
1d60: c0391d88 c0391d7c c0391d7c c003decc c01650e0 20000013 ffffffff c0391db4
1d80: c0391d9c c00406a0 c003ddec c03434a0 00000001 00000001 00000100 c0391dc8
1da0: c0398484 c0391db8 c0391dc8 c0391db8 c002d914 c0040614 00000000 c0391ddc
1dc0: c0391dcc c002d9bc c002d644 00000000 c0391e84 c0391de0 c002f274 c002d974
1de0: 00000000 00000007 00000000 00000000 0000b390 00000001 00000000 c0496c30
1e00: c0496c30 00000000 00000000 00000003 c0391e2c c0391e20 c003a8f8 c0039dc8
1e20: c0391e58 c0391e30 c003a94c c003a8f0 20000093 c0496c21 c0496c28 c0496c20
1e40: 60000013 69054114 c0399094 c0391e70 c0391e5c c003a9a0 c003a908 00000000
1e60: c0395638 ffffffff c0391ebc 0000000a c03dd9e0 c0391ed0 c0391f00 c0391e88
1e80: c00297c0 c002f1f4 2756cd00 c03ddd40 c03ddd48 c03d9d48 0000001d c03ddc58
1ea0: 0000000a c03dd9e0 c0391ed0 69054114 c0399094 c0391f00 c03994b0 c0391ed0
1ec0: 00000000 c0047464 20000093 ffffffff c03ddc30 00000000 c0391ef8 00000001
1ee0: c03dda24 0000000a c03dd9e0 a002127c a0021248 c0391f20 c0391f04 c00430e8
1f00: c004737c 0000001a c03926c0 c03e3600 00000000 c0391f30 c0391f24 c0043318
1f20: c0043098 c0391f50 c0391f34 c002a4dc c00432e4 ffffffff c0391f88 04000000
1f40: c03f3830 c0391fa8 c0391f54 c0029804 c002a4a4 00000001 c03d8768 00000000
1f60: 60000013 c002a6b4 c0390000 c0022954 c03f3830 a002127c 69054114 a0021248
1f80: c0391fa8 c0391fac c0391f9c c002a6f4 c002a700 60000013 ffffffff c0391fc0
1fa0: c0391fac c002a750 c002a6c0 c03e03b4 c03d7cc8 c0391fd0 c0391fc4 c0029024
1fc0: c002a714 c0391ff4 c0391fd4 c0008930 c002900c c0008328 c0022954 0000397d
1fe0: c03d8184 c0396444 00000000 c0391ff8 a0008030 c00086c8 00000000 00000000
Backtrace:
[<c0247fec>] (eth_type_trans+0x0/0x12c) from [<c01a8674>] (ax_receive+0x360/0x448)
r6 = 000005EA r5 = C0CBAF20 r4 = C3197D20
[<c01a8314>] (ax_receive+0x0/0x448) from [<c01a888c>] (ax_interrupt+0x130/0x228)
[<c01a875c>] (ax_interrupt+0x0/0x228) from [<c0063ff4>] (handle_IRQ_event+0x44/0x80)
[<c0063fb0>] (handle_IRQ_event+0x0/0x80) from [<c006550c>] (handle_edge_irq+0x104/0x144)
r7 = C0391F54 r6 = C3C0B940 r5 = 00000092 r4 = C03944C0
[<c0065408>] (handle_edge_irq+0x0/0x144) from [<c0032a00>] (pxa_gpio_demux_handler+0x114/0x150)
r6 = 00000093 r5 = C03944C0 r4 = 00000001
[<c00328ec>] (pxa_gpio_demux_handler+0x0/0x150) from [<c002a4d8>] (asm_do_IRQ+0x40/0x58)
r6 = C03E3600 r5 = C03922C0 r4 = 0000000A
[<c002a498>] (asm_do_IRQ+0x0/0x58) from [<c0029804>] (__irq_svc+0x24/0x60)
r7 = C0047464 r6 = 00000400 r5 = C0391D68 r4 = FFFFFFFF
[<c003dddc>] (panic+0x0/0x118) from [<c00406a0>] (do_exit+0x98/0x75c)
r3 = 00000100 r2 = 00000001 r1 = 00000001 r0 = C03434A0
[<c0040608>] (do_exit+0x0/0x75c) from [<c002d914>] (die+0x2dc/0x330)
[<c002d638>] (die+0x0/0x330) from [<c002d9bc>] (register_undef_hook+0x0/0x3c)
[<c002d968>] (notify_die+0x0/0x54) from [<c002f274>] (do_DataAbort+0x8c/0xa0)
r4 = 00000000
[<c002f1e8>] (do_DataAbort+0x0/0xa0) from [<c00297c0>] (__dabt_svc+0x40/0x60)
r8 = C0391ED0 r7 = C03DD9E0 r6 = 0000000A r5 = C0391EBC
r4 = FFFFFFFF
[<c0047370>] (run_timer_softirq+0x0/0x1d0) from [<c00430e8>] (__do_softirq+0x5c/0xc8)
[<c004308c>] (__do_softirq+0x0/0xc8) from [<c0043318>] (irq_exit+0x40/0x48)
r7 = 00000000 r6 = C03E3600 r5 = C03926C0 r4 = 0000001A
[<c00432d8>] (irq_exit+0x0/0x48) from [<c002a4dc>] (asm_do_IRQ+0x44/0x58)
[<c002a498>] (asm_do_IRQ+0x0/0x58) from [<c0029804>] (__irq_svc+0x24/0x60)
r7 = C03F3830 r6 = 04000000 r5 = C0391F88 r4 = FFFFFFFF
[<c002a6b4>] (default_idle+0x0/0x54) from [<c002a750>] (cpu_idle+0x48/0x64)
[<c002a708>] (cpu_idle+0x0/0x64) from [<c0029024>] (__init_end+0x24/0x2c)
r5 = C03D7CC8 r4 = C03E03B4
[<c0029000>] (__init_end+0x0/0x2c) from [<c0008930>] (start_kernel+0x274/0x2e0)
[<c00086bc>] (start_kernel+0x0/0x2e0) from [<a0008030>] (0xa0008030)
Code: 25803090 359f00d8 359f10d8 3bf7954d (e590e024)
Kernel panic - not syncing: Aiee, killing interrupt handler!
커널패닉메세지는 자주봅니다만 특징적인건
Unhandled fault: dcache parity error (0x418) at 0x0000b390
위의 메세지는 저도 처음보는 것이네요
mcu 내부의 DCACHE 에서 에러가 났다는 것인데 이유가 분명치 않네요
외부에 있는 메모리가 에러가 난것도 아니고 MCU 내부의 캐시가 에러가 난것이니...
절대 프로그램코드의 문제는 아니구요
몇개의 에러요소를 나열해 보면
- MCU 에 충격을 먹어 좀 안좋게 된 경우
- MCU 가 생산시에 불량인 경우
- 더이상 나열할 에러가 없네요 ㅜ.ㅜ
* 해결방법으로는 보드 안정성 확보를 위한 노이즈 차폐
* MCU 내부의 워치독 활성화
시간을 두고 해결 할 문제인것 같네요 ^^