AnsweredAssumed Answered

Kernel crash

Question asked by Stone Liu on Jan 11, 2018
Latest reply on Jan 12, 2018 by Bio_TICFSL

Hi,

 

I met a problem as below:

Please help to check.

 

Thanks,

Stone

 

Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = 80004000
[00000000] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT SMP ARM
Modules linked in: g_serial(O) usb_f_serial(O) u_serial(O) udmabuf(O) libcomposite(O) tm(PO) sensor(O) motor(O) pe(O) beep(O) doorbell(O) psu(O) ui_buttons(O) modules(O) [last unloaded: btle_dev]
CPU: 0 PID: 0 Comm: swapper/0 Tainted: P O 4.1.15+ #4
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: 8072f570 ti: 8072a000 task.ti: 8072a000
PC is at pecPlanBatch+0x4e4/0x6a4 [pe]
LR is at posevents+0x0/0xffffd058 [pe]
pc : [<7f02059c>] lr : [<7f031270>] psr: 600b01d3
sp : 8072be80 ip : 7f030e80 fp : 00000000
r10: 00000001 r9 : 0000002f r8 : 380a7e41
r7 : 00000001 r6 : 7f030ff0 r5 : 7f030e80 r4 : 7f0310b4
r3 : 00000001 r2 : 0000ffff r1 : 00000000 r0 : 00000000
Flags: nZCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel
Control: 10c53c7d Table: 38b2004a DAC: 00000015
Process swapper/0 (pid: 0, stack limit = 0x8072a210)
Stack: (0x8072be80 to 0x8072c000)
be80: 00000002 00000000 7f0313d0 7f030e80 7f0312b0 80000000 00000000 380a7e41
bea0: 0000002f 7f01bf7c 7f030e80 00000000 00000000 7f01d274 7f030e80 00000000
bec0: 00000000 00000000 380a7e41 0000002f 00000001 7f01cbd8 7f04ccf0 7f044820
bee0: 80727bb8 ffffe000 00000000 800201c8 80727bb8 80009224 8001ed28 000b0093
bf00: ffffffff 8072bf44 380a7e41 80013278 ab726c68 807310d4 00000000 8001ed20
bf20: 00000000 807310d4 ab726c68 00000000 380a7e41 0000002f 00000001 00000000
bf40: 00000017 8072bf58 800136c0 8001ed28 000b0093 ffffffff 80731124 80384114
bf60: 380a7e41 0000002f 600b0093 8072a000 8072c4a4 80526908 ab726c68 807310d4
bf80: 8072bf90 00000001 00000000 8005dc1c 80767000 80726300 80728c60 8072c5b4
bfa0: 80764810 8072c4ac 807295c0 807295c0 00000000 ffffffff 00000000 806e6c5c
bfc0: ffffffff ffffffff 806e6680 00000000 00000000 8071e1c0 80767294 8072c440
bfe0: 8071e1bc 8073064c 1000406a 412fc09a 00000000 1000807c 00000000 00000000
[<7f02059c>] (pecPlanBatch [pe]) from [<7f01bf7c>] (positionspam.part.0+0x20/0x4c [pe])
[<7f01bf7c>] (positionspam.part.0 [pe]) from [<7f01d274>] (sm_fwdslow+0x148/0x218 [pe])
[<7f01d274>] (sm_fwdslow [pe]) from [<7f01cbd8>] (segmentIsrHandler+0x1c/0x2c [pe])
[<7f01cbd8>] (segmentIsrHandler [pe]) from [<7f044820>] (step_fiq_task+0x74/0xe8 [motor])
[<7f044820>] (step_fiq_task [motor]) from [<800201c8>] (gpio_fiq_interrupt+0x1c/0x40)
[<800201c8>] (gpio_fiq_interrupt) from [<80009224>] (handle_fiq_as_nmi+0x68/0xb0)
[<80009224>] (handle_fiq_as_nmi) from [<80013278>] (__fiq_svc+0x38/0x80)
Exception stack(0x8072bf10 to 0x8072bf58)
bf00: ab726c68 807310d4 00000000 8001ed20
bf20: 00000000 807310d4 ab726c68 00000000 380a7e41 0000002f 00000001 00000000
bf40: 00000017 8072bf58 800136c0 8001ed28 000b0093 ffffffff
[<80013278>] (__fiq_svc) from [<8001ed28>] (cpu_ca8_do_idle+0x8/0xc)
[<8001ed28>] (cpu_ca8_do_idle) from [<807295c0>] (runqueues+0x0/0x580)
Code: e30f2fff e3a01044 e3a00001 eb00078b (e5900000)
---[ end trace 97e36839fa7ad73e ]---
Kernel panic - not syncing: Fatal exception in interrupt
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Tainted: P D O 4.1.15+ #4
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<80015cc8>] (unwind_backtrace) from [<80012604>] (show_stack+0x10/0x14)
[<80012604>] (show_stack) from [<8051e960>] (dump_stack+0x74/0xb4)
[<8051e960>] (dump_stack) from [<80014bb8>] (handle_IPI+0x178/0x18c)
[<80014bb8>] (handle_IPI) from [<80009428>] (gic_handle_irq+0x6c/0x7c)
[<80009428>] (gic_handle_irq) from [<80013100>] (__irq_svc+0x40/0x74)
Exception stack(0xa8093f50 to 0xa8093f98)
3f40: a8093f98 fffffff7 48c03937 0000002f
3f60: 48c03937 0000002f ab731c68 00000000 489e650f 0000002f 00000001 00000000
3f80: 00000017 a8093f98 a6aaaaab 80384128 00070013 ffffffff
[<80013100>] (__irq_svc) from [<80384128>] (cpuidle_enter_state+0xc4/0x1f4)
[<80384128>] (cpuidle_enter_state) from [<8005dc1c>] (cpu_startup_entry+0x1f8/0x318)
[<8005dc1c>] (cpu_startup_entry) from [<100094cc>] (0x100094cc)
---[ end Kernel panic - not syncing: Fatal exception in interrupt
------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at kernel/rcu/tree.c:731 rcu_eqs_exit_common+0x114/0x124()
Modules linked in: g_serial(O) usb_f_serial(O) u_serial(O) udmabuf(O) libcomposite(O) tm(PO) sensor(O) motor(O) pe(O) beep(O) doorbell(O) psu(O) ui_buttons(O) modules(O) [last unloaded: btle_dev]
CPU: 0 PID: 0 Comm: swapper/0 Tainted: P D O 4.1.15+ #4
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<80015cc8>] (unwind_backtrace) from [<80012604>] (show_stack+0x10/0x14)
[<80012604>] (show_stack) from [<8051e960>] (dump_stack+0x74/0xb4)
[<8051e960>] (dump_stack) from [<8002e4c4>] (warn_slowpath_common+0x80/0xb0)
[<8002e4c4>] (warn_slowpath_common) from [<8002e590>] (warn_slowpath_null+0x1c/0x24)
[<8002e590>] (warn_slowpath_null) from [<8006ffd0>] (rcu_eqs_exit_common+0x114/0x124)
[<8006ffd0>] (rcu_eqs_exit_common) from [<800720bc>] (rcu_irq_enter+0x50/0x8c)
[<800720bc>] (rcu_irq_enter) from [<80031990>] (irq_enter+0x8/0x64)
[<80031990>] (irq_enter) from [<8004e2ac>] (scheduler_ipi+0x4c/0x138)
[<8004e2ac>] (scheduler_ipi) from [<80014b30>] (handle_IPI+0xf0/0x18c)
[<80014b30>] (handle_IPI) from [<80009428>] (gic_handle_irq+0x6c/0x7c)
[<80009428>] (gic_handle_irq) from [<80013100>] (__irq_svc+0x40/0x74)
Exception stack(0x8072bc60 to 0x8072bca8)
bc60: 00000041 00000000 00110002 8072a000 00000000 8073063c 80768428 00000000
bc80: 7f0205a0 00000001 7f02059e 80636530 00000007 8072bca8 8051df48 8051df4c
bca0: 200b0153 ffffffff
[<80013100>] (__irq_svc) from [<8051df4c>] (panic+0x16c/0x1cc)
[<8051df4c>] (panic) from [<80012a00>] (die+0x3f8/0x3fc)
[<80012a00>] (die) from [<8051dc84>] (__do_kernel_fault.part.0+0x64/0x74)
[<8051dc84>] (__do_kernel_fault.part.0) from [<8001bf04>] (do_page_fault+0x1ac/0x37c)
[<8001bf04>] (do_page_fault) from [<800092a8>] (do_DataAbort+0x38/0xb4)
[<800092a8>] (do_DataAbort) from [<80013098>] (__dabt_svc+0x38/0x60)
Exception stack(0x8072be38 to 0x8072be80)
be20: 00000000 00000000
be40: 0000ffff 00000001 7f0310b4 7f030e80 7f030ff0 00000001 380a7e41 0000002f
be60: 00000001 00000000 7f030e80 8072be80 7f031270 7f02059c 600b01d3 ffffffff
[<80013098>] (__dabt_svc) from [<7f02059c>] (pecPlanBatch+0x4e4/0x6a4 [pe])
[<7f02059c>] (pecPlanBatch [pe]) from [<7f01bf7c>] (positionspam.part.0+0x20/0x4c [pe])
[<7f01bf7c>] (positionspam.part.0 [pe]) from [<7f01d274>] (sm_fwdslow+0x148/0x218 [pe])
[<7f01d274>] (sm_fwdslow [pe]) from [<7f01cbd8>] (segmentIsrHandler+0x1c/0x2c [pe])
[<7f01cbd8>] (segmentIsrHandler [pe]) from [<7f044820>] (step_fiq_task+0x74/0xe8 [motor])
[<7f044820>] (step_fiq_task [motor]) from [<800201c8>] (gpio_fiq_interrupt+0x1c/0x40)
[<800201c8>] (gpio_fiq_interrupt) from [<80009224>] (handle_fiq_as_nmi+0x68/0xb0)
[<80009224>] (handle_fiq_as_nmi) from [<80013278>] (__fiq_svc+0x38/0x80)
Exception stack(0x8072bf10 to 0x8072bf58)
bf00: ab726c68 807310d4 00000000 8001ed20
bf20: 00000000 807310d4 ab726c68 00000000 380a7e41 0000002f 00000001 00000000
bf40: 00000017 8072bf58 800136c0 8001ed28 000b0093 ffffffff
[<80013278>] (__fiq_svc) from [<8001ed28>] (cpu_ca8_do_idle+0x8/0xc)
[<8001ed28>] (cpu_ca8_do_idle) from [<807295c0>] (runqueues+0x0/0x580)
---[ end trace 97e36839fa7ad73f ]---
------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at kernel/rcu/tree.c:607 rcu_eqs_enter_common+0x140/0x150()
Modules linked in: g_serial(O) usb_f_serial(O) u_serial(O) udmabuf(O) libcomposite(O) tm(PO) sensor(O) motor(O) pe(O) beep(O) doorbell(O) psu(O) ui_buttons(O) modules(O) [last unloaded: btle_dev]
CPU: 0 PID: 0 Comm: swapper/0 Tainted: P D W O 4.1.15+ #4

Outcomes