01-18-2020, 07:11 AM
I'm using the default linux image and have updated everything.
After a while of use, the wifi stops working, requiring me to either `ifconfig wlan0 up` or, if that doesn't work, reboot the machine.
If I have it plugged into AC power with the supplied power adapter, I only get maybe 10 minutes of watching fullscreen 720p youtube before the wifi goes out.
If it's on battery, I get longer, maybe a half hour or more before it fails.
I checked the syslog and I see a bunch of wifi-related errors when this happens - lots of assert failures, mismatched lengths etc, then finally a note saying the chip has hanged and it shuts off the wifi.
Does this happen to anyone else? Is this the expected behavior or did I get a bad one?
A snippet from my syslog when this happened:
After a while of use, the wifi stops working, requiring me to either `ifconfig wlan0 up` or, if that doesn't work, reboot the machine.
If I have it plugged into AC power with the supplied power adapter, I only get maybe 10 minutes of watching fullscreen 720p youtube before the wifi goes out.
If it's on battery, I get longer, maybe a half hour or more before it fails.
I checked the syslog and I see a bunch of wifi-related errors when this happens - lots of assert failures, mismatched lengths etc, then finally a note saying the chip has hanged and it shuts off the wifi.
Does this happen to anyone else? Is this the expected behavior or did I get a bad one?
A snippet from my syslog when this happened:
Code:
Jan 15 12:55:58 Debian-Desktop kernel: [15802.226370] dwmmc_rockchip fe310000.dwmmc: All phases work, using default phase 0.
Jan 15 12:55:58 Debian-Desktop kernel: [15802.227644] dhdsdio_rxglom (superframe): len 0x0010, rounded 0x0100, expect 0x0d00
Jan 15 12:55:58 Debian-Desktop kernel: [15802.227662] dhdsdio_rxfail: abort command, terminate frame, send NAK
Jan 15 12:55:58 Debian-Desktop kernel: [15802.228199] dhdsdio_rxglom (superframe): len 0x1220, rounded 0x1300, expect 0x0d00
Jan 15 12:55:58 Debian-Desktop kernel: [15802.228212] dhdsdio_rxfail: abort command, terminate frame, send NAK
Jan 15 12:55:58 Debian-Desktop kernel: [15802.228602] dhdsdio_rxglom (superframe): HW hdr error: len/check 0x0000/0x0000
Jan 15 12:55:58 Debian-Desktop kernel: [15802.228614] dhdsdio_rxfail: abort command, terminate frame, send NAK
Jan 15 12:55:58 Debian-Desktop kernel: [15802.229001] dhdsdio_rxglom (superframe): HW hdr error: len/check 0x0000/0x0000
Jan 15 12:55:58 Debian-Desktop kernel: [15802.229032] dhdsdio_rxfail: abort command, terminate frame
Jan 15 12:56:01 Debian-Desktop kernel: [15804.901029] sdioh_buffer_tofrom_bus: RX FAILED ffffffc0f1ed4a20, addr=0x08000, pkt_len=32, ERR=-84
Jan 15 12:56:01 Debian-Desktop kernel: [15804.901049] dhdsdio_readframes: RXHEADER FAILED: -35
Jan 15 12:56:01 Debian-Desktop kernel: [15804.901058] dhdsdio_rxfail: abort command, terminate frame, send NAK
Jan 15 12:56:01 Debian-Desktop kernel: [15804.909252] dwmmc_rockchip fe310000.dwmmc: All phases work, using default phase 0.
Jan 15 12:56:02 Debian-Desktop kernel: [15806.188004] sdioh_buffer_tofrom_bus: RX FAILED ffffffc0f1ed4a20, addr=0x08000, pkt_len=32, ERR=-84
Jan 15 12:56:02 Debian-Desktop kernel: [15806.188024] dhdsdio_readframes: RXHEADER FAILED: -35
Jan 15 12:56:02 Debian-Desktop kernel: [15806.188032] dhdsdio_rxfail: abort command, terminate frame, send NAK
Jan 15 12:56:02 Debian-Desktop kernel: [15806.196104] dwmmc_rockchip fe310000.dwmmc: All phases work, using default phase 0.
Jan 15 12:56:03 Debian-Desktop kernel: [15807.244024] sdioh_buffer_tofrom_bus: RX FAILED ffffffc0f1ed4a20, addr=0x08000, pkt_len=32, ERR=-84
Jan 15 12:56:03 Debian-Desktop kernel: [15807.244042] dhdsdio_readframes: RXHEADER FAILED: -35
Jan 15 12:56:03 Debian-Desktop kernel: [15807.244050] dhdsdio_rxfail: abort command, terminate frame, send NAK
Jan 15 12:56:03 Debian-Desktop kernel: [15807.252231] dwmmc_rockchip fe310000.dwmmc: All phases work, using default phase 0.
Jan 15 12:56:03 Debian-Desktop kernel: [15807.253609] dhdsdio_rxglom (superframe): len 0x0022, rounded 0x0100, expect 0x0d00
Jan 15 12:56:03 Debian-Desktop kernel: [15807.253621] dhdsdio_rxfail: abort command, terminate frame, send NAK
Jan 15 12:56:07 Debian-Desktop kernel: [15811.253227] dhd_bus_rxctl: resumed on timeout, INT status=0x20400000
Jan 15 12:56:07 Debian-Desktop kernel: [15811.258552] Dump dongle memory
Jan 15 12:56:08 Debian-Desktop kernel: [15811.379763] dhd_schedule_memdump: buf(va)=ffffffc029000000, buf(pa)=29000000, bufsize=819200
Jan 15 12:56:08 Debian-Desktop kernel: [15811.379785] dhd_bus_rxctl: rxcnt_timeout=1, rxlen=0
Jan 15 12:56:08 Debian-Desktop kernel: [15811.380144] Dump dongle memory
Jan 15 12:56:08 Debian-Desktop kernel: [15811.380218] open file /installmedia/mem_dump_ERROR_RX_TIMED_OUT_1579092968.120553, try /data/
Jan 15 12:56:08 Debian-Desktop kernel: [15811.380222] write_dump_to_file: file_path = /data/mem_dump_ERROR_RX_TIMED_OUT_1579092968.120553
Jan 15 12:56:08 Debian-Desktop kernel: [15811.380227] open file error, err = -2
Jan 15 12:56:08 Debian-Desktop kernel: [15811.380229] dhd_mem_dump: writing SoC_RAM dump to the file failed
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464347] dhd_schedule_memdump: buf(va)=ffffffc029000000, buf(pa)=29000000, bufsize=819200
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464386] dhd_check_hang: Event HANG send up due to re=1 te=0 e=-110 s=2
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464395] dhd_os_send_hang_message: Event HANG send up due to re=1 te=0 s=2
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464411] CFG80211-ERROR) wl_cfg80211_get_station : NOT assoc
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464484] open file /installmedia/mem_dump_ERROR_RX_TIMED_OUT_1579092968.204844, try /data/
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464492] write_dump_to_file: file_path = /data/mem_dump_ERROR_RX_TIMED_OUT_1579092968.204844
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464501] open file error, err = -2
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464507] dhd_mem_dump: writing SoC_RAM dump to the file failed
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464533] CFG80211-ERROR) wl_cfg80211_disconnect : Reason 3
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464546] dhd_dbg_stop_pkt_monitor, 1963
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464562] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464570] CFG80211-ERROR) wl_cfg80211_disconnect : error (-1)
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464671] dhd_stop: Enter ffffffc0f0218000
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464685] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464692] CFG80211-ERROR) wl_cfg80211_clear_security : wsec clear failed
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464701] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464707] CFG80211-ERROR) wl_cfg80211_clear_security : auth clear failed
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464717] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464722] CFG80211-ERROR) wl_cfg80211_clear_security : wpa_auth clear failed
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464734] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464740] CFG80211-ERROR) wl_cfg80211_bss_isup : 'cfg bss -C 0' failed: -1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464747] CFG80211-ERROR) wl_cfg80211_bss_isup : NOTE: this ioctl error is normal when the BSS has not been created yet.
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464778] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464785] CFG80211-ERROR) wl_notifier_change_state : wlan0:error (-1)
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464793] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464799] CFG80211-ERROR) wl_cfg80211_update_power_mode : wl_cfg80211_update_power_mode:error (-1)
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464883] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464890] CFGP2P-ERROR) wl_cfgp2p_disable_discovery : unable to set WL_P2P_DISC_ST_SCAN
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464963] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464986] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.464996] CFGP2P-ERROR) wl_cfgp2p_set_discovery : p2p_disc 0 error -1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.465026] CFG80211-ERROR) wl_cfgp2p_down : Clean up the p2p discovery IF
Jan 15 12:56:08 Debian-Desktop kernel: [15811.465047] wl_cfgp2p_del_p2p_disc_if: wdev: ffffffc0ef8ea000, wdev->net: (null)
Jan 15 12:56:08 Debian-Desktop kernel: [15811.465081] CFGP2P-ERROR) wl_cfgp2p_disable_discovery : do nothing, not initialized
Jan 15 12:56:08 Debian-Desktop kernel: [15811.465087] Exit. P2P interface stopped
Jan 15 12:56:08 Debian-Desktop kernel: [15811.474962] P2P interface unregistered
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475004] CFGP2P-ERROR) wl_cfgp2p_deinit_priv : In
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475031] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475043] CFG80211-ERROR) wl_dongle_down : WLC_DOWN error (-1)
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475066] dhd_tcpack_suppress_set: TCP ACK Suppress mode 1 -> mode 0
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475085] wl_android_wifi_off in 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475091] wl_android_wifi_off in 2: g_wifi_on=1, on_failure=1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475099] dhd_prot_ioctl : bus is down. we have nothing to do - bs: 2, has: 1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475117] dhd_dbg_detach_pkt_monitor, 2204
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475125] dhd_bus_devreset: == Power OFF ==
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475159] dhd_txglom_enable: enable 0
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475166] dhd_conf_set_txglom_params: txglom_mode=copy
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475171] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475176] dhd_conf_set_txglom_params: txinrx_thres=128, dhd_txminmax=-1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475182] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=-1
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475186] dhd_bus_devreset: WLAN OFF DONE
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475376] wifi_platform_set_power = 0
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475384] ======== PULL WL_REG_ON(-1) LOW! ========
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475390] [WLAN_RFKILL]: rockchip_wifi_power: 0
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475414] [WLAN_RFKILL]: wifi shut off power.
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475418] wl_android_wifi_off out
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475425] wl_ext_iapsta_dettach_netdev: ifidx=0
Jan 15 12:56:08 Debian-Desktop kernel: [15811.475464] dhd_stop: Exit
Jan 15 12:56:08 Debian-Desktop kernel: [15811.476275] CFG80211-ERROR) wl_cfg80211_hang : In : chip crash eventing, reason=0x8001