Internal error: Oops: 17 [#1] PREEMPT

Started by Deulis, July 24, 2014, 08:40:22 PM

Previous topic - Next topic

Deulis

My first post here!!!

Board: A13-OLinuXino-WIFI
Image: A13_android_NAND_LCD_800x480_EN_second_release

I have "Unable to handle kernel NULL pointer dereference at virtual address 00000008" and "Internal error: Oops: 17 [#1] PREEMPT", the board was working fine, I suspect a hardware failure
Here is this part of the log:


[    7.030000] begin get platform resourec
[    7.030000] input: sun4i-ts as /devices/platform/sun4i-ts/input/input1
[    7.090000] ==register_early_suspend =
[    7.090000] tp init
[    7.110000] sun4i-ts.c: sun4i_ts_probe: end
[    7.140000] init: command 'insmod' r=0
[    7.200000] input: sun4i-keyboard as /devices/virtual/input/input2
[    7.200000] ==register_early_suspend =
[    7.250000] Unable to handle kernel NULL pointer dereference at virtual address 00000008
[    7.260000] pgd = df1e8000
[    7.260000] [00000008] *pgd=5f166831, *pte=00000000, *ppte=00000000
[    7.270000] Internal error: Oops: 17 [#1] PREEMPT
[    7.270000] Modules linked in: sun4i_keyboard sun4i_ts
[    7.270000] CPU: 0    Not tainted  (3.0.8+ #1)
[    7.270000] PC is at __lookup_mnt+0x40/0x6c
[    7.270000] LR is at do_lookup+0x94/0x2dc
[    7.270000] pc : [<c01177a0>]    lr : [<c0106dd8>]    psr: 00000013
[    7.270000] sp : df1d3dcc  ip : 00000000  fp : df1d3e24
[    7.270000] r10: 00000001  r9 : df81b0c0  r8 : df409d00
[    7.270000] r7 : df402080  r6 : df1d3e2c  r5 : df1d3ec0  r4 : df81a5d8
[    7.270000] r3 : 00000000  r2 : 00000001  r1 : df409d00  r0 : df81b0c0
[    7.270000] Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[    7.270000] Control: 10c5387d  Table: 5f1e8019  DAC: 00000015
[    7.270000]
[    7.270000] PC: 0xc0117720:
[    7.270000] 7720  e2835020 e1520005 0a000005 eaffffe7 e5932028 e5933008 e283c020 e152000c
[    7.270000] 7740  1affffe2 e1540003 1afffff8 e3a05000 e1a00005 e8bd80f8 e5900018 e12fff1e
[    7.270000] 7760  e52d4004 e1a04321 e084c320 e30a3af4 e34c307e e08c44ac e5933000 e1a0cb84
[    7.270000] 7780  e1a04bac e0834184 e1a03004 e3520000 15933000 05933004 e1530004 0a000007
[    7.270000] 77a0  e593c008 e15c0000 1afffff7 e593c00c e15c0001 1afffff4 e1a00003 ea000000
[    7.270000] 77c0  e3a00000 e49d4004 e12fff1e e92d4010 e1a04000 ebfffa60 e3a02001 e8940003
[    7.270000] 77e0  ebffffde e2504000 0a000000 ebfffa5e ebfffb63 e1a00004 e8bd8010 e92d4070
[    7.270000] 7800  e1a0300d e3c36d7f e1a04000 e3c6603f e5941004 e5910020 e280001c eb123eb7
[    7.270000]
[    7.270000] LR: 0xc0106d58:
[    7.270000] 6d58  e1a06003 e3120040 e58d1004 e5909000 e5907004 0a00003f e590c01c e28d200c
[    7.270000] 6d78  e1a00007 e583c000 eb0029e0 e2508000 0a00005f e5951024 e5973004 e1510003
[    7.270000] 6d98  1a000032 e59d200c e5852024 e598e000 e31e0901 03a0a001 1a00008d e1a01008
[    7.270000] 6db8  e5849000 e5848004 ea000011 e3130801 0a00001d e5940000 e3a02001 eb004261
[    7.270000] 6dd8  e3500000 0a00003d e5840000 e5902010 e5842004 e5923004 e3130001 1a000047
[    7.270000] 6df8  e5853024 e5942004 e5921020 e5861000 e5941004 e5913000 e3130701 0affffea
[    7.270000] 6e18  e591e050 e1a00001 e3a01001 e59e3020 e12fff33 e3500000 ba000006 e5941004
[    7.270000] 6e38  e5913000 e3130801 1affffe1 e2132802 01a0a002 0a00001e e3a0b001 e1a00005
[    7.270000]
[    7.270000] SP: 0xdf1d3d4c:
[    7.270000] 3d4c  df1d3e58 df1d3d7c c005ae38 00000304 c003103c df4a1300 00000010 0000040f
[    7.270000] 3d6c  00000007 df1d3e2c df402080 df409d00 c0037950 df81b0c0 df409d00 00000001
[    7.270000] 3d8c  00000000 df81a5d8 df1d3ec0 df1d3e2c df402080 df409d00 df81b0c0 00000001
[    7.270000] 3dac  df1d3e24 00000000 df1d3dcc c0106dd8 c01177a0 00000013 ffffffff df1d3e24
[    7.270000] 3dcc  df1d3e24 df1621cc df1d3e10 00000000 00000004 40073000 df1d3ec0 df195006
[    7.270000] 3dec  df195007 df1d2000 0000002f df1d2000 00000055 df1d3e24 c0107168 df124634
[    7.270000] 3e0c  00001051 01baa5b4 00000004 df195001 ffffffff df1c6000 df81b0c0 df409d00
[    7.270000] 3e2c  df40a500 00000000 df1d3ec0 00000041 df195000 df1d2000 00000001 df1d2000
[    7.270000]
[    7.270000] FP: 0xdf1d3da4:
[    7.270000] 3da4  df81b0c0 00000001 df1d3e24 00000000 df1d3dcc c0106dd8 c01177a0 00000013
[    7.270000] 3dc4  ffffffff df1d3e24 df1d3e24 df1621cc df1d3e10 00000000 00000004 40073000
[    7.270000] 3de4  df1d3ec0 df195006 df195007 df1d2000 0000002f df1d2000 00000055 df1d3e24
[    7.270000] 3e04  c0107168 df124634 00001051 01baa5b4 00000004 df195001 ffffffff df1c6000
[    7.270000] 3e24  df81b0c0 df409d00 df40a500 00000000 df1d3ec0 00000041 df195000 df1d2000
[    7.270000] 3e44  00000001 df1d2000 00000000 00000000 c01079b0 df1d3e7c c00dcda4 df1e9000
[    7.270000] 3e64  00000000 00000000 c02a7e88 df124600 40073e20 80000007 00000000 df1d3fb0
[    7.270000] 3e84  00000001 df1d3ec0 df195000 ffffff9c 00000001 df1d2000 00000000 00000000
[    7.270000]
[    7.270000] R0: 0xdf81b040:
[    7.270000] b040  df81b040 df81b040 df81b048 df81b048 df81b050 df81b050 df81b058 df81b058
[    7.270000] b060  df81b060 df81b060 00000000 00000000 00000000 00000000 00000000 00000000
[    7.270000] b080  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.270000] b0a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.270000] b0c0  df81b0c0 df81b0c0 df81b0c0 df402080 df402080 df803400 00000035 00000000
[    7.270000] b0e0  df0c46e8 df14f0e8 df81b0e8 df81b0e8 00000000 00000000 00000000 df800880
[    7.270000] b100  df0c4700 df800908 df81b108 df81b108 df81b110 df81b110 df81b118 df81b118
[    7.270000] b120  df81b120 df81b120 00000000 df800900 00000001 00000000 00000000 00000000
[    7.270000]
[    7.270000] R1: 0xdf409c80:
[    7.270000] 9c80  00008010 00000004 00000000 c0e31108 df402080 7bae78cf 0000000d df409ca4
[    7.270000] 9ca0  df40a140 74696e69 6e75732e 722e6935 ffff0063 ffffffff ffffffff ffffffff
[    7.270000] 9cc0  ffffffff ffffffff ffffffff 00000001 c05af140 df803400 ffffffff 00000000
[    7.270000] 9ce0  df409ce0 df409ce0 df409be8 df409de8 df409cf0 df409cf0 df40a18c df40a18c
[    7.270000] 9d00  00018010 00000004 00000000 c0e0acc4 df402080 01baa5b4 00000004 df409d24
[    7.270000] 9d20  df40a500 636f7270 6e757300 752e6935 722e6273 ffff0063 ffffffff ffffffff
[    7.270000] 9d40  ffffffff ffffffff ffffffff 00000002 c05af140 df803400 ffffffff 00000000
[    7.270000] 9d60  df409d60 df409d60 df409ee8 df409b68 df409d70 df409d70 df40a54c df40a54c
[    7.270000]
[    7.270000] R4: 0xdf81a558:
[    7.270000] a558  df81a558 df81a558 df81a560 df81a560 df81a568 df81a568 df81a570 df81a570
[    7.270000] a578  df81a578 df81a578 df81a580 df81a580 df81a588 df81a588 df81a590 df81a590
[    7.270000] a598  df81a598 df81a598 df81a5a0 df81a5a0 df81a5a8 df81a5a8 df81a5b0 df81a5b0
[    7.270000] a5b8  df81a5b8 df81a5b8 df81a5c0 df81a5c0 df81a5c8 df81a5c8 df81a5d0 df81a5d0
[    7.270000] a5d8  df0c4840 df0c4840 df81a5e0 df81a5e0 df81a5e8 df81a5e8 df81a5f0 df81a5f0
[    7.270000] a5f8  df81a5f8 df81a5f8 df81a600 df81a600 df81a608 df81a608 df81a610 df81a610
[    7.270000] a618  df0c4cc0 df0c4cc0 df81a620 df81a620 df81a628 df81a628 df81a630 df81a630
[    7.270000] a638  df81a638 df81a638 df81a640 df81a640 df81a648 df81a648 df81a650 df81a650
[    7.270000]
[    7.270000] R5: 0xdf1d3e40:
[    7.270000] 3e40  df1d2000 00000001 df1d2000 00000000 00000000 c01079b0 df1d3e7c c00dcda4
[    7.270000] 3e60  df1e9000 00000000 00000000 c02a7e88 df124600 40073e20 80000007 00000000
[    7.270000] 3e80  df1d3fb0 00000001 df1d3ec0 df195000 ffffff9c 00000001 df1d2000 00000000
[    7.270000] 3ea0  00000000 c0108020 df195000 00000009 df1d3f38 ffffff9c 00000001 c0108370
[    7.270000] 3ec0  df81b0c0 df402080 00000000 00000001 ffffffff df81b0c0 df402080 df401140
[    7.270000] 3ee0  00000055 00000004 00000001 00000000 c07f0b7c 40073e20 df1d3fb0 be9995a8
[    7.270000] 3f00  ffffffff 00000064 be99956c c00312bc 00000001 df804500 df05b2c0 00000000
[    7.270000] 3f20  df1d3f50 00000009 be999728 000000c3 c00381a8 c00ff7dc 00020000 df804500
[    7.270000]
[    7.270000] R6: 0xdf1d3dac:
[    7.270000] 3dac  df1d3e24 00000000 df1d3dcc c0106dd8 c01177a0 00000013 ffffffff df1d3e24
[    7.270000] 3dcc  df1d3e24 df1621cc df1d3e10 00000000 00000004 40073000 df1d3ec0 df195006
[    7.270000] 3dec  df195007 df1d2000 0000002f df1d2000 00000055 df1d3e24 c0107168 df124634
[    7.270000] 3e0c  00001051 01baa5b4 00000004 df195001 ffffffff df1c6000 df81b0c0 df409d00
[    7.270000] 3e2c  df40a500 00000000 df1d3ec0 00000041 df195000 df1d2000 00000001 df1d2000
[    7.270000] 3e4c  00000000 00000000 c01079b0 df1d3e7c c00dcda4 df1e9000 00000000 00000000
[    7.270000] 3e6c  c02a7e88 df124600 40073e20 80000007 00000000 df1d3fb0 00000001 df1d3ec0
[    7.270000] 3e8c  df195000 ffffff9c 00000001 df1d2000 00000000 00000000 c0108020 df195000
[    7.270000]
[    7.270000] R7: 0xdf402000:
[    7.270000] 2000  00000000 00000002 00000000 00000000 df402000 00000000 00000001 df402024
[    7.270000] 2020  df401000 ffff002f ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    7.270000] 2040  ffffffff ffffffff ffffffff 00000002 00000000 df803000 ffffffff c07f9608
[    7.270000] 2060  df402060 df402060 df402068 df402068 df402070 df402070 df40104c df40104c
[    7.270000] 2080  00000000 00000002 00000000 00000000 df402080 00000000 00000001 df4020a4
[    7.270000] 20a0  df401140 ffff002f ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[    7.270000] 20c0  ffffffff ffffffff ffffffff 00000044 00000000 df803400 ffffffff 00000000
[    7.270000] 20e0  df4020e0 df4020e0 df4020e8 df4020e8 df48a968 df4091e8 df40118c df40118c
[    7.270000]
[    7.270000] R8: 0xdf409c80:
[    7.270000] 9c80  00008010 00000004 00000000 c0e31108 df402080 7bae78cf 0000000d df409ca4
[    7.270000] 9ca0  df40a140 74696e69 6e75732e 722e6935 ffff0063 ffffffff ffffffff ffffffff
[    7.270000] 9cc0  ffffffff ffffffff ffffffff 00000001 c05af140 df803400 ffffffff 00000000
[    7.270000] 9ce0  df409ce0 df409ce0 df409be8 df409de8 df409cf0 df409cf0 df40a18c df40a18c
[    7.270000] 9d00  00018010 00000004 00000000 c0e0acc4 df402080 01baa5b4 00000004 df409d24
[    7.270000] 9d20  df40a500 636f7270 6e757300 752e6935 722e6273 ffff0063 ffffffff ffffffff
[    7.270000] 9d40  ffffffff ffffffff ffffffff 00000002 c05af140 df803400 ffffffff 00000000
[    7.270000] 9d60  df409d60 df409d60 df409ee8 df409b68 df409d70 df409d70 df40a54c df40a54c
[    7.270000]
[    7.270000] R9: 0xdf81b040:
[    7.270000] b040  df81b040 df81b040 df81b048 df81b048 df81b050 df81b050 df81b058 df81b058
[    7.270000] b060  df81b060 df81b060 00000000 00000000 00000000 00000000 00000000 00000000
[    7.270000] b080  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.270000] b0a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    7.270000] b0c0  df81b0c0 df81b0c0 df81b0c0 df402080 df402080 df803400 00000035 00000000
[    7.270000] b0e0  df0c46e8 df14f0e8 df81b0e8 df81b0e8 00000000 00000000 00000000 df800880
[    7.270000] b100  df0c4700 df800908 df81b108 df81b108 df81b110 df81b110 df81b118 df81b118
[    7.270000] b120  df81b120 df81b120 00000000 df800900 00000001 00000000 00000000 00000000
[    7.270000] Process debuggerd (pid: 81, stack limit = 0xdf1d22e8)
[    7.270000] Stack: (0xdf1d3dcc to 0xdf1d4000)
[    7.270000] 3dc0:                            df1d3e24 df1621cc df1d3e10 00000000 00000004
[    7.270000] 3de0: 40073000 df1d3ec0 df195006 df195007 df1d2000 0000002f df1d2000 00000055
[    7.270000] 3e00: df1d3e24 c0107168 df124634 00001051 01baa5b4 00000004 df195001 ffffffff
[    7.270000] 3e20: df1c6000 df81b0c0 df409d00 df40a500 00000000 df1d3ec0 00000041 df195000
[    7.270000] 3e40: df1d2000 00000001 df1d2000 00000000 00000000 c01079b0 df1d3e7c c00dcda4
[    7.270000] 3e60: df1e9000 00000000 00000000 c02a7e88 df124600 40073e20 80000007 00000000
[    7.270000] 3e80: df1d3fb0 00000001 df1d3ec0 df195000 ffffff9c 00000001 df1d2000 00000000
[    7.270000] 3ea0: 00000000 c0108020 df195000 00000009 df1d3f38 ffffff9c 00000001 c0108370
[    7.270000] 3ec0: df81b0c0 df402080 00000000 00000001 ffffffff df81b0c0 df402080 df401140
[    7.270000] 3ee0: 00000055 00000004 00000001 00000000 c07f0b7c 40073e20 df1d3fb0 be9995a8
[    7.270000] 3f00: ffffffff 00000064 be99956c c00312bc 00000001 df804500 df05b2c0 00000000
[    7.270000] 3f20: df1d3f50 00000009 be999728 000000c3 c00381a8 c00ff7dc 00020000 df804500
[    7.270000] 3f40: c07f7954 be9996b0 00000009 c00ff9c4 be99956c c003103c ffffffff f1c20400
[    7.270000] 3f60: 00000001 c00379c8 400723e0 00000007 df1d3fb0 60000010 0000040f 00000007
[    7.270000] 3f80: 00000000 be998f68 be9995a8 ffffffff 00000064 be99956c ffffffff 0000040f
[    7.270000] 3fa0: be99973c c0038000 be99973c 00000009 be999bfc be9996b0 8b10c275 be999c0c
[    7.270000] 3fc0: be99973c 00000009 be999728 000000c3 be999ba0 00000000 00000000 00000000
[    7.270000] 3fe0: 0000d178 be999618 00009f17 4006fab0 60000010 be999bfc 5fffe821 5fffec21
[    7.270000] [<c01177a0>] (__lookup_mnt+0x40/0x6c) from [<df1621cc>] (0xdf1621cc)
[    7.270000] Code: 15933000 05933004 e1530004 0a000007 (e593c008)
[    8.350000] ---[ end trace 19d8855adffc4e8a ]---
[    8.350000] Kernel panic - not syncing: Fatal exception
[    8.360000] [<c003e204>] (unwind_backtrace+0x0/0x138) from [<c05a5c2c>] (panic+0x6c/0x18c)
[    8.370000] [<c05a5c2c>] (panic+0x6c/0x18c) from [<c003c1b0>] (die+0x26c/0x2b8)
[    8.380000] [<c003c1b0>] (die+0x26c/0x2b8) from [<c0042758>] (__do_kernel_fault+0x74/0x84)
[    8.380000] [<c0042758>] (__do_kernel_fault+0x74/0x84) from [<c00428f4>] (do_page_fault+0x18c/0x2ec)
[    8.390000] [<c00428f4>] (do_page_fault+0x18c/0x2ec) from [<c003121c>] (do_DataAbort+0x34/0x9c)
[    8.400000] [<c003121c>] (do_DataAbort+0x34/0x9c) from [<c0037950>] (__dabt_svc+0x70/0xa0)
[    8.410000] Exception stack(0xdf1d3d80 to 0xdf1d3dc8)
[    8.410000] 3d80: df81b0c0 df409d00 00000001 00000000 df81a5d8 df1d3ec0 df1d3e2c df402080
[    8.420000] 3da0: df409d00 df81b0c0 00000001 df1d3e24 00000000 df1d3dcc c0106dd8 c01177a0
[    8.430000] 3dc0: 00000013 ffffffff
[    8.430000] [<c0037950>] (__dabt_svc+0x70/0xa0) from [<c01177a0>] (__lookup_mnt+0x40/0x6c)
[    8.440000] [<c01177a0>] (__lookup_mnt+0x40/0x6c) from [<df1621cc>] (0xdf1621cc)


maggocnx

I had a similar problem, on our own design, which was a a hardware problem. Same sd card was running perfectly with other hardware. To localise the problem, i step by step disabled the individual periphery in the script.fex. In my case i found out that the pmu caused the problem.

To locate the error in the kernel source you can use your toolchains addr2line command. In your case get the programm counter value from the kernel message

[    7.270000] pc : [<c01177a0>]    lr : [<c0106dd8>]    psr: 00000013


in your source directory call

arm-linux-gnueabi-addr2line -f -e vmlinux c01177a0

The result will be the file and the line where the error happened