Wifi keeps dropping out after some use
#1
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:


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
#2
same here.
I am ob the default Ubuntu with the latest updates.

uname -a

Linux pinebook 4.4.213 #1 SMP Fri Feb 7 13:03:55 EST 2020 aarch64 GNU/Linux

Wifi dies after a very short while Sad

[  995.610510] CFG80211-ERROR) wl_notifier_change_state : wl_notifier_change_state : busstate is DHD_BUS_DOWN!
[  995.610675] CFGP2P-ERROR) wl_cfgp2p_disable_discovery :  do nothing, not initialized
[  995.610775] dhd_wl_ioctl: returning as busstate=0
[  995.610784] CFG80211-ERROR) wl_cfg80211_set_mgmt_vndr_ies : vndr ie set error : -19
[  995.610794] CFG80211-ERROR) wl_cfg80211_clear_per_bss_ies : vndr_ies clear failed. Ignoring..
[  995.610811] CFGP2P-ERROR) wl_cfgp2p_deinit_priv : In
[  995.610825] dhd_wl_ioctl: returning as busstate=0
[  995.610832] CFG80211-ERROR) wl_dongle_down : WLC_DOWN error (-19)
[  995.610851] dhd_tcpack_suppress_set: TCP ACK Suppress mode 1 -> mode 0
[  995.610866] wl_android_wifi_off in 1
[  995.610874] wl_android_wifi_off in 2: g_wifi_on=1, on_failure=1
[  995.610882] dhd_wl_ioctl: returning as busstate=0
[  995.610898] dhd_dbg_detach_pkt_monitor, 2204
[  995.610909] dhd_bus_devreset: == Power OFF ==
[  995.610935] dhd_txglom_enable: enable 0
[  995.610945] dhd_conf_set_txglom_params: txglom_mode=copy
[  995.610952] dhd_conf_set_txglom_params: txglomsize=0, deferred_tx_len=0
[  995.610959] dhd_conf_set_txglom_params: txinrx_thres=128, dhd_txminmax=-1
[  995.610966] dhd_conf_set_txglom_params: tx_max_offset=0, txctl_tmo_fix=300
[  995.610974] dhd_bus_devreset:  WLAN OFF DONE
[  995.611248] wifi_platform_set_power = 0
[  995.611260] ======== PULL WL_REG_ON(-1) LOW! ========
[  995.611269] [WLAN_RFKILL]: rockchip_wifi_power: 0
[  995.611295] [WLAN_RFKILL]: wifi shut off power.
[  995.611302] wl_android_wifi_off out
[  995.611311] wl_ext_iapsta_dettach_netdev: ifidx=0
[  995.611348] dhd_stop: Exit
[  995.618617] CFG80211-ERROR) wl_cfg80211_hang : In : chip crash eventing, reason=0x8001


Possibly Related Threads…
Thread Author Replies Views Last Post
  Boot into NVME drive, no wifi, sound, buttons... PaulQ 0 1,104 07-13-2023, 01:50 PM
Last Post: PaulQ
  wifi missing some networks filip 0 820 03-11-2023, 03:21 PM
Last Post: filip
  Suggestion / Warning about closed source wifi and keyboard / touch pad firmware omarcomputing 3 2,701 10-08-2022, 06:22 PM
Last Post: KC9UDX
  WiFi Signal Strength? B34N 1 1,538 07-22-2022, 01:35 PM
Last Post: poVoq
  wifi hotspot ip address symbol.accounting@gmail.com 1 2,321 11-07-2021, 12:58 AM
Last Post: dukla2000
  Wifi Troubles IDEFK 17 17,549 05-24-2021, 05:03 AM
Last Post: walterbe
  Pinebook pro poor performance on 5Ghz WiFi Iolaum 10 15,365 05-23-2021, 04:35 AM
Last Post: Ralim
  No WIFI network discovery in any manjaro installation (but works on fedora) pineitup 1 3,668 02-05-2021, 09:10 AM
Last Post: BlueJayLinux
  Wifi very slow on PBP Manjaro? WeaseleyRon 2 3,483 01-21-2021, 10:21 AM
Last Post: moonwalkers
  is it possible to get wifi monitor mode on the pbp? BananaPekan 0 2,037 01-17-2021, 01:50 PM
Last Post: BananaPekan

Forum Jump:


Users browsing this thread: 1 Guest(s)