AM3354移植rtl8189es wifi驱动后,使用wpa_supplicant连接wifi时偶尔会出现死机问题,打开内核debug,死机后打印以下信息:
[ 172.699554] BUG: soft lockup – CPU#0 stuck for 22s! [RTW_CMD_THREAD:1128]
[ 172.706695] Modules linked in:
[ 172.709899] irq event stamp: 0
[ 172.713104] hardirqs last enabled at (0): [< (null)>] (null)
[ 172.719390] hardirqs last disabled at (0): [<c004151c>] copy_process+0x364/0xe68
[ 172.727172] softirqs last enabled at (0): [<c004151c>] copy_process+0x364/0xe68
[ 172.734954] softirqs last disabled at (0): [< (null)>] (null)
[ 172.741241][ 172.742828] Pid: 1128, comm: RTW_CMD_THREAD
[ 172.747741] CPU: 0 Not tainted (3.2.0 #36)
[ 172.752410] PC is at __do_softirq+0x80/0x164
[ 172.756896] LR is at trace_hardirqs_on+0x14/0x18
[ 172.761749] pc : [<c0048c58>] lr : [<c0072fdc>] psr: 60000113
[ 172.761749] sp : ce6bd8b0 ip : ce6bd8a0 fp : ce6bd8f4
[ 172.773773] r10: c0829f90 r9 : c0a12440 r8 : c0a12484
[ 172.779266] r7 : ce6bd950 r6 : ce6bc000 r5 : c0a12484 r4 : 00000002
[ 172.786102] r3 : 00000000 r2 : 00000001 r1 : 00000100 r0 : c0048c50
[ 172.792938] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 172.800598] Control: 10c5387d Table: 8d878019 DAC: 00000015
[ 172.806640][ 172.806640] PC: 0xc0048bd8:
[ 172.811096] 8bd8 e1a0c00d e92ddff0 e24cb004 e24dd01c e3029440 e1a0000e e34c90a1 e3a01c01
[ 172.819732] 8bf8 e1a08009 e30a3388 e3a0e00a e50b3034 e50be030 e309af90 e4984044 ebffff7a
[ 172.828369] 8c18 e1a0300d e51be034 e3c36d7f e34ca082 e3c6603f e34ce082 e50be034 e596300c
[ 172.837036] 8c38 e59323bc e2822001 e58323bc e3a03000 e5893000 eb00a8dd f1080080 e59f50dc
[ 172.845672] 8c58 ea000002 e1b040a4 e2855004 0a000016 e3140001 0afffffa e0681005 e5967004
[ 172.854309] 8c78 e5953000 e1a00005 e1a01141 e2812014 e08a2102 e592c004 e28cc001 e582c004
[ 172.862945] 8c98 e50b1038 e12fff33 e5963004 e51b1038 e1570003 1a000016 e3a00000 e2855004
[ 172.871551] 8cb8 eb010964 e1b040a4 1affffe8 f10c0080 eb009b66 e5994000 e3540000 0a000004
[ 172.880218][ 172.880218] LR: 0xc0072f5c:
[ 172.884674] 2f5c ebff3f8c e89da8f0 eb0677f6 e3500000 089da8f0 e3093838 e34c30f5 e5933000
[ 172.893310] 2f7c e3530000 189da8f0 e3030c2c e3001a19 e34c0070 ebff3f7f e89da8f0 e3045db8
[ 172.901977] 2f9c e34c50e6 e5553fdc e3530001 0affffb8 e3030c2c e30019fa e34c0070 ebff3f75
[ 172.910583] 2fbc e3a03001 e5453fdc eaffffb1 e1a0c00d e92dd800 e24cb004 e1a0000e ebffff70
[ 172.919219] 2fdc e89da800 e1a0c00d e92dd9f0 e24cb004 e24dd00c e3003814 e1a0c00d e34c309b
[ 172.927856] 2ffc e3cc2d7f e3c2203f e1a08000 e5933000 e1a07001 e592400c e3530000 0a00001a
[ 172.936492] 301c e10f5000 f10c0080 ebfff28f e594c3c8 e35c0000 da000010 e1a02004 e3a03000
[ 172.945129] 303c e0887007 e59213dc e0836083 e2822030 e2833001 e2810018 e0846206 e1580000
[ 172.953796][ 172.953796] SP: 0xce6bd830:
[ 172.958251] d830 fa200000 00000044 ce6bd864 ce6bd848 c0008624 c0015350 c0048c58 60000113
[ 172.966888] d850 ffffffff ce6bd89c ce6bd8f4 ce6bd868 c0014084 c00085ac c0048c50 00000100
[ 172.975524] d870 00000001 00000000 00000002 c0a12484 ce6bc000 ce6bd950 c0a12484 c0a12440
[ 172.984161] d890 c0829f90 ce6bd8f4 ce6bd8a0 ce6bd8b0 c0072fdc c0048c58 60000113 ffffffff
[ 172.992828] d8b0 ce6bd950 5651729b 00000000 c09903e0 c082a388 0000000a c05bf024 ce6bc000
[ 173.001464] d8d0 00000044 00000000 ce6bd950 5651729b 00000023 c080a2e4 ce6bd90c ce6bd8f8
[ 173.010101] d8f0 c0049218 c0048be4 00000000 c09b0600 ce6bd92c ce6bd910 c0015388 c0049178
[ 173.018737] d910 00001000 00000004 fa200000 00000044 ce6bd94c ce6bd930 c0008624 c0015350
[ 173.027374][ 173.027374] IP: 0xce6bd820:
[ 173.031829] d820 c0015384 c008600c 00001000 00000004 fa200000 00000044 ce6bd864 ce6bd848
[ 173.040496] d840 c0008624 c0015350 c0048c58 60000113 ffffffff ce6bd89c ce6bd8f4 ce6bd868
[ 173.049133] d860 c0014084 c00085ac c0048c50 00000100 00000001 00000000 00000002 c0a12484
[ 173.057769] d880 ce6bc000 ce6bd950 c0a12484 c0a12440 c0829f90 ce6bd8f4 ce6bd8a0 ce6bd8b0
[ 173.066406] d8a0 c0072fdc c0048c58 60000113 ffffffff ce6bd950 5651729b 00000000 c09903e0
[ 173.075042] d8c0 c082a388 0000000a c05bf024 ce6bc000 00000044 00000000 ce6bd950 5651729b
[ 173.083679] d8e0 00000023 c080a2e4 ce6bd90c ce6bd8f8 c0049218 c0048be4 00000000 c09b0600
[ 173.092315] d900 ce6bd92c ce6bd910 c0015388 c0049178 00001000 00000004 fa200000 00000044
[ 173.100952][ 173.100952] FP: 0xce6bd874:
[ 173.105407] d874 00000000 00000002 c0a12484 ce6bc000 ce6bd950 c0a12484 c0a12440 c0829f90
[ 173.114044] d894 ce6bd8f4 ce6bd8a0 ce6bd8b0 c0072fdc c0048c58 60000113 ffffffff ce6bd950
[ 173.122711] d8b4 5651729b 00000000 c09903e0 c082a388 0000000a c05bf024 ce6bc000 00000044
[ 173.131347] d8d4 00000000 ce6bd950 5651729b 00000023 c080a2e4 ce6bd90c ce6bd8f8 c0049218
[ 173.139984] d8f4 c0048be4 00000000 c09b0600 ce6bd92c ce6bd910 c0015388 c0049178 00001000
[ 173.148590] d914 00000004 fa200000 00000044 ce6bd94c ce6bd930 c0008624 c0015350 c05bef80
[ 173.157226] d934 60000013 ffffffff ce6bd984 ce6bd9ac ce6bd950 c0014084 c00085ac c05bef78
[ 173.165893] d954 00000001 ce6bd998 00000000 c0829ae8 c0829ae8 ce6bc000 c0807f90 5651729b
[ 173.174530][ 173.174530] R0: 0xc0048bd0:
[ 173.178985] 8bd0 ebffffc3 e89da800 e1a0c00d e92ddff0 e24cb004 e24dd01c e3029440 e1a0000e
[ 173.187622] 8bf0 e34c90a1 e3a01c01 e1a08009 e30a3388 e3a0e00a e50b3034 e50be030 e309af90
[ 173.196258] 8c10 e4984044 ebffff7a e1a0300d e51be034 e3c36d7f e34ca082 e3c6603f e34ce082
[ 173.204895] 8c30 e50be034 e596300c e59323bc e2822001 e58323bc e3a03000 e5893000 eb00a8dd
[ 173.213531] 8c50 f1080080 e59f50dc ea000002 e1b040a4 e2855004 0a000016 e3140001 0afffffa
[ 173.222167] 8c70 e0681005 e5967004 e5953000 e1a00005 e1a01141 e2812014 e08a2102 e592c004
[ 173.230834] 8c90 e28cc001 e582c004 e50b1038 e12fff33 e5963004 e51b1038 e1570003 1a000016
[ 173.239471] 8cb0 e3a00000 e2855004 eb010964 e1b040a4 1affffe8 f10c0080 eb009b66 e5994000
[ 173.248107][ 173.248107] R5: 0xc0a12404:
[ 173.252563] 2404 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.261199] 2424 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 173.269836] 2444 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.278472] 2464 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.287109] 2484 c0048568 c004e2e4 c048ed04 c048f8c4 c01f7a54 c01f7fa8 c0048634 00000000
[ 173.295745] 24a4 c00631a4 c008b10c 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.304382] 24c4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.313018] 24e4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.321655][ 173.321685] R6: 0xce6bbf80:
[ 173.326141] bf80 00000000 c05c9874 000200da c08049d8 00000001 dead4ead ffffffff ffffffff
[ 173.334777] bfa0 c0f501dc 00000000 00000000 c070bff0 00000000 00000000 ce6bbfb8 ce6bbfb8
[ 173.343414] bfc0 00000000 00000000 00000000 ce6bbfcc ce6bbfcc 00000000 00011ab0 00000000
[ 173.352050] bfe0 00000000 00000000 635688c0 d84156c5 00000000 c00a2a00 00000000 00000000
[ 173.360687] c000 00000000 00010104 00000000 cd9bef40 c082a094 00000000 00000015 cd9bef40
[ 173.369323] c020 c0829ae8 ce6bc000 c0807f90 00000000 cd88aa58 c080a2e4 ce6bd9fc ce6bd9b0
[ 173.377960] c040 c05bb820 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.386596] c060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.395233][ 173.395233] R7: 0xce6bd8d0:
[ 173.399719] d8d0 00000044 00000000 ce6bd950 5651729b 00000023 c080a2e4 ce6bd90c ce6bd8f8
[ 173.408355] d8f0 c0049218 c0048be4 00000000 c09b0600 ce6bd92c ce6bd910 c0015388 c0049178
[ 173.416992] d910 00001000 00000004 fa200000 00000044 ce6bd94c ce6bd930 c0008624 c0015350
[ 173.425628] d930 c05bef80 60000013 ffffffff ce6bd984 ce6bd9ac ce6bd950 c0014084 c00085ac
[ 173.434265] d950 c05bef78 00000001 ce6bd998 00000000 c0829ae8 c0829ae8 ce6bc000 c0807f90
[ 173.442901] d970 5651729b 00000023 c080a2e4 ce6bd9ac ce6bd988 ce6bd998 c0072fdc c05bef80
[ 173.451538] d990 60000013 ffffffff 00000002 cd9bef40 ce6bd9fc ce6bd9b0 c05bb7a4 c05bef58
[ 173.460174] d9b0 5651729b 00000023 c05bbbb4 c09b0814 c09a0a44 c0804168 56534f71 00000023
[ 173.468811][ 173.468811] R8: 0xc0a12404:
[ 173.473297] 2404 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.481933] 2424 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 173.490570] 2444 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.499206] 2464 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.507843] 2484 c0048568 c004e2e4 c048ed04 c048f8c4 c01f7a54 c01f7fa8 c0048634 00000000
[ 173.516479] 24a4 c00631a4 c008b10c 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.525115] 24c4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.533752] 24e4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.542388][ 173.542388] R9: 0xc0a123c0:
[ 173.546844] 23c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.555480] 23e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.564117] 2400 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.572753] 2420 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.581390] 2440 00000002 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.590026] 2460 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 173.598663] 2480 00000000 c0048568 c004e2e4 c048ed04 c048f8c4 c01f7a54 c01f7fa8 c0048634
[ 173.607299] 24a0 00000000 c00631a4 c008b10c 00000000 00000000 00000000 00000000 00000000
[ 173.615936][ 173.615936] R10: 0xc0829f10:
[ 173.620513] 9f10 00000000 c0039788 00000000 c0807f90 c0807f90 00000000 00000000 00000000
[ 173.629150] 9f30 35b19b55 00000028 35b19b55 00000028 00000000 ffffcf4f 00000004 00000000
[ 173.637786] 9f50 0000e2d4 00000000 8f84862f 0000000f 00000000 00000000 00000000 00000000
[ 173.646423] 9f70 5889dbae 00000005 00000017 00000000 00014eb3 000064cd 0000d51b 00000000
[ 173.655059] 9f90 00000067 00000000 00000000 00000000 00000764 00000000 0000081f 00000000
[ 173.663696] 9fb0 00000000 00000000 000031c4 00000000 000000a6 00000000 00000000 00000000
[ 173.672332] 9fd0 00000000 00000000 00000000 00000000 00652db2 00000000 00003a9d 0000001e
[ 173.680969] 9ff0 000006f5 00000000 00000000 00000001 00000000 00000000 000028b8 00000000
[ 173.689605] Backtrace:[ 173.692199] [<c0017eec>] (dump_backtrace+0x0/0x110) from [<c05baef8>] (dump_stack+0x18/0x1c)
[ 173.701049] r6:c098d038 r5:00000000 r4:ce6bd868 r3:00010103
[ 173.707000] [<c05baee0>] (dump_stack+0x0/0x1c) from [<c0015c94>] (show_regs+0x4c/0x50)
[ 173.715332] [<c0015c48>] (show_regs+0x0/0x50) from [<c0085d38>] (watchdog_timer_fn+0x134/0x15c)
[ 173.724426] r4:ce6bc000 r3:00010103
[ 173.728210] [<c0085c04>] (watchdog_timer_fn+0x0/0x15c) from [<c0062664>] (__run_hrtimer.clone.28+0x64/0x144)
[ 173.738525] [<c0062600>] (__run_hrtimer.clone.28+0x0/0x144) from [<c0062fb0>] (hrtimer_interrupt+0xe8/0x278)
[ 173.748840] r7:c082c248 r6:c082c1e0 r5:00000028 r4:35206648
[ 173.754821] [<c0062ec8>] (hrtimer_interrupt+0x0/0x278) from [<c0022d18>] (omap2_gp_timer_interrupt+0x34/0x3c)
[ 173.765228] [<c0022ce4>] (omap2_gp_timer_interrupt+0x0/0x3c) from [<c008676c>] (handle_irq_event_percpu+0x58/0x1c4)
[ 173.776184] [<c0086714>] (handle_irq_event_percpu+0x0/0x1c4) from [<c008691c>] (handle_irq_event+0x44/0x64)
[ 173.786407] [<c00868d8>] (handle_irq_event+0x0/0x64) from [<c0088904>] (handle_level_irq+0x98/0x114)
[ 173.795959] r6:ce6bd950 r5:c09903e0 r4:c0990390 r3:00020000
[ 173.801940] [<c008886c>] (handle_level_irq+0x0/0x114) from [<c0086038>] (generic_handle_irq+0x38/0x48)
[ 173.811706] r5:00000044 r4:c09b0600
[ 173.815460] [<c0086000>] (generic_handle_irq+0x0/0x48) from [<c0015384>] (handle_IRQ+0x40/0x8c)
[ 173.824584] [<c0015344>] (handle_IRQ+0x0/0x8c) from [<c0008624>] (omap3_intc_handle_irq+0x84/0x88)
[ 173.833984] r6:00000044 r5:fa200000 r4:00000004 r3:00001000
[ 173.839965] [<c00085a0>] (omap3_intc_handle_irq+0x0/0x88) from [<c0014084>] (__irq_svc+0x44/0x60)
[ 173.849273] Exception stack(0xce6bd868 to 0xce6bd8b0)
[ 173.854583] d860: c0048c50 00000100 00000001 00000000 00000002 c0a12484
[ 173.863159] d880: ce6bc000 ce6bd950 c0a12484 c0a12440 c0829f90 ce6bd8f4 ce6bd8a0 ce6bd8b0
[ 173.871734] d8a0: c0072fdc c0048c58 60000113 ffffffff
[ 173.877014] r7:ce6bd89c r6:ffffffff r5:60000113 r4:c0048c58
[ 173.882995] [<c0048bd8>] (__do_softirq+0x0/0x164) from [<c0049218>] (irq_exit+0xac/0xb0)
[ 173.891479] [<c004916c>] (irq_exit+0x0/0xb0) from [<c0015388>] (handle_IRQ+0x44/0x8c)
[ 173.899688] r4:c09b0600 r3:00000000
[ 173.903472] [<c0015344>] (handle_IRQ+0x0/0x8c) from [<c0008624>] (omap3_intc_handle_irq+0x84/0x88)
[ 173.912841] r6:00000044 r5:fa200000 r4:00000004 r3:00001000
[ 173.918823] [<c00085a0>] (omap3_intc_handle_irq+0x0/0x88) from [<c0014084>] (__irq_svc+0x44/0x60)
[ 173.928131] Exception stack(0xce6bd950 to 0xce6bd998)
[ 173.933410] d940: c05bef78 00000001 ce6bd998 00000000
[ 173.942016] d960: c0829ae8 c0829ae8 ce6bc000 c0807f90 5651729b 00000023 c080a2e4 ce6bd9ac
[ 173.950592] d980: ce6bd988 ce6bd998 c0072fdc c05bef80 60000013 ffffffff
[ 173.957519] r7:ce6bd984 r6:ffffffff r5:60000013 r4:c05bef80
[ 173.963500] [<c05bef4c>] (_raw_spin_unlock_irq+0x0/0x4c) from [<c05bb7a4>] (__schedule+0x27c/0x598)
[ 173.972961] r4:cd9bef40 r3:00000002
[ 173.976745] [<c05bb528>] (__schedule+0x0/0x598) from [<c05bbbb4>] (schedule+0x50/0x68)
[ 173.985046] [<c05bbb64>] (schedule+0x0/0x68) from [<c05bbfc4>] (schedule_timeout+0x17c/0x1e4)
[ 173.993988] [<c05bbe48>] (schedule_timeout+0x0/0x1e4) from [<c05bb3dc>] (wait_for_common+0xc8/0x168)
[ 174.003570] r8:ce6bc000 r7:00000002 r6:ce6bdb38 r5:ce6bdb3c r4:7fffffff
[ 174.010650] [<c05bb314>] (wait_for_common+0x0/0x168) from [<c05bb524>] (wait_for_completion+0x18/0x1c)
[ 174.020416] [<c05bb50c>] (wait_for_completion+0x0/0x1c) from [<c042b368>] (mmc_wait_for_req_done+0x84/0xcc)
[ 174.030639] [<c042b2e4>] (mmc_wait_for_req_done+0x0/0xcc) from [<c042b414>] (mmc_wait_for_req+0x64/0x90)
[ 174.040588] [<c042b3b0>] (mmc_wait_for_req+0x0/0x90) from [<c04338d8>] (mmc_io_rw_extended+0x1bc/0x25c)
[ 174.050445] r5:00000200 r4:cf758800
[ 174.054229] [<c043371c>] (mmc_io_rw_extended+0x0/0x25c) from [<c0434c88>] (sdio_io_rw_ext_helper+0x19c/0x1b4)
[ 174.064605] [<c0434aec>] (sdio_io_rw_ext_helper+0x0/0x1b4) from [<c0434db8>] (sdio_memcpy_fromio+0x24/0x2c)
[ 174.074829] [<c0434d94>] (sdio_memcpy_fromio+0x0/0x2c) from [<c0434dec>] (sdio_readl+0x2c/0x50)
[ 174.083953] [<c0434dc0>] (sdio_readl+0x0/0x50) from [<c0325e8c>] (sd_read32+0x68/0x160)
[ 174.092346] r5:cf774800 r4:00000000
[ 174.096130] [<c0325e24>] (sd_read32+0x0/0x160) from [<c0358e08>] (sdio_read32+0xa4/0x100)
[ 174.104705] [<c0358d64>] (sdio_read32+0x0/0x100) from [<c02ee33c>] (_rtw_read32+0x20/0x24)
[ 174.113372] r7:00000e14 r6:d0919000 r5:0000002d r4:00ff0000
[ 174.119354] [<c02ee31c>] (_rtw_read32+0x0/0x24) from [<c0352b20>] (PHY_SetBBReg8188E+0x28/0x54)
[ 174.128479] [<c0352af8>] (PHY_SetBBReg8188E+0x0/0x54) from [<c0339bc8>] (rtw_hal_write_bbreg+0x20/0x24)
[ 174.138336] r8:00000008 r7:ce6bdd9e r6:d0919000 r5:00000000 r4:000000ff
[ 174.145202] r3:0000002d
[ 174.147979] [<c0339ba8>] (rtw_hal_write_bbreg+0x0/0x24) from [<c0353488>] (PHY_SetTxPowerIndex_8188E+0x3d8/0x910)
[ 174.158752] [<c03530b0>] (PHY_SetTxPowerIndex_8188E+0x0/0x910) from [<c0343bb8>] (PHY_SetTxPowerIndex+0x8c/0x90)
[ 174.169433] [<c0343b2c>] (PHY_SetTxPowerIndex+0x0/0x90) from [<c0343c1c>] (PHY_SetTxPowerIndexByRateArray+0x60/0x74)
[ 174.180450] r4:00000006 r3:00000086
[ 174.184234] [<c0343bbc>] (PHY_SetTxPowerIndexByRateArray+0x0/0x74) from [<c0343d1c>] (PHY_SetTxPowerIndexByRateSection+0xec/0x2dc)
[ 174.196533] [<c0343c30>] (PHY_SetTxPowerIndexByRateSection+0x0/0x2dc) from [<c0343f6c>] (PHY_SetTxPowerLevelByPath+0x60/0x174)
[ 174.208496] [<c0343f0c>] (PHY_SetTxPowerLevelByPath+0x0/0x174) from [<c03530ac>] (PHY_SetTxPowerLevel8188E+0x14/0x18)
[ 174.219604] r7:d0919000 r6:00000000 r5:d091f000 r4:d091f000
[ 174.225585] [<c0353098>] (PHY_SetTxPowerLevel8188E+0x0/0x18) from [<c0353eac>] (PHY_SwChnl8188E+0xa4/0x144)
[ 174.235809] [<c0353e08>] (PHY_SwChnl8188E+0x0/0x144) from [<c0353f68>] (PHY_SetSwChnlBWMode8188E+0x1c/0x30)
[ 174.246032] [<c0353f4c>] (PHY_SetSwChnlBWMode8188E+0x0/0x30) from [<c0339e00>] (rtw_hal_set_chnl_bw+0xa4/0xb0)
[ 174.256500] r6:d091f000 r5:d0919000 r4:d09279a8 r3:00000000
[ 174.262481] [<c0339d5c>] (rtw_hal_set_chnl_bw+0x0/0xb0) from [<c0306d14>] (set_channel_bwmode+0xbc/0xd0)
[ 174.272430] [<c0306c58>] (set_channel_bwmode+0x0/0xd0) from [<c03039e4>] (site_survey+0x2c/0x1d8)
[ 174.281768] [<c03039b8>] (site_survey+0x0/0x1d8) from [<c0305714>] (sitesurvey_cmd_hdl+0x584/0x744)
[ 174.291229] r8:d091a650 r7:ce6bc000 r6:00000000 r5:00000005 r4:d0919000
[ 174.298309] [<c0305190>] (sitesurvey_cmd_hdl+0x0/0x744) from [<c02e1ae4>] (rtw_cmd_thread+0x3bc/0x504)
[ 174.308074] [<c02e1728>] (rtw_cmd_thread+0x0/0x504) from [<c005e6e4>] (kthread+0x90/0x94)
[ 174.316680] [<c005e654>] (kthread+0x0/0x94) from [<c0046584>] (do_exit+0x0/0x740)
[ 174.324523] r6:c0046584 r5:c005e654 r4:ce535d30
[ 174.329376] Kernel panic – not syncing: softlockup: hung tasks
[ 174.335479] Backtrace:[ 174.338073] [<c0017eec>] (dump_backtrace+0x0/0x110) from [<c05baef8>] (dump_stack+0x18/0x1c)
[ 174.346893] r6:c098d038 r5:00000000 r4:c0a01b00 r3:00010104
[ 174.352874] [<c05baee0>] (dump_stack+0x0/0x1c) from [<c05baf80>] (panic+0x84/0x1c8)
[ 174.360931] [<c05baefc>] (panic+0x0/0x1c8) from [<c0085d58>] (watchdog_timer_fn+0x154/0x15c)
[ 174.369750] r3:00000001 r2:ce6bc000 r1:00000001 r0:c0706b0c
[ 174.375732] r7:c0804998
[ 174.378387] [<c0085c04>] (watchdog_timer_fn+0x0/0x15c) from [<c0062664>] (__run_hrtimer.clone.28+0x64/0x144)
[ 174.388702] [<c0062600>] (__run_hrtimer.clone.28+0x0/0x144) from [<c0062fb0>] (hrtimer_interrupt+0xe8/0x278)
[ 174.399017] r7:c082c248 r6:c082c1e0 r5:00000028 r4:35206648
[ 174.404998] [<c0062ec8>] (hrtimer_interrupt+0x0/0x278) from [<c0022d18>] (omap2_gp_timer_interrupt+0x34/0x3c)
[ 174.415405] [<c0022ce4>] (omap2_gp_timer_interrupt+0x0/0x3c) from [<c008676c>] (handle_irq_event_percpu+0x58/0x1c4)
[ 174.426330] [<c0086714>] (handle_irq_event_percpu+0x0/0x1c4) from [<c008691c>] (handle_irq_event+0x44/0x64)
[ 174.436553] [<c00868d8>] (handle_irq_event+0x0/0x64) from [<c0088904>] (handle_level_irq+0x98/0x114)
[ 174.446136] r6:ce6bd950 r5:c09903e0 r4:c0990390 r3:00020000
[ 174.452117] [<c008886c>] (handle_level_irq+0x0/0x114) from [<c0086038>] (generic_handle_irq+0x38/0x48)
[ 174.461853] r5:00000044 r4:c09b0600
[ 174.465637] [<c0086000>] (generic_handle_irq+0x0/0x48) from [<c0015384>] (handle_IRQ+0x40/0x8c)
[ 174.474761] [<c0015344>] (handle_IRQ+0x0/0x8c) from [<c0008624>] (omap3_intc_handle_irq+0x84/0x88)
[ 174.484161] r6:00000044 r5:fa200000 r4:00000004 r3:00001000
[ 174.490112] [<c00085a0>] (omap3_intc_handle_irq+0x0/0x88) from [<c0014084>] (__irq_svc+0x44/0x60)
[ 174.499420] Exception stack(0xce6bd868 to 0xce6bd8b0)
[ 174.504730] d860: c0048c50 00000100 00000001 00000000 00000002 c0a12484
[ 174.513305] d880: ce6bc000 ce6bd950 c0a12484 c0a12440 c0829f90 ce6bd8f4 ce6bd8a0 ce6bd8b0
[ 174.521881] d8a0: c0072fdc c0048c58 60000113 ffffffff
[ 174.527191] r7:ce6bd89c r6:ffffffff r5:60000113 r4:c0048c58
[ 174.533142] [<c0048bd8>] (__do_softirq+0x0/0x164) from [<c0049218>] (irq_exit+0xac/0xb0)
[ 174.541625] [<c004916c>] (irq_exit+0x0/0xb0) from [<c0015388>] (handle_IRQ+0x44/0x8c)
[ 174.549835] r4:c09b0600 r3:00000000
[ 174.553619] [<c0015344>] (handle_IRQ+0x0/0x8c) from [<c0008624>] (omap3_intc_handle_irq+0x84/0x88)
[ 174.563018] r6:00000044 r5:fa200000 r4:00000004 r3:00001000
[ 174.568969] [<c00085a0>] (omap3_intc_handle_irq+0x0/0x88) from [<c0014084>] (__irq_svc+0x44/0x60)
[ 174.578277] Exception stack(0xce6bd950 to 0xce6bd998)
[ 174.583587] d940: c05bef78 00000001 ce6bd998 00000000
[ 174.592163] d960: c0829ae8 c0829ae8 ce6bc000 c0807f90 5651729b 00000023 c080a2e4 ce6bd9ac
[ 174.600738] d980: ce6bd988 ce6bd998 c0072fdc c05bef80 60000013 ffffffff
[ 174.607666] r7:ce6bd984 r6:ffffffff r5:60000013 r4:c05bef80
[ 174.613647] [<c05bef4c>] (_raw_spin_unlock_irq+0x0/0x4c) from [<c05bb7a4>] (__schedule+0x27c/0x598)
[ 174.623107] r4:cd9bef40 r3:00000002
[ 174.626892] [<c05bb528>] (__schedule+0x0/0x598) from [<c05bbbb4>] (schedule+0x50/0x68)
[ 174.635192] [<c05bbb64>] (schedule+0x0/0x68) from [<c05bbfc4>] (schedule_timeout+0x17c/0x1e4)
[ 174.644134] [<c05bbe48>] (schedule_timeout+0x0/0x1e4) from [<c05bb3dc>] (wait_for_common+0xc8/0x168)
[ 174.653717] r8:ce6bc000 r7:00000002 r6:ce6bdb38 r5:ce6bdb3c r4:7fffffff
[ 174.660797] [<c05bb314>] (wait_for_common+0x0/0x168) from [<c05bb524>] (wait_for_completion+0x18/0x1c)
[ 174.670562] [<c05bb50c>] (wait_for_completion+0x0/0x1c) from [<c042b368>] (mmc_wait_for_req_done+0x84/0xcc)
[ 174.680786] [<c042b2e4>] (mmc_wait_for_req_done+0x0/0xcc) from [<c042b414>] (mmc_wait_for_req+0x64/0x90)
[ 174.690734] [<c042b3b0>] (mmc_wait_for_req+0x0/0x90) from [<c04338d8>] (mmc_io_rw_extended+0x1bc/0x25c)
[ 174.700592] r5:00000200 r4:cf758800
[ 174.704345] [<c043371c>] (mmc_io_rw_extended+0x0/0x25c) from [<c0434c88>] (sdio_io_rw_ext_helper+0x19c/0x1b4)
[ 174.714752] [<c0434aec>] (sdio_io_rw_ext_helper+0x0/0x1b4) from [<c0434db8>] (sdio_memcpy_fromio+0x24/0x2c)
[ 174.724975] [<c0434d94>] (sdio_memcpy_fromio+0x0/0x2c) from [<c0434dec>] (sdio_readl+0x2c/0x50)
[ 174.734100] [<c0434dc0>] (sdio_readl+0x0/0x50) from [<c0325e8c>] (sd_read32+0x68/0x160)
[ 174.742492] r5:cf774800 r4:00000000
[ 174.746246] [<c0325e24>] (sd_read32+0x0/0x160) from [<c0358e08>] (sdio_read32+0xa4/0x100)
[ 174.754852] [<c0358d64>] (sdio_read32+0x0/0x100) from [<c02ee33c>] (_rtw_read32+0x20/0x24)
[ 174.763488] r7:00000e14 r6:d0919000 r5:0000002d r4:00ff0000
[ 174.769470] [<c02ee31c>] (_rtw_read32+0x0/0x24) from [<c0352b20>] (PHY_SetBBReg8188E+0x28/0x54)
[ 174.778594] [<c0352af8>] (PHY_SetBBReg8188E+0x0/0x54) from [<c0339bc8>] (rtw_hal_write_bbreg+0x20/0x24)
[ 174.788452] r8:00000008 r7:ce6bdd9e r6:d0919000 r5:00000000 r4:000000ff
[ 174.795318] r3:0000002d
[ 174.798095] [<c0339ba8>] (rtw_hal_write_bbreg+0x0/0x24) from [<c0353488>] (PHY_SetTxPowerIndex_8188E+0x3d8/0x910)
[ 174.808837] [<c03530b0>] (PHY_SetTxPowerIndex_8188E+0x0/0x910) from [<c0343bb8>] (PHY_SetTxPowerIndex+0x8c/0x90)
[ 174.819519] [<c0343b2c>] (PHY_SetTxPowerIndex+0x0/0x90) from [<c0343c1c>] (PHY_SetTxPowerIndexByRateArray+0x60/0x74)
[ 174.830566] r4:00000006 r3:00000086
[ 174.834320] [<c0343bbc>] (PHY_SetTxPowerIndexByRateArray+0x0/0x74) from [<c0343d1c>] (PHY_SetTxPowerIndexByRateSection+0xec/0x2dc)
[ 174.846649] [<c0343c30>] (PHY_SetTxPowerIndexByRateSection+0x0/0x2dc) from [<c0343f6c>] (PHY_SetTxPowerLevelByPath+0x60/0x174)
[ 174.858612] [<c0343f0c>] (PHY_SetTxPowerLevelByPath+0x0/0x174) from [<c03530ac>] (PHY_SetTxPowerLevel8188E+0x14/0x18)
[ 174.869720] r7:d0919000 r6:00000000 r5:d091f000 r4:d091f000
[ 174.875701] [<c0353098>] (PHY_SetTxPowerLevel8188E+0x0/0x18) from [<c0353eac>] (PHY_SwChnl8188E+0xa4/0x144)
[ 174.885925] [<c0353e08>] (PHY_SwChnl8188E+0x0/0x144) from [<c0353f68>] (PHY_SetSwChnlBWMode8188E+0x1c/0x30)
[ 174.896148] [<c0353f4c>] (PHY_SetSwChnlBWMode8188E+0x0/0x30) from [<c0339e00>] (rtw_hal_set_chnl_bw+0xa4/0xb0)
[ 174.906616] r6:d091f000 r5:d0919000 r4:d09279a8 r3:00000000
[ 174.912597] [<c0339d5c>] (rtw_hal_set_chnl_bw+0x0/0xb0) from [<c0306d14>] (set_channel_bwmode+0xbc/0xd0)
[ 174.922546] [<c0306c58>] (set_channel_bwmode+0x0/0xd0) from [<c03039e4>] (site_survey+0x2c/0x1d8)
[ 174.931854] [<c03039b8>] (site_survey+0x0/0x1d8) from [<c0305714>] (sitesurvey_cmd_hdl+0x584/0x744)
[ 174.941345] r8:d091a650 r7:ce6bc000 r6:00000000 r5:00000005 r4:d0919000
[ 174.948394] [<c0305190>] (sitesurvey_cmd_hdl+0x0/0x744) from [<c02e1ae4>] (rtw_cmd_thread+0x3bc/0x504)
[ 174.958160] [<c02e1728>] (rtw_cmd_thread+0x0/0x504) from [<c005e6e4>] (kthread+0x90/0x94)
[ 174.966766] [<c005e654>] (kthread+0x0/0x94) from [<c0046584>] (do_exit+0x0/0x740)
[ 174.974609] r6:c0046584 r5:c005e654 r4:ce535d30
有没有大神解惑,不胜感激
Shine:
这里有个客户分享的移植文档,看是否有帮助。
e2echina.ti.com/…/127565
yongqing wang:
回复 Shine:
BUG: soft lockup – CPU#0 stuck for 22s! [RTW_CMD_THREAD:1128]这个bug可以看看这个帖子:blog.csdn.net/…/43341013