ath10k.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: nospam forme <nospamforme8675309@gmail.com>, ath10k@lists.infradead.org
Subject: Re: bss channel survey timed out and then hardware became unavailable on IPQ40xx.
Date: Tue, 2 Feb 2021 08:38:39 -0800	[thread overview]
Message-ID: <7e7b8341-7662-8071-aa04-563ad01e170b@candelatech.com> (raw)
In-Reply-To: <CAPB66zAYzcqVb2BkTE_JJxiD6r+MeR_LVoW4BPdTBynyeoCFbA@mail.gmail.com>

On 2/2/21 8:32 AM, nospam forme wrote:
> Hi!
> 
> I have an IPQ40xx router that occasionally gets "bss channnel survey
> timed out" and then "hardware became unavailable". Is there a way to
> prevent this or recover?

I have seen similar while stress-testing an ea8300.  Have not seen it
on another ipq4019 AP though, running similar tests.

Are you using -ct firmware?

Once the radio hits this case, the AP must be power cycled to
recover.

Thanks,
Ben

> 
> 
> 
> Tue Jan 26 18:09:30 2021 kern.warn kernel: [ 241.438212] ath10k_ahb
> a000000.wifi: bss channel survey timed out
> 
> Tue Jan 26 18:09:33 2021 kern.warn kernel: [ 244.478151] ath10k_ahb
> a000000.wifi: wmi command 36892 timeout, restarting hardware
> 
> Tue Jan 26 18:09:33 2021 kern.warn kernel: [ 244.478202] ath10k_ahb
> a000000.wifi: failed to set dtim period for vdev 0: -11
> 
> Tue Jan 26 18:09:33 2021 kern.warn kernel: [ 244.486990] ath10k_ahb
> a000000.wifi: failed to recalculate rts/cts prot for vdev 0: -108
> 
> Tue Jan 26 18:09:33 2021 kern.warn kernel: [ 244.491977] ath10k_ahb
> a000000.wifi: failed to set cts protection for vdev 0: -108
> 
> Tue Jan 26 18:09:33 2021 kern.warn kernel: [ 244.500212] ath10k_ahb
> a000000.wifi: failed to set erp slot for vdev 0: -108
> 
> Tue Jan 26 18:09:33 2021 kern.warn kernel: [ 244.507547] ath10k_ahb
> a000000.wifi: failed to set preamble for vdev 0: -108
> 
> Tue Jan 26 18:09:33 2021 kern.warn kernel: [ 244.514788] ath10k_ahb
> a000000.wifi: failed to set mgmt tx rate -108
> 
> Tue Jan 26 18:09:33 2021 kern.warn kernel: [ 244.534106] ath10k_ahb
> a000000.wifi: failed to read hi_board_data address: -16
> 
> Tue Jan 26 18:09:33 2021 kern.info kernel: [ 244.538921] ieee80211
> phy0: Hardware restart was requested
> 
> Tue Jan 26 18:09:33 2021 kern.warn kernel: [ 244.540296] ath10k_ahb
> a000000.wifi: failed to send pdev bss chan info request
> 
> Tue Jan 26 18:09:33 2021 kern.err kernel: [ 244.548191] ath10k_ahb
> a000000.wifi: failed to halt axi bus: 0
> 
> Tue Jan 26 18:09:34 2021 kern.err kernel: [ 244.721641] ath10k_ahb
> a000000.wifi: Failed to get pcie state addr: -16
> 
> Tue Jan 26 18:09:34 2021 kern.err kernel: [ 244.721684] ath10k_ahb
> a000000.wifi: failed to setup init config: -16
> 
> Tue Jan 26 18:09:34 2021 kern.err kernel: [ 244.727209] ath10k_ahb
> a000000.wifi: Could not init hif: -16
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.733692] ------------[
> cut here ]------------
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.739576] WARNING: CPU:
> 0 PID: 3 at backports-4.19.137-1/net/mac80211/util.c:2046
> ieee80211_reconfig+0x98/0xb64 [mac80211]
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.744002] Hardware
> became unavailable during restart.
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.755225] Modules
> linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox
> ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT
> ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cp210x ch341
> cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac
> xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG
> xt_FLOWOFFLOAD wireguard usbserial usbnet slhc nf_reject_ipv4
> nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4
> nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6
> nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack
> macvlan iptable_mangle iptable_filter ip_tables ebtables ebt_vlan
> ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip6
> ebt_among ebt_802_3 crc_ccitt compat cdc_acm sch_tbf sch_ingress
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.809148] sch_htb
> sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw
> cls_flow cls_basic act_skbedit act_mirred xt_set ip_set_list_set
> ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet
> ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac
> ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport
> ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port
> ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6
> nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT
> x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel ip6_tunnel tunnel6
> tun leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple
> ehci_platform ehci_hcd gpio_button_hotplug mii
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.870014] CPU: 0 PID: 3
> Comm: kworker/0:0 Not tainted 4.14.200 #0
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.892172] Hardware
> name: Generic DT based system
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.898472] Workqueue:
> events_freezable ieee80211_restart_work [mac80211]
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.903220] [<c030e3a8>]
> (unwind_backtrace) from [<c030a8a0>] (show_stack+0x10/0x14)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.910071] [<c030a8a0>]
> (show_stack) from [<c0721494>] (dump_stack+0x94/0xa8)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.917876] [<c0721494>]
> (dump_stack) from [<c031dc58>] (__warn+0xe4/0x100)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.924905] [<c031dc58>]
> (__warn) from [<c031dcac>] (warn_slowpath_fmt+0x38/0x48)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.931867] [<c031dcac>]
> (warn_slowpath_fmt) from [<bf4b9f24>] (ieee80211_reconfig+0x98/0xb64
> [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.939620] [<bf4b9f24>]
> (ieee80211_reconfig [mac80211]) from [<bf4897f0>]
> (ieee80211_restart_work+0xa8/0xb4 [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.949038] [<bf4897f0>]
> (ieee80211_restart_work [mac80211]) from [<c0333640>]
> (process_one_work+0x280/0x410)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.959900] [<c0333640>]
> (process_one_work) from [<c0333b00>] (worker_thread+0x330/0x560)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.969704] [<c0333b00>]
> (worker_thread) from [<c0338fc0>] (kthread+0x134/0x13c)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.977861] [<c0338fc0>]
> (kthread) from [<c0307568>] (ret_from_fork+0x14/0x2c)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.985442] ---[ end
> trace fb0fc35d89e4ff3d ]---
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.992409] ------------[
> cut here ]------------
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 244.997253] WARNING: CPU:
> 0 PID: 3 at backports-4.19.137-1/net/mac80211/driver-ops.h:19
> drv_ampdu_action+0x4c/0x1e8 [mac80211]
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.001767] group-ap2:
> Failed check-sdata-in-driver check, flags: 0x9
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.012952] Modules
> linked in: pppoe ppp_async ath10k_pci ath10k_core ath pppox
> ppp_generic nf_conntrack_ipv6 mac80211 iptable_nat ipt_REJECT
> ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cp210x ch341
> cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac
> xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG
> xt_FLOWOFFLOAD wireguard usbserial usbnet slhc nf_reject_ipv4
> nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4
> nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6
> nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack
> macvlan iptable_mangle iptable_filter ip_tables ebtables ebt_vlan
> ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip6
> ebt_among ebt_802_3 crc_ccitt compat cdc_acm sch_tbf sch_ingress
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.068370] sch_htb
> sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw
> cls_flow cls_basic act_skbedit act_mirred xt_set ip_set_list_set
> ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet
> ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac
> ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport
> ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port
> ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6
> nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT
> x_tables nf_reject_ipv6 ip6_udp_tunnel udp_tunnel ip6_tunnel tunnel6
> tun leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple
> ehci_platform ehci_hcd gpio_button_hotplug mii
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.129211] CPU: 0 PID: 3
> Comm: kworker/0:0 Tainted: G W 4.14.200 #0
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.151377] Hardware
> name: Generic DT based system
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.159057] Workqueue:
> events_freezable ieee80211_restart_work [mac80211]
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.163640] [<c030e3a8>]
> (unwind_backtrace) from [<c030a8a0>] (show_stack+0x10/0x14)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.170487] [<c030a8a0>]
> (show_stack) from [<c0721494>] (dump_stack+0x94/0xa8)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.178296] [<c0721494>]
> (dump_stack) from [<c031dc58>] (__warn+0xe4/0x100)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.185327] [<c031dc58>]
> (__warn) from [<c031dcac>] (warn_slowpath_fmt+0x38/0x48)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.192293] [<c031dcac>]
> (warn_slowpath_fmt) from [<bf48c75c>] (drv_ampdu_action+0x4c/0x1e8
> [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.199977] [<bf48c75c>]
> (drv_ampdu_action [mac80211]) from [<bf497e7c>]
> (___ieee80211_stop_rx_ba_session+0x90/0x138 [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.209183] [<bf497e7c>]
> (___ieee80211_stop_rx_ba_session [mac80211]) from [<bf49640c>]
> (ieee80211_sta_tear_down_BA_sessions+0x50/0xfc [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.220995] [<bf49640c>]
> (ieee80211_sta_tear_down_BA_sessions [mac80211]) from [<bf48dad0>]
> (ieee80211_send_eosp_nullfunc+0x620/0x9a0 [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.234018] [<bf48dad0>]
> (ieee80211_send_eosp_nullfunc [mac80211]) from [<bf49055c>]
> (__sta_info_flush+0xb8/0x158 [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.247041] [<bf49055c>]
> (__sta_info_flush [mac80211]) from [<bf4a4af8>]
> (ieee80211_stop_ap+0xe4/0x1f8 [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.258327] [<bf4a4af8>]
> (ieee80211_stop_ap [mac80211]) from [<bf429dac>]
> (__cfg80211_stop_ap+0x4c/0xd8 [cfg80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.268572] [<bf429dac>]
> (__cfg80211_stop_ap [cfg80211]) from [<bf402d98>]
> (cfg80211_leave+0x24/0x30 [cfg80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.278837] [<bf402d98>]
> (cfg80211_leave [cfg80211]) from [<bf402fb8>]
> (cfg80211_netdev_notifier_call+0x214/0x534 [cfg80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.289214] [<bf402fb8>]
> (cfg80211_netdev_notifier_call [cfg80211]) from [<c0339c30>]
> (notifier_call_chain+0x2c/0x6c)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.300349] [<c0339c30>]
> (notifier_call_chain) from [<c0339dac>]
> (raw_notifier_call_chain+0x18/0x20)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.310938] [<c0339dac>]
> (raw_notifier_call_chain) from [<c06277b0>]
> (__dev_close_many+0x44/0xc8)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.320140] [<c06277b0>]
> (__dev_close_many) from [<c0627894>] (dev_close_many+0x60/0xdc)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.328902] [<c0627894>]
> (dev_close_many) from [<c06298b4>] (dev_close+0x34/0x48)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.337136] [<c06298b4>]
> (dev_close) from [<bf4028fc>]
> (cfg80211_shutdown_all_interfaces+0x58/0xa8 [cfg80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.344631] [<bf4028fc>]
> (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf4ba61c>]
> (ieee80211_reconfig+0x790/0xb64 [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.354494] [<bf4ba61c>]
> (ieee80211_reconfig [mac80211]) from [<bf4897f0>]
> (ieee80211_restart_work+0xa8/0xb4 [mac80211])
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.366483] [<bf4897f0>]
> (ieee80211_restart_work [mac80211]) from [<c0333640>]
> (process_one_work+0x280/0x410)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.377258] [<c0333640>]
> (process_one_work) from [<c0333b00>] (worker_thread+0x330/0x560)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.387062] [<c0333b00>]
> (worker_thread) from [<c0338fc0>] (kthread+0x134/0x13c)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.395221] [<c0338fc0>]
> (kthread) from [<c0307568>] (ret_from_fork+0x14/0x2c)
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.402846] ---[ end
> trace fb0fc35d89e4ff3e ]---
> 
> Tue Jan 26 18:09:34 2021 kern.info kernel: [ 245.409750] group-ap2: HW
> problem - can not stop rx aggregation for 06:ef:c0:01:33:6b tid 0
> 
> Tue Jan 26 18:09:34 2021 kern.warn kernel: [ 245.414504] ------------[
> cut here ]------------
> 
> _______________________________________________
> ath10k mailing list
> ath10k@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/ath10k
> 


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2021-02-02 16:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-02 16:32 bss channel survey timed out and then hardware became unavailable on IPQ40xx nospam forme
2021-02-02 16:38 ` Ben Greear [this message]
2021-02-02 19:23   ` nospam forme

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7e7b8341-7662-8071-aa04-563ad01e170b@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=ath10k@lists.infradead.org \
    --cc=nospamforme8675309@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).