WhyCan Forum

人过留名,雁过留声,感谢各位朋友不离不弃地支持。 QQ: 516333132 (挖坑网/填坑网) admin@whycan.cn

您尚未登录。

#1 2019-07-09 22:00:33

ippen
会员
注册时间: 2018-07-22
累计积分: 220

F1c100s 加载rtl8723bs sdio 无线模块出错

F1c100s 使用厂家的bsp linux, linux 版本是3。10。65,8723bs编译成模块,用modprobe 8723bs加载出错,日志如下

/ # modprobe 8723bs
[   17.434083] RTL871X: module init start
[   17.438275] RTL871X: rtl8723bs v4.3.9.6_13612.20150311_BTCOEX20140929-5443_beta
[   17.446467] RTL871X: build time: Jul  9 2019 12:57:58
[   17.452066] RTL871X: rtl8723bs BT-Coex version = BTCOEX20140929-5443
[   17.459163] ------------[ cut here ]------------
[   17.464287] Kernel BUG at c0183548 [verbose debug info unavailable]
[   17.471227] Internal error: Oops - BUG: 0 [#1] ARM
[   17.476529] Modules linked in: 8723bs(+)
[   17.480897] CPU: 0 PID: 59 Comm: modprobe Not tainted 3.10.65 #23
[   17.487649] task: c16097a0 ti: c16c8000 task.ti: c16c8000
[   17.493659] PC is at sunxi_wlan_get_bus_index+0x1c/0x48
[   17.501205] LR is at platform_wifi_power_on+0x10/0x64 [8723bs]
[   17.507683] pc : [<c0183548>]    lr : [<bf0d08f8>]    psr: 60000013
[   17.507683] sp : c16c9e10  ip : c16c9e28  fp : c16c9e24
[   17.520396] r10: c0a525e4  r9 : 00000001  r8 : c0a525c0
[   17.526185] r7 : 00000000  r6 : bf14b000  r5 : c16c8000  r4 : c0477828
[   17.533412] r3 : 00000000  r2 : c044549c  r1 : 00000000  r0 : 00000038
[   17.540642] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   17.548542] Control: 0005317f  Table: 816d4000  DAC: 00000015
[   17.554902]
[   17.554902] PC: 0xc01834c8:
[   17.559630] 34c8  e1a04000 e5953000 e3530000 1a000000 e7f001f2 e59f0040 e5936024 eb05cbbd
[   17.568731] 34e8  e5950000 e5903020 e1540003 0a000006 e1a01004 ebfffe8c e3500000 0a000002
[   17.577824] 3508  e59f1018 e2860010 ebffafc9 e59f0008 eb05cb78 e89da8f0 c0477828 c0458640
[   17.586915] 3528  c03da45e e1a0c00d e92dd830 e24cb004 e59f402c e5943000 e3530000 1a000000
[   17.596007] 3548  e7f001f2 e5930024 e5932000 e59f1014 e2800010 ebffb003 e5943000 e5930000
[   17.605101] 3568  e89da830 c0477828 c03da64f e1a0c00d e92dd8f0 e24cb004 e59f5044 e5953000
[   17.614194] 3588  e3530000 1a000000 e7f001f2 e5930014 e5936024 ebff1183 e3700a01 e1a04000
[   17.623286] 35a8  9a000005 e5952000 e1a03000 e5922014 e59f1010 e2860010 ebffaf9d e1a00004
[   17.632380]
[   17.632380] SP: 0xc16c9d90:
[   17.637105] 9d90  00000002 c0445498 00000004 c04690f8 00000000 c16c9e14 c018354c 60000013
[   17.646194] 9db0  ffffffff c16c9dfc c16c9e24 c16c9dc8 c000f48c c000a024 00000038 00000000
[   17.655287] 9dd0  c044549c 00000000 c0477828 c16c8000 bf14b000 00000000 c0a525c0 00000001
[   17.664380] 9df0  c0a525e4 c16c9e24 c16c9e28 c16c9e10 bf0d08f8 c0183548 60000013 ffffffff
[   17.673473] 9e10  c16c8010 c16c8000 c16c9e44 c16c9e28 bf0d08f8 c018353c c16c8010 c16c8000
[   17.682567] 9e30  bf14b000 00000000 c16c9e5c c16c9e48 bf14b04c bf0d08f8 c16c8010 c16c8000
[   17.691659] 9e50  c16c9e8c c16c9e60 c000a3d8 bf14b010 bf10bdcc c0a525c0 c16c9e8c c16c8010
[   17.700757] 9e70  00000001 bf10bd84 bf10bdcc c0a525c0 c16c9f44 c16c9e90 c0055780 c000a3c0
[   17.709854]
[   17.709854] IP: 0xc16c9da8:
[   17.714581] 9da8  c018354c 60000013 ffffffff c16c9dfc c16c9e24 c16c9dc8 c000f48c c000a024
[   17.723674] 9dc8  00000038 00000000 c044549c 00000000 c0477828 c16c8000 bf14b000 00000000
[   17.732766] 9de8  c0a525c0 00000001 c0a525e4 c16c9e24 c16c9e28 c16c9e10 bf0d08f8 c0183548
[   17.741861] 9e08  60000013 ffffffff c16c8010 c16c8000 c16c9e44 c16c9e28 bf0d08f8 c018353c
[   17.750953] 9e28  c16c8010 c16c8000 bf14b000 00000000 c16c9e5c c16c9e48 bf14b04c bf0d08f8
[   17.760046] 9e48  c16c8010 c16c8000 c16c9e8c c16c9e60 c000a3d8 bf14b010 bf10bdcc c0a525c0
[   17.769142] 9e68  c16c9e8c c16c8010 00000001 bf10bd84 bf10bdcc c0a525c0 c16c9f44 c16c9e90
[   17.778233] 9e88  c0055780 c000a3c0 bf10bd90 00007fff c005278c c0022c38 c0475020 00ff1048
[   17.787326]
[   17.787326] FP: 0xc16c9da4:
[   17.792052] 9da4  c16c9e14 c018354c 60000013 ffffffff c16c9dfc c16c9e24 c16c9dc8 c000f48c
[   17.801147] 9dc4  c000a024 00000038 00000000 c044549c 00000000 c0477828 c16c8000 bf14b000
[   17.810238] 9de4  00000000 c0a525c0 00000001 c0a525e4 c16c9e24 c16c9e28 c16c9e10 bf0d08f8
[   17.819327] 9e04  c0183548 60000013 ffffffff c16c8010 c16c8000 c16c9e44 c16c9e28 bf0d08f8
[   17.828420] 9e24  c018353c c16c8010 c16c8000 bf14b000 00000000 c16c9e5c c16c9e48 bf14b04c
[   17.837514] 9e44  bf0d08f8 c16c8010 c16c8000 c16c9e8c c16c9e60 c000a3d8 bf14b010 bf10bdcc
[   17.846607] 9e64  c0a525c0 c16c9e8c c16c8010 00000001 bf10bd84 bf10bdcc c0a525c0 c16c9f44
[   17.855704] 9e84  c16c9e90 c0055780 c000a3c0 bf10bd90 00007fff c005278c c0022c38 c0475020
[   17.864801]
[   17.864801] R2: 0xc044541c:
[   17.869528] 541c  00000001 00000002 00000003 00000004 00000005 00000006 00000007 00000008
[   17.878617] 543c  00000009 0000000a 0000000b 0000000c 0000000d 0000000e 0000000f 00000010
[   17.887704] 545c  00000011 00000012 00000013 00000014 00000015 00000016 00000017 00000018
[   17.896791] 547c  00000019 0000001a 0000001b 0000001c 0000001d 0000001e 0000001f c0469df8
[   17.905884] 549c  c044549c c044549c 00000001 c04454a8 c04454a8 00004000 00000001 c04454b8
[   17.914974] 54bc  c04454b8 000001f4 0000000a 00000000 00000000 00000000 00000000 0000000f
[   17.924059] 54dc  00000004 00000001 00000007 00000001 ffffffff ffffffff 00000000 00000000
[   17.933149] 54fc  00000004 00000000 c001e820 00000000 00000000 00000000 00000000 00000000
[   17.942240]
[   17.942240] R4: 0xc04777a8:
[   17.946966] 77a8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   17.956057] 77c8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   17.965145] 77e8  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   17.974233] 7808  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   17.983319] 7828  00000000 00000000 00000000 00000000 00000000 c1801580 00000000 00000000
[   17.992412] 7848  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.001499] 7868  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.010588] 7888  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.019677]
[   18.019677] R5: 0xc16c7f80:
[   18.024403] 7f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.033493] 7fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.042583] 7fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.051675] 7fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.060766] 8000  00000002 00000001 00000000 c16097a0 c04453ec 00000000 00000017 c16097a0
[   18.069859] 8020  c1609500 00000000 c0447268 c16c8030 c16c8000 c140c600 c16c9d1c c16c9cf0
[   18.078951] 8040  c02f6e00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.088040] 8060  b6f124c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.097134]
[   18.097134] R8: 0xc0a52540:
[   18.101861] 2540  00000001 00000000 c0a52280 c147be80 c0a523d1 c0a52490 c0a52590 00000000
[   18.110954] 2560  00000000 30936305 c16c4178 00000000 00000000 81240002 000019bb 00000000
[   18.120042] 2580  00000001 00000000 c0a52280 c147bdc0 c0a52550 00000000 00000000 00000000
[   18.129135] 25a0  00000000 2fe0e316 c16c419c 00000000 00000000 81240002 000019bc 00000000
[   18.138225] 25c0  c0a52600 00000001 c147bc20 00000124 00000024 bf0ea1dc c005306c 00000000
[   18.147320] 25e0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.156411] 2600  c147be40 c0a52604 c0a52604 bf10bdcc 00000000 c0452e74 c0a52640 00000001
[   18.165504] 2620  00000003 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.174595]
[   18.174595] R10: 0xc0a52564:
[   18.179416] 2564  30936305 c16c4178 00000000 00000000 81240002 000019bb 00000000 00000001
[   18.188508] 2584  00000000 c0a52280 c147bdc0 c0a52550 00000000 00000000 00000000 00000000
[   18.197599] 25a4  2fe0e316 c16c419c 00000000 00000000 81240002 000019bc 00000000 c0a52600
[   18.206694] 25c4  00000001 c147bc20 00000124 00000024 bf0ea1dc c005306c 00000000 00000000
[   18.215785] 25e4  00000000 00000000 00000000 00000000 00000000 00000000 00000000 c147be40
[   18.224873] 2604  c0a52604 c0a52604 bf10bdcc 00000000 c0452e74 c0a52640 00000001 00000003
[   18.233962] 2624  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[   18.243052] 2644  00000000 c16be280 c147bde0 c0a52151 c0a52210 c0a52110 00000000 00000000
[   18.252152] Process modprobe (pid: 59, stack limit = 0xc16c81b8)
[   18.258804] Stack: (0xc16c9e10 to 0xc16ca000)
[   18.272205] 9e00:                                     c16c8010 c16c8000 c16c9e44 c16c9e28
[   18.281453] 9e20: bf0d08f8 c018353c c16c8010 c16c8000 bf14b000 00000000 c16c9e5c c16c9e48
[   18.290602] 9e40: bf14b04c bf0d08f8 c16c8010 c16c8000 c16c9e8c c16c9e60 c000a3d8 bf14b010
[   18.299739] 9e60: bf10bdcc c0a525c0 c16c9e8c c16c8010 00000001 bf10bd84 bf10bdcc c0a525c0
[   18.308871] 9e80: c16c9f44 c16c9e90 c0055780 c000a3c0 bf10bd90 00007fff c005278c c0022c38
[   18.317996] 9ea0: c0475020 00ff1048 c16c9ed4 c2bccbe4 00001e54 bf10beac c0053168 00000028
[   18.327117] 9ec0: 00000000 bf10bd90 c16c9fa4 c16c9ed8 c000f420 c000a2e0 c2c02ce0 00000000
[   18.336233] 9ee0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   18.345348] 9f00: 00000000 00000000 00000000 00000000 00000000 00000000 20000013 b6c2c008
[   18.354467] 9f20: 00ff1048 0017cbb8 00000080 c000f928 c16c8000 00000000 c16c9fa4 c16c9f48
[   18.363545] 9f40: c0055dcc c0054220 c2abc000 0017cbb8 c2bcc824 c2bcc73a c2c20d64 0011447c
[   18.372656] 9f60: 0013113c 00000000 00000000 00000000 00000018 00000019 00000010 0000000d
[   18.381773] 9f80: 0000000a 00000000 c0012dd8 0017cbb8 00000006 00ff1008 00000000 c16c9fa8
[   18.390898] 9fa0: c000f7a0 c0055d10 0017cbb8 00000006 b6c2c008 0017cbb8 00ff1048 00ff1300
[   18.400017] 9fc0: 0017cbb8 00000006 00ff1008 00000080 00000001 00ff1028 00000000 00ff1338
[   18.409136] 9fe0: be86ca20 be86ca10 00019b8c b6e7cad0 60000010 b6c2c008 00000000 00000000
[   18.418222] Backtrace:
[   18.422754] [<c018352c>] (sunxi_wlan_get_bus_index+0x0/0x48) from [<bf0d08f8>] (platform_wifi_power_on+0x10/0x64 [8723bs])
[   18.435062]  r5:c16c8000 r4:c16c8010
[   18.442101] [<bf0d08e8>] (platform_wifi_power_on+0x0/0x64 [8723bs]) from [<bf14b04c>] (rtw_drv_entry+0x4c/0xdc [8723bs])
[   18.454218]  r7:00000000 r6:bf14b000 r5:c16c8000 r4:c16c8010
[   18.461860] [<bf14b000>] (rtw_drv_entry+0x0/0xdc [8723bs]) from [<c000a3d8>] (do_one_initcall+0x28/0xcc)
[   18.472436]  r5:c16c8000 r4:c16c8010
[   18.476510] [<c000a3b0>] (do_one_initcall+0x0/0xcc) from [<c0055780>] (load_module+0x1570/0x1af0)
[   18.486378]  r8:c0a525c0 r7:bf10bdcc r6:bf10bd84 r5:00000001 r4:c16c8010
[   18.493912] [<c0054210>] (load_module+0x0/0x1af0) from [<c0055dcc>] (SyS_init_module+0xcc/0xd4)
[   18.503583] [<c0055d00>] (SyS_init_module+0x0/0xd4) from [<c000f7a0>] (ret_fast_syscall+0x0/0x2c)
[   18.513449]  r6:00ff1008 r5:00000006 r4:0017cbb8
[   18.518659] Code: e59f402c e5943000 e3530000 1a000000 (e7f001f2)
[   18.525464] ---[ end trace ab3285227f5e12e5 ]---
Segmentation fault
/ #

有哪位成功加载过8723bs模块的?

离线

#2 2019-07-09 23:04:37

晕哥
Administrator
注册时间: 2017-09-06
累计积分: 7,687

Re: F1c100s 加载rtl8723bs sdio 无线模块出错

sunxi_wlan_get_bus_index 那个函数挂了, 跟踪一下.

离线

页脚