AnsweredAssumed Answered

Kernel 4.14.98 imx6ull

Question asked by Deepanraj Anbarasan on Feb 7, 2020

Hi ,

 

We are trying to port our custom board to 4.14.98 kernel version. But we are observing the below kernal crash,

 

Unable to handle kernel NULL pointer dereference at virtual address 00000064
pgd = 80004000
[00000064] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W       4.14.98 #4
Hardware name: Freescale i.MX6 UL/ULL (Device Tree)
task: 8c044000 task.stack: 8c048000
PC is at imx6_set_int_mem_clk_lpm+0xc/0x24
LR is at imx6ul_cpuidle_init+0x1c8/0x25c
pc : [<80128c00>]    lr : [<80e0a1b8>]    psr: 20000013
sp : 8c049eb8  ip : f49018c0  fp : 00000000
r10: 80e79ff8  r9 : 00000139  r8 : 00000008
r7 : 80e6583c  r6 : 00000804  r5 : 80f974e0  r4 : f49010b8
r3 : 80f97998  r2 : 00000000  r1 : f49018bc  r0 : 00000001
Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 10c53c7d  Table: 8000406a  DAC: 00000051
Process swapper/0 (pid: 1, stack limit = 0x8c048210)
Stack: (0x8c049eb8 to 0x8c04a000)
9ea0:                                                       ffffe000 00000000
9ec0: 80e0357c 80e0bf10 00000000 00000000 80be4950 ffffffff 00000000 00000000
9ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 ffffe000
9f00: 00000000 80e0359c ffffe000 80101a3c 8fffca1c 8fffca14 80cdf640 00000139
9f20: 00000139 80148ff8 00000000 80bde288 00000007 00000007 80be71c0 00000000
9f40: 80befc84 80be7234 8fffca1c 8fffca25 00000000 80f97000 80f97000 80f97000
9f60: 80e65838 00000008 00000139 80e79ff8 00000000 80e00dac 00000007 00000007
9f80: 00000000 80e005a8 00000000 8099494c 00000000 00000000 00000000 00000000
9fa0: 00000000 80994954 00000000 80107a68 00000000 00000000 00000000 00000000
9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
[<80128c00>] (imx6_set_int_mem_clk_lpm) from [<80e0a1b8>] (imx6ul_cpuidle_init+0x1c8/0x25c)
[<80e0a1b8>] (imx6ul_cpuidle_init) from [<80e0bf10>] (imx6ul_init_late+0x130/0x198)
[<80e0bf10>] (imx6ul_init_late) from [<80e0359c>] (init_machine_late+0x20/0x90)
[<80e0359c>] (init_machine_late) from [<80101a3c>] (do_one_initcall+0x44/0x168)
[<80101a3c>] (do_one_initcall) from [<80e00dac>] (kernel_init_freeable+0x144/0x1d0)
[<80e00dac>] (kernel_init_freeable) from [<80994954>] (kernel_init+0x8/0x114)
[<80994954>] (kernel_init) from [<80107a68>] (ret_from_fork+0x14/0x2c)
Code: eafffff9 e3073998 e34830f9 e5932004 (e5923064)
---[ end trace a30e206e3111b89e ]---
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

 

---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

 

random: fast init done

 

Please help us debug and provide idea or reason for this crash,

 

Thank you,

Deepanraj.A

Outcomes