常见系统错误信息分析

来源:互联网 发布:精华乳和精华液 知乎 编辑:程序博客网 时间:2024/05/20 20:45


[   27.959314] BUG: soft lockup - CPU#0 stuck for 22s! [swapper/0:1]

[   27.959334] Modules linked in:
[   27.959347] 
[   27.959361] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0 #344
[   27.959376] task: de890000 ti: de872000 task.ti: de872000
[   27.959398] PC is at _raw_spin_lock+0x3c/0x50
[   27.959415] LR is at kset_find_obj+0x18/0xb8
[   27.959430] pc : [<c07c1bfc>]    lr : [<c025f434>]    psr: 80000113
[   27.959430] sp : de873f08  ip : 00000000  fp : 00000000
[   27.959449] r10: c0ac25f0  r9 : c0bd4864  r8 : c0cb4000
[   27.959462] r7 : c09ee567  r6 : de8ffb08  r5 : de8ffb00  r4 : c0c3fbcc
[   27.959476] r3 : 0000de8f  r2 : 0000fb04  r1 : 00000000  r0 : de8ffb08
[   27.959491] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[   27.959505] Control: 10c5387d  Table: 0000406a  DAC: 00000015
[   27.959517] 
[   27.959517] PC: 0xc07c1b7c:
[   27.959531] 1b7c  eafffff3 e3e03000 e5843000 e89d000c e1a00005 e5823004 e5832000 e59f2010
[   27.959565] 1b9c  e59f3010 e88d000c eb0000e8 e28dd014 e8bd80f0 00100100 00200200 e3a01000
[   27.959596] 1bbc  eaffffcd e1a0200d e3c23d7f e3c3303f e5932004 e2822001 e5832004 e1903f9f
[   27.959627] 1bdc  e2832801 e1801f92 e3310000 1afffffa e6ff2073 e7ef3853 ea000001 e320f002
[   27.959657] 1bfc  e1d020b0 e1530002 1afffffb f57ff05f e12fff1e e1a03000 e10f0000 f10c0080
[   27.959688] 1c1c  e1a0100d e3c12d7f e3c2203f e5921004 e2811001 e5821004 e1932f9f e2821801
[   27.959719] 1c3c  e183cf91 e33c0000 1afffffa e6ff1072 e7ef2852 ea000001 e320f002 e1d310b0
[   27.959749] 1c5c  e1520001 1afffffb f57ff05f e12fff1e f10c0080 e1a0200d e3c23d7f e3c3303f
[   27.959781] 
[   27.959781] LR: 0xc025f3b4:
[   27.959794] f3b4  0a000014 e1a01006 e287000c ebffff68 e2506000 0a000003 e1a00007 e3a07000
[   27.959825] f3d4  ebfa71b5 ea00000b e59f3034 e1a00007 e5875030 e5874018 e5873020 e587601c
[   27.959856] f3f4  ebffffd5 e3500000 0a000002 e1a00007 e1a07006 ebfa71a8 e1a00007 e8bd80f8
[   27.959887] f414  c0d8c9e4 c0c0f6d4 e92d40f8 e2806008 e1a05000 e1a07001 e1a00006 eb1589e2
[   27.959917] f434  e5954000 ea00001a e5940000 e3500000 0a000016 e1a01007 eb001372 e3500000
[   27.959948] f454  1a000012 e284201c e594301c e1a01002 ea000000 e1a0300c e3530000 0a000012
[   27.959978] f474  e2830001 f57ff05f e191cf9f e3a0e000 e13c0003 0181ef90 e35e0000 1afffff9
[   27.960008] f494  f57ff05f e15c0003 1afffff1 ea000007 e5944004 e2444004 e2843004 e1550003
[   27.960040] 
[   27.960040] SP: 0xde873e88:
[   27.960054] 3e88  c0bd4864 c0ac25f0 00000000 c009a474 0000001d c000e3ac 0000001d fed91000
[   27.960084] 3ea8  de873ec0 c0008538 c07c1bfc 80000113 ffffffff c000d600 de8ffb08 00000000
[   27.960114] 3ec8  0000fb04 0000de8f c0c3fbcc de8ffb00 de8ffb08 c09ee567 c0cb4000 c0bd4864
[   27.960145] 3ee8  c0ac25f0 00000000 00000000 de873f08 c025f434 c07c1bfc 80000113 ffffffff
[   27.960175] 3f08  c09ee567 c0c3fbcc c0aec30c de872000 00000000 c02cc8a8 c0c3fbcc c02cc93c
[   27.960205] 3f28  00000000 00000006 c0aec30c de872000 00000000 c0cb4000 c0ac25f0 c00086a4
[   27.960235] 3f48  c0aec30c 00000000 00000006 c0b0dc68 c0b0dc48 c0cb4000 000001d9 c0ac2b28
[   27.960265] 3f68  00000006 00000006 c0ac25f0 00000000 c0bd4240 c0bd4240 00000000 00000000
[   27.960296] 
[   27.960296] R0: 0xde8ffa88:
[   27.960310] fa88  55553504 55355655 7b55819d 750d6051 5d5b9031 d3195715 4904170d 34155779
[   27.960341] faa8  d374557f 1d5c451f d99561c7 1955d151 45555555 c4f4b07e 00000054 00000000
[   27.960371] fac8  de8ff980 de8ffa80 de8ffbd1 00000000 00000000 00000000 00000000 087bed70
[   27.960401] fae8  de8ffa0c 00000000 de9d8a10 41ed0001 00000016 00000000 00000000 de8ffb04
[   27.960430] fb08  de90fb04 c02c8b78 c02c8bc0 00000000 00000000 00000000 00000000 00000000
[   27.960460] fb28  00000000 00000000 00000000 00000000 00000000 00000000 00000000 de8ffb44
[   27.960489] fb48  de8ffb44 c0c3de64 c59ec400 00000000 00000000 00000000 00000000 00000000
[   27.960518] fb68  00000000 00000000 00000000 00000000 00000000 00000000 76697264 00737265
[   27.960549] 
[   27.960549] R4: 0xc0c3fb4c:
[   27.960563] fb4c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.960592] fb6c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.960621] fb8c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.960650] fbac  00000000 00000000 00000000 c04ab174 c04ab2f8 00000000 00000000 00000000
[   27.960679] fbcc  c09ee567 c0c162a0 00000000 00000000 00000000 00000000 00000000 c02cd3d4
[   27.960708] fbec  c02cd3f4 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.960737] fc0c  c04ab38c c04ab870 00000000 00000000 00000000 c09ee532 00000000 00000000
[   27.960767] fc2c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.960797] 
[   27.960797] R5: 0xde8ffa80:
[   27.960811] fa80  69766564 00736563 55553504 55355655 7b55819d 750d6051 5d5b9031 d3195715
[   27.960841] faa0  4904170d 34155779 d374557f 1d5c451f d99561c7 1955d151 45555555 c4f4b07e
[   27.960872] fac0  00000054 00000000 de8ff980 de8ffa80 de8ffbd1 00000000 00000000 00000000
[   27.960901] fae0  00000000 087bed70 de8ffa0c 00000000 de9d8a10 41ed0001 00000016 00000000
[   27.960931] fb00  00000000 de8ffb04 de90fb04 c02c8b78 c02c8bc0 00000000 00000000 00000000
[   27.960961] fb20  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.960989] fb40  00000000 de8ffb44 de8ffb44 c0c3de64 c59ec400 00000000 00000000 00000000
[   27.961019] fb60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.961049] 
[   27.961049] R6: 0xde8ffa88:
[   27.961062] fa88  55553504 55355655 7b55819d 750d6051 5d5b9031 d3195715 4904170d 34155779
[   27.961093] faa8  d374557f 1d5c451f d99561c7 1955d151 45555555 c4f4b07e 00000054 00000000
[   27.961123] fac8  de8ff980 de8ffa80 de8ffbd1 00000000 00000000 00000000 00000000 087bed70
[   27.961152] fae8  de8ffa0c 00000000 de9d8a10 41ed0001 00000016 00000000 00000000 de8ffb04
[   27.961182] fb08  de90fb04 c02c8b78 c02c8bc0 00000000 00000000 00000000 00000000 00000000
[   27.961212] fb28  00000000 00000000 00000000 00000000 00000000 00000000 00000000 de8ffb44
[   27.961241] fb48  de8ffb44 c0c3de64 c59ec400 00000000 00000000 00000000 00000000 00000000
[   27.961271] fb68  00000000 00000000 00000000 00000000 00000000 00000000 76697264 00737265
[   27.961301] 
[   27.961301] R7: 0xc09ee4e7:
[   27.961315] e4e4  20726f73 656d616e 2c73253a 65707974 2c64253a 253d6469 000a0a64 66207325
[   27.961345] e504  656c6961 64252064 25000a0a 73253a73 20646920 65207369 726f7272 0a642520
[   27.961376] e524  3a732500 692c7325 64253d64 656b000a 6d6f6379 6b006f62 6f627965 20647261
[   27.961406] e544  65736572 61662074 64656c69 6425202c 6b360100 6f627965 20647261 65736572
[   27.961436] e564  6b000a74 65727965 00746573 2079656b 626d6f63 656b006f 6f632079 206f626d
[   27.961466] e584  72007075 00306374 73253301 6e75203a 656c6261 206f7420 6e65706f 63747220
[   27.961497] e5a4  76656420 20656369 29732528 7264000a 72657669 74722f73 63682f63 79736f74
[   27.961527] e5c4  00632e73 6f746368 3a737973 616e7520 20656c62 72206f74 20646165 20656874
[   27.961557] e5e4  64726168 65726177 6f6c6320 000a6b63 6f746368 3a737973 766e6920 64696c61
[   27.961588] 
[   27.961588] R8: 0xc0cb3f80:
[   27.961602] 3f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.961631] 3fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.961660] 3fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.961689] 3fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.961718] 4000  00000000 c1e01d7c 00000000 c1e01a40 c1e01d00 00000000 00000000 00000000
[   27.961747] 4020  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.961776] 4040  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   27.961805] 4060  00000000 00000000 00000000 00000000 00000000 00000000 00122f98 00000000
[   27.961835] 
[   27.961835] R9: 0xc0bd47e4:
[   27.961848] 47e4  c0aeb96c c0aeb984 c0aeb99c c0aeb9b4 c0aeb9cc c0aeb9e4 c0aebb9c c0aebbb4
[   27.961879] 4804  c0aebbcc c0aebdb4 c0aebdd4 c0477aa0 c0aec048 c0aec054 c0aec060 c0aec078
[   27.961909] 4824  c0aec090 c0aec0a8 c0aec0c0 c0aec0d8 c0aec0f0 c04978f8 c0aec108 c0aec144
[   27.961939] 4844  c0aec150 c0aec15c c0aec174 c0aec194 c0aec1b4 c0aec1d4 c0aec258 c0aec30c
[   27.961970] 4864  c0aec318 c0aec628 c0aec6f0 c0aec708 c0aec820 c0aec82c c0aec838 c0aec844
[   27.962000] 4884  c0aec850 c0aec85c c0aec868 c0aec874 c0aec880 c0aec88c c0aec898 c0aec8a4
[   27.962030] 48a4  c0aec8b0 c0aec8bc c0aec8c8 c0aec8d4 c0aec8e0 c0aec8ec c0aec8f8 c0aec904
[   27.962060] 48c4  c0aec910 c0aec91c c0aec928 c0aec934 c0aec940 c0aec94c c0aec958 c0aec964
[   27.962091] 
[   27.962091] R10: 0xc0ac2570:
[   27.962104] 2570  e5941000 ebd63b36 e3500000 1a000009 e1a00005 e59f1058 ebde8723 e3500000
[   27.962135] 2590  1a00000c e5940000 e59f1048 ebde871e e3500000 1a000007 e5943004 e1a00007
[   27.962165] 25b0  e12fff33 e3500000 0a000002 e59f0028 e1a01005 ebf393be e284400c e1540006
[   27.962195] 25d0  3affffe2 e3a00000 e8bd80f8 c0bd3d20 c0bd41f4 c0984600 c0984483 c098448c
[   27.962225] 25f0  e92d4038 e2515000 e1a04000 0a000014 ebde8742 e2803001 e0843003 e1550003
[   27.962256] 2610  03a0303d 05453001 0a00000d e2800002 e0844000 e1550004 1a000008 e3a0303d
[   27.962286] 2630  e1a00005 e5453002 ebde8734 e1a01005 e2802001 e2450001 ebde6648 ea000000
[   27.962317] 2650  e7f001f2 e3a00000 e8bd8038 e92d45f8 e1a04000 e1a06001 ebffffe0 e1a00004
[   27.962352] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0 #344
[   27.962385] [<c0013e24>] (unwind_backtrace+0x0/0xe0) from [<c001172c>] (show_stack+0x10/0x14)
[   27.962410] [<c001172c>] (show_stack+0x10/0x14) from [<c0099f9c>] (watchdog_timer_fn+0x108/0x168)
[   27.962434] [<c0099f9c>] (watchdog_timer_fn+0x108/0x168) from [<c005614c>] (__run_hrtimer+0x1a4/0x2b8)
[   27.962455] [<c005614c>] (__run_hrtimer+0x1a4/0x2b8) from [<c0056d4c>] (hrtimer_interrupt+0x11c/0x278)
[   27.962481] [<c0056d4c>] (hrtimer_interrupt+0x11c/0x278) from [<c0540fb4>] (arch_timer_handler_phys+0x28/0x30)
[   27.962507] [<c0540fb4>] (arch_timer_handler_phys+0x28/0x30) from [<c009d874>] (handle_percpu_devid_irq+0xf8/0x1b4)
[   27.962530] [<c009d874>] (handle_percpu_devid_irq+0xf8/0x1b4) from [<c009a474>] (generic_handle_irq+0x20/0x30)
[   27.962553] [<c009a474>] (generic_handle_irq+0x20/0x30) from [<c000e3ac>] (handle_IRQ+0x64/0x8c)
[   27.962574] [<c000e3ac>] (handle_IRQ+0x64/0x8c) from [<c0008538>] (gic_handle_irq+0x34/0x58)
[   27.962594] [<c0008538>] (gic_handle_irq+0x34/0x58) from [<c000d600>] (__irq_svc+0x40/0x70)
[   27.962608] Exception stack(0xde873ec0 to 0xde873f08)
[   27.962625] 3ec0: de8ffb08 00000000 0000fb04 0000de8f c0c3fbcc de8ffb00 de8ffb08 c09ee567
[   27.962643] 3ee0: c0cb4000 c0bd4864 c0ac25f0 00000000 00000000 de873f08 c025f434 c07c1bfc
[   27.962656] 3f00: 80000113 ffffffff
[   27.962677] [<c000d600>] (__irq_svc+0x40/0x70) from [<c07c1bfc>] (_raw_spin_lock+0x3c/0x50)
[   27.962699] [<c07c1bfc>] (_raw_spin_lock+0x3c/0x50) from [<c025f434>] (kset_find_obj+0x18/0xb8)
[   27.962722] [<c025f434>] (kset_find_obj+0x18/0xb8) from [<c02cc8a8>] (driver_find+0x18/0x34)
[   27.962743] [<c02cc8a8>] (driver_find+0x18/0x34) from [<c02cc93c>] (driver_register+0x78/0x138)
[   27.962763] [<c02cc93c>] (driver_register+0x78/0x138) from [<c00086a4>] (do_one_initcall+0x34/0xc8)
[   27.962786] [<c00086a4>] (do_one_initcall+0x34/0xc8) from [<c0ac2b28>] (do_initcalls+0x70/0xa0)
[   27.962809] [<c0ac2b28>] (do_initcalls+0x70/0xa0) from [<c0ac2be8>] (kernel_init_freeable+0x90/0x130)
[   27.962832] [<c0ac2be8>] (kernel_init_freeable+0x90/0x130) from [<c07a17f8>] (kernel_init+0x8/0xe4)

[   27.962854] [<c07a17f8>] (kernel_init+0x8/0xe4) from [<c000da98>] (ret_from_fork+0x14/0x3c)

背景: 当平板接着TP芯片的时候,系统能正常启动,当系统没有挂载TP芯片,系统无法正常启动,

分析原因: 在驱动probe 的时候 使用了devm_kzalloc 申请了内存,当i2c通信检测不到TPx芯片的时候,出错调用了kfree(ts);释放了内存.return -1;但是devm_kzalloc是具有资源管理的 kzalloc()。使用资源管理(resource-managed)函数分配的内存,是会与所属设备相关联。当设备从系统中分离或者设备驱动被卸载,该内存会被自动释放,所以系统又会再次释放了这一部分的内存,造成系统跑飞了.

        input_free_device(ts->input);
-       kfree(ts);
+/*Use devm_kzalloc function application memory, do not need to release when err, because the system will automatically release
+so use kfree will let System error*/

+       //kfree(ts);
        return rc;

解决办法: 去到kfree(ts);




2: 背景: 原来系统使用2片512M的DDR, 后面只贴一片,系统起不来


[   18.902659] lowmem_reserve[]: 0 0 0
[   18.902679] Normal: 585*4kB (EC) 440*8kB (UC) 265*16kB (C) 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 10100kB
[   18.902739] 1933 total pagecache pages
[   18.902753] 0 pages in swap cache
[   18.902767] Swap cache stats: add 28461, delete 28461, find 473/6534
[   18.902782] Free swap  = 0kB
[   18.902792] Total swap = 65532kB
[   18.909241] 131072 pages of RAM
[   18.909255] 8029 free pages
[   18.909266] 4768 reserved pages
[   18.909277] 1887 slab pages
[   18.909288] 730 pages shared
[   18.909298] 0 pages swap cached
[   18.909310] [ pid ]   uid  tgid total_vm      rss nr_ptes swapents oom_score_adj name
[   18.909360] [  108]     0   108     2197       60       6      118         -1000 ueventd
[   18.909384] [  124]  1036   124     4660       10       8      164         -1000 logd
[   18.909406] [  125]     0   125     2460       40       5       61         -1000 healthd
[   18.909425] [  126]     0   126     2656        0       5       84         -1000 lmkd
[   18.909446] [  127]  1000   127     2365       18       4       73         -1000 servicemanager
[   18.909466] [  128]     0   128     4744        0       8      201         -1000 vold
[   18.909487] [  129]  1000   129    13086      110      25      298         -1000 surfaceflinger
[   18.909507] [  130]  2000   130     2331        7       4       71         -1000 sh
[   18.909527] [  131]     0   131     4160        0       7      127         -1000 rild
[   18.909548] [  132]     0   132     5710        5       9      147         -1000 netd
[   18.909569] [  133]     0   133     2525       13       5      168         -1000 debuggerd
[   18.909590] [  134]  1019   134     5807        0      10      272         -1000 drmserver
[   18.909610] [  135]  1013   135    12474        2      19      603         -1000 mediaserver
[   18.909631] [  136]  1012   136     2354        0       4       64         -1000 installd
[   18.909651] [  137]  1017   137     3125       11       6      141         -1000 keystore
[   18.909674] [  141]     0   141    10367       13      20      497         -1000 zygote
[   18.909694] [  142]  1023   142     3852        0       6       95         -1000 sdcard
[   18.909714] [  201]  1003   201   108610       85     213      676         -1000 bootanimation
[   18.909738] [  265]     0   265    75226     2891      49    12759         -1000 main
[   18.909756] Kernel panic - not syncing: Out of memory and no killable processes...
[   18.909756]
[   19.348695] CPU: 2 PID: 168 Comm: Binder_1 Not tainted 3.10.0 #4
[   19.354630] [<c0013e44>] (unwind_backtrace+0x0/0xe0) from [<c001175c>] (show_stack+0x10/0x14)
[   19.363020] [<c001175c>] (show_stack+0x10/0x14) from [<c07d4e90>] (panic+0x84/0x1e8)
[   19.370643] [<c07d4e90>] (panic+0x84/0x1e8) from [<c00ccb04>] (out_of_memory+0x150/0x1c0)
[   19.378691] [<c00ccb04>] (out_of_memory+0x150/0x1c0) from [<c00d0680>] (__alloc_pages_nodemask+0x670/0x87c)
[   19.388277] [<c00d0680>] (__alloc_pages_nodemask+0x670/0x87c) from [<c05a4b28>] (ion_page_pool_alloc+0x6c/0x9c)
[   19.398203] [<c05a4b28>] (ion_page_pool_alloc+0x6c/0x9c) from [<c05a50e8>] (alloc_largest_available+0x60/0xa0)
[   19.408043] [<c05a50e8>] (alloc_largest_available+0x60/0xa0) from [<c05a518c>] (ion_system_heap_allocate+0x64/0x21c)
[   19.418394] [<c05a518c>] (ion_system_heap_allocate+0x64/0x21c) from [<c05a236c>] (ion_buffer_create+0x68/0x2a0)
[   19.428318] [<c05a236c>] (ion_buffer_create+0x68/0x2a0) from [<c05a365c>] (ion_alloc+0x88/0x1e0)
[   19.436961] [<c05a365c>] (ion_alloc+0x88/0x1e0) from [<c05a3950>] (ion_ioctl+0x120/0x310)
[   19.445010] [<c05a3950>] (ion_ioctl+0x120/0x310) from [<c0117db0>] (do_vfs_ioctl+0x210/0x240)
[   19.453401] [<c0117db0>] (do_vfs_ioctl+0x210/0x240) from [<c0117e30>] (SyS_ioctl+0x50/0x6c)
[   19.461620] [<c0117e30>] (SyS_ioctl+0x50/0x6c) from [<c000da00>] (ret_fast_syscall+0x0/0x30)
[   19.469917] CPU0: stopping
[   19.472590] CPU: 0 PID: 129 Comm: surfaceflinger Not tainted 3.10.0 #4
[   19.479021] [<c0013e44>] (unwind_backtrace+0x0/0xe0) from [<c001175c>] (show_stack+0x10/0x14)
[   19.487409] [<c001175c>] (show_stack+0x10/0x14) from [<c0012f1c>] (handle_IPI+0x154/0x2c8)
[   19.495540] [<c0012f1c>] (handle_IPI+0x154/0x2c8) from [<c0008554>] (gic_handle_irq+0x50/0x58)
[   19.504012] [<c0008554>] (gic_handle_irq+0x50/0x58) from [<c000d600>] (__irq_svc+0x40/0x70)
[   19.512222] Exception stack(0xdf4f9ba8 to 0xdf4f9bf0)
[   19.517194] 9ba0:                   00000002 00000001 00000002 c116ab80 c0b652a8 c11565c0
[   19.525237] 9bc0: c11565c4 c0b64cf4 00000001 c0b5cb80 00000004 c1168540 00000002 df4f9bf0
[   19.533277] 9be0: c00850a4 c0085084 00070113 ffffffff
[   19.538255] [<c000d600>] (__irq_svc+0x40/0x70) from [<c0085084>] (smp_call_function_many+0x25c/0x2b8)
[   19.547326] [<c0085084>] (smp_call_function_many+0x25c/0x2b8) from [<c0085110>] (on_each_cpu_mask+0x30/0x84)
[   19.556994] [<c0085110>] (on_each_cpu_mask+0x30/0x84) from [<c00d05ac>] (__alloc_pages_nodemask+0x59c/0x87c)
[   19.566662] [<c00d05ac>] (__alloc_pages_nodemask+0x59c/0x87c) from [<c00fd95c>] (allocate_slab+0x4c/0xe0)
[   19.576074] [<c00fd95c>] (allocate_slab+0x4c/0xe0) from [<c00fda1c>] (new_slab+0x2c/0x130)
[   19.584206] [<c00fda1c>] (new_slab+0x2c/0x130) from [<c07d8c18>] (__slab_alloc.isra.47.constprop.50+0x248/0x318)
[   19.594215] [<c07d8c18>] (__slab_alloc.isra.47.constprop.50+0x248/0x318) from [<c00feb34>] (kmem_cache_alloc+0x6c/0x1c0)
[   19.604908] [<c00feb34>] (kmem_cache_alloc+0x6c/0x1c0) from [<c0279efc>] (radix_tree_preload+0x68/0xd8)
[   19.614151] [<c0279efc>] (radix_tree_preload+0x68/0xd8) from [<c00f7238>] (read_swap_cache_async+0x60/0x18c)
[   19.623819] [<c00f7238>] (read_swap_cache_async+0x60/0x18c) from [<c00f73c4>] (swapin_readahead+0x60/0xa4)
[   19.633317] [<c00f73c4>] (swapin_readahead+0x60/0xa4) from [<c00e8458>] (do_swap_page.isra.69+0x8c/0x44c)
[   19.642729] [<c00e8458>] (do_swap_page.isra.69+0x8c/0x44c) from [<c00ea300>] (handle_mm_fault+0xc0/0xdc)
[   19.652056] [<c00ea300>] (handle_mm_fault+0xc0/0xdc) from [<c0018d20>] (do_page_fault+0xb4/0x2b8)
[   19.660784] [<c0018d20>] (do_page_fault+0xb4/0x2b8) from [<c0008408>] (do_DataAbort+0x34/0x98)
[   19.669256] [<c0008408>] (do_DataAbort+0x34/0x98) from [<c000d774>] (__dabt_usr+0x34/0x40)
[   19.677380] Exception stack(0xdf4f9fb0 to 0xdf4f9ff8)
[   19.682350] 9fa0:                                     b6485480 b64a6440 ffffffc0 00000000
[   19.690393] 9fc0: 00000001 b64b1800 00000000 b64854c0 b64a6440 00000004 b646f740 00000001
[   19.698435] 9fe0: b5bfb1cc beb1afd8 b5ad143c b6f4644c 80070010 ffffffff
[   19.704938] CPU1: stopping
[   19.707608] CPU: 1 PID: 417 Comm: Compiler driver Not tainted 3.10.0 #4
[   19.714122] [<c0013e44>] (unwind_backtrace+0x0/0xe0) from [<c001175c>] (show_stack+0x10/0x14)
[   19.722510] [<c001175c>] (show_stack+0x10/0x14) from [<c0012f1c>] (handle_IPI+0x154/0x2c8)
[   19.730641] [<c0012f1c>] (handle_IPI+0x154/0x2c8) from [<c0008554>] (gic_handle_irq+0x50/0x58)
[   19.739112] [<c0008554>] (gic_handle_irq+0x50/0x58) from [<c000d600>] (__irq_svc+0x40/0x70)
[   19.747321] Exception stack(0xcb5f5980 to 0xcb5f59c8)
[   19.752294] 5980: 00000002 00000001 00000002 c116adc8 c0b652a8 c115f5c0 c115f5c4 c0b64cf4
[   19.760337] 59a0: 00000001 c0b5cdc8 00000004 c1171540 00000001 cb5f59c8 c00850a4 c008507c
[   19.768374] 59c0: 00070113 ffffffff
[   19.771816] [<c000d600>] (__irq_svc+0x40/0x70) from [<c008507c>] (smp_call_function_many+0x254/0x2b8)
[   19.780886] [<c008507c>] (smp_call_function_many+0x254/0x2b8) from [<c0085110>] (on_each_cpu_mask+0x30/0x84)
[   19.790553] [<c0085110>] (on_each_cpu_mask+0x30/0x84) from [<c00d05ac>] (__alloc_pages_nodemask+0x59c/0x87c)
[   19.800220] [<c00d05ac>] (__alloc_pages_nodemask+0x59c/0x87c) from [<c00fd95c>] (allocate_slab+0x4c/0xe0)
[   19.809630] [<c00fd95c>] (allocate_slab+0x4c/0xe0) from [<c00fda1c>] (new_slab+0x2c/0x130)
[   19.817761] [<c00fda1c>] (new_slab+0x2c/0x130) from [<c07d8c18>] (__slab_alloc.isra.47.constprop.50+0x248/0x318)
[   19.827770] [<c07d8c18>] (__slab_alloc.isra.47.constprop.50+0x248/0x318) from [<c00feb34>] (kmem_cache_alloc+0x6c/0x1c0)
[   19.838460] [<c00feb34>] (kmem_cache_alloc+0x6c/0x1c0) from [<c00cc020>] (mempool_alloc+0x38/0x114)
[   19.847363] [<c00cc020>] (mempool_alloc+0x38/0x114) from [<c013699c>] (bio_alloc_bioset+0x100/0x198)
[   19.856350] [<c013699c>] (bio_alloc_bioset+0x100/0x198) from [<c013c4ec>] (mpage_alloc+0x2c/0x94)
[   19.865078] [<c013c4ec>] (mpage_alloc+0x2c/0x94) from [<c013d2c8>] (do_mpage_readpage+0x4f8/0x5f4)
[   19.873892] [<c013d2c8>] (do_mpage_readpage+0x4f8/0x5f4) from [<c013d4d8>] (mpage_readpages+0x9c/0xf8)
[   19.883048] [<c013d4d8>] (mpage_readpages+0x9c/0xf8) from [<c00d2d5c>] (read_pages+0x44/0xdc)
[   19.891437] [<c00d2d5c>] (read_pages+0x44/0xdc) from [<c00d2f28>] (__do_page_cache_readahead+0x134/0x154)
[   19.900849] [<c00d2f28>] (__do_page_cache_readahead+0x134/0x154) from [<c00d319c>] (ra_submit+0x20/0x24)
[   19.910175] [<c00d319c>] (ra_submit+0x20/0x24) from [<c00cba60>] (filemap_fault+0xfc/0x2c8)
[   19.918391] [<c00cba60>] (filemap_fault+0xfc/0x2c8) from [<c00e6d8c>] (__do_fault+0xb8/0x45c)
[   19.926781] [<c00e6d8c>] (__do_fault+0xb8/0x45c) from [<c00ea168>] (handle_pte_fault+0xd0/0x1a8)
[   19.935424] [<c00ea168>] (handle_pte_fault+0xd0/0x1a8) from [<c00ea300>] (handle_mm_fault+0xc0/0xdc)
[   19.944408] [<c00ea300>] (handle_mm_fault+0xc0/0xdc) from [<c0018d20>] (do_page_fault+0xb4/0x2b8)
[   19.953135] [<c0018d20>] (do_page_fault+0xb4/0x2b8) from [<c00084a0>] (do_PrefetchAbort+0x34/0x98)
[   19.961948] [<c00084a0>] (do_PrefetchAbort+0x34/0x98) from [<c000d994>] (ret_from_exception+0x0/0x10)
[   19.971010] Exception stack(0xcb5f5fb0 to 0xcb5f5ff8)
[   19.975980] 5fa0:                                     ace2e820 ac85e480 ac85e480 b5c8c380
[   19.984023] 5fc0: ace2e840 ace2e8d8 ace2e800 b69c2df4 ace2e830 ace2e820 00000000 ace2e8d8
[   19.992065] 5fe0: 20000000 ace2e7f8 b6e2d213 b6e2b034 80070030 ffffffff
[   19.998569] CPU3: stopping
[   20.001240] CPU: 3 PID: 415 Comm: Compiler driver Not tainted 3.10.0 #4
[   20.007754] [<c0013e44>] (unwind_backtrace+0x0/0xe0) from [<c001175c>] (show_stack+0x10/0x14)
[   20.016140] [<c001175c>] (show_stack+0x10/0x14) from [<c0012f1c>] (handle_IPI+0x154/0x2c8)
[   20.024271] [<c0012f1c>] (handle_IPI+0x154/0x2c8) from [<c0008554>] (gic_handle_irq+0x50/0x58)
[   20.032743] [<c0008554>] (gic_handle_irq+0x50/0x58) from [<c000d600>] (__irq_svc+0x40/0x70)
[   20.040951] Exception stack(0xcc1c38b0 to 0xcc1c38f8)
[   20.045920] 38a0:                                     00000002 00000001 00000002 c116b2b0
[   20.053964] 38c0: c0b652a8 c11715c0 c11715c4 c0b64cf4 00000001 c0b5d2b0 00000004 c1168540
[   20.062006] 38e0: 00000002 cc1c38f8 c00850a4 c0085084 000d0113 ffffffff
[   20.068517] [<c000d600>] (__irq_svc+0x40/0x70) from [<c0085084>] (smp_call_function_many+0x25c/0x2b8)
[   20.077587] [<c0085084>] (smp_call_function_many+0x25c/0x2b8) from [<c0085110>] (on_each_cpu_mask+0x30/0x84)
[   20.087255] [<c0085110>] (on_each_cpu_mask+0x30/0x84) from [<c00d05ac>] (__alloc_pages_nodemask+0x59c/0x87c)
[   20.096922] [<c00d05ac>] (__alloc_pages_nodemask+0x59c/0x87c) from [<c00fd95c>] (allocate_slab+0x4c/0xe0)
[   20.106332] [<c00fd95c>] (allocate_slab+0x4c/0xe0) from [<c00fda1c>] (new_slab+0x2c/0x130)
[   20.114463] [<c00fda1c>] (new_slab+0x2c/0x130) from [<c07d8c18>] (__slab_alloc.isra.47.constprop.50+0x248/0x318)
[   20.124472] [<c07d8c18>] (__slab_alloc.isra.47.constprop.50+0x248/0x318) from [<c00feb34>] (kmem_cache_alloc+0x6c/0x1c0)
[   20.135162] [<c00feb34>] (kmem_cache_alloc+0x6c/0x1c0) from [<c00cc020>] (mempool_alloc+0x38/0x114)
[   20.144063] [<c00cc020>] (mempool_alloc+0x38/0x114) from [<c0260348>] (__get_request+0x1e8/0x410)
[   20.152793] [<c0260348>] (__get_request+0x1e8/0x410) from [<c02605e8>] (get_request+0x78/0x18c)
[   20.161349] [<c02605e8>] (get_request+0x78/0x18c) from [<c02615d4>] (blk_queue_bio+0x130/0x2f4)
[   20.169908] [<c02615d4>] (blk_queue_bio+0x130/0x2f4) from [<c025fed4>] (generic_make_request.part.48+0x4c/0x80)
[   20.179832] [<c025fed4>] (generic_make_request.part.48+0x4c/0x80) from [<c0260038>] (submit_bio+0xd4/0xec)
[   20.189329] [<c0260038>] (submit_bio+0xd4/0xec) from [<c013d278>] (do_mpage_readpage+0x4a8/0x5f4)
[   20.198058] [<c013d278>] (do_mpage_readpage+0x4a8/0x5f4) from [<c013d4d8>] (mpage_readpages+0x9c/0xf8)
[   20.207213] [<c013d4d8>] (mpage_readpages+0x9c/0xf8) from [<c00d2d5c>] (read_pages+0x44/0xdc)
[   20.215603] [<c00d2d5c>] (read_pages+0x44/0xdc) from [<c00d2f28>] (__do_page_cache_readahead+0x134/0x154)
[   20.225015] [<c00d2f28>] (__do_page_cache_readahead+0x134/0x154) from [<c00d319c>] (ra_submit+0x20/0x24)
[   20.234340] [<c00d319c>] (ra_submit+0x20/0x24) from [<c00cba60>] (filemap_fault+0xfc/0x2c8)
[   20.242556] [<c00cba60>] (filemap_fault+0xfc/0x2c8) from [<c00e6d8c>] (__do_fault+0xb8/0x45c)
[   20.250944] [<c00e6d8c>] (__do_fault+0xb8/0x45c) from [<c00ea168>] (handle_pte_fault+0xd0/0x1a8)
[   20.259588] [<c00ea168>] (handle_pte_fault+0xd0/0x1a8) from [<c00ea300>] (handle_mm_fault+0xc0/0xdc)
[   20.268572] [<c00ea300>] (handle_mm_fault+0xc0/0xdc) from [<c0018d20>] (do_page_fault+0xb4/0x2b8)
[   20.277300] [<c0018d20>] (do_page_fault+0xb4/0x2b8) from [<c0008408>] (do_DataAbort+0x34/0x98)
[   20.285772] [<c0008408>] (do_DataAbort+0x34/0x98) from [<c000d774>] (__dabt_usr+0x34/0x40)
[   20.293895] Exception stack(0xcc1c3fb0 to 0xcc1c3ff8)
[   20.298865] 3fa0:                                     ad82d810 ad82d7f8 b4f73860 b6ed8a74
[   20.306909] 3fc0: b4f73e9c ad82d8d8 ad82d800 b69c2df4 ad82d7f8 b503c24c 00000000 ad82d8d8
[   20.314951] 3fe0: 00000085 ad82d798 b6e2d1eb b6ce6df0 200d0030 ffffffff
[   20.321455] CRU:
[   20.323273] 00000000: 0000204c 00001441 00000000 00000000
[   20.328585] 00000010: 00002042 00001441 00000001 00000000
[   20.333896] 00000020: 000020c8 00001446 00000000 00000000
[   20.339207] 00000030: 00002063 00001442 00000000 00000000
[   20.344519] 00000040: 00001111 00002100 00003113 00004307
[   20.349831] 00000050: 00004100 00000043 00008003 00004100
[   20.355143] 00000060: 01885091 0bb8ea60 0000401f 00002101
[   20.360455] 00000070: 00004047 00000147 0000521f 0000021f
[   20.365767] 00000080: 0000021f 00000200 0bb8ea60 0bb8ea60
[   20.371078] 00000090: 0bb8ea60 01885091 00000000 00000000
[   20.376390] 000000a0: 00000101 00001701 0000011f 00000000
[   20.381701] 000000b0: 00000b01 00000300 00000501 00004300
[   20.387014] 000000c0: 00002121 00002121 00000000 00002201
[   20.392325] 000000d0: 0000a000 00004f90 000083f0 0000dfdc
[   20.397638] 000000e0: 00000070 00000245 00000c30 0000d092
[   20.402950] 000000f0: 000000f3 000017e0 0000fc07 00000000
[   20.408260] 00000100: 00000000 00000000 00000000 00000000
[   20.413571] 00000110: 00000000 00000000 00000000 00000000
[   20.418882] 00000120: 00000000 00000000 00000000 00000000
[   20.424193] 00000130: 00000000 00000000 00000000 00000000
[   20.429504] 00000140: 3a981064 00000000 00000000 00000000
[   20.434815] 00000150: 00000002 00000000 00000000 00000000
[   20.440126] 00000160: 00000000 00000000 00000000 00000000
[   20.445437] 00000170: 00000000 00000000 00000000 00000000
[   20.450748] 00000180: 00000000 00000000 00000000 00000000
[   20.456059] 00000190: 00000000 00000000 00000000 00000000
[   20.461370] 000001a0: 00000000 00000000 00000000 00000000
[   20.466680] 000001b0: 00000000 00000000 00000000 00000000
[   20.471992] 000001c0: 00000004 00000000 00000004 00000000
[   20.477302] 000001d0: 00000000 00000000 00000004 00000000
[   20.482613] 000001e0: 00000000 00000000 00000000 00000000
[   20.487924] 000001f0: 00005a5a 00000000 00000000 00000000
[   20.493236] 00000200: 0000204c 00001441 00000000 00000000
[   20.498548] 00000210: 00002042 00001441 00000001 00000000
[   20.503858] Rebooting in 5 seconds..

原因是: 开机logo 动画占用太大内存,删除一些即可



cat proc/kmsg:

反复打印:

<6>[ 1617.919076] lowmemorykiller: Killing 'droid.bluetooth' (24895), adj 58,
<6>[ 1617.919076]    to free 807280kB on behalf of 'kswapd0' (60) because
<6>[ 1617.919076]    cache 44104kB is below limit 49152kB for oom_score_adj 0
<6>[ 1617.919076]    Free memory is -11832kB above reserved
<6>[ 1618.233967] binder: send failed reply for transaction 240674 to 443:472
<6>[ 1622.015799] lowmemorykiller: Killing 'ericenceService' (24924), adj 294,
<6>[ 1622.015799]    to free 10568kB on behalf of 'kswapd0' (60) because
<6>[ 1622.015799]    cache 43408kB is below limit 49152kB for oom_score_adj 0
<6>[ 1622.015799]    Free memory is -11784kB above reserved
<6>[ 1622.030044] lowmemorykiller: Killing 'droid.bluetooth' (24937), adj 58,
<6>[ 1622.030044]    to free 807272kB on behalf of 'kswapd0' (60) because
<6>[ 1622.030044]    cache 42668kB is below limit 49152kB for oom_score_adj 0
<6>[ 1622.030044]    Free memory is -12004kB above reserved
<6>[ 1622.350287] binder: send failed reply for transaction 240923 to 443:472
<6>[ 1626.144102] lowmemorykiller: Killing 'ericenceService' (24968), adj 294,
<6>[ 1626.144102]    to free 10628kB on behalf of 'kswapd0' (60) because
<6>[ 1626.144102]    cache 42052kB is below limit 49152kB for oom_score_adj 0
<6>[ 1626.144102]    Free memory is -11868kB above reserved
<6>[ 1626.157445] lowmemorykiller: Killing 'droid.bluetooth' (24981), adj 58,
<6>[ 1626.157445]    to free 808636kB on behalf of 'kswapd0' (60) because
<6>[ 1626.157445]    cache 41120kB is below limit 49152kB for oom_score_adj 0
<6>[ 1626.157445]    Free memory is -11828kB above reserved
<6>[ 1626.472962] binder: send failed reply for transaction 241223 to 443:472

根据log 显示是蓝牙的问题,后面直接吧蓝牙干掉就成功了. 应该是蓝牙一只打开关闭照成

0 0
原创粉丝点击