On 2019-08-27 15:23, Sven Eckelmann wrote:
On Tuesday, 27 August 2019 11:04:23 CEST Anilkumar Kolli wrote:
[...]
> Yes, but it shouldn't kill the complete system.
>
This will not kill the whole system, This will crash target and we
have
mechanism to recover the system.
Hope u have generated the crash with below patch,
https://source.codeaurora.org/quic/qsdk/oss/system/feeds/wlan-open/tree/mac80211/patches/019-ath11k-disable-q6-recovery-to-crash-kernel.patch?h=win_ap.1.0
Please remove this patch to see the target recover after the crash.
John also pointed me to this patch yesterday and I have now removed it.
But the wifi hardware doesn't recover after issuing an assert. All(?)
firmware
request will just timeout:
[ 1093.114530] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1093.114555] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1093.118903] ath11k c000000.wifi1: Failed to set dtim period for
VDEV 0: -11
[ 1096.124532] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1096.124554] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1096.128902] ath11k c000000.wifi1: Failed to set CTS prot for
VDEV: 0
[ 1099.134527] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1099.134547] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1099.138895] ath11k c000000.wifi1: Failed to set preamble for
VDEV: 0
[ 1102.144526] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1102.144546] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1102.148894] ath11k c000000.wifi1: failed to set mgmt tx rate -11
[ 1105.154526] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1105.154547] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1105.158895] ath11k c000000.wifi1: failed to set beacon tx rate
-11
[ 1114.164529] ath11k c000000.wifi1: wmi command 16387 timeout
[ 1114.164553] ath11k c000000.wifi1: failed to send
WMI_PDEV_SET_PARAM cmd
[ 1114.168899] ath11k c000000.wifi1: Failed to set beacon mode for
VDEV: 0
[ 1117.174527] ath11k c000000.wifi1: wmi command 28675 timeout
[ 1117.174550] ath11k c000000.wifi1: failed to send
WMI_BCN_TMPL_CMDID
[ 1117.178899] ath11k c000000.wifi1: failed to submit beacon
template command: -11
[ 1117.185231] ath11k c000000.wifi1: failed to update bcn template:
-11
[ 1120.184524] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1120.184545] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1120.188893] ath11k c000000.wifi1: Failed to set dtim period for
VDEV 0: -11
[ 1123.194527] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1123.194548] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1123.198895] ath11k c000000.wifi1: Failed to set CTS prot for
VDEV: 0
[ 1126.204526] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1126.204547] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1126.208894] ath11k c000000.wifi1: Failed to set preamble for
VDEV: 0
[ 1129.214527] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1129.214548] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1129.218897] ath11k c000000.wifi1: failed to set mgmt tx rate -11
[ 1132.224525] ath11k c000000.wifi1: wmi command 20488 timeout
[ 1132.224546] ath11k c000000.wifi1: failed to send
WMI_VDEV_SET_PARAM_CMDID
[ 1132.228894] ath11k c000000.wifi1: failed to set beacon tx rate
-11
ath11k must be unloaded + loaded again to fix this problem.
Could you plz try removing below patch?
https://source.codeaurora.org/quic/qsdk/oss/system/feeds/wlan-open/tree/mac80211/patches/072-ath11k-print-stats-on-crash.patch?h=win_ap.1.0
--
Thanks
Anil.