Android 7.1.2 kernel panic random time

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Android 7.1.2 kernel panic random time

1,209 Views
marcinj
Contributor I

Hi All,

I have an issue with kernel panics in Android 7.1.2 with custom board (board based on sabredsd design, same pmic, memory), which is working without any problems with Android 5. I checked memory with freescale ddr_stress_tester and it's work fine. The board work with Android 7.1.2 from few minutes to few hours and then get kernel panic, display is freeze or board reboot.

Maybe someone have simillar issue and can help or have any idea how to solve this issue.

Thanks.

More details in included files.

android_7.1.2_kernel_panic_1.log:

Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = e3f64000
[00000000] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 1309 Comm: RenderThread Not tainted 4.9.17-03766-gcf5289ef271a #2
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: e3b0c600 task.stack: d810e000
PC is at memset+0xd4/0xe0
LR is at vmacache_find+0x54/0x154
pc : [<c051bd54>] lr : [<c02496b8>] psr: 800f0113
sp : d810f570 ip : 00000686 fp : 00000014
r10: e2bd1c38 r9 : d810f688 r8 : 000249f0
r7 : 80000005 r6 : e2bd1c00 r5 : e3b0c600 r4 : 00000000
r3 : 00000000 r2 : 00000000 r1 : 0000000c r0 : e3b0c93d
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 33f6404a DAC: 00000051

android_7.1.2_kernel_panic_2.log:

# hrtimer: interrupt took 77666 ns
type=1400 audit(1565186774.013:132): avc: denied { net_raw } for pid=2046 comm="ifconfig" capability=13 scontext=u:r:shell:s0 tcontext=u:r:shell:s0 tclass=capability permissive=1
Unable to handle kernel paging request at virtual address c0d00000
Unable to handle kernel paging request at virtual address c0d00000
pgd = e2afc000
[c0d00000] *pgd=10c1940e(bad)
Internal error: Oops: 8000000d [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 1 PID: 1614 Comm: NativeSrv Not tainted 4.9.17-03765-gb75a22d3e64e-dirty #51
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: e3cb7000 task.stack: e3e8a000
PC is at _etext+0x0/0x10
LR is at schedule_hrtimeout_range_clock+0x64/0x1b0
pc : [<c0d00000>] lr : [<c0cbbae8>] psr: 400f0013
sp : e3e8bad4 ip : 00000000 fp : d86fbe41
r10: e3e8bbd8 r9 : 00000000 r8 : 0000c350
r7 : 00000151 r6 : 9c235996 r5 : e3e8baec r4 : c1404548
r3 : 00000151 r2 : 9c235996 r1 : ffffffd0 r0 : e3e8bae4
Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 32afc04a DAC: 00000051

android_7.1.2_kernel_panic_3.log:

Unable to handle kernel paging request at virtual address c115bd80
Unable to handle kernel paging request at virtual address ffffffd0
pgd = e3c28000
[ffffffd0] *pgd=353fd861, *pte=00000000, *ppte=00000000
Internal error: Oops: 837 [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 1266 Comm: ndroid.androsoft Not tainted 4.9.17-03765-gb75a22d3e64e #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: e38c6200 task.stack: e3c24000
PC is at __memzero+0x58/0x80
LR is at vmacache_find+0x54/0x154
pc : [<c051bdb8>] lr : [<c02496b8>] psr: 000b0113
sp : e3c25e98 ip : 00000000 fp : 00000055
r10: e2ceb378 r9 : b33c0497 r8 : b4be0ed8
r7 : 00000805 r6 : e2ceb340 r5 : e38c6200 r4 : 00000000
r3 : 00000000 r2 : 00000000 r1 : ffffffd0 r0 : ffffffd0
Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none
Control: 10c53c7d Table: 33c2804a DAC: 00000051

0 Kudos
1 Reply

1,044 Views
diegoadrian
NXP Employee
NXP Employee

Hello,

Can you please see if the SOC temperature is high at the time you are seeing this problem? It can be due to heating problems.

Furthermore, this can also be due to memory leakage. Please see below threads, probably they can help you.

Various intermittent Kernel Oops faults on boot / shutdown 

https://community.nxp.com/thread/316911 

Best regards,

Diego.

0 Kudos