Hi I hope any body can help here.
The application I made runs fine during 2~3 days, but kernel panic happens like below
Is it application problem or kernel problem or bad cpu problem?
Thank you.
Unable to handle kernel paging request at virtual address c0000000
pgd = a9328000
[c0000000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.9.11 #20
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: a8074200 task.stack: a80a8000
PC is at zlib_inflate+0x680/0x154c
LR is at menu_select+0x4b8/0x574
pc : [<803d9394>] lr : [<806e1e2c>] psr: 20010093
sp : a80a9f60 ip : 1625fb59 fp : 0519af1b
r10: fffffff0 r9 : fffffff1 r8 : ab721e28
r7 : 806e1e3c r6 : c000001c r5 : 80e79f60 r4 : 80f03288
r3 : 0519ae1c r2 : 000000ff r1 : 000000ff r0 : 000000ff
Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 3932804a DAC: 00000051
Process swapper/2 (pid: 0, stack limit = 0xa80a8210)
Stack: (0xa80a9f60 to 0xa80aa000)
9f60: 00005f7a ab720700 00000002 99253000 00005f7a ab725640 00000000 00005f7a
9f80: 99253000 801926ac 00000000 ab721f60 93ef2eba 80e79f60 2a8a8000 80f086b4
9fa0: 80f103c0 ab721e28 80f10684 01000000 ab721e28 8017ced8 80e77370 a80a8000
9fc0: 80f030ec 80f0313c 00000004 ab721e28 80f086b4 80e79e20 80f03144 801675f4
9fe0: a80a9fe0 80f11d6a 3808806a 80f8a310 00000000 101015cc fffefedf feffffff
[<803d9394>] (zlib_inflate) from [<8017ced8>] (rcu_eqs_enter_common.constprop.29+0x40/0x7c)
[<8017ced8>] (rcu_eqs_enter_common.constprop.29) from [<80f0313c>] (cpu_idle_force_poll+0x0/0x4)
Code: e556001e e0823003 e556101d e08bb003 (e556201c)
---[ end trace bf3be9617ccdd0cb ]---
Kernel panic - not syncing: Attempted to kill the idle task!
CPU1: stopping
CPU: 1 PID: 4461 Comm: kworker/1:2 Tainted: G D 4.9.11 #20
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
Workqueue: events dbs_work_handler
[<8010ec88>] (unwind_backtrace) from [<8010b27c>] (show_stack+0x10/0x14)
[<8010b27c>] (show_stack) from [<803bc918>] (dump_stack+0x78/0x8c)
[<803bc918>] (dump_stack) from [<8010dac4>] (handle_IPI+0x198/0x1ac)
[<8010dac4>] (handle_IPI) from [<80101530>] (gic_handle_irq+0x88/0x8c)
[<80101530>] (gic_handle_irq) from [<8010bd8c>] (__irq_svc+0x6c/0xa8)
Exception stack(0xa92b7d00 to 0xa92b7d48)
7d00: 00000002 ab7259b0 00000001 00000003 80f031bc 80f03288 ab715340 ab715344
7d20: 00000004 00000001 8010e298 a92b7e0c 00000001 a92b7d50 80197570 8019759c
7d40: 200f0013 ffffffff
[<8010bd8c>] (__irq_svc) from [<8019759c>] (smp_call_function_many+0x24c/0x2a8)
[<8019759c>] (smp_call_function_many) from [<8019762c>] (smp_call_function+0x34/0x74)
[<8019762c>] (smp_call_function) from [<80197694>] (on_each_cpu+0x28/0x80)
[<80197694>] (on_each_cpu) from [<8010e5f4>] (twd_rate_change+0x28/0x30)
[<8010e5f4>] (twd_rate_change) from [<8014a1f8>] (notifier_call_chain+0x44/0x84)
[<8014a1f8>] (notifier_call_chain) from [<8014a5f8>] (__srcu_notifier_call_chain+0x6c/0x9c)
[<8014a5f8>] (__srcu_notifier_call_chain) from [<8014a640>] (srcu_notifier_call_chain+0x18/0x20)
[<8014a640>] (srcu_notifier_call_chain) from [<80438fc4>] (__clk_notify+0x70/0x7c)
[<80438fc4>] (__clk_notify) from [<80439068>] (__clk_recalc_rates+0x98/0x9c)
[<80439068>] (__clk_recalc_rates) from [<8043903c>] (__clk_recalc_rates+0x6c/0x9c)
CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Tainted: G D 4.9.11 #20
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<8010ec88>] (unwind_backtrace) from [<8010b27c>] (show_stack+0x10/0x14)
[<8010b27c>] (show_stack) from [<803bc918>] (dump_stack+0x78/0x8c)
[<803bc918>] (dump_stack) from [<8010dac4>] (handle_IPI+0x198/0x1ac)
[<8010dac4>] (handle_IPI) from [<80101530>] (gic_handle_irq+0x88/0x8c)
[<80101530>] (gic_handle_irq) from [<8010bd8c>] (__irq_svc+0x6c/0xa8)
Exception stack(0x80f01f30 to 0x80f01f78)
1f20: 00000000 80c2c76c 00000001 2a88c000
1f40: 7c12b45b 00005f7d ab705e28 00000000 7c15ae13 00005f7d 00000000 80f03144
1f60: 29aaaaab 80f01f80 801673e8 806e0900 20070013 ffffffff
[<8010bd8c>] (__irq_svc) from [<806e0900>] (cpuidle_enter_state+0x17c/0x29c)
[<806e0900>] (cpuidle_enter_state) from [<80167604>] (cpu_startup_entry+0x148/0x218)
[<80167604>] (cpu_startup_entry) from [<80e00c5c>] (start_kernel+0x37c/0x388)
CPU3: stopping
CPU: 3 PID: 0 Comm: swapper/3 Tainted: G D 4.9.11 #20
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<8010ec88>] (unwind_backtrace) from [<8010b27c>] (show_stack+0x10/0x14)
[<8010b27c>] (show_stack) from [<803bc918>] (dump_stack+0x78/0x8c)
[<803bc918>] (dump_stack) from [<8010dac4>] (handle_IPI+0x198/0x1ac)
[<8010dac4>] (handle_IPI) from [<80101530>] (gic_handle_irq+0x88/0x8c)
[<80101530>] (gic_handle_irq) from [<8010bd8c>] (__irq_svc+0x6c/0xa8)
Exception stack(0xa80abf68 to 0xa80abfb0)
bf60: 00000003 80c2c76c 00000001 2a8b6000 7c133e60 00005f7d
bf80: ab72fe28 00000000 7c15ae13 00005f7d 00000000 80f03144 29aaaaab a80abfb8
bfa0: 801673e8 806e0900 200f0013 ffffffff
[<8010bd8c>] (__irq_svc) from [<806e0900>] (cpuidle_enter_state+0x17c/0x29c)
[<806e0900>] (cpuidle_enter_state) from [<80167604>] (cpu_startup_entry+0x148/0x218)
[<80167604>] (cpu_startup_entry) from [<101015cc>] (0x101015cc)
---[ end Kernel panic - not syncing: Attempted to kill the idle task!
U-Boot 2017.03 (Jan 30 2019 - 09:01:15 +0900)
CPU: Freescale i.MX6Q rev1.6 996 MHz (running at 792 MHz)
CPU: Extended Commercial temperature grade (-20C to 105C) at 40C
Reset cause: POR
Model: Freescale i.MX6 Quad SABRE Smart Device Board
Board: MX6-SabreSD
DRAM: 1 GiB
PMIC: PFUZE100! DEV_ID=0x10 REV_ID=0x21
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
Hi Dongrag
for that issue may be recommended to run ddr test
Best regards
igor