[2.1.1.23] WLAN failure after night

asked 2017-07-26 09:35:50 +0200

Marco gravatar image

Monday I upgraded my Jolla C to 2.1.1.23. Both tuesday morning and wednesday morning I didn't hava a WLAN connection. Disable/enable the WLAN didn't solve it, only clicking on my WLAN network and entering my key restored the network.

Only difference between 'before and after installing 2.1.1.23' is I enabled 4G again (for the new 'Ask user to reboot device after rild restart.' message).

Some logs of this night:

Jul 26 04:07:07 Sailfish kernel: PM: suspend entry 2017-07-26 02:07:07.591729894 UTC
Jul 26 04:07:07 Sailfish kernel: PM: Syncing filesystems ... done.
Jul 26 04:07:07 Sailfish kernel: Freezing user space processes ... (elapsed 0.004 seconds) done.
Jul 26 04:07:07 Sailfish kernel: Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
Jul 26 04:07:07 Sailfish kernel: Suspending console(s) (use no_console_suspend to debug)
Jul 26 04:07:07 Sailfish kernel: [02:07:07.636156] [000001458241E4A7] [kwork]  wlan: [E :HDD] hdd_is_apps_power_collapse_allowed: do not allow APPS power collapse-pmcState = 1 scanRspPending = 0 inMiddleOfRoaming = 0
Jul 26 04:07:07 Sailfish kernel: [02:07:07.636176] [000001458241E629] [kwork]  wlan: [E :HDD] wlan_suspend: Fail wlan suspend: not in IMPS/BMPS
Jul 26 04:07:07 Sailfish kernel: [02:07:07.636190] [000001458241E727] [kwork]  wlan: [F :HDD] __hddDevSuspendHdlr: Not able to suspend wlan
Jul 26 04:07:07 Sailfish kernel: dpm_run_callback(): platform_pm_suspend+0x0/0x7c returns -1
Jul 26 04:07:07 Sailfish kernel: PM: Device a000000.qcom,wcnss-wlan failed to suspend: error -1
Jul 26 04:07:07 Sailfish kernel: PM: Some devices failed to suspend
Jul 26 04:07:07 Sailfish kernel: PM: resume of devices complete after 85.040 msecs
Jul 26 04:07:07 Sailfish kernel: Restarting tasks ... done.
Jul 26 04:07:07 Sailfish kernel: PM: suspend exit 2017-07-26 02:07:07.756182417 UTC
Jul 26 04:07:08 Sailfish kernel: PM: suspend entry 2017-07-26 02:07:08.251067243 UTC
Jul 26 04:07:08 Sailfish kernel: PM: Syncing filesystems ... done.
Jul 26 04:07:08 Sailfish kernel: Freezing user space processes ... (elapsed 0.004 seconds) done.
Jul 26 04:12:06 Sailfish kernel: PM: noirq resume of devices complete after 1.494 msecs
Jul 26 04:12:06 Sailfish kernel: PM: early resume of devices complete after 1.860 msecs
Jul 26 04:12:06 Sailfish kernel: [02:12:05.985037] [00000146D7B099B6] [VosMC]  wlan: [E :PE ] limHandleMissedBeaconInd: 2179: Sending EXIT_BMPS_IND to SME due to Missed beacon from FW
Jul 26 04:12:06 Sailfish kernel: [02:12:06.043118] [00000146D7C19DAC] [VosMC]  wlan: [E :PE ] limHandleHeartBeatFailureTimeout: 7336: Probe_hb_failure: SME 12, MLME 16, HB-Count 0 BCN count 1
Jul 26 04:12:06 Sailfish kernel: [02:12:06.043150] [00000146D7C19FF5] [VosMC]  wlan: [E :PE ] limHandleHeartBeatFailureTimeout: 7353: Probe_hb_failure: for session:0
Jul 26 04:12:06 Sailfish kernel: [02:12:06.044398] [00000146D7C1FD8A] [VosMC]  wlan: [E :PE ] limFTCleanup: Setting psavedsessionEntry= f6753618 to NULL
Jul 26 04:12:06 Sailfish kernel: [02:12:06.044420] [00000146D7C1FF40] [VosMC]  wlan: [E :PE ] limFTCleanup: Setting pftSessionEntry= f6752000 to NULL
Jul 26 04:12:06 Sailfish kernel: wlan: disconnected
Jul 26 04:12:06 Sailfish kernel: wlan(0) 00:00:00:00:00:00 Standalone
Jul 26 04:12:06 Sailfish kernel: [02:12:06.059141] [00000146D7C64F44] [VosMC]  wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
Jul 26 04:12:06 Sailfish kernel: PM: resume of devices complete after 84.380 msecs
Jul 26 04:12:06 Sailfish systemd[1]: Time has been changed
Jul 26 04:12:06 Sailfish systemd[1108]: Time has been changed
Jul 26 04:12:06 Sailfish systemd-networkd[28678]: wlan0: Lost carrier
Jul 26 04:12:06 Sailfish wpa_supplicant[3515]: wlan0: CTRL-EVENT-DISCONNECTED bssid=c8:0e:14:04:b6:14 reason=1
Jul 26 04:12:06 Sailfish kernel: Restarting tasks ... done.
Jul 26 04:12:06 Sailfish kernel: PM: suspend exit 2017-07-26 02:12:06.084760194 UTC
Jul 26 04:12:06 Sailfish kernel: [02:12:06.179892] [00000146D7E9AF2B] [wpa_s]  wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
Jul 26 04:12:06 Sailfish wpa_supplicant[3515]: wlan0: Trying to associate with SSID 'WLAN6302'
Jul 26 04:12:06 Sailfish kernel: [02:12:06.599138] [00000146D8648136] [wpa_s]  wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
Jul 26 04:12:06 Sailfish kernel:
Jul 26 04:12:06 Sailfish kernel: Freezing of tasks aborted after 0.004 seconds (142 tasks refusing to freeze, wq_busy=0):
Jul 26 04:12:06 Sailfish kernel:
Jul 26 04:12:06 Sailfish kernel: Restarting tasks ... done.
Jul 26 04:12:06 Sailfish kernel: PM: suspend exit 2017-07-26 02:12:06.658535741 UTC
Jul 26 04:12:07 Sailfish kernel: [02:12:07.003534] [00000146D8DAF99D] [VosMC]  wlan: [E :PMC] pmcTrafficTimerExpired: 1021: BMPS timer should not be running
Jul 26 04:12:07 Sailfish kernel: PM: suspend entry 2017-07-26 02:12:07.593590700 UTC
Jul 26 04:12:07 Sailfish kernel: PM: Syncing filesystems ... done.
Jul 26 04:12:07 Sailfish kernel: [02:12:07.623421] [00000146D990935A] [VosMC]  wlan: [E :PE ] limProcessJoinFailureTimeout: 4204:  In state eLIM_MLM_WT_JOIN_BEACON_STATE.
Jul 26 04:12:07 Sailfish kernel: [02:12:07.623546] [00000146D9909C79] [VosMC]  wlan: [E :PE ] limProcessJoinFailureTimeout: 4207:  Join FailureTimeout occurred for session 0 with BSS
Jul 26 04:12:07 Sailfish kernel: [02:12:07.623641] [00000146D990A37D] [VosMC]  wlan: [E :PE ] limPrintMacAddr: 1330: 5c:49:79:31:57:12
Jul 26 04:12:07 Sailfish kernel: Freezing user space processes ...
Jul 26 04:12:07 Sailfish kernel: wlan: connection failed with 5c:49:79:31:57:12 result:3 and Status:7
Jul 26 04:12:07 Sailfish kernel: [02:12:07.624119] [00000146D990C75F] [VosMC]  wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
Jul 26 04:12:07 Sailfish kernel: (elapsed 0.005 seconds) done.
Jul 26 04:12:07 Sailfish kernel: Freezing remaining freezable tasks ...
Jul 26 04:12:07 Sailfish kernel: wlan: connection failed with 5c:49:79:31:57:12 result:1 and Status:9
Jul 26 04:12:07 Sailfish kernel: [02:12:07.624495] [00000146D990E38C] [VosMC]  wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
Jul 26 04:12:07 Sailfish kernel: [02:12:07.624605] [00000146D990EBC3] [VosMC]  wlan: [E :HDD] hdd_AssociationCompletionHandler: send connect failure to nl80211: for bssid 5c:49:79:31:57:12 result:1 and Status:9 reasonCode 1
Jul 26 04:12:07 Sailfish kernel: (elapsed 0.002 seconds) done.
Jul 26 04:12:07 Sailfish kernel: Suspending console(s) (use no_console_suspend to debug)
Jul 26 04:12:07 Sailfish kernel: [02:12:07.644792] [00000146D996D5D0] [kwork]  wlan: [E :HDD] hdd_is_apps_power_collapse_allowed: do not allow APPS power collapse-pmcState = 1 scanRspPending = 0 inMiddleOfRoaming = 0
Jul 26 04:12:07 Sailfish kernel: [02:12:07.644815] [00000146D996D778] [kwork]  wlan: [E :HDD] wlan_suspend: Fail wlan suspend: not in IMPS/BMPS
Jul 26 04:12:07 Sailfish kernel: [02:12:07.644831] [00000146D996D8AD] [kwork]  wlan: [F :HDD] __hddDevSuspendHdlr: Not able to suspend wlan
Jul 26 04:12:07 Sailfish kernel: dpm_run_callback(): platform_pm_suspend+0x0/0x7c returns -1
Jul 26 04:12:07 Sailfish kernel: PM: Device a000000.qcom,wcnss-wlan failed to suspend: error -1
Jul 26 04:12:07 Sailfish kernel: PM: Some devices failed to suspend
Jul 26 04:12:07 Sailfish kernel: PM: resume of devices complete after 82.625 msecs
Jul 26 04:12:07 Sailfish kernel: Restarting tasks ... done.
Jul 26 04:12:07 Sailfish wpa_supplicant[3515]: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=5c:49:79:31:57:12 status_code=1
Jul 26 04:12:07 Sailfish kernel: PM: suspend exit 2017-07-26 02:12:07.768702555 UTC
Jul 26 04:12:07 Sailfish kernel: [02:12:07.862911] [00000146D9D6BBEE] [wpa_s]  wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
Jul 26 04:12:08 Sailfish wpa_supplicant[3515]: wlan0: Trying to associate with SSID 'WLAN6302'
Jul 26 04:12:08 Sailfish kernel: [02:12:08.330218] [00000146DA5FA26C] [wpa_s]  wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
Jul 26 04:12:08 Sailfish kernel: PM: suspend entry 2017-07-26 02:12:08.331453702 UTC
Jul 26 04:12:08 Sailfish kernel: PM: Syncing filesystems ... done.
Jul 26 04:12:08 Sailfish kernel: Freezing user space processes ...
Jul 26 04:12:08 Sailfish kernel: active wakeup source: wlan
Jul 26 04:12:08 Sailfish kernel: active wakeup source: dsme_iphb_wakeup
Jul 26 04:12:08 Sailfish kernel:
Jul 26 04:12:08 Sailfish kernel: Freezing of tasks aborted after 0.003 seconds (142 tasks refusing to freeze, wq_busy=0):
Jul 26 04:12:08 Sailfish kernel:
Jul 26 04:12:08 Sailfish kernel: Restarting tasks ... done.
Jul 26 04:12:08 Sailfish kernel: PM: suspend exit 2017-07-26 02:12:08.363967294 UTC
Jul 26 04:12:08 Sailfish kernel: [02:12:08.396444] [00000146DA73091A] [VosMC]  wlan: [E :VOS] vos_mem_malloc: called with invalid arg 0 !!!
Jul 26 04:12:08 Sailfish kernel: [02:12:08.396529] [00000146DA730F89] [VosMC]  wlan: [E :PE ] limStripOffExtCapIE: 89: Unable to allocate memory to store addn IE
Jul 26 04:12:08 Sailfish kernel: [02:12:08.403597] [00000146DA75219A] [VosMC]  wlan: [E :PE ] limProcessAssocRspFrame: 472: Filling tdls prohibited in session entry
Jul 26 04:12:08 Sailfish wpa_supplicant[3515]: wlan0: Associated with c8:0e:14:04:b6:14
Jul 26 04:12:08 Sailfish kernel: wlan: 50:56:a8:05:01:fe connected to c8:0e:14:04:b6:14
Jul 26 04:12:08 Sailfish wpa_supplicant[3515]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jul 26 04:12:08 Sailfish wpa_supplicant[3515]: wlan0: WPA: Key negotiation completed with c8:0e:14:04:b6:14 [PTK=CCMP GTK=CCMP]
Jul 26 04:12:08 Sailfish wpa_supplicant[3515]: wlan0: CTRL-EVENT-CONNECTED - Connection to c8:0e:14:04:b6:14 completed [id=0 id_str=]
Jul 26 04:12:08 Sailfish systemd-networkd[28678]: wlan0: Gained carrier
Jul 26 04:12:09 Sailfish kernel: PM: suspend entry 2017-07-26 02:12:09.323202816 UTC
Jul 26 04:12:09 Sailfish kernel: wlan(1) c8:0e:14:04:b6:14 Standalone
Jul 26 04:12:09 Sailfish kernel: PM: Syncing filesystems ...
Jul 26 04:12:09 Sailfish kernel: done.
Jul 26 04:12:09 Sailfish kernel: Freezing user space processes ... (elapsed 0.005 seconds) done.
Jul 26 04:12:09 Sailfish kernel: Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
Jul 26 04:12:09 Sailfish kernel: Suspending console(s) (use no_console_suspend to debug)
Jul 26 04:12:09 Sailfish kernel: [02:12:09.378605] [00000146DB92C3FA] [kwork]  wlan: [E :HDD] hdd_is_apps_power_collapse_allowed: do not allow APPS power collapse-pmcState = 1 scanRspPending = 0 inMiddleOfRoaming = 0
Jul 26 04:12:09 Sailfish kernel: [02:12:09.378632] [00000146DB92C5F7] [kwork]  wlan: [E :HDD] wlan_suspend: Fail wlan suspend: not in IMPS/BMPS
Jul 26 04:12:09 Sailfish kernel: [02:12:09.378653] [00000146DB92C77E] [kwork]  wlan: [F :HDD] __hddDevSuspendHdlr: Not able to suspend wlan
Jul 26 04:12:09 Sailfish kernel: dpm_run_callback(): platform_pm_suspend+0x0/0x7c returns -1
Jul 26 04:12:09 Sailfish kernel: PM: Device a000000.qcom,wcnss-wlan failed to suspend: error -1
Jul 26 04:12:09 Sailfish kernel: PM: Some devices failed to suspend
Jul 26 04:12:09 Sailfish kernel: PM: resume of devices complete after 100.809 msecs
Jul 26 04:12:09 Sailfish kernel: Restarting tasks ... done.
Jul 26 04:12:09 Sailfish kernel: PM: suspend exit 2017-07-26 02:12:09.513567281 UTC
Jul 26 04:12:10 Sailfish kernel: PM: suspend entry 2017-07-26 02:12:10.003702362 UTC
Jul 26 04:12:10 Sailfish kernel: PM: Syncing filesystems ... done.
Jul 26 04:12:10 Sailfish kernel: Freezing user space processes ... (elapsed 0.005 seconds) done.
Jul 26 04:12:10 Sailfish kernel: Freezing remaining freezable tasks ... (elapsed 0.002 seconds) done.
Jul 26 04:12:10 Sailfish kernel: Suspending console(s) (use no_console_suspend to debug)
Jul 26 04:12:10 Sailfish kernel: [02:12:10.052873] [00000146DC584BB8] [kwork]  wlan: [E :HDD] hdd_is_apps_power_collapse_allowed: do not allow APPS power collapse-pmcState = 1 scanRspPending = 0 inMiddleOfRoaming = 0
Jul 26 04:12:10 Sailfish kernel: [02:12:10.052902] [00000146DC584DF4] [kwork]  wlan: [E :HDD] wlan_suspend: Fail wlan suspend: not in IMPS/BMPS
Jul 26 04:12:10 Sailfish kernel: [02:12:10.052920] [00000146DC584F4B] [kwork]  wlan: [F :HDD] __hddDevSuspendHdlr: Not able to suspend wlan
Jul 26 04:12:10 Sailfish kernel: dpm_run_callback(): platform_pm_suspend+0x0/0x7c returns -1
Jul 26 04:12:10 Sailfish kernel: PM: Device a000000.qcom,wcnss-wlan failed to suspend: error -1
Jul 26 04:12:10 Sailfish kernel: PM: Some devices failed to suspend

and later:

Jul 26 04:30:42 Sailfish kernel: [02:30:42.396684] [0000014BD556D80D] [wpa_s]  wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
Jul 26 04:30:42 Sailfish kernel: [02:30:42.872700] [0000014BD5E24B4E] [wpa_s]  wlan: [E :HDD] __wlan_hdd_cfg80211_sched_scan_start: Network input is not correct 0 Max Network supported is 16
Jul 26 04:30:42 Sailfish wpa_supplicant[3515]: wlan0: Failed to initiate sched scan
edit retag flag offensive close delete

Comments

Very frequent Wi-Fi is asking for password when ever it changes from mobile data to Wi-Fi. And still I'm experience the problem of switching coneection between Wi-Fi and Mobile Data. I had updated unofficial version 2.1.1.12 in which it was working fine.

Twinklestar1792 ( 2017-07-28 10:34:19 +0200 )edit

Similar thing is happening with me... Except in case of WPA Enterprise WiFi. Connecting to plain WPA2 wifi with passphrase works. But when I try to connect to WPA Enterprise WiFi - at my office - I start getting logs like "vos_mem_malloc: called with invalid arg 0 !!!" and SF is unable to connect. I have filed bug here: https://together.jolla.com/question/168794/bug-2123-intex-aquafish-not-connecting-to-office-wifi/

vaibhav ( 2017-10-16 11:13:44 +0200 )edit