Reg: Kernel Crash

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

Reg: Kernel Crash

1,429 Views
vishvapathi
Contributor V

Hi,

    Sometimes my kernel crashes while booting.

                                                             

arm-none-linux-gnueabi-gcc (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08)

root filesystem built on Mon, 05 Aug 2013 12:26:13 +0530                  
Freescale Semiconductor, Inc.                                             
                                                                          

freescale login: Unable to handle kernel NULL pointer dereference at virtual ad8

pgd = 80004000                                                            
[000000f8] *pgd=00000000                                                  
Internal error: Oops: 17 [#1] PREEMPT SMP                                 
Modules linked in:                                                        
CPU: 0Tainted: G    W(3.0.35-2508-g54750ff #1)                
PC is at dapm_find_widget+0x8/0x70                                        
LR is at snd_soc_dapm_set_pin+0x18/0x64                                   
pc : [<803b6968>]lr : [<803b8bc4>]psr: 80000013                   
sp : bfd1ff10  ip : 00000000  fp : 80a853c8                               
r10: 803c7540  r9 : 8c00c305  r8 : 00000000                               
r7 : bfd1e000  r6 : 000000ac  r5 : 809d5c24  r4 : 00000000                
r3 : 00000001  r2 : 00000001  r1 : 809d5c24  r0 : 000000ac                
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel       
Control: 10c53c7d  Table: 4a33404a  DAC: 00000015                         
Process kworker/0:1 (pid: 372, stack limit = 0xbfd1e2f0)                  
Stack: (0xbfd1ff10 to 0xbfd20000)                                         
ff00:                                 00000001 00000000 809d5c24 000000ac  

ff20: bfd1e000 00000000 803c7540 803b8bc4 80ab2e28 80a57ff8 80a58870 803c757c  

ff40: 00000000 8007d9bc 00000064 bfd0c9c0 bfd0c9c0 8c0082e0 8c00c300 8007e6fc  

ff60: 8c0082e8 00000001 bfd1e000 bfd0c9c0 8c0082e0 8c0082e8 bfd0c9d0 bfd1e000  

ff80: 80038400 80038400 00000009 8007ef34 00000013 00000000 80038400 80038400  

ffa0: bfd1ffc4 bff9bf00 bfd0c9c0 8007edc4 00000013 00000000 00000000 00000000  

ffc0: 00000000 800833d4 8003faa4 00000000 bfd0c9c0 00000000 00000000 00000000  

ffe0: bfd1ffe0 bfd1ffe0 bff9bf00 80083354 8003faa4 8003faa4 ffffffff ffffffff  

[<803b6968>] (dapm_find_widget+0x8/0x70) from [<803b8bc4>] (snd_soc_dapm_set_pi)

[<803b8bc4>] (snd_soc_dapm_set_pin+0x18/0x64) from [<803c757c>] (amic_detect_ha)

[<803c757c>] (amic_detect_handler+0x3c/0xf4) from [<8007e6fc>] (process_one_wor)

[<8007e6fc>] (process_one_work+0x10c/0x38c) from [<8007ef34>] (worker_thread+0x)

[<8007ef34>] (worker_thread+0x170/0x37c) from [<800833d4>] (kthread+0x80/0x88) 

[<800833d4>] (kthread+0x80/0x88) from [<8003faa4>] (kernel_thread_exit+0x0/0x8)

Code: e8bd8ff8 80a812d4 e92d45f8 e1a06000 (e590404c)                      
---[ end trace 1b75b31a2719ed1f ]---                                      
Unable to handle kernel paging request at virtual address fffffffc        
pgd = 80004000                                                            
[fffffffc] *pgd=4fffe821, *pte=00000000, *ppte=00000000                   
Internal error: Oops: 17 [#2] PREEMPT SMP                                 
Modules linked in:                                                        
CPU: 0Tainted: G  D W(3.0.35-2508-g54750ff #1)                
PC is at kthread_data+0x4/0xc                                             
LR is at wq_worker_sleeping+0xc/0xec                                      
pc : [<80083594>]lr : [<8007fab4>]psr: 00000193                   
sp : bfd1fc28  ip : 8c008f90  fp : bfd1fcdc                               
r10: bfcf7b1c  r9 : bfcf7b1c  r8 : bfcf7b98                               
r7 : 00000000  r6 : bfd1e000  r5 : bfcf7a00  r4 : 00000000                
r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : bfcf7a00                
Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user        
Control: 10c53c7d  Table: 4a33404a  DAC: 00000015                         
Process kworker/0:1 (pid: 372, stack limit = 0xbfd1e2f0)                  
Stack: (0xbfd1fc28 to 0xbfd20000)                                         
fc20:               8c008f40 804c39f4 80986384 bfff8740 00000001 800df68c  

fc40: 8bffa400 bfff2300 20000193 804c0c50 80a45cc0 8bff7e80 80037f40 80037f40  

fc60: 800371b4 80037f40 0bfd1000 800e0bd8 0cbbe1d9 8006bcc0 bfd22900 bfcf7a00  

fc80: bfe35980 bfd22e04 80a90938 bfd22900 00000000 80037260 bfcf7a00 8006bcd4  

fca0: bfcf7a00 80037260 803b696a 800ae598 ffffff52 bfcf7d6c 8c008750 bfcf7a00  

fcc0: ffffffff bfcf79f8 bff8c000 bfcf7b1c bfcf7b1c bfcf7b1c 8098003c 8006cf58  

fce0: 00000000 bfd1fcf4 bfd1e000 00000001 80a59f3c bfd1fcf4 bfd1fcf4 bfcf7b64  

fd00: 00000000 bfd1e000 00000000 00000001 803b696a 00000000 803b696c bfd1fd6a  

fd20: 8098003c 80042724 bfd1e2f0 0000000b 00000008 00000000 65000001 38646238  

fd40: 20386666 38613038 34643231 32396520 66353464 31652038 30363061 28203030  

fd60: 30393565 63343034 00002029 803c7540 80a853c8 00000000 000000f8 00000017  

fd80: bfd1fec8 bfcf7a00 00000017 803c7540 80a853c8 804bf928 bfd1fec8 8004848c  

fda0: 00000000 80a47db8 bfcf7b94 80a3401c bfcf7a00 bfd1e000 80a47db8 8008898c  

fdc0: 8c008f40 bfcf7a00 bfd1fe7c 804c38e0 bfd1fe54 00000000 000d648c 00000000  

fde0: 0007f48a 00000000 1fc6211e 00000000 1fc88131 00000008 80037f40 80037f40  

fe00: 800371b4 00000017 80a491f0 000000f8 bfd1fec8 00000000 00000113 803c7540  

fe20: 80a853c8 80039384 00000000 00000001 80037f40 bfd1ff64 bfcf7a00 bfd1fe84  

fe40: bfd1fe64 bfd1fe8c bfd1fe6c 80075080 00000000 bfd1fe80 bfd1fe80 ffff9869  

fe60: 80a36080 80075590 000061a8 00000000 bfcf7a38 8c008f90 1fc91ebe bfd1fea4  

fe80: 80039e34 ffffffff 00000000 00000000 00000002 800888e8 80a8f8ec ffffffff  

fea0: 80a34000 00000002 00000000 80088968 00000000 0000040f 00000007 000000ac  

fec0: bfd1e000 8003e990 000000ac 809d5c24 00000001 00000001 00000000 809d5c24  

fee0: 000000ac bfd1e000 00000000 8c00c305 803c7540 80a853c8 00000000 bfd1ff10  

ff00: 803b8bc4 803b6968 80000013 ffffffff 00000001 00000000 809d5c24 000000ac  

ff20: bfd1e000 00000000 803c7540 803b8bc4 80ab2e28 80a57ff8 80a58870 803c757c  

ff40: 00000000 8007d9bc 00000064 bfd0c9c0 bfd0c9c0 8c0082e0 8c00c300 8007e6fc  

ff60: 8c0082e8 00000001 bfd1e000 bfd0c9c0 8c0082e0 8c0082e8 bfd0c9d0 bfd1e000  

ff80: 80038400 80038400 00000009 8007ef34 00000013 00000000 80038400 80038400  

ffa0: bfd1ffc4 bff9bf00 bfd0c9c0 8007edc4 00000013 00000000 00000000 00000000  

ffc0: 00000000 800833d4 8003faa4 00000000 bfd0c9c0 00000001 00000000 00000000  

ffe0: bfd1ffe0 bfd1ffe0 bff9bf00 80083354 8003faa4 8003faa4 ffffffff ffffffff  

[<80083594>] (kthread_data+0x4/0xc) from [<8007fab4>] (wq_worker_sleeping+0xc/0)

[<8007fab4>] (wq_worker_sleeping+0xc/0xec) from [<804c39f4>] (__schedule+0x390/)

[<804c39f4>] (__schedule+0x390/0x6c0) from [<8006cf58>] (do_exit+0x450/0x6e8)  

[<8006cf58>] (do_exit+0x450/0x6e8) from [<80042724>] (die+0x228/0x284)    

[<80042724>] (die+0x228/0x284) from [<804bf928>] (__do_kernel_fault.part.4+0x54)

[<804bf928>] (__do_kernel_fault.part.4+0x54/0x74) from [<8004848c>] (do_page_fa)

[<8004848c>] (do_page_fault+0x2b4/0x31c) from [<80039384>] (do_DataAbort+0x34/0)

[<80039384>] (do_DataAbort+0x34/0x9c) from [<8003e990>] (__dabt_svc+0x70/0xa0) 

Exception stack(0xbfd1fec8 to 0xbfd1ff10)                                 
fec0:               000000ac 809d5c24 00000001 00000001 00000000 809d5c24  

fee0: 000000ac bfd1e000 00000000 8c00c305 803c7540 80a853c8 00000000 bfd1ff10  

ff00: 803b8bc4 803b6968 80000013 ffffffff                                 

[<8003e990>] (__dabt_svc+0x70/0xa0) from [<803b6968>] (dapm_find_widget+0x8/0x7)

[<803b6968>] (dapm_find_widget+0x8/0x70) from [<803b8bc4>] (snd_soc_dapm_set_pi)

[<803b8bc4>] (snd_soc_dapm_set_pin+0x18/0x64) from [<803c757c>] (amic_detect_ha)

[<803c757c>] (amic_detect_handler+0x3c/0xf4) from [<8007e6fc>] (process_one_wor)

[<8007e6fc>] (process_one_work+0x10c/0x38c) from [<8007ef34>] (worker_thread+0x)

[<8007ef34>] (worker_thread+0x170/0x37c) from [<800833d4>] (kthread+0x80/0x88) 

[<800833d4>] (kthread+0x80/0x88) from [<8003faa4>] (kernel_thread_exit+0x0/0x8)

Code: eaff9868 804c7c98 80988818 e590316c (e5130004) 

Has anyone faced this??? How can i avoid this??

DaianeAngolini

Labels (2)
0 Kudos
Reply
2 Replies

762 Views
daiane_angolini
NXP Employee
NXP Employee

What kernel are you using? Have you built it or it is a pre-build from some FSL release? Which release?

What is your hardware? Is it a custom board? Or is it an old version of some FSL board?

0 Kudos
Reply

762 Views
AnsonHuang
NXP Employee
NXP Employee

Hi, Vishvapathi

     If you are not using audio, you can build out audio driver to try.

0 Kudos
Reply