Android手機的Linux發生Kernel Panic ..

在作monkey測試的時候, 發生kernel panic
但是發生機率很低, 加上目前硬體還不穩定, 所以努力複現中…

關於Kernel Panic 稍微google了一下
第一. 可以先了解什麼是Linux kernel panic (參考1)
第二. 怎麼看LOG (參考2)

以下就是發生kernel panic的LOG,
隨意分析與註解一下

[38373.777729] Unable to handle kernel NULL pointer dereference at virtual address 00000000
[38373.784640] Unable to handle kernel NULL pointer dereference at virtual address 00000224

這個pgd is short for "page global directory", 
the kernel's name for the top level of a page table.
[38373.784647] pgd = da350000
[38373.784651] [00000224] *pgd=00000000

下方數字5表示Oops的錯誤碼(詳情請trace code),#1表示这个错误发生一次.
[38373.784661] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[38373.784667] Modules linked in: wlan(O) [last unloaded: wlan]
[38373.784680] CPU: 0    Tainted: G        W  O  (3.4.0-g6e71111 #1)


PC 或 EIP 會去指出發生錯誤的地方, 此處是PC指出
所以是在contextidr_notifier的offset為0x10的位址發生了錯誤,
此時用objdump -d,將該模組反組譯,觀察該位址應該就可以猜出來是怎麼一回事。

[38373.784695] PC is at contextidr_notifier+0x10/0x40
[38373.784704] LR is at notifier_call_chain+0x38/0x68
[38373.784712] pc : []    lr : []    psr: 60000013
[38373.784715] sp : cf6d7d08  ip : c0f29fd8  fp : cf6d7df4
[38373.784720] r10: e9d8bdc0  r9 : ea0d8000  r8 : c0f2836c
[38373.784727] r7 : e9402000  r6 : 00000002  r5 : 00000000  r4 : ffffffff
[38373.784733] r3 : 00000000  r2 : e9402000  r1 : 00000002  r0 : c0f29fd8
[38373.784741] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[38373.784747] Control: 10c5787d  Table: 2a0dc06a  DAC: 00000015
[38373.784753] 
[38373.784755] PC: 0xc0114e78:
[38373.784759] 4e78  ee0d4f30 f57ff06f e8bd8010 e92d4070 e2805e16 e1a04000 e1a00005 e1a06001
[38373.784773] 4e98  eb202eea e59f3040 e1a01000 e1a00005 e593200c e594315c e0223003 e1b03423
[38373.784788] 4eb8  13a03000 1584615c 15843158 eb202fd6 e1a0200d e2841f56 e3c23d7f e3c3303f
[38373.784803] 4ed8  e5930014 e8bd4070 ea09ec62 c0f29fd8 e3510002 e92d4010 1a00000a e592300c
[38373.784818] 4ef8  e5930224 e10f4000 f10c0080 ee1d3f30 e6ef3073 e1830400 ebffffd3 e121f004
[38373.784832] 4f18  e3a00001 e8bd8010 e3a00000 e8bd8010 e92d4008 ee1d0f30 e3c000ff ebffffca
[38373.784847] 4f38  f57ff04f e3a03000 ee083f13 f57ff04f f57ff06f e59f2014 e5922000 e3120008
[38373.784861] 4f58  08bd8008 ee073f11 f57ff04f e8bd8008 c0f1e4d8 e92d4038 e1a0200d e3c23d7f
[38373.784877] 
[38373.784878] LR: 0xc0922ea0:
[38373.784881] 2ea0  e3c13dff e7951180 e3c3303f e2833103 e0832002 e7831180 e5943004 e5823004
[38373.784896] 2ec0  ee072f3a f57ff04f ea000003 e1a00003 e1a01006 e1a0200c ebdfbc4d e3a00000
[38373.784910] 2ee0  e8bd80f8 c0f531c8 e92d41f0 e1a06001 e590c000 e1a07002 e1a04003 e59d5018
[38373.784925] 2f00  e3a00000 ea00000d e59c3000 e1a0000c e1a01006 e1a02007 e59c8004 e12fff33
[38373.784939] 2f20  e3550000 15953000 12833001 15853000 e3100902 18bd81f0 e2444001 e1a0c008
[38373.784953] 2f40  e3540000 135c0000 1affffee e8bd81f0 e92d40f7 e1a04003 e1a07000 e1a06001
[38373.784967] 2f60  e1a05002 ebe368ed e59d3020 e1a01006 e1a02005 e2870004 e58d3000 e1a03004
[38373.784982] 2f80  ebffffd8 e1a04000 ebe36ce1 e1a00004 e8bd80fe e3a03000 e92d4007 e58d3000
[38373.784997] 
[38373.784998] SP: 0xcf6d7c88:
[38373.785002] 7c88  c30e3570 c0f49cc0 38a5f3a8 c0191900 c0f2b1e8 c0114ef8 60000013 ffffffff
[38373.785016] 7ca8  cf6d7cf4 c0f2836c ea0d8000 e9d8bdc0 cf6d7df4 c0921418 c0f29fd8 00000002
[38373.785031] 7cc8  e9402000 00000000 ffffffff 00000000 00000002 e9402000 c0f2836c ea0d8000
[38373.785045] 7ce8  e9d8bdc0 cf6d7df4 c0f29fd8 cf6d7d08 c0922f20 c0114ef8 60000013 ffffffff
[38373.785059] 7d08  ffffffff c0922f20 ffffffff e9402000 00000002 c10f4824 e99dddc0 c0922f84
[38373.785073] 7d28  00000000 00000002 e9402000 e940201c e8148e40 cf6d6000 00000000 c0922fa8
[38373.785087] 7d48  00000000 00000002 e9402000 c0921858 00000000 c0f1fdc0 c0f12c70 c0f12c70
[38373.785102] 7d68  1877c34f 00000000 c0f158c0 c091e47c c0f124d0 c0f158c0 97cd0c7b 000022e6
[38373.785117] 
[38373.785119] IP: 0xc0f29f58:
[38373.785122] 9f58  00000000 00000043 00000001 00000000 00000000 00000043 00000001 00010412
[38373.785136] 9f78  00000000 00000000 00000000 0001941e 00000000 00000000 00000000 0001141e
[38373.785150] 9f98  00000000 00000000 00000000 0001940e 00000000 0000045f 00000001 00000000
[38373.785164] 9fb8  00000000 000007d3 00000041 00010442 00000002 c01147b8 c0f2ae34 00000000
[38373.785178] 9fd8  c0114ee8 c0f2836c 00000000 00008c7b c0c1155f 00000000 00000000 00000000
[38373.785192] 9ff8  c01152c0 00000000 c01157d8 00000000 c0115748 c01156a0 c0115868 c01152e0
[38373.785206] a018  c01154d0 00000000 c011535c 00000000 00000000 00000000 00000000 00000000
[38373.785219] a038  00000000 00000000 00000000 00000000 c0f28758 c0f41948 c01153e0 c0115afc
[38373.785234] 
[38373.785236] FP: 0xcf6d7d74:
[38373.785239] 7d74  c091e47c c0f124d0 c0f158c0 97cd0c7b 000022e6 00000001 c30e68c0 cf6d7de4
[38373.785253] 7d94  c01ca574 00000000 00000000 00000005 97cc89aa 000022e6 e9d8bdc0 c30e68c0
[38373.785267] 7db4  00000005 c30e68c0 c0f158c0 cf6d7de4 c01c2fd0 00000100 e9d8bdc0 00000000
[38373.785281] 7dd4  c118c040 003a1c79 c118c040 0000006e 000003e8 eb3aaad0 cf6d7eb4 cf6d6000
[38373.785295] 7df4  c091e47c c30e68c0 a0000013 c118c930 c118c930 003a1c79 c118c040 c01a5574
[38373.785310] 7e14  e8148e40 ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000
[38373.785324] 7e34  271ae91c cf6d7e5c e749cc00 00000000 00000001 e749ccb8 c06f5244 eb3aaa00
[38373.785338] 7e54  c0714558 e749cc00 00000000 e8148e40 c01c5e54 e749ccbc e749ccbc 0008a390
[38373.785353] 
[38373.785355] R0: 0xc0f29f58:
[38373.785359] 9f58  00000000 00000043 00000001 00000000 00000000 00000043 00000001 00010412
[38373.785373] 9f78  00000000 00000000 00000000 0001941e 00000000 00000000 00000000 0001141e
[38373.785386] 9f98  00000000 00000000 00000000 0001940e 00000000 0000045f 00000001 00000000
[38373.785400] 9fb8  00000000 000007d3 00000041 00010442 00000002 c01147b8 c0f2ae34 00000000
[38373.785414] 9fd8  c0114ee8 c0f2836c 00000000 00008c7b c0c1155f 00000000 00000000 00000000
[38373.785428] 9ff8  c01152c0 00000000 c01157d8 00000000 c0115748 c01156a0 c0115868 c01152e0
[38373.785442] a018  c01154d0 00000000 c011535c 00000000 00000000 00000000 00000000 00000000
[38373.785456] a038  00000000 00000000 00000000 00000000 c0f28758 c0f41948 c01153e0 c0115afc
[38373.785471] 
[38373.785472] R2: 0xe9401f80:
[38373.785475] 1f80  0000c8c0 00000000 00000040 00000040 000aebea 2756ccf4 e9401f98 e9401f98
[38373.785490] 1fa0  00100010 ffffffff 00000000 00000000 00000000 0000007f 00000000 0000001c
[38373.785503] 1fc0  e9401fc0 e9401fc0 02a202a2 00000000 00000000 00000000 01140114 00010a69
[38373.785517] 1fe0  0000bd4b 00000000 e9401ff0 e9401fec 0001f30a 00000004 00000000 00000000
[38373.785531] 2000  00000008 005e925f 00000000 00000000 00000000 00000000 00000000 00000000
[38373.785544] 2020  00000000 00000000 00000000 00000000 00000000 00000000 000000bd 00000000
[38373.785558] 2040  00000004 00080080 00000000 00200020 e9402050 e9402050 e9402058 e9402058
[38373.785572] 2060  00008000 00000000 00000000 02740274 e9402070 e9402070 00058180 00002715
[38373.785587] 
[38373.785589] R7: 0xe9401f80:
[38373.785592] 1f80  0000c8c0 00000000 00000040 00000040 000aebea 2756ccf4 e9401f98 e9401f98
[38373.785606] 1fa0  00100010 ffffffff 00000000 00000000 00000000 0000007f 00000000 0000001c
[38373.785620] 1fc0  e9401fc0 e9401fc0 02a202a2 00000000 00000000 00000000 01140114 00010a69
[38373.785634] 1fe0  0000bd4b 00000000 e9401ff0 e9401fec 0001f30a 00000004 00000000 00000000
[38373.785648] 2000  00000008 005e925f 00000000 00000000 00000000 00000000 00000000 00000000
[38373.785661] 2020  00000000 00000000 00000000 00000000 00000000 00000000 000000bd 00000000
[38373.785675] 2040  00000004 00080080 00000000 00200020 e9402050 e9402050 e9402058 e9402058
[38373.785690] 2060  00008000 00000000 00000000 02740274 e9402070 e9402070 00058180 00002715
[38373.785704] 
[38373.785706] R8: 0xc0f282ec:
[38373.785709] 82ec  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38373.785723] 830c  00000000 00000000 636f6c00 6f646c61 6e69616d 00000000 00000000 00000000
[38373.785737] 832c  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38373.785750] 834c  00000000 00000000 00000000 c0f4cd68 00008001 c0c0cfda 00000000 c01013e4
[38373.785764] 836c  c01010fc 00000000 00000000 c0101048 00000000 00000000 000000ff 20000000
[38373.785779] 838c  c0101a98 00000000 c0101a80 00000000 c0101a68 00000000 c01030cc 00000000
[38373.785792] 83ac  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38373.785806] 83cc  c01025a4 00000001 c010259c 00000001 c0102590 00000001 c0102584 00000001
[38373.785820] 
[38373.785822] R9: 0xea0d7f80:
[38373.785825] 7f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38373.785839] 7fa0  00000000 00000000 00000000 00000000 00000000 00000000 2b9b9811 2b9b9c11
[38373.785853] 7fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38373.785866] 7fe0  00000000 00000000 00000000 00000000 00000000 00000000 2def6821 2def6c21
[38373.785880] 8000  e869f738 ea1f5c24 00000000 c0112dbc c024760c b6f6c000 bf000000 00000000
[38373.785895] 8020  b284b000 ea0dc000 0000000d 00000001 00000167 d199d199 00000000 a578a578
[38373.785909] 8040  ea0d8040 ea0d8040 ea0d8048 ea0d8048 00000aaa 0000d3ac 00007f0d 00000000
[38373.785923] 8060  00000000 00006ed7 00000d82 00000022 00005f04 00000000 00000047 b6f6b000
[38373.785937] 
[38373.785939] R10: 0xe9d8bd40:
[38373.785943] bd40  00000000 eb3d79c0 eb218448 e9d8c208 00000000 e9d8bd54 e9d8bd54 00000000
[38373.785957] bd60  00000000 00000000 00000001 00000000 e9d8bd70 e9d8bd70 00000000 e9d8bd7c
[38373.785971] bd80  e9d8bd7c 00000000 00000000 00000000 00000000 00000000 00000020 00000000
[38373.785984] bda0  0000c350 0000c350 00000000 00000000 00000000 00000001 00000000 00000000
[38373.785998] bdc0  00000000 e9402000 00000002 00000040 00000000 00000000 00000001 00000001
[38373.786012] bde0  0000006f 0000006f 0000006f 00000000 c0a0af78 00000000 00001dc4 000899bc
[38373.786026] be00  00000001 00000000 00000000 c30e6d8c c30e6d8c 00000001 97cd0c7b 000022e6
[38373.786040] be20  342ca642 0000000e 15dabd8e 00002688 342ca642 0000000e 0000e830 00000000
[38373.786057] Process FastMixer (pid: 21242, stack limit = 0xcf6d62f0)
[38373.786063] Stack: (0xcf6d7d08 to 0xcf6d8000)
[38373.786070] 7d00:                   ffffffff c0922f20 ffffffff e9402000 00000002 c10f4824
[38373.786079] 7d20: e99dddc0 c0922f84 00000000 00000002 e9402000 e940201c e8148e40 cf6d6000
[38373.786087] 7d40: 00000000 c0922fa8 00000000 00000002 e9402000 c0921858 00000000 c0f1fdc0
[38373.786095] 7d60: c0f12c70 c0f12c70 1877c34f 00000000 c0f158c0 c091e47c c0f124d0 c0f158c0
[38373.786103] 7d80: 97cd0c7b 000022e6 00000001 c30e68c0 cf6d7de4 c01ca574 00000000 00000000
[38373.786111] 7da0: 00000005 97cc89aa 000022e6 e9d8bdc0 c30e68c0 00000005 c30e68c0 c0f158c0
[38373.786119] 7dc0: cf6d7de4 c01c2fd0 00000100 e9d8bdc0 00000000 c118c040 003a1c79 c118c040
[38373.786128] 7de0: 0000006e 000003e8 eb3aaad0 cf6d7eb4 cf6d6000 c091e47c c30e68c0 a0000013
[38373.786136] 7e00: c118c930 c118c930 003a1c79 c118c040 c01a5574 e8148e40 ffffffff ffffffff
[38373.786144] 7e20: 00000000 00000000 00000000 00000000 00000000 271ae91c cf6d7e5c e749cc00
[38373.786152] 7e40: 00000000 00000001 e749ccb8 c06f5244 eb3aaa00 c0714558 e749cc00 00000000
[38373.786160] 7e60: e8148e40 c01c5e54 e749ccbc e749ccbc 0008a390 e749cc00 eb3aaa00 00000000
[38373.786168] 7e80: 000000f0 00000020 00000000 eb3aaad0 00000000 c06f6de4 eb3aaa00 60000193
[38373.786176] 7ea0: ec3c0e40 c11dc388 b72316c8 00000000 b722662c 00000000 ec2a1260 00000003
[38373.786184] 7ec0: eb3aaa00 00000000 400c4150 00000020 cf6d6000 b5839a4c ea241ce0 c06f6fb4
[38373.786193] 7ee0: c06f5520 b72316c8 b5839a4c c06f35ec e752f0c0 00000000 b72316c8 000000f0
[38373.786201] 7f00: 00000000 e752f0c0 00000020 400c4150 00000020 c026c644 ea53bb00 c026d184
[38373.786209] 7f20: cf6d7f44 00000000 00000001 c034ab38 00000000 cf6d7f58 cf6d7f90 00000000
[38373.786218] 7f40: 00000000 00000001 00000000 ebb1b190 ea53bb00 cf6d7f3c 00000008 b7252c28
[38373.786226] 7f60: e752f0c0 00000000 e752f0c0 b5839a4c 400c4150 00000020 cf6d6000 00000000
[38373.786235] 7f80: b722662c c026d220 00000020 00000001 b7252c28 000003c0 b7221160 00000036
[38373.786243] 7fa0: c01062e4 c0106160 b7252c28 000003c0 00000020 400c4150 b5839a4c b5839a40
[38373.786252] 7fc0: b7252c28 000003c0 b7221160 00000036 b72211c4 b587a298 b587a268 b722662c
[38373.786260] 7fe0: 000003c0 b5839a30 b6f83f87 b6f776f8 800e0010 00000020 00000000 00000000


開始Backtrace的地方,這是oops kernel panic log 的精華。
它表示回溯信息,也告訴調試者在oops出錯之前,模塊調用了那些函數。
當然,在本實例中,可以看到模塊調用了contextidr_notifier後就出錯了,顯然錯誤就在contextidr_notifier中了

[38373.786278] [] (contextidr_notifier+0x10/0x40) from [] (notifier_call_chain+0x38/0x68)
[38373.786292] [] (notifier_call_chain+0x38/0x68) from [] (__atomic_notifier_call_chain+0x34/0x44)
[38373.786304] [] (__atomic_notifier_call_chain+0x34/0x44) from [] (atomic_notifier_call_chain+0x14/0x18)
[38373.786317] [] (atomic_notifier_call_chain+0x14/0x18) from [] (__switch_to+0x34/0x5c)
[38373.786327] Code: e3510002 e92d4010 1a00000a e592300c (e5930224) 
[38373.786386] ---[ end trace f3db8a93ae8449a4 ]---
[38373.786393] panic: rere = 0x46544443
[38373.786422] Kernel panic - not syncing: Fatal exception

以下好像是直接繼續另一個panic ...

[38374.899743] pgd = c0004000
[38374.902434] [00000000] *pgd=00000000
[38374.905999] Internal error: Oops: 5 [#2] PREEMPT SMP ARM
[38374.911283] Modules linked in: wlan(O) [last unloaded: wlan]
[38374.916934] CPU: 3    Tainted: G      D W  O  (3.4.0-g6e71111 #1)
[38374.923021] PC is at strcmp+0x8/0x3c
[38374.926576] LR is at msm_pm_get_sleep_mode_value+0x40/0x70
[38374.932048] pc : []    lr : []    psr: 20000093
[38374.932062] sp : ec89be70  ip : c60f3fc0  fp : 00000000
[38374.943493] r10: 00000000  r9 : c11693d8  r8 : c0f1f008
[38374.948703] r7 : 00000001  r6 : c11093d8  r5 : 00b00160  r4 : 0016002c
[38374.955211] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : c11093d8
[38374.961727] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[38374.969103] Control: 10c5787d  Table: 29d8406a  DAC: 00000015
[38374.974824] 
[38374.974830] PC: 0xc039890c:
[38374.979074] 890c  c0a33072 e3a03000 e7d12003 e3520000 e7c02003 e2833001 1afffffa e12fff1e
[38374.987236] 892c  e3a03000 ea000004 e5d1c000 e35c0000 e7c0c003 e2833001 12811001 e1530002
[38374.995394] 894c  1afffff8 e12fff1e e1a0c000 e1a0200c e28cc001 e5d23000 e3530000 1afffffa
[38375.003554] 896c  e7d1c003 e35c0000 e7c2c003 e2833001 1afffffa e12fff1e e3a03000 e7d02003
[38375.011713] 898c  e7d1c003 e152000c 0a000002 2a000006 e3e00000 e12fff1e e3520000 e2833001
[38375.019872] 89ac  1afffff5 e1a00002 e12fff1e e3a00001 e12fff1e e92d4010 e3a03000 ea000009
[38375.028032] 89cc  e7d0c003 e7d14003 e15c0004 0a000002 2a000008 e3e00000 e8bd8010 e35c0000
[38375.036192] 89ec  e2833001 0a000001 e1530002 1afffff3 e3a00000 e8bd8010 e3a00001 e8bd8010
[38375.044358] 
[38375.044364] LR: 0xc017a91c:
[38375.048605] a91c  e1a00006 e0823005 e5931004 eb087815 e3500000 028d3028 00835005 05150028
[38375.056767] a93c  0a000003 e2844001 e3540005 1afffff1 e3e00015 e28dd028 e8bd8070 c0a07890
[38375.064926] a95c  e92d4070 e1a06000 e59fe05c e24dd020 e3a04000 e1a0c00d e8be000f e8ac000f
[38375.073084] a97c  e89e000f e88c000f e1a05184 e28d2000 e1a00006 e0823005 e5931004 eb0877f9
[38375.081244] a99c  e3500000 028d3020 00835005 05150020 0a000003 e2844001 e3540004 1afffff1
[38375.089406] a9bc  e3e00015 e28dd020 e8bd8070 c0a078b8 e59f3040 e1a00002 e92d4030 e24dd014
[38375.097565] a9dc  e1a0100d e1a05002 e58d300c eb00e471 e2504000 da000004 e1a00005 e59f1018
[38375.105724] a9fc  e3a02a01 e2844001 eb08794f e1a00004 e28dd014 e8bd8030 c0f42d98 c0d02180
[38375.113887] 
[38375.113894] SP: 0xec89bdf0:
[38375.118138] bdf0  00000000 00000003 00000001 00000000 ec89be2c c039898c 20000093 ffffffff
[38375.126297] be10  ec89be5c c0f1f008 c11693d8 00000000 00000000 c0921418 c11093d8 00000000
[38375.134456] be30  00000000 00000000 0016002c 00b00160 c11093d8 00000001 c0f1f008 c11693d8
[38375.142616] be50  00000000 00000000 c60f3fc0 ec89be70 c017a99c c039898c 20000093 ffffffff
[38375.150776] be70  00860000 c0896c84 2c000000 ec00bea4 00115238 00000000 00000000 00000015
[38375.158937] be90  0000406a 10c5787d 00000000 00f00000 002c0000 00160003 ea006fc0 c1f193d8
[38375.167096] beb0  00160001 c000f008 c11193d8 00000000 00000060 c010aa64 00000001 00000003
[38375.175256] bed0  c0f28850 c08dc8a8 00000000 00000003 00000001 00000000 00000003 c0f1f008
[38375.183416] 
[38375.183423] IP: 0xc60f3f40:
[38375.187668] 3f40  01ffaaff c011cbe8 38a4f3f4 c5bde01c 02ffaaff c0115ed0 2107f3f5 fa00241c
[38375.195830] 3f60  05ffaaff c0114e78 5a1ef3f6 00651916 01ffaaff c01160e0 efb1f3f7 fa002c04
[38375.203988] 3f80  01ffaaff c011cbe8 38a4f3f8 c5bde01c 02ffaaff c0115f10 2107f3f9 fa003004
[38375.212147] 3fa0  02ffaaff c01164f8 5a00f3fa fa892f00 c0bd8880 c0f18878 00b10040 c0a58874
[38375.220307] 3fc0  e8ff80f8 c011e4a4 c10f4c5c 00115238 02ffaaff c0115f44 210ff3fd fa113000
[38375.228468] 3fe0  05ffaaff c0114e78 5a1ef3fe 00000016 01ffaaff c01158e0 efb0f3ff fa002828
[38375.236627] 4000  01ffaaff c01004a8 38a4f400 fa00300c 02ffaaff c0161de8 2107f401 c5a4c030
[38375.244787] 4020  02ffaaff c011c92c 5a1ef402 c5bf4000 02ffaaff c0115914 efb0f403 fa002828
[38375.252950] 
[38375.252957] R0: 0xc1109358:
[38375.257201] 9358  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.265359] 9378  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.273520] 9398  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.281680] 93b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.289838] 93d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.297999] 93f8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.306158] 9418  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.314318] 9438  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.322481] 
[38375.322487] R6: 0xc1109358:
[38375.326731] 9358  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.334892] 9378  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.343049] 9398  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.351210] 93b8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.359371] 93d8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.367531] 93f8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.375689] 9418  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.383849] 9438  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.392011] 
[38375.392017] R8: 0xc0f1ef88:
[38375.396261] ef88  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.404423] efa8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.412581] efc8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.420741] efe8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.428901] f008  00000009 0000000f 0000000f 00000009 00000000 ec827b80 ec827c00 ec827c80
[38375.437061] f028  ec827d00 ec827d80 ec827e00 00000001 00000000 00005e37 c0c3b0cd c0c3b0e2
[38375.445221] f048  c0c3b0ee c0c3b0fd c0c3b108 c0c3b113 c0c3b123 c0c3b12e c0c3b135 c0c3b141
[38375.453381] f068  c0c3b149 c0c3b154 c0c3b162 c0c3b16d c0c3b17e c0c3b18f 00000000 000003e8
[38375.461543] 
[38375.461549] R9: 0xc1169358:
[38375.465793] 9358  00000000 00000000 c011a7b4 00000000 00000000 c011a674 00000000 00000000
[38375.473954] 9378  00000000 00000000 00000000 00000000 c0119c80 c011a578 c0119b18 00000000
[38375.482113] 9398  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[38375.490274] 93b8  00000000 00000000 00000000 eca01990 ec411b80 20010000 00000001 ec0dd510
[38375.498432] 93d8  00000000 ec9b66d0 174a174a 00000000 00000001 00000000 c5a2c380 c0176204
[38375.506592] 93f8  00000000 fa00a664 00000000 ff81ff81 00000000 ec0e1bd0 ec0e1cc0 c0f341a0
[38375.514752] 9418  c1e24a7c 0000000f ec8f8800 00000400 c1169428 c1169428 c017997c 825b825b
[38375.522911] 9438  21532153 00000000 00030003 c1169444 c1169444 00000000 00020002 c1169454
[38375.531083] Process swapper/3 (pid: 0, stack limit = 0xec89a2f0)
[38375.537070] Stack: (0xec89be70 to 0xec89c000)
[38375.541414] be60:                                     00860000 c0896c84 2c000000 ec00bea4
[38375.549577] be80: 00115238 00000000 00000000 00000015 0000406a 10c5787d 00000000 00f00000
[38375.557737] bea0: 002c0000 00160003 ea006fc0 c1f193d8 00160001 c000f008 c11193d8 00000000
[38375.565897] bec0: 00000060 c010aa64 00000001 00000003 c0f28850 c08dc8a8 00000000 00000003
[38375.574056] bee0: 00000001 00000000 00000003 c0f1f008 00000000 c017764c 976277bc 000022e6
[38375.582216] bf00: 00000001 fffffff0 00000003 512f06f1 ec803180 c0178094 c1169488 eb9c62e0
[38375.590376] bf20: 00000001 fffffff0 00000002 512f06f1 ec803180 c017b9b0 00790e3e eb9c62e0
[38375.598535] bf40: 00000001 000008b6 00000003 00000ea6 002207cc 00000003 00000000 000008b6
[38375.606698] bf60: 69367f90 00000003 c1169488 9704ae5e 000022e6 c31008a8 512f06f1 00000003
[38375.614858] bf80: 00000000 c017bbbc 9704ae5e 000022e6 00000003 c31008a8 c10bd168 c31008a8
[38375.623017] bfa0: c0f42f68 00000003 00000003 c0645bb8 c0645ba4 c0645fa4 c31008a8 c10bd168
[38375.631177] bfc0: 00000003 c064616c 00000000 ec89a000 c10f4748 c0f286d0 c10f4a14 0000406a
[38375.639336] bfe0: 00000000 c0106fa8 51000400 00000015 10c0387d 0090bf34 00000000 00000000
[38375.641526] SMP: failed to stop secondary CPUs
[38375.651948] [] (strcmp+0x8/0x3c) from [] (msm_pm_get_sleep_mode_value+0x40/0x70)
[38375.661047] [] (msm_pm_get_sleep_mode_value+0x40/0x70) from [] (0xf00000)
[38375.669542] Code: 1afffffa e12fff1e e3a03000 e7d02003 (e7d1c003) 
[38375.675650] CPU3: stopping
[38375.678327] [] (unwind_backtrace+0x0/0x11c) from [] (handle_IPI+0x11c/0x1fc)
[38375.687089] [] (handle_IPI+0x11c/0x1fc) from [] (gic_handle_irq+0x100/0x10c)
[38375.695855] [] (gic_handle_irq+0x100/0x10c) from [] (__irq_svc+0x40/0x70)
[38375.704343] Exception stack(0xec89bc80 to 0xec89bcc8)
[38375.709387] bc80: c10f49e0 00000000 00020002 00010000 ec89be28 ec84f6c0 ec89a2f0 00000001
[38375.717547] bca0: 00000005 00000028 00000005 00000000 00000000 ec89bcc8 c0109d40 c0920e9c
[38375.725697] bcc0: 60000113 ffffffff
[38375.729189] [] (__irq_svc+0x40/0x70) from [] (_raw_spin_unlock_irq+0x28/0x50)
[38375.738050] [] (_raw_spin_unlock_irq+0x28/0x50) from [] (die+0x15c/0x1e0)
[38375.746568] [] (die+0x15c/0x1e0) from [] (__do_kernel_fault.part.12+0x54/0x74)
[38375.755500] [] (__do_kernel_fault.part.12+0x54/0x74) from [] (do_page_fault+0x394/0x3e8)
[38375.765300] [] (do_page_fault+0x394/0x3e8) from [] (do_DataAbort+0x180/0x1ac)
[38375.774153] [] (do_DataAbort+0x180/0x1ac) from [] (__dabt_svc+0x38/0x60)
[38375.782555] Exception stack(0xec89be28 to 0xec89be70)
[38375.787597] be20:                   c11093d8 00000000 00000000 00000000 0016002c 00b00160
[38375.795758] be40: c11093d8 00000001 c0f1f008 c11693d8 00000000 00000000 c60f3fc0 ec89be70
[38375.803913] be60: c017a99c c039898c 20000093 ffffffff
[38375.808970] [] (__dabt_svc+0x38/0x60) from [] (strcmp+0x8/0x3c)
[38375.816609] [] (strcmp+0x8/0x3c) from [] (msm_pm_get_sleep_mode_value+0x40/0x70)
[38375.825715] [] (msm_pm_get_sleep_mode_value+0x40/0x70) from [] (0xf00000)
[38377.501904] wcnss crash shutdown 0
[38377.504277] Rebooting in 5 seconds..
[38382.509218] Going down for restart now

REFERENCE:
kernel panic之後怎麼辦?

發表迴響