kernel panic error

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

kernel panic error

2,927 Views
pratyushtomar
Contributor IV

I am using imx6ul board with yocto kernel version 4.1.15. Sometimes I get following kernel panic error while I running my code

Unable to handle kernel paging request at virtual address 7f101f7c
pgd = 80004000
[7f101f7c] *pgd=8c6c4811, *pte=00000000, *ppte=00000000
Internal error: Oops: 80000007 [#1] PREEMPT SMP ARM
Modules linked in: wilc3000(O) at_pwr_dev(O) pn5xx_i2c [last unloaded: at_pwr_dev]
CPU: 0 PID: 1336 Comm: DebugThread Tainted: G O 4.1.15-1.2.0+g77f6154
#14
Hardware name: Freescale i.MX6 Ultralite (Device Tree)
task: 8c73b900 ti: 8c8d6000 task.ti: 8c8d6000
PC is at 0x7f101f7c
LR is at _raw_spin_unlock_irqrestore+0x28/0x54
pc : [<7f101f7c>] lr : [<807e1238>] psr: 600f0013
sp : 8c8d7f30 ip : 00000000 fp : 00000000
r10: 7f107d30 r9 : 7f107d20 r8 : 7f107f48
r7 : 00000000 r6 : 8c57b000 r5 : 7f107f48 r4 : 8c54aa00
r3 : 00000000 r2 : 00000000 r1 : 20000013 r0 : ffffffc2
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c53c7d Table: 8c52c06a DAC: 00000015
Process DebugThread (pid: 1336, stack limit = 0x8c8d6210)
Stack: (0x8c8d7f30 to 0x8c8d8000) 7f20: 8c8063a0 00000000 8c8d6000 00000000
7f40: 00000000 00000000 00000000 8c975c40 8c54aa00 7f101f28 00000000 00000000
7f60: 00000000 8004d070 00000000 00000000 7ee95a5c 8c54aa00 00000000 00000000
7f80: 8c8d7f80 8c8d7f80 00000000 00000000 8c8d7f90 8c8d7f90 8c8d7fac 8c975c40
7fa0: 8004cf94 00000000 00000000 8000f528 00000000 00000000 00000000 00000000
7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 7a9ce301 72611f00
[<807e1238>] (_raw_spin_unlock_irqrestore) from [<00000000>] ( (null))
Code: bad PC value ---[ end trace 1ad1ec251768a262 ]

How can I trace this or find the problem for this error considering the fact I don't have access to jtag port?

Labels (3)
0 Kudos
Reply
2 Replies

2,261 Views
clementmartin
Contributor II

Same trouble at same address (Linux kernel RT with governor preference perf)

Did you find any solution ?

Unable to handle kernel paging request at virtual address a8071020
pgd = a883c000
[a8071020] *pgd=3801141e(bad)
Internal error: Oops: 8000000d [#1] PREEMPT SMP ARM
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.38-rt45-fslc+gee67fc7 #22
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
task: 807122b0 ti: 8070a000 task.ti: 8070a000
PC is at 0xa8071020
LR is at _raw_spin_unlock_irqrestore+0x28/0x60
pc : [<a8071020>]    lr : [<804fb1f4>]    psr: 200b0193
sp : 8070be84  ip : ab70d170  fp : 80708c80
r10: a8070b80  r9 : 00000000  r8 : 001114b8
r7 : 80050bd8  r6 : 8070be94  r5 : a8070b80  r4 : ab70cc80
r3 : 8070a000  r2 : 00000001  r1 : 00000002  r0 : 00000001
Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c53c7d  Table: 3883c04a  DAC: 00000015
Process swapper/0 (pid: 0, stack limit = 0x8070a210)
Stack: (0x8070be84 to 0x8070c000)
be80:          2b004000 8070be80 804fb1f4 a8070b80 80053a68 80722000 00000010
bea0: ab70f800 a801f000 8070bf18 80706460 200b0193 00000010 00000000 00000001
bec0: 8070bf18 a8008000 80708240 80034c08 8070801c 00000000 00000010 8006b8f4
bee0: f4a0010c 8070f0f4 8070bf18 f4a00100 3226c6d9 0000002e 00000000 80009440
bf00: 803abbf8 200b0013 ffffffff 8070bf4c 3226c6d9 80013340 8070bf60 00000017
bf20: 322857e3 0000002e ab70c248 00000000 322857e3 0000002e 3226c6d9 0000002e
bf40: 00000000 80708240 a6aaaaab 8070bf60 fffffff7 803abbf8 200b0013 ffffffff
bf60: 322857e3 0000002e ab70c248 ffffe000 8070ee64 804fe848 ab70c248 806321d4
bf80: 80714530 00000000 80708240 80063d9c 806ff398 80706550 00000001 8070ee6c
bfa0: 8070ef78 80708c80 80708c80 80742ecc 00000000 ffffffff 00000000 806c0c48
bfc0: ffffffff ffffffff 806c0670 00000000 00000000 806ff398 80746294 8070ee00
bfe0: 806ff394 80713518 1000406a 412fc09a 00000000 1000807c 00000000 00000000
[<804fb1f4>] (_raw_spin_unlock_irqrestore) from [<8070be80>] (init_thread_union+0x1e80/0x2000)
Code: 00000000 00000000 00000001 00000000 (13451345)
---[ end trace 0000000000000002 ]---
Kernel panic - not syncing: Attempted to kill the idle task!
CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Tainted: G      D         4.1.38-rt45-fslc+gee67fc7 #22
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<80015dc8>] (unwind_backtrace) from [<8001283c>] (show_stack+0x10/0x14)
[<8001283c>] (show_stack) from [<804f7928>] (dump_stack+0x78/0x8c)
[<804f7928>] (dump_stack) from [<80014c5c>] (handle_IPI+0x180/0x1dc)
[<80014c5c>] (handle_IPI) from [<80009478>] (gic_handle_irq+0x5c/0x60)
[<80009478>] (gic_handle_irq) from [<80013340>] (__irq_svc+0x40/0x88)
Exception stack(0xa80adf50 to 0xa80adf98)
df40:                                     00000000 8078c098 00000001 a80ac000
df60: ab717248 00000001 3cb45c51 0000002e 335a0719 0000002e 00000000 80708240
df80: 00000000 a80adf98 8008ace8 803abbf8 200f0013 ffffffff
[<80013340>] (__irq_svc) from [<803abbf8>] (cpuidle_enter_state+0xc4/0x1f4)
[<803abbf8>] (cpuidle_enter_state) from [<80063d9c>] (cpu_startup_entry+0x188/0x390)
[<80063d9c>] (cpu_startup_entry) from [<1000950c>] (0x1000950c)
CPU3: stopping
CPU: 3 PID: 0 Comm: swapper/3 Tainted: G      D         4.1.38-rt45-fslc+gee67fc7 #22
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<80015dc8>] (unwind_backtrace) from [<8001283c>] (show_stack+0x10/0x14)
[<8001283c>] (show_stack) from [<804f7928>] (dump_stack+0x78/0x8c)
[<804f7928>] (dump_stack) from [<80014c5c>] (handle_IPI+0x180/0x1dc)
[<80014c5c>] (handle_IPI) from [<80009478>] (gic_handle_irq+0x5c/0x60)
[<80009478>] (gic_handle_irq) from [<80013340>] (__irq_svc+0x40/0x88)
Exception stack(0xa80b1f50 to 0xa80b1f98)
1f40:                                     00000000 8078c098 00000001 a80b0000
1f60: ab72d248 00000001 3cb45c51 0000002e 322978f3 0000002e 00000000 80708240
1f80: 00000000 a80b1f98 8008ace8 803abbf8 200d0013 ffffffff
[<80013340>] (__irq_svc) from [<803abbf8>] (cpuidle_enter_state+0xc4/0x1f4)
[<803abbf8>] (cpuidle_enter_state) from [<80063d9c>] (cpu_startup_entry+0x188/0x390)
[<80063d9c>] (cpu_startup_entry) from [<1000950c>] (0x1000950c)
CPU2: stopping
CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D         4.1.38-rt45-fslc+gee67fc7 #22
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<80015dc8>] (unwind_backtrace) from [<8001283c>] (show_stack+0x10/0x14)
[<8001283c>] (show_stack) from [<804f7928>] (dump_stack+0x78/0x8c)
[<804f7928>] (dump_stack) from [<80014c5c>] (handle_IPI+0x180/0x1dc)
[<80014c5c>] (handle_IPI) from [<80009478>] (gic_handle_irq+0x5c/0x60)
[<80009478>] (gic_handle_irq) from [<80013340>] (__irq_svc+0x40/0x88)
Exception stack(0xa80aff50 to 0xa80aff98)
ff40:                                     00000000 8078c098 00000001 a80ae000
ff60: ab722248 00000001 3cb45eeb 0000002e 335a047e 0000002e 00000000 80708240
ff80: 00000000 a80aff98 8008ace8 803abbf8 200d0013 ffffffff
[<80013340>] (__irq_svc) from [<803abbf8>] (cpuidle_enter_state+0xc4/0x1f4)
[<803abbf8>] (cpuidle_enter_state) from [<80063d9c>] (cpu_startup_entry+0x188/0x390)
[<80063d9c>] (cpu_startup_entry) from [<1000950c>] (0x1000950c)

0 Kudos
Reply

2,262 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Pratyush,

Going to be difficult is you don´t have JTAG, try to program your sd again if that the case.

0 Kudos
Reply