|
【Linux】
把wifi作为热点AP时,遇到的问提!
发表于 2022-5-7 10:16:54
浏览:4746
|
回复:0
打印
只看该作者
[复制链接]
楼主
我在使用
- iw phy0 interface add wlan1 type managed
复制代码 添加wlan1接口时,遇到问题,错误输出
- command failed: Cannot allocate memory (-12)
复制代码
下面是dmsg的日志
- [root@RV1126_RV1109:/]# dmesg
- [ 804.618686] [dhd] CFG80211-ERROR) wl_bss_iovar_war : wl bss 2
- [ 804.621481] INTERNAL ERROR: FIRMWARE HALTED : set BUS DOWN
- [ 804.622977] CONSOLE: led with -1
- [ 804.623012] CONSOLE: 000016.691 wl0: wlc_bsscfg_alloc: wlc_bsscfg_alloc_ext failed with -1
- [ 804.623031] CONSOLE: 000016.691 wl0: wlc_quiet_bsscfg_deinit: Quiet info not found
- [ 804.623057] CONSOLE: 000016.691 wl0: wlc_csa_bsscfg_deinit: CSA info not found
- [ 804.623070] CONSOLE: 000016.691
- [ 804.623145] CONSOLE: FWID 01-ef5bb70a
- [ 804.623167] CONSOLE: flags 1
- [ 804.623181] CONSOLE: 000016.691
- [ 804.623197] CONSOLE: TRAP 3(7fb18): pc 1fe8, lr 847061, sp 7fb6c, cpsr 60000003, spsr 61000010
- [ 804.623213] CONSOLE: 000016.691 r0 0, r1 0, r2 0, r3 74c, r4 f, r5 727d8, r6 a6c
- [ 804.623228] CONSOLE: 000016.691 r7 7b074, r8 0, r9 6918c, r10 1, r11 10, r12 877716
- [ 804.623240] CONSOLE: 000016.691
- [ 804.623253] CONSOLE: sp+0 00000000 00000000 00000000 0000074c
- [ 804.623267] CONSOLE: 000016.691 sp+10 00877716 00847061 00001fe8 61000010
- [ 804.623278] CONSOLE:
- [ 804.623291] CONSOLE: 000016.691 sp+84 00015e39
- [ 804.623303] CONSOLE: 000016.691 sp+b0 00015d6d
- [ 804.623315] CONSOLE: 000016.691 sp+e8 00015d6d
- [ 804.623326] CONSOLE: 000016.691 sp+114 00000107
- [ 804.623337] CONSOLE: 000016.691 sp+234 00000107
- [ 804.623348] CONSOLE: 000016.691 sp+23c 00000107
- [ 804.623360] CONSOLE: 000016.691 sp+254 00000107
- [ 804.623371] CONSOLE: 000016.691 sp+268 00000107
- [ 804.623383] CONSOLE: 000016.692 sp+29c 00000107
- [ 804.623404] CONSOLE: 000016.692 sp+2bc 00000107
- [ 804.623423] CONSOLE: 000016.692 sp+2cc 00000107
- [ 804.623451] CONSOLE: 000016.692 sp+300 00000107
- [ 804.623473] CONSOLE: 000016.692 sp+310 00000107
- [ 804.623498] CONSOLE: 000016.692 sp+314 00000107
- [ 804.623534] CONSOLE: 000016.692 sp+33c 00003769
- [ 804.623563] CONSOLE: 000016.692 sp+36c 00000107
- [ 804.623590] dhdsdio_checkdied: msgtrace address : 0x00000000
- [ 804.623590] console address : 0x0007DEBC
- [ 804.623590] Assrt not built in dongle
- [ 804.623590] Dongle trap type 0x3 @ epc 0x1fe8, cpsr 0x60000003, spsr 0x61000010, sp 0x7fb6c,lp 0x847061, rpc 0x1fe8 Trap offset 0x7fb18, r0 0x0, r1 0x0, r2 0x0, r3 0x74c, r4 0xf, r5 0x727d8, r6 0xa6c, r7 0x7b074
- [ 804.623590]
- [ 804.623590]
- [ 804.623847] Dump dongle memory
- [ 804.733569] dhd_schedule_memdump: buf(va)=e1f80000, buf(pa)=31f80000, bufsize=524288
- [ 804.733688] dhdsdio_dpc: failed backplane access over SDIO, halting operation
- [ 804.733726] write_dump_to_file: file_path = /data/misc/wifi/mem_dump_Dongle_Trap_1502585330.344564
- [ 804.733801] open file error, err = -2
- [ 804.733822] dhd_mem_dump: writing SoC_RAM dump to the file failed
- [ 825.653162] dhd_bus_rxctl: resumed on timeout, INT status=0x00000002
- [ 825.653229] dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0
- [ 825.653712] Dump dongle memory
- [ 825.758224] dhd_schedule_memdump: buf(va)=e1f80000, buf(pa)=31f80000, bufsize=524288
- [ 825.758296] write_dump_to_file: file_path = /data/misc/wifi/mem_dump_ERROR_RX_TIMED_OUT_1502585351.369135
- [ 825.758371] open file error, err = -2
- [ 825.758390] dhd_mem_dump: writing SoC_RAM dump to the file failed
- [ 825.758423] dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=0
- [ 825.758441] Driver: 1.579.77.41.22 (r-20191105-2)(20191120-1)
- [ 825.758441] Firmware: wl0: Jan 28 2015 10:03:34 version 7.10.323.50 (r529740 WLTEST) FWID 01-ef5bb70a
- [ 825.758441] CLM: 7.11.15 (2014-05-26 10:53:55)
- [ 825.758441] Chip: a9a6 Rev 1
- [ 825.758486] dhd_os_send_hang_message: Event HANG send up due to re=1 te=0 s=0
- [ 825.758509] dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=0
- [ 825.758522] Driver: 1.579.77.41.22 (r-20191105-2)(20191120-1)
- [ 825.758522] Firmware: wl0: Jan 28 2015 10:03:34 version 7.10.323.50 (r529740 WLTEST) FWID 01-ef5bb70a
- [ 825.758522] CLM: 7.11.15 (2014-05-26 10:53:55)
- [ 825.758522] Chip: a9a6 Rev 1
- [ 825.758556] [dhd] CFG80211-ERROR) wl_cfg80211_add_del_bss : 'bss 2' failed with -110
- [ 825.758923] dhd_stop: Enter 68056973
- [ 825.758969] dhd_wl_ioctl: returning as busstate=0
- [ 825.759004] [dhd] CFG80211-ERROR) wl_cfg80211_clear_security : wsec clear failed
- [ 825.759034] dhd_wl_ioctl: returning as busstate=0
- [ 825.759061] [dhd] CFG80211-ERROR) wl_cfg80211_clear_security : auth clear failed
- [ 825.759085] dhd_wl_ioctl: returning as busstate=0
- [ 825.759104] [dhd] CFG80211-ERROR) wl_cfg80211_clear_security : wpa_auth clear failed
- [ 825.759130] dhd_wl_ioctl: returning as busstate=0
- [ 825.759164] [dhd] CFG80211-ERROR) wl_cfg80211_bss_isup : 'cfg bss -C 0' failed: -19
- [ 825.759186] [dhd] CFG80211-ERROR) wl_cfg80211_bss_isup : NOTE: this ioctl error is normal when the BSS has not been created yet.
- [ 825.759213] [dhd] CFG80211-ERROR) wl_notifier_change_state : wl_notifier_change_state : busstate is DHD_BUS_DOWN!
- [ 825.759393] dhd_wl_ioctl: returning as busstate=0
- [ 825.759423] [dhd] CFG80211-ERROR) wl_dongle_down : WLC_DOWN error (-19)
- [ 825.759447] dhd_tcpack_suppress_set 352: already set to 0
- [ 825.759535] [dhd-wlan0] wl_android_wifi_off : in g_wifi_on=1, on_failure=1
- [ 825.759557] dhd_wl_ioctl: returning as busstate=0
- [ 825.759598] dhd_dbg_detach_pkt_monitor, 2204
- [ 825.759631] dhd_bus_devreset: == Power OFF ==
- [ 825.759720] bcmsdh_oob_intr_unregister: Enter
- [ 825.759809] dhd_txglom_enable: enable 0
- [ 825.759830] dhd_bus_devreset: WLAN OFF DONE
- [ 825.759912] wifi_platform_set_power = 0
- [ 825.759933] ======== PULL WL_REG_ON(-1) LOW! ========
- [ 825.759951] [WLAN_RFKILL]: rockchip_wifi_power: 0
- [ 825.759979] [WLAN_RFKILL]: wifi shut off power [GPIO-1-1]
- [ 825.759993] [dhd-wlan0] wl_android_wifi_off : out
- [ 825.786308] dhd_stop: Exit
- [ 825.786542] [dhd] CFG80211-ERROR) wl_cfg80211_hang : In : chip crash eventing, reason=0x8002
- [root@RV1126_RV1109:/]#
复制代码
请教下 是什么问题呢? 我这的wifi硬件是ap6236
|
|