AnsweredAssumed Answered

i.MX6 solo kernel crash with kernel 3.0.35

Question asked by manoj kumar on Dec 3, 2015
Latest reply on Dec 4, 2015 by igorpadykov

Hi

 

We are using i.MX6 solo with Linux Kernel: 3.0.35, board booting and working fine. but randomly we are getting the below kernel crash

 

Unable to handle kernel NULL pointer dereference at virtual address 000000d4

Unable to handle kernel paging request at virtual address 0bc80298

pgd = 9fd50000

[0bc80298] *pgd=00000000

Internal error: Oops: 5 [#1] PREEMPT SMP

Modules linked in: g_mass_storage wl12xx_sdio wl12xx mac80211 cfg80211

CPU: 0    Not tainted  (3.0.35-2666-gbdde708 #1)

PC is at check_preempt_wakeup+0x40/0x138

LR is at check_preempt_curr+0x84/0x90

pc : [<80060154>]    lr : [<80060990>]    psr: 80000193

sp : 9fad5c40  ip : 803fda2c  fp : 9fad5c6c

r10: 9ffcf2f8  r9 : 800310c0  r8 : 9fef9d00

r7 : 800310c0  r6 : 9fef9d38  r5 : 8090dcc0  r4 : 9ffcf2c0

r3 : 9fae0000  r2 : 00000017  r1 : 9fef9d00  r0 : 0bc80240

Flags: Nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user

Control: 10c53c7d  Table: 2fac004a  DAC: 00000015

Process rc_mxc.S (pid: 2146, stack limit = 0x9fad42f0)

Stack: (0x9fad5c40 to 0x9fad6000)

5c40: 8bc070c0 8bc070c0 8bc07110 9ffcf2c0 8bc070c0 00000001 9fef9ffc a0000193

5c60: 800310c0 00000000 9fad5c7c 80060990 8bc070c0 9fef9d00 9fad5c9c 80060a0c

5c80: 9fef9d00 8bc070c0 00000001 9fef9ffc a0000193 800310c0 9fad5ccc 80065fdc

5ca0: 8bc06480 801d705c 00000000 9f89bad0 8bc064b8 8bc06480 80086958 54e0c58e

5cc0: 00000103 00000000 00000000 80086978 00000000 80086bfc 00000103 8bc064b8

5ce0: 8bc06480 00000001 00000001 80087698 00000001 00000003 ffffffff 7fffffff

5d00: 54e0c58e 00000103 54e0c58e 00000103 54e0c58e 00000103 00000010 00000001

5d20: 808fcccc 00000000 00000000 00000057 8094d57c 808fcc80 00000001 800588e4

5d40: 8091e440 8009d760 9fefc600 80219a28 802199ec 808fcc80 808fcccc 8091e440

5d60: 00000057 00000000 9fad4000 00000000 60000113 8009d8cc 808fcc80 808fcccc

5d80: 0046ddaf 8009fc50 8090dcc0 80030c00 9fad4000 8009d0c8 00000270 80038870

5da0: ffffffff f2a00100 00000057 00000003 00000002 80037a0c 809466b8 60000193

5dc0: 8091ed5c 8091ed5c 809466c2 8094670f 8091ecfc 80946608 00000053 809466c2

5de0: 00000000 60000113 a08ba000 9fad5e00 8006aac0 8006abd4 60000113 ffffffff

5e00: 9fd50000 8bbfa7ac 00023cea 00000000 00000003 00000000 9fad4000 60000113

5e20: 80032e34 ffffffff 00000000 00000000 00000002 80088740 8094504c ffffffff

5e40: 9fadc000 00000002 00000000 800887c0 00000000 8bc07110 00000001 00adc01c

5e60: 9fc44000 9f89d520 000000d4 00000017 9fad5fd8 9fc44000 00000017 9fa2fa20

5e80: 7f0d8bfc 803f627c 00000000 9fad5e9c 9a04e000 803f5f24 8086450c 808644e0

5ea0: 000000d4 808644e0 9fad5fd8 80042424 800301b4 800310c0 8090dcc0 8005ed7c

5ec0: 01200011 9fad4000 809200ec 00000000 0002995d 00000000 9fc44038 8bc07110

5ee0: dae60a4f 9fad5f0c 9fc44000 0000081f 80911258 000a9288 9fad5fb0 000000e2

5f00: 00000010 00083278 00000000 9fc43ff8 9fad5f60 00000017 809111d8 000000d4

5f20: 9fad5fd8 00000000 20000113 9fa2fa20 7f0d8bfc 80032384 9fad4000 00000004

5f40: 7ec25820 00000000 00000000 00000000 9fad4000 00000000 0009d870 8006db5c

5f60: 00000003 00000004 00000000 00000000 7ec25820 00000000 00000000 9fc44000

5f80: 8006be0c 9fe43994 9fe43994 00000000 00000000 7ec25820 ffffffff 00000072

5fa0: 80038144 80037fc0 00000000 7ec25820 ffffffff 7ec25820 00000000 00000000

5fc0: 00000000 0000040f 00000007 9fad6148 9fad6148 80037990 000000d4 00000017

5fe0: 9fad6148 00000000 00000017 000000d4 9fad6148 9fad6148 00000000 00000017

[<80060154>] (check_preempt_wakeup+0x40/0x138) from [<80060990>] (check_preempt_curr+0x84/0x90)

[<80060990>] (check_preempt_curr+0x84/0x90) from [<80060a0c>] (ttwu_do_wakeup+0x14/0xb8)

[<80060a0c>] (ttwu_do_wakeup+0x14/0xb8) from [<80065fdc>] (try_to_wake_up+0x300/0x350)

[<80065fdc>] (try_to_wake_up+0x300/0x350) from [<80086978>] (hrtimer_wakeup+0x20/0x28)

[<80086978>] (hrtimer_wakeup+0x20/0x28) from [<80086bfc>] (__run_hrtimer.isra.31+0x44/0xd8)

[<80086bfc>] (__run_hrtimer.isra.31+0x44/0xd8) from [<80087698>] (hrtimer_interrupt+0xf4/0x270)

[<80087698>] (hrtimer_interrupt+0xf4/0x270) from [<800588e4>] (mxc_timer_interrupt+0x2c/0x34)

[<800588e4>] (mxc_timer_interrupt+0x2c/0x34) from [<8009d760>] (handle_irq_event_percpu+0x50/0x180)

[<8009d760>] (handle_irq_event_percpu+0x50/0x180) from [<8009d8cc>] (handle_irq_event+0x3c/0x5c)

[<8009d8cc>] (handle_irq_event+0x3c/0x5c) from [<8009fc50>] (handle_fasteoi_irq+0xbc/0x154)

[<8009fc50>] (handle_fasteoi_irq+0xbc/0x154) from [<8009d0c8>] (generic_handle_irq+0x28/0x3c)

[<8009d0c8>] (generic_handle_irq+0x28/0x3c) from [<80038870>] (handle_IRQ+0x4c/0xac)

[<80038870>] (handle_IRQ+0x4c/0xac) from [<80037a0c>] (__irq_svc+0x4c/0xe8)

[<80037a0c>] (__irq_svc+0x4c/0xe8) from [<8006abd4>] (vprintk+0x328/0x4a8)

[<8006abd4>] (vprintk+0x328/0x4a8) from [<803f627c>] (printk+0x1c/0x2c)

[<803f627c>] (printk+0x1c/0x2c) from [<803f5f24>] (__do_kernel_fault.part.4+0x38/0x74)

[<803f5f24>] (__do_kernel_fault.part.4+0x38/0x74) from [<80042424>] (do_page_fault+0x2b4/0x31c)

[<80042424>] (do_page_fault+0x2b4/0x31c) from [<80032384>] (do_DataAbort+0x34/0x9c)

[<80032384>] (do_DataAbort+0x34/0x9c) from [<80037990>] (__dabt_svc+0x70/0xa0)

Exception stack(0x9fad5fd8 to 0x9fad6020)

5fc0:                                                       000000d4 00000017

5fe0: 9fad6148 00000000 00000017 000000d4 9fad6148 9fad6148 00000000 00000017

6000: 9fa2fa20 7f0d8bfc 9fad6020 9fad6020 80032384 80042198 20000113 ffffffff

Code: e156000a e5932014 e7950102 e0870000 (e5902058) 

---[ end trace 0399c1ea06aecacb ]---

Kernel panic - not syncing: Fatal exception in interrupt

[<8003e7e8>] (unwind_backtrace+0x0/0xf8) from [<803f6148>] (panic+0x74/0x18c)

[<803f6148>] (panic+0x74/0x18c) from [<8003b77c>] (die+0x220/0x284)

[<8003b77c>] (die+0x220/0x284) from [<803f5f40>] (__do_kernel_fault.part.4+0x54/0x74)

[<803f5f40>] (__do_kernel_fault.part.4+0x54/0x74) from [<80042424>] (do_page_fault+0x2b4/0x31c)

[<80042424>] (do_page_fault+0x2b4/0x31c) from [<80032384>] (do_DataAbort+0x34/0x9c)

[<80032384>] (do_DataAbort+0x34/0x9c) from [<80037990>] (__dabt_svc+0x70/0xa0)

Exception stack(0x9fad5bf8 to 0x9fad5c40)

5be0:                                                       0bc80240 9fef9d00

5c00: 00000017 9fae0000 9ffcf2c0 8090dcc0 9fef9d38 800310c0 9fef9d00 800310c0

5c20: 9ffcf2f8 9fad5c6c 803fda2c 9fad5c40 80060990 80060154 80000193 ffffffff

[<80037990>] (__dabt_svc+0x70/0xa0) from [<80060154>] (check_preempt_wakeup+0x40/0x138)

[<80060154>] (check_preempt_wakeup+0x40/0x138) from [<80060990>] (check_preempt_curr+0x84/0x90)

[<80060990>] (check_preempt_curr+0x84/0x90) from [<80060a0c>] (ttwu_do_wakeup+0x14/0xb8)

[<80060a0c>] (ttwu_do_wakeup+0x14/0xb8) from [<80065fdc>] (try_to_wake_up+0x300/0x350)

[<80065fdc>] (try_to_wake_up+0x300/0x350) from [<80086978>] (hrtimer_wakeup+0x20/0x28)

[<80086978>] (hrtimer_wakeup+0x20/0x28) from [<80086bfc>] (__run_hrtimer.isra.31+0x44/0xd8)

[<80086bfc>] (__run_hrtimer.isra.31+0x44/0xd8) from [<80087698>] (hrtimer_interrupt+0xf4/0x270)

[<80087698>] (hrtimer_interrupt+0xf4/0x270) from [<800588e4>] (mxc_timer_interrupt+0x2c/0x34)

[<800588e4>] (mxc_timer_interrupt+0x2c/0x34) from [<8009d760>] (handle_irq_event_percpu+0x50/0x180)

[<8009d760>] (handle_irq_event_percpu+0x50/0x180) from [<8009d8cc>] (handle_irq_event+0x3c/0x5c)

[<8009d8cc>] (handle_irq_event+0x3c/0x5c) from [<8009fc50>] (handle_fasteoi_irq+0xbc/0x154)

[<8009fc50>] (handle_fasteoi_irq+0xbc/0x154) from [<8009d0c8>] (generic_handle_irq+0x28/0x3c)

[<8009d0c8>] (generic_handle_irq+0x28/0x3c) from [<80038870>] (handle_IRQ+0x4c/0xac)

[<80038870>] (handle_IRQ+0x4c/0xac) from [<80037a0c>] (__irq_svc+0x4c/0xe8)

[<80037a0c>] (__irq_svc+0x4c/0xe8) from [<8006abd4>] (vprintk+0x328/0x4a8)

[<8006abd4>] (vprintk+0x328/0x4a8) from [<803f627c>] (printk+0x1c/0x2c)

[<803f627c>] (printk+0x1c/0x2c) from [<803f5f24>] (__do_kernel_fault.part.4+0x38/0x74)

[<803f5f24>] (__do_kernel_fault.part.4+0x38/0x74) from [<80042424>] (do_page_fault+0x2b4/0x31c)

[<80042424>] (do_page_fault+0x2b4/0x31c) from [<80032384>] (do_DataAbort+0x34/0x9c)

[<80032384>] (do_DataAbort+0x34/0x9c) from [<80037990>] (__dabt_svc+0x70/0xa0)

Exception stack(0x9fad5fd8 to 0x9fad6020)

5fc0:                                                       000000d4 00000017

5fe0: 9fad6148 00000000 00000017 000000d4 9fad6148 9fad6148 00000000 00000017

6000: 9fa2fa20 7f0d8bfc 9fad6020 9fad6020 80032384 80042198 20000113 ffffffff

Outcomes