内核堆栈异常分析,使用工具 arm-linux-gnueabihf-addr2line

[  307.260009@0] 
[  307.267846@0] DEBUG:handle_hc_chhltd_intr_dma:: XactErr without NYET/NAK/ACK
[  307.267846@0] 
[  307.276537@0] DEBUG:handle_hc_chhltd_intr_dma:: XactErr without NYET/NAK/ACK
[  307.276537@0] 
[  307.286039@0] DEBUG:handle_hc_chhltd_intr_dma:: XactErr without NYET/NAK/ACK
[  307.286039@0] 
[  307.293911@0] DEBUG:handle_hc_chhltd_intr_dma:: XactErr without NYET/NAK/ACK
[  307.293911@0] 
[  307.302587@0] DEBUG:handle_hc_chhltd_intr_dma:: XactErr without NYET/NAK/ACK
[  307.302587@0] 
[  307.311262@0] Unable to handle kernel NULL pointer dereference at virtual address 00000036
[  307.319502@0] pgd = c0004000
[  307.322367@0] [00000036] *pgd=00000000
[  307.326104@0] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[  307.331572@0] Modules linked in: dhd gsl_point_id aml_pmu_dev(P) aml_nftl_dev(P) mali
[  307.339391@0] CPU: 0 PID: 1302 Comm: kworker/0:4 Tainted: P             3.10.33-gff23678 #31
[  307.347820@0] Workqueue: events hg_dbs_timer
[  307.352067@0] task: e3d5a000 ti: dad2a000 task.ti: dad2a000
[  307.357628@0] PC is at release_channel+0x15c/0x254
[  307.362404@0] LR is at _raw_spin_lock+0x10/0x50
[  307.366917@0] pc : [<
c03fa91c>]   lr : [<c06f621c>]    psr: 200b0193                          #此处可看到PC 指针地址c03fa91c
[  307.366917@0] sp : dad2bd40  ip : c0a719fc  fp : c0ba7c24
[  307.378726@0] r10: 00000002  r9 : eb746340  r8 : eb746340
[  307.384110@0] r7 : 00000000  r6 : ea2caa00  r5 : eb689e80  r4 : eb6a1c00
[  307.390797@0] r3 : ea2caa08  r2 : ea2caa28  r1 : ea2caa28  r0 : ea2caa08
[  307.397484@0] Flags: nzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
[  307.405039@0] Control: 10c5387d  Table: 2a31404a  DAC: 00000015
[  307.410943@0] 
[  307.410943@0] PC: 0xc03fa89c:
[  307.415545@0] a89c  e3a07001 e59cc010 e5921000 e12fff3c ea000000 e3a07000 e5963000 e595602c
[  307.423882@0] a8bc  e3130080 0a000005 e58d7000 e1a02004 e59f0138 e1a03006 e59f1134 eb001723
[  307.432218@0] a8dc  e5960008 e5d03008 e3530000 13a02001 1a000003 e5d02014 e3520001 83a02000
[  307.440555@0] a8fc  93a02001 e3570000 0a000017 e5901020 e2863008 e5907018 e5902024 e1510003
[  307.448891@0] a91c  e5d78036 0586200c 15812024 e5901024 e1530001 e5903020 15813020 e1a01000
[  307.457228@0] a93c  05863008 e3a00000 eb00176b e2583001 e2732000 e0b22003 e3570000 03a02000
[  307.465564@0] a95c  e3520000 13a02000 15872004 e3a03000 e1a01006 e5863010 e1a00004 eb000d27
[  307.473901@0] a97c  e5940004 e1a01005 ebff8f1e e2843050 e5853030 e5942054 e5852034 e5942050
[  307.482238@0] 
[  307.482238@0] LR: 0xc06f619c:
[  307.486840@0] 619c  e7e000d0 e3500000 1afffff3 e8bd8038 e92d4070 e1a0600e e1a04000 ebe501b9
[  307.495176@0] 61bc  e3a00001 ebe57bf4 e1942f9f e3a05000 e0523862 02822801 01845f92 e3550000
[  307.503513@0] 61dc  1afffff8 e3530000 1a000002 f57ff05f e3a00001 e8bd8070 e3a00001 ebe57bb1
[  307.511850@0] 61fc  e1a00006 ebe5023d e1a00005 e8bd8070 e92d4010 e1a04000 e3a00001 ebe57bde
[  307.520186@0] 621c  e1943f9f e2832801 e1841f92 e3310000 1afffffa e1a02823 e6ff3073 e1530002
[  307.528523@0] 623c  1a000001 f57ff05f e8bd8010 e320f002 e1d430b0 e1530002 1afffffb eafffff8
[  307.536859@0] 625c  e92d4038 e1a04000 e10f5000 f10c0080 e3a00001 ebe57bc8 e1943f9f e2832801
[  307.545196@0] 627c  e1841f92 e3310000 1afffffa e1a02823 e6ff3073 e1530002 0a000003 e320f002
[  307.553533@0] 
[  307.553533@0] SP: 0xdad2bcc0:
[  307.558135@0] bcc0  00000003 00000000 eb746340 eb6a1c00 dad2bcfc c0054720 00000000 e271b780
[  307.566471@0] bce0  c03fa91c 200b0193 ffffffff dad2bd2c eb746340 c000dc98 ea2caa08 ea2caa28
[  307.574808@0] bd00  ea2caa28 ea2caa08 eb6a1c00 eb689e80 ea2caa00 00000000 eb746340 eb746340
[  307.583144@0] bd20  00000002 c0ba7c24 c0a719fc dad2bd40 c06f621c c03fa91c 200b0193 ffffffff
[  307.591481@0] bd40  00000000 00000002 eb746340 eb6a1c00 eb689e80 fe080640 fe080640 c03fc7dc
[  307.599818@0] bd60  00000007 dad2bd74 00000002 00000002 00000000 eb6a1c00 eb689e80 c03fcb38
[  307.608154@0] bd80  c0a86b7c 00000002 00000000 c0dc9f38 c0a86b7c 00000002 c0dc9f38 c0dc9f38
[  307.616491@0] bda0  00000000 00000082 00000001 fe08064c fe080648 000007fe 00000001 c06f6274
[  307.624828@0] 
[  307.624828@0] IP: 0xc0a7197c:
[  307.629430@0] 197c  c02da7c4 c02da7a8 c02dabd0 c02da774 c07224a4 00da00da c0a71994 c0a71994
[  307.637766@0] 199c  c0912338 c0a71a74 00000000 c09116c0 00000000 00000000 00000000 c02e4478
[  307.646103@0] 19bc  c02e4000 00000000 00000000 00000000 00000000 00000000 ebf85a80 00000000
[  307.654440@0] 19dc  00000002 00000001 00000000 c0a719e8 c0a719e8 00000000 00000000 00000000
[  307.662776@0] 19fc  00000000 c0a71a1c 00070007 c0a71a08 c0a71a08 ffffffff eb687730 eb687430
[  307.671113@0] 1a1c  c0a71a24 00000000 c091252c 000001a4 c02dd9fc c02dd998 c0a71a34 c0a71a34
[  307.679449@0] 1a3c  c09128c0 00000000 c02e0a20 00000000 c02e09d8 00000000 c0912ae0 000001a4
[  307.687786@0] 1a5c  c02e3794 c02e32a0 c0912ad8 000001a4 c02e3794 c02e388c c0916824 00000000
[  307.696123@0] 
[  307.696123@0] FP: 0xc0ba7ba4:
[  307.700725@0] 7ba4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.709061@0] 7bc4  00000000 00000000 ffffffe0 c0ba7bd0 c0ba7bd0 c03d92d4 00000000 00000000
[  307.717398@0] 7be4  00000000 00000000 00000000 c0ba7bf0 c0ba7bf0 00000000 c0ba7bfc c0ba7bfc
[  307.725734@0] 7c04  00000000 00000000 00000000 fe108720 ebee3a00 c0a83170 00000000 c0a83278
[  307.734071@0] 7c24  00000000 ebe17800 00000000 00000000 00000000 00000000 00000000 00000000
[  307.742408@0] 7c44  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.750744@0] 7c64  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.759081@0] 7c84  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.767418@0] 
[  307.767418@0] R0: 0xea2ca988:
[  307.772020@0] a988  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.780356@0] a9a8  00000000 00000000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[  307.788693@0] a9c8  ea363940 c0a613cc c0a613f8 c0a61be0 00000000 00000000 00000000 00000000
[  307.797029@0] a9e8  00000000 00000000 00000000 00000000 00000000 00000000 02000002 00010002
[  307.805366@0] aa08  ea2caa08 ea2caa08 00000000 00000000 00000000 00000000 00000000 00000000
[  307.813703@0] aa28  ea2caa28 ea2caa28 00000000 00000000 00000000 00000000 eb746580 00000000
[  307.822039@0] aa48  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.830376@0] aa68  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.838713@0] 
[  307.838713@0] R1: 0xea2ca9a8:
[  307.843315@0] a9a8  00000000 00000000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[  307.851651@0] a9c8  ea363940 c0a613cc c0a613f8 c0a61be0 00000000 00000000 00000000 00000000
[  307.859988@0] a9e8  00000000 00000000 00000000 00000000 00000000 00000000 02000002 00010002
[  307.868324@0] aa08  ea2caa08 ea2caa08 00000000 00000000 00000000 00000000 00000000 00000000
[  307.876661@0] aa28  ea2caa28 ea2caa28 00000000 00000000 00000000 00000000 eb746580 00000000
[  307.884998@0] aa48  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.893334@0] aa68  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.901671@0] aa88  10005400 00000078 00000000 00000000 ffffffff 00000000 00000000 00000000
[  307.910008@0] 
[  307.910008@0] R2: 0xea2ca9a8:
[  307.914610@0] a9a8  00000000 00000000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[  307.922946@0] a9c8  ea363940 c0a613cc c0a613f8 c0a61be0 00000000 00000000 00000000 00000000
[  307.931283@0] a9e8  00000000 00000000 00000000 00000000 00000000 00000000 02000002 00010002
[  307.939619@0] aa08  ea2caa08 ea2caa08 00000000 00000000 00000000 00000000 00000000 00000000
[  307.947956@0] aa28  ea2caa28 ea2caa28 00000000 00000000 00000000 00000000 eb746580 00000000
[  307.956293@0] aa48  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.964629@0] aa68  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.972966@0] aa88  10005400 00000078 00000000 00000000 ffffffff 00000000 00000000 00000000
[  307.981307@0] 
[  307.981307@0] R3: 0xea2ca988:
[  307.985908@0] a988  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  307.994241@0] a9a8  00000000 00000000 ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[  308.002578@0] a9c8  ea363940 c0a613cc c0a613f8 c0a61be0 00000000 00000000 00000000 00000000
[  308.010914@0] a9e8  00000000 00000000 00000000 00000000 00000000 00000000 02000002 00010002
[  308.019251@0] aa08  ea2caa08 ea2caa08 00000000 00000000 00000000 00000000 00000000 00000000
[  308.027588@0] aa28  ea2caa28 ea2caa28 00000000 00000000 00000000 00000000 eb746580 00000000
[  308.035924@0] aa48  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.044261@0] aa68  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.052598@0] 
[  308.052598@0] R4: 0xeb6a1b80:
[  308.057200@0] 1b80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.065536@0] 1ba0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.073873@0] 1bc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.082209@0] 1be0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.090546@0] 1c00  eb68d580 eb6b0000 c0a83778 00000002 00000000 eb6a1c14 eb6a1c14 eb6a1c1c
[  308.098883@0] 1c20  eb6a1c1c eb6a1c1c eb705c28 eb903e28 eb6a1c30 eb6a1c30 eb6a1c38 eb6a1c38
[  308.107219@0] 1c40  eb6a1c40 eb6a1c40 364c0002 00000002 eb689d80 eb689a00 00000002 00000001
[  308.115556@0] 1c60  eb689980 eb689a00 eb689a80 eb689b00 eb689b80 eb689c00 eb689c80 eb689d00
[  308.123893@0] 
[  308.123893@0] R5: 0xeb689e00:
[  308.128495@0] 9e00  00200209 00003040 2f400000 00000000 00000000 00000000 00000001 00000000
[  308.136831@0] 9e20  00000000 00000000 00010000 ebed9180 eb689c80 eb689b80 00000000 00000000
[  308.145168@0] 9e40  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.153504@0] 9e60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.161841@0] 9e80  00a1b20a 00002200 2b946740 00000000 00000018 00000000 01010001 00000001
[  308.170178@0] 9ea0  0000000d 00000000 00010000 ea2caa00 00000000 00000000 00000000 00000000
[  308.178514@0] 9ec0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.186851@0] 9ee0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.195188@0] 
[  308.195188@0] R6: 0xea2ca980:
[  308.199790@0] a980  00000003 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.208126@0] a9a0  00000000 00000000 00000000 00000000 ffffffff ffffffff ffffffff ffffffff
[  308.216463@0] a9c0  ffffffff ffffffff ea363940 c0a613cc c0a613f8 c0a61be0 00000000 00000000
[  308.224799@0] a9e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.233136@0] aa00  02000002 00010002 ea2caa08 ea2caa08 00000000 00000000 00000000 00000000
[  308.241473@0] aa20  00000000 00000000 ea2caa28 ea2caa28 00000000 00000000 00000000 00000000
[  308.249809@0] aa40  eb746580 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.258146@0] aa60  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.266483@0] 
[  308.266483@0] R8: 0xeb7462c0:
[  308.271085@0] 62c0  eb746980 eb7464c0 eb707300 2b907300 eb746e00 2b946e00 00000004 00000004
[  308.279421@0] 62e0  00000000 00000000 00000000 00000001 00030000 80000002 00000040 00000000
[  308.287758@0] 6300  eb746580 00100100 00200200 00000001 00000000 00000000 ea0fda00 eafd0500
[  308.296094@0] 6320  00000000 00000000 f2600064 00000007 00000010 fffffff8 00000000 000003e8
[  308.304431@0] 6340  00000071 000000a0 00000000 00000000 00000000 00000000 e9b99a00 e265d100
[  308.312768@0] 6360  00000000 00000000 f3a02248 00000000 00000000 00000000 00000000 000003e8
[  308.321104@0] 6380  00000071 000000a0 00000000 00000000 00000000 00000000 e9b99a00 e265d100
[  308.329441@0] 63a0  00000000 00000000 f3a02248 00000000 00000000 00000000 00000000 000003e8
[  308.337778@0] 
[  308.337778@0] R9: 0xeb7462c0:
[  308.342380@0] 62c0  eb746980 eb7464c0 eb707300 2b907300 eb746e00 2b946e00 00000004 00000004
[  308.350716@0] 62e0  00000000 00000000 00000000 00000001 00030000 80000002 00000040 00000000
[  308.359053@0] 6300  eb746580 00100100 00200200 00000001 00000000 00000000 ea0fda00 eafd0500
[  308.367389@0] 6320  00000000 00000000 f2600064 00000007 00000010 fffffff8 00000000 000003e8
[  308.375726@0] 6340  00000071 000000a0 00000000 00000000 00000000 00000000 e9b99a00 e265d100
[  308.384063@0] 6360  00000000 00000000 f3a02248 00000000 00000000 00000000 00000000 000003e8
[  308.392399@0] 6380  00000071 000000a0 00000000 00000000 00000000 00000000 e9b99a00 e265d100
[  308.400736@0] 63a0  00000000 00000000 f3a02248 00000000 00000000 00000000 00000000 000003e8
[  308.409075@0] Process kworker/0:4 (pid: 1302, stack limit = 0xdad2a238)
[  308.415673@0] Stack: (0xdad2bd40 to 0xdad2c000)
[  308.420191@0] bd40: 00000000 00000002 eb746340 eb6a1c00 eb689e80 fe080640 fe080640 c03fc7dc
[  308.428527@0] bd60: 00000007 dad2bd74 00000002 00000002 00000000 eb6a1c00 eb689e80 c03fcb38
[  308.436864@0] bd80: c0a86b7c 00000002 00000000 c0dc9f38 c0a86b7c 00000002 c0dc9f38 c0dc9f38
[  308.445200@0] bda0: 00000000 00000082 00000001 fe08064c fe080648 000007fe 00000001 c06f6274
[  308.453537@0] bdc0: c0019998 0000000a 00000402 eb6a1c00 00000001 00000002 c0ad8b81 c0a430c0
[  308.461873@0] bde0: 00000001 c03fd0e8 eb6b0000 00000001 eb6a1c00 02000008 fe080000 c03fd260
[  308.470210@0] be00: a00b0193 00000000 00000000 00000000 0000003f c03fa3bc c03fa3b0 c02ddc0c
[  308.478547@0] be20: eb68f700 c008281c c0a3cb80 dad07500 c0a3cb80 c0a430c0 c0a43110 eb68e400
[  308.486883@0] be40: fe001100 c157ea00 00000000 00000000 c157b700 c008299c c0a430c0 c0a43110
[  308.495220@0] be60: 00000000 c008560c c0085514 c0a3be0c 0000003f c0082144 00000100 c000f070
[  308.503557@0] be80: fe00110c c0a53124 dad2bea8 c000845c c00463bc c06f5f44 200b0013 ffffffff
[  308.511893@0] bea0: dad2bedc c000dd00 c157b700 00000000 c157b714 0000930e e6fbb800 c157b0e4
[  308.520230@0] bec0: c157b700 dad2a000 c157ea00 00000000 00000000 c157b700 c157ea05 dad2bef0
[  308.528566@0] bee0: c00463bc c06f5f44 200b0013 ffffffff c157ea05 c00463bc c0a3cb80 c0a3cb80
[  308.536903@0] bf00: 8a12b5c0 00000047 00000001 e6fbb800 c157b714 e6fbb818 dad2a000 dad2a000
[  308.545239@0] bf20: c0ad8b34 00000001 c157b700 c00469ec c0a3cb80 c0a3cb80 00000000 dad2a000
[  308.553576@0] bf40: c00467c0 ebe87e90 00000000 e6fbb800 c00467c0 00000000 00000000 00000000
[  308.561912@0] bf60: 00000000 c004cc0c 41b14010 00000000 00000000 e6fbb800 00000000 00000000
[  308.570249@0] bf80: dad2bf80 dad2bf80 00000000 00000000 dad2bf90 dad2bf90 dad2bfac ebe87e90
[  308.578585@0] bfa0: c004cb6c 00000000 00000000 c000e1d8 00000000 00000000 00000000 00000000
[  308.586922@0] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[  308.595258@0] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000 0006000e 00020002
[  308.603607@0] [<c03fa91c>] (release_channel+0x15c/0x254) from [<c03fc7dc>] (handle_hc_xacterr_intr+0xf0/0x17c)
[  308.613584@0] [<c03fc7dc>] (handle_hc_xacterr_intr+0xf0/0x17c) from [<c03fcb38>] (dwc_otg_hcd_handle_hc_n_intr+0x2d0/0x82c)
[  308.624699@0] [<c03fcb38>] (dwc_otg_hcd_handle_hc_n_intr+0x2d0/0x82c) from [<c03fd0e8>] (dwc_otg_hcd_handle_hc_intr+0x54/0x80)
[  308.636074@0] [<c03fd0e8>] (dwc_otg_hcd_handle_hc_intr+0x54/0x80) from [<c03fd260>] (dwc_otg_hcd_handle_intr+0x14c/0x228)
[  308.647016@0] [<c03fd260>] (dwc_otg_hcd_handle_intr+0x14c/0x228) from [<c03fa3bc>] (dwc_otg_hcd_irq+0xc/0x18)
[  308.656920@0] [<c03fa3bc>] (dwc_otg_hcd_irq+0xc/0x18) from [<c02ddc0c>] (usb_hcd_irq+0x2c/0x44)
[  308.665607@0] [<c02ddc0c>] (usb_hcd_irq+0x2c/0x44) from [<c008281c>] (handle_irq_event_percpu+0x34/0x178)
[  308.675154@0] [<c008281c>] (handle_irq_event_percpu+0x34/0x178) from [<c008299c>] (handle_irq_event+0x3c/0x5c)
[  308.685140@0] [<c008299c>] (handle_irq_event+0x3c/0x5c) from [<c008560c>] (handle_fasteoi_irq+0xf8/0x13c)
[  308.694691@0] [<c008560c>] (handle_fasteoi_irq+0xf8/0x13c) from [<c0082144>] (generic_handle_irq+0x24/0x38)
[  308.704421@0] [<c0082144>] (generic_handle_irq+0x24/0x38) from [<c000f070>] (handle_IRQ+0x68/0x90)
[  308.713362@0] [<c000f070>] (handle_IRQ+0x68/0x90) from [<c000845c>] (gic_handle_irq+0x3c/0x5c)
[  308.721959@0] [<c000845c>] (gic_handle_irq+0x3c/0x5c) from [<c000dd00>] (__irq_svc+0x40/0x70)
[  308.730466@0] Exception stack(0xdad2bea8 to 0xdad2bef0)
[  308.735678@0] bea0:                   c157b700 00000000 c157b714 0000930e e6fbb800 c157b0e4
[  308.744014@0] bec0: c157b700 dad2a000 c157ea00 00000000 00000000 c157b700 c157ea05 dad2bef0
[  308.752349@0] bee0: c00463bc c06f5f44 200b0013 ffffffff
[  308.757566@0] [<c000dd00>] (__irq_svc+0x40/0x70) from [<c06f5f44>] (_raw_spin_unlock_irq+0x20/0x48)
[  308.766598@0] [<c06f5f44>] (_raw_spin_unlock_irq+0x20/0x48) from [<c00463bc>] (process_one_work+0x200/0x340)
[  308.776407@0] [<c00463bc>] (process_one_work+0x200/0x340) from [<c00469ec>] (worker_thread+0x22c/0x37c)
[  308.785786@0] [<c00469ec>] (worker_thread+0x22c/0x37c) from [<c004cc0c>] (kthread+0xa0/0xac)
[  308.794209@0] [<c004cc0c>] (kthread+0xa0/0xac) from [<c000e1d8>] (ret_from_fork+0x14/0x3c)
[  308.802457@0] Code: e2863008 e5907018 e5902024 e1510003 (e5d78036) 
[  308.808711@0] ---[ end trace 7aa83a9a91c123e3 ]---
[  308.813485@0] Kernel panic - not syncing: Fatal exception in interrupt
[  308.820000@2] CPU2: stopping
[  308.822865@2] CPU: 2 PID: 0 Comm: swapper/2 Tainted: P      D      3.10.33-gff23678 #31
[  308.830864@2] [<c00149c8>] (unwind_backtrace+0x0/0xf8) from [<c0011aac>] (show_stack+0x10/0x14)
[  308.839540@2] [<c0011aac>] (show_stack+0x10/0x14) from [<c0013294>] (handle_IPI+0xc4/0x180)
[  308.847875@2] [<c0013294>] (handle_IPI+0xc4/0x180) from [<c0008474>] (gic_handle_irq+0x54/0x5c)
[  308.856559@2] [<c0008474>] (gic_handle_irq+0x54/0x5c) from [<c000dd00>] (__irq_svc+0x40/0x70)
[  308.865066@2] Exception stack(0xebe9dfa0 to 0xebe9dfe8)
[  308.870279@2] dfa0: 00000002 00000000 0020a15e 00000000 ebe9c000 c0a52550 c06fa5f4 c0ad8b6e
[  308.878615@2] dfc0: c0ad8b6e 414fc091 00000001 00000000 00000000 ebe9dfe8 c000f4c4 c000f4c8
[  308.886950@2] dfe0: 60030013 ffffffff
[  308.890602@2] [<c000dd00>] (__irq_svc+0x40/0x70) from [<c000f4c8>] (arch_cpu_idle+0x24/0x2c)
[  308.899027@2] [<c000f4c8>] (arch_cpu_idle+0x24/0x2c) from [<c00689a8>] (cpu_startup_entry+0xe8/0x140)
[  308.908232@2] [<c00689a8>] (cpu_startup_entry+0xe8/0x140) from [<008e6e64>] (0x8e6e64)

 

 

root@ekey-System-Product-Name:/home/ekey/work/p8_86v/141118# arm-linux-gnueabihf-addr2line -e  out/target/product/p8_86v/obj/KERNEL_OBJ/vmlinux c03fa91c

使用该命令即可定位内核异常的位置,vmlinux 为我们内核编译后生成的原始未压缩的镜像文件

/home/ekey/work/p8_86v/141118/common/drivers/amlogic/usb/dwc_otg/310/dwc_otg_hcd_intr.c:2148      #通过该命令我们定位到了导致异常的代码段。
root@ekey-System-Product-Name:/home/ekey/work/p8_86v/141118# vi /home/ekey/work/p8_86v/141118/common/drivers/amlogic/usb/dwc_otg/310/dwc_otg_hcd_intr.c +2148
root@ekey-System-Product-Name:/home/ekey/work/p8_86v/141118# vi /home/ekey/work/p8_86v/141118/common/drivers/amlogic/usb/dwc_otg/310/dwc_otg_hcd_intr.c +2148
root@ekey-System-Product-Name:/home/ekey/work/p8_86v/141118# arm
Display all 114 possibilities? (y or n)
root@ekey-System-Product-Name:/home/ekey/work/p8_86v/141118# arm-linux-gnueabihf-g
arm-linux-gnueabihf-g++         arm-linux-gnueabihf-gcc-4.7.3   arm-linux-gnueabihf-gcc-nm      arm-linux-gnueabihf-gcov        arm-linux-gnueabihf-gfortran
arm-linux-gnueabihf-gcc         arm-linux-gnueabihf-gcc-ar      arm-linux-gnueabihf-gcc-ranlib  arm-linux-gnueabihf-gdb         arm-linux-gnueabihf-gprof
root@ekey-System-Product-Name:/home/ekey/work/p8_86v/141118# arm-linux-gnueabihf-gdb out/target/product/p8_86v/p
p8_86v-ota-root.zip       platform.conf             previous_build_config.mk  
root@ekey-System-Product-Name:/home/ekey/work/p8_86v/141118# arm-linux-gnueabihf-gdb out/target/product/p8_86v/obj/KERNEL_OBJ/vmlinux 
GNU gdb (crosstool-NG linaro-1.13.1-4.7-2013.02-01-20130221 - Linaro GCC 2013.02) 7.5-2012.12
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-build_pc-linux-gnu --target=arm-linux-gnueabihf".
For bug reporting instructions, please see:
<https://bugs.launchpad.net/gcc-linaro>...
Reading symbols from /home/ekey/work/p8_86v/141118/out/target/product/p8_86v/obj/KERNEL_OBJ/vmlinux...done.
(gdb) b*0xc03fa91c

 

Breakpoint 1 at 0xc03fa91c: file /home/ekey/work/p8_86v/141118/common/drivers/amlogic/usb/dwc_otg/310/dwc_otg_hcd_intr.c, line 2148.

 

 

 

root@ekey-System-Product-Name:/home/ekey/work/p8_86v/141118# arm-linux-gnueabihf-nm out/target/product/p8_86v/obj/KERNEL_OBJ/vmlinux | grep release_channel 
c06da5c4 t __ieee80211_vif_release_channel
c06dab48 T ieee80211_vif_release_channel
c03fa7c0 t release_channel
c03fe528 t release_channel_ddma

 

 

GitHub 加速计划 / li / linux-dash
10.39 K
1.2 K
下载
A beautiful web dashboard for Linux
最近提交(Master分支:2 个月前 )
186a802e added ecosystem file for PM2 4 年前
5def40a3 Add host customization support for the NodeJS version 4 年前
Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐