微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > 求助,一按键就死机

求助,一按键就死机

时间:10-02 整理:3721RD 点击:
[   74.891366] Unable to handle kernel NULL pointer dereference at virtual address 00000018
[   74.899446] pgd = cf9cc000
[   74.902268] [00000018] *pgd=00000000
[   74.905831] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[   74.911122] Modules linked in: aw9523a(O+) g_android(O) udc(O) dc_owl(O) pvrsrvkm(O) flash_light(O) HDMI(O) asoc_vout(O) gslX680(O) atc260x_cap_gauge(O) CAMERA_drv(O) camera_gc0308(O) asoc_mmc(O) mmc_block(O) mmc_core(O) option(O) usb_wwan(O) vce_drv(O) vde_drv(O) sndrv(O) atc260x_audio(O) monitor(O) acts_hub(O) acts_hcd(O) leopard_cpufreq(O) atc260x_rtc(O) atc260x_power(O) atc260x_ADCkeypad(O) asoc_fb(O) asoc_LCD(O) asoc_backlight(O) asoc_de(O) blk2drv(O) blk1drv(O) [last unloaded: wlan]
[   74.954289] CPU: 0    Tainted: G           O  (3.4.0+ #63)
[   74.959766] PC is at input_event+0x1c/0x70
[   74.963855] LR is at aw9523a_probe+0x1b0/0x1ec [aw9523a]
[   74.969150] pc : [<c02f890c>]    lr : [<bf35f1ec>]    psr: 80000013
[   74.969156] sp : cf991e40  ip : cf990000  fp : bea5eabc
[   74.980602] r10: 00000001  r9 : bf35f03c  r8 : c9615a20
[   74.985807] r7 : 0000007f  r6 : 00000072  r5 : 00000000  r4 : 00000001
[   74.992313] r3 : 00000001  r2 : 00000072  r1 : 00000001  r0 : 00000000
[   74.998822] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   75.005936] Control: 10c53c7d  Table: 0f9cc04a  DAC: 00000015
[   75.011661]
[   75.011664] PC: 0xc02f888c:
[   75.015912] 888c  eafffff4 e92d40f8 e1a04000 e1a07003 e1a05001 e1a06002 ebfffe67 e59430fc
[   75.024059] 88ac  e3530000 08bd80f8 e0851085 e1a022a5 e59de018 e2822020 e59d001c e083c181
[   75.032207] 88cc  e205501f e3a01001 e98c00c0 e58ce00c e58c0010 e7943102 e1835511 e7845102
[   75.040355] 88ec  e8bd80f8 e351001f e92d45f8 e1a04001 e1a05000 e1a06002 e1a0a003 88bd85f8
[   75.048501] 890c  e5902018 e1a03132 e3130001 08bd85f8 e2807d06 e1a00007 eb0843cd e1a01006
[   75.056648] 892c  e1a0200a e1a08000 e1a00004 ebfde4e5 e1a00005 e1a01004 e1a02006 e1a0300a
[   75.064795] 894c  ebfffeb5 e1a00007 e1a01008 e8bd45f8 ea0842fb e92d4008 e1a0300d e3c3cd7f
[   75.072943] 896c  e1a03000 e3cc003f e5902008 e2930010 30d00002 33a02000 e3520000 e1a00001
[   75.081092]
[   75.081095] SP: 0xcf991dc0:
[   75.085342] 1dc0  c06e6310 cf990000 40000000 cf990000 cf991de4 c0055f60 cf990000 80000013
[   75.093489] 1de0  00000058 c02f890c 80000013 ffffffff cf991e2c c000e398 00000000 00000001
[   75.101637] 1e00  00000072 00000001 00000001 00000000 00000072 0000007f c9615a20 bf35f03c
[   75.109785] 1e20  00000001 bea5eabc cf990000 cf991e40 bf35f1ec c02f890c 80000013 ffffffff
[   75.117932] 1e40  00000001 c9615a00 dd6fa6c0 dd6fa6c4 0000007f c9615a20 c9615a00 bf35f1ec
[   75.126079] 1e60  c9615a04 bf35f2fc c9615a20 bf35f274 bf35f274 bf35f28c c9615a04 c030114c
[   75.134227] 1e80  c07524ac bf35f44c c9615a20 00000000 bf35f44c cf990000 00000000 c027ac48
[   75.142373] 1ea0  c9615a20 bf35f44c c9615a54 00000000 bf361000 c027aef8 c95d1680 c9615a20
[   75.150521]
[   75.150524] IP: 0xcf98ff80:
[   75.154771] ff80  e1a04003 e28d5004 e1a00005 e59d1048 ebfffffe e5845024 e1a00006 e1a01007
[   75.162919] ffa0  e1a02008 e1a03004 ebfffffe e3500001 1a000001 e28d0004 ebfffffe e28dd030
[   75.171066] ffc0  e8bd81f0 e92d4008 e2803d56 e2833008 e5933050 e3530000 08bd8008 e2800d56
[   75.179213] ffe0  e2800008 e12fff33 e8bd8008 e92d4008 e3510000 0a00000b e3013584 e7800003
[   75.187363] 0000  00000000 00000002 00000000 c95d1680 c06f7fb4 00000000 00000015 dd0c90e0
[   75.195512] 0020  c0c926e0 c95d1680 c06e6310 de985e00 00000000 cf990000 cf991ba4 cf991b08
[   75.203660] 0040  c050865c 00000000 00000000 00000000 00000000 00000000 01010000 00000000
[   75.211808] 0060  4009e418 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   75.219956]
[   75.219959] R8: 0xc96159a0:
[   75.224207] 59a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   75.232355] 59c0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   75.240503] 59e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   75.248649] 5a00  00580000 35397761 00613332 00000000 00000000 00000000 df0bc008 bf35f424
[   75.256797] 5a20  df0bc058 c94d7c00 dd9a0aa0 df029540 dd00a40c df0bc060 df029540 c0704b98
[   75.264945] 5a40  dd6fa100 00000003 00000007 00000000 c070b1ec 00000000 00000000 00000000
[   75.273093] 5a60  dead4ead ffffffff ffffffff c9615a6c c9615a6c c95d1680 00000000 c9615a54
[   75.281239] 5a80  c070b26c bf35f44c 00000000 00000000 00000000 00000000 00000000 00000000
[   75.289388] Process insmod (pid: 2452, stack limit = 0xcf9902f0)
[   75.295375] Stack: (0xcf991e40 to 0xcf992000)
[   75.299719] 1e40: 00000001 c9615a00 dd6fa6c0 dd6fa6c4 0000007f c9615a20 c9615a00 bf35f1ec
[   75.307879] 1e60: c9615a04 bf35f2fc c9615a20 bf35f274 bf35f274 bf35f28c c9615a04 c030114c
[   75.316038] 1e80: c07524ac bf35f44c c9615a20 00000000 bf35f44c cf990000 00000000 c027ac48
[   75.324198] 1ea0: c9615a20 bf35f44c c9615a54 00000000 bf361000 c027aef8 c95d1680 c9615a20
[   75.332358] 1ec0: bf35f44c c027af9c bf35f44c 00000000 c027af10 c0279514 df0a6880 c94d7c44
[   75.340518] 1ee0: bf35f44c c070b26c dd9f00c0 c027a574 bf35f2fc c021f88c bf35f44c cf990000
[   75.348677] 1f00: bea5e644 c0301010 bf361000 cf990000 00000000 c027b470 c070b26c bf35f424
[   75.356837] 1f20: cf990000 bea5e644 00000000 bf361000 00000000 c0302ec4 00000007 bf35f3fc
[   75.364996] 1f40: cf990000 bf361048 c071b4c0 c0008678 00000030 00000031 0000001a 00000000
[   75.373156] 1f60: 00000016 bf35f498 bf35f498 00000000 bea5e644 0001aa2e c000e984 00000000
[   75.381316] 1f80: bea5eabc c0079b4c de95b040 c00cbf20 00000000 41c80020 0001aa2e 4005fce0
[   75.389476] 1fa0: 00000080 c000e800 41c80020 0001aa2e 41c80020 0001aa2e bea5e644 00000000
[   75.397635] 1fc0: 41c80020 0001aa2e 4005fce0 00000080 bea5ebe9 bea5eac4 00000002 bea5eabc
[   75.405795] 1fe0: 4005fe0c bea5e5b8 40047e93 400bbe0c 60000010 41c80020 e5d5219d e58d2010
[   75.413970] [<c02f890c>] (input_event+0x1c/0x70) fROM [<bf35f1ec>] (aw9523a_probe+0x1b0/0x1ec [aw9523a])
[   75.423456] [<bf35f1ec>] (aw9523a_probe+0x1b0/0x1ec [aw9523a]) from [<c030114c>] (I2C_device_probe+0xc4/0xfc)
[   75.433358] [<c030114c>] (i2c_device_probe+0xc4/0xfc) from [<c027ac48>] (really_probe+0x64/0x1d4)
[   75.442217] [<c027ac48>] (really_probe+0x64/0x1d4) from [<c027aef8>] (driver_probe_device+0x48/0x60)
[   75.451335] [<c027aef8>] (driver_probe_device+0x48/0x60) from [<c027af9c>] (__driver_attach+0x8c/0x90)
[   75.460625] [<c027af9c>] (__driver_attach+0x8c/0x90) from [<c0279514>] (bus_for_each_dev+0x50/0x7c)
[   75.469655] [<c0279514>] (bus_for_each_dev+0x50/0x7c) from [<c027a574>] (bus_add_driver+0x1e4/0x2a4)
[   75.478772] [<c027a574>] (bus_add_driver+0x1e4/0x2a4) from [<c027b470>] (driver_register+0x78/0x178)
[   75.487893] [<c027b470>] (driver_register+0x78/0x178) from [<c0302ec4>] (i2c_register_driver+0X30/0xb4)
[   75.497274] [<c0302ec4>] (i2c_register_driver+0x30/0xb4) from [<bf361048>] (aw9523a_init+0x48/0x60 [aw9523a])
[   75.507179] [<bf361048>] (aw9523a_init+0x48/0x60 [aw9523a]) from [<c0008678>] (do_one_initcall+0x34/0x170)
[   75.516819] [<c0008678>] (do_one_initcall+0x34/0x170) from [<c0079b4c>] (sys_init_module+0x78/0x19c)
[   75.525939] [<c0079b4c>] (sys_init_module+0x78/0x19c) from [<c000e800>] (ret_fast_syscall+0x0/0x30)
[   75.534968] Code: e1a05000 e1a06002 e1a0a003 88bd85f8 (e5902018)
[   75.541457] ---[ end trace 57b93806cc8871aa ]---
[   75.546163] Kernel panic - not syncing: Fatal exception
[   75.551426] CPU1: stopping
[   75.554140] [<c0014ad4>] (unwind_backtrace+0x0/0xf8) from [<c0013d10>] (handle_IPI+0X200/0x218)
[   75.562824] [<c0013d10>] (handle_IPI+0x200/0x218) from [<c00085c8>] (gic_handle_irq+0x54/0x58)
[   75.571422] [<c00085c8>] (gic_handle_irq+0x54/0x58) from [<c000e400>] (__irq_svc+0x40/0x70)
[   75.579750] Exception stack(0xde94beb0 to 0xde94bef8)
[   75.584786] bea0:                                     00000002 000329f8 10624dd3 c06ed9d0
[   75.592946] bec0: df0bcab0 f8304000 00000000 0000c350 df03f9a2 0000003f 00000002 df0bcaec
[   75.601104] bee0: 00000240 de94bef8 c002af30 c002a848 600f0013 ffffffff
[   75.607711] [<c000e400>] (__irq_svc+0x40/0x70) from [<c002a848>] (asoc_SPI_write_read_16bit+0x68/0x14c)
[   75.617089] [<c002a848>] (asoc_spi_write_read_16bit+0x68/0x14c) from [<c002af30>] (handle_msg+0x1b0/0x2f4)
[   75.626726] [<c002af30>] (handle_msg+0x1b0/0x2f4) from [<c002b0d4>] (asoc_spi_work+0x60/0x84)
[   75.635238] [<c002b0d4>] (asoc_spi_work+0x60/0x84) from [<c0045b34>] (process_one_work+0x10c/0x39c)
[   75.644268] [<c0045b34>] (process_one_work+0x10c/0x39c) from [<c0046310>] (worker_thread+0x150/0x338)
[   75.653475] [<c0046310>] (worker_thread+0x150/0x338) from [<c004ad8c>] (kthread+0x8c/0x90)
[   75.661728] [<c004ad8c>] (kthread+0x8c/0x90) from [<c000f2fc>] (kernel_thread_exit+0x0/0x8)

Unable to handle kernel NULL pointer dereference at virtual address 00000018
是不是有打印语句或者其他的指针用错了

看这两行:
[   74.959766] PC is at input_event+0x1c/0x70
[   74.963855] LR is at aw9523a_probe+0x1b0/0x1ec [aw9523a]
基本上可以定位到错误代码了吧?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top