Kernel module crashed

It worked for me fine since I changed to -ct version, but I got new crash today:

[3031469.236138] WARNING: CPU: 0 PID: 0 at /home/beast/beast/workspace/turris-os-packages-kittens-omnia/build/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu_cortexa9/ath10k-ct-2018-03-16-30827f7d/ath10k-4.13/htt_rx.c:1031 ath10k_htt_t2h_msg_handler+0x1408/0x1cfc [ath10k_core]
[3031469.261413] Modules linked in: ath9k(O) ath9k_common(O) qcserial pppoe ppp_async ath9k_hw(O) ath10k_pci(O) ath10k_core(O) ath(O) usb_wwan pppox ppp_generic nf_conntrack_ipv6 mac80211(O) iptable_nat ipt_REJECT ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cfg80211(O) at24 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_FLOWOFFLOAD xt_DSCP xt_CT xt_CLASSIFY xt_CHECKSUM usbserial slhc sch_cake(O) nvmem_core nft_set_rbtree nft_set_hash nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_meta nft_log nft_limit nft_exthdr nft_ct nft_counter nft_chain_route_ipv6
[3031469.332740]  nft_chain_route_ipv4 nf_tables_ipv6 nf_tables_ipv4 nf_tables_inet nf_tables nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat_ftp 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_ftp nf_conntrack iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt compat(O) br_netfilter fuse act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ledtrig_oneshot ledtrig_heartbeat ledtrig_gpio xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac
[3031469.404815]  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 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables ifb sit ip6_tunnel tunnel6 tunnel4 ip_tunnel tun snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore ledtrig_transient
[3031469.445612] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G           O    4.14.162 #0
[3031469.453110] Hardware name: Marvell Armada 380/385 (Device Tree)
[3031469.459230] [<c010ed2c>] (unwind_backtrace) from [<c010aa20>] (show_stack+0x10/0x14)
[3031469.467167] [<c010aa20>] (show_stack) from [<c0799b14>] (dump_stack+0x94/0xa8)
[3031469.474583] [<c0799b14>] (dump_stack) from [<c0121d9c>] (__warn+0xe4/0x100)
[3031469.481736] [<c0121d9c>] (__warn) from [<c0121e68>] (warn_slowpath_null+0x20/0x28)
[3031469.489510] [<c0121e68>] (warn_slowpath_null) from [<bf6d2a54>] (ath10k_htt_t2h_msg_handler+0x1408/0x1cfc [ath10k_core])
[3031469.500643] [<bf6d2a54>] (ath10k_htt_t2h_msg_handler [ath10k_core]) from [<bf6d4094>] (ath10k_htt_txrx_compl_task+0xd4c/0x1240 [ath10k_core])
[3031469.513555] [<bf6d4094>] (ath10k_htt_txrx_compl_task [ath10k_core]) from [<bf713d2c>] (ath10k_pci_napi_poll+0x6c/0xe4 [ath10k_pci])
[3031469.525597] [<bf713d2c>] (ath10k_pci_napi_poll [ath10k_pci]) from [<c06706dc>] (net_rx_action+0x138/0x2fc)
[3031469.535449] [<c06706dc>] (net_rx_action) from [<c0101628>] (__do_softirq+0xe0/0x240)
[3031469.543387] [<c0101628>] (__do_softirq) from [<c0126c4c>] (irq_exit+0xd4/0xe4)
[3031469.550803] [<c0126c4c>] (irq_exit) from [<c01652b0>] (__handle_domain_irq+0x9c/0xac)
[3031469.558826] [<c01652b0>] (__handle_domain_irq) from [<c0101468>] (gic_handle_irq+0x5c/0x90)
[3031469.567370] [<c0101468>] (gic_handle_irq) from [<c010b6cc>] (__irq_svc+0x6c/0x90)
[3031469.575042] Exception stack(0xc0b01f58 to 0xc0b01fa0)
[3031469.580278] 1f40:                                                       00000000 a64256b0
[3031469.588648] 1f60: 2ec89000 c01145e0 ffffe000 c0b03c78 c0b03c28 00000000 c0a39a28 414fc091
[3031469.597018] 1f80: 00000000 00000000 c0b01fa0 c0b01fa8 c01080e8 c01080ec 60000013 ffffffff
[3031469.605390] [<c010b6cc>] (__irq_svc) from [<c01080ec>] (arch_cpu_idle+0x34/0x38)
[3031469.612979] [<c01080ec>] (arch_cpu_idle) from [<c015b134>] (do_idle+0xac/0x11c)
[3031469.620480] [<c015b134>] (do_idle) from [<c015b3f0>] (cpu_startup_entry+0x18/0x1c)
[3031469.628246] [<c015b3f0>] (cpu_startup_entry) from [<c0a00d64>] (start_kernel+0x49c/0x4a8)
[3031469.636627] ---[ end trace d8da26db9c1d166a ]---
[3031469.643356] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon

Turris Omnia 4.0.5
ath10k-firmware-qca988x-ct-htt - 2018-05-12-952afa49-1.23
kmod-ath10k-ct - 4.14.162+2018-03-16-30827f7d-3-0a66bb0316b4402bf65555c64ceed313.16

I have installed these yesterday, after gettint the “SWBA overrun” messages.

I switched from TOS-4.0.5 to TOS-5.0.0 (HBT) today and I’ve had to reinstall back kmod-ath10k and ath10k-firmware-qca988x because my ath10 card wasn’t found by kernel.

Are you sure that it was not found by kernel? Do you have any logs?

Well, doing a lot of teams as well, but it is really when I play stadia that I get this.
Perhaps you should ping the ath10k-ct issue. I guess the way to go is to have this firmware crash dump analysed, and we cannot do this ourselves as the fw is not opensource.

I don’t think so (rebooted since). but the ‘ifconfig -a’ showed only wlan1 interface and kernel logs complained something related to firmware initialization.
I can retry if needed. (if it helps anyone)

After an Update to Turris OS 5.0 my wifi cards were found by the kernel, no trouble here.
I used the same configuration as posted in my message above(Kernel module crashed) and the SWBA overrun message still appears in the kernel logs:

[ 2192.472512] ath10k_pci 0000:03:00.0: SWBA overrun on vdev 0, skipped old beacon

root@dullsgard:~# opkg list-installed | grep ath10
ath10k-firmware-qca988x-ct - 2019-10-03-d622d160-1.0
kmod-ath10k-ct - 4.14.180+2019-09-09-5e8cd86f-1-48a644b50ecb7fb4ac7c6005f25c7206.0
But it seems to be unable to load the firmware (@fantomas was it the same issue at your device?)
[   15.210845] ath10k_pci 0000:02:00.0: enabling device (0000 -> 0002)
[   15.218118] ath10k_pci 0000:02:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   15.468224] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:02:00.0.txt failed with error -2
[   15.479195] ath10k_pci 0000:02:00.0: Falling back to user helper
[   15.652367] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: 
[   17.781666] firmware ath10k!fwcfg-pci-0000:02:00.0.txt: firmware_loading_store: map pages failed
[   17.791110] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:02:00.0.bin failed with error -2
[   17.802211] ath10k_pci 0000:02:00.0: Falling back to user helper
[   17.818055] firmware ath10k!pre-cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[   17.827578] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/cal-pci-0000:02:00.0.bin failed with error -2
[   17.838434] ath10k_pci 0000:02:00.0: Falling back to user helper
[   17.860992] firmware ath10k!cal-pci-0000:02:00.0.bin: firmware_loading_store: map pages failed
[   17.870652] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[   17.882088] ath10k_pci 0000:02:00.0: Falling back to user helper
[   17.897091] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   17.907135] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[   17.918559] ath10k_pci 0000:02:00.0: Falling back to user helper
[   17.933737] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   17.943544] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   17.954587] ath10k_pci 0000:02:00.0: Falling back to user helper
[   17.973000] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   17.982747] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[   17.993897] ath10k_pci 0000:02:00.0: Falling back to user helper
[   18.009222] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   18.018974] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[   18.030133] ath10k_pci 0000:02:00.0: Falling back to user helper
[   18.045441] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   18.054814] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[   18.065838] ath10k_pci 0000:02:00.0: Falling back to user helper
[   18.085699] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[   18.100166] ath10k_pci 0000:02:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   18.109434] ath10k_pci 0000:02:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   18.120411] ath10k_pci 0000:02:00.0: firmware ver 10.1-ct-8x-__fW-022-b0e1b7cd api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 1e527180
[   18.174337] ath10k_pci 0000:02:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   18.185264] ath10k_pci 0000:02:00.0: Falling back to user helper
[   18.200560] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   18.211830] ath10k_pci 0000:02:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   19.144945] ath10k_pci 0000:02:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   19.162017] ath10k_pci 0000:02:00.0: wmi print 'P 128 V 8 T 410'
[   19.168327] ath10k_pci 0000:02:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   19.176462] ath10k_pci 0000:02:00.0: wmi print 'alloc rem: 20904 iram: 26056'
[   19.242869] ath10k_pci 0000:02:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   19.256577] ath10k_pci 0000:02:00.0: NOTE:  Firmware DBGLOG output disabled in debug_mask: 0x10000000
[   19.382562] ath: EEPROM regdomain: 0x0
[   19.382574] ath: EEPROM indicates default country code should be used
[   19.382580] ath: doing EEPROM country->regdmn map search
[   19.382589] ath: country maps to regdmn code: 0x3a
[   19.382596] ath: Country alpha2 being used: US
[   19.382601] ath: Regpair used: 0x3a
[   19.388182] ath10k 4.19 driver, optimized for CT firmware, probing pci device: 0x3c.
[   19.398278] pci 0000:01:07.0: enabling device (0000 -> 0002)
[   19.404251] ath10k_pci 0000:03:00.0: enabling device (0000 -> 0002)
[   19.411803] ath10k_pci 0000:03:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   19.648109] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/fwcfg-pci-0000:03:00.0.txt failed with error -2
[   19.659024] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.113902] firmware ath10k!fwcfg-pci-0000:03:00.0.txt: firmware_loading_store: map pages failed
[   20.123229] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:03:00.0.bin failed with error -2
[   20.134406] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.156451] firmware ath10k!pre-cal-pci-0000:03:00.0.bin: firmware_loading_store: map pages failed
[   20.166071] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/cal-pci-0000:03:00.0.bin failed with error -2
[   20.176396] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.191703] firmware ath10k!cal-pci-0000:03:00.0.bin: firmware_loading_store: map pages failed
[   20.201069] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-5.bin failed with error -2
[   20.212552] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.228058] firmware ath10k!QCA988X!hw2.0!ct-firmware-5.bin: firmware_loading_store: map pages failed
[   20.237479] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/ct-firmware-2.bin failed with error -2
[   20.248886] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.271420] firmware ath10k!QCA988X!hw2.0!ct-firmware-2.bin: firmware_loading_store: map pages failed
[   20.281347] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-6.bin failed with error -2
[   20.292495] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.307829] firmware ath10k!QCA988X!hw2.0!firmware-6.bin: firmware_loading_store: map pages failed
[   20.317509] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-5.bin failed with error -2
[   20.328762] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.343973] firmware ath10k!QCA988X!hw2.0!firmware-5.bin: firmware_loading_store: map pages failed
[   20.353550] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-4.bin failed with error -2
[   20.364501] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.383280] firmware ath10k!QCA988X!hw2.0!firmware-4.bin: firmware_loading_store: map pages failed
[   20.392944] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/firmware-3.bin failed with error -2
[   20.403636] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.419187] firmware ath10k!QCA988X!hw2.0!firmware-3.bin: firmware_loading_store: map pages failed
[   20.428836] ath10k_pci 0000:03:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[   20.438476] ath10k_pci 0000:03:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   20.451848] ath10k_pci 0000:03:00.0: firmware ver 10.1-ct-8x-__fW-022-b0e1b7cd api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,txrate-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 1e527180
[   20.505533] ath10k_pci 0000:03:00.0: Direct firmware load for ath10k/QCA988X/hw2.0/board-2.bin failed with error -2
[   20.516102] ath10k_pci 0000:03:00.0: Falling back to user helper
[   20.531156] firmware ath10k!QCA988X!hw2.0!board-2.bin: firmware_loading_store: map pages failed
[   20.540147] ath10k_pci 0000:03:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[   21.473319] ath10k_pci 0000:03:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[   21.490486] ath10k_pci 0000:03:00.0: wmi print 'P 128 V 8 T 410'
[   21.496796] ath10k_pci 0000:03:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[   21.505057] ath10k_pci 0000:03:00.0: wmi print 'alloc rem: 20904 iram: 26056'
[   21.571508] ath10k_pci 0000:03:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
[   21.702551] ath: EEPROM regdomain: 0x0
[   21.702565] ath: EEPROM indicates default country code should be used
[   21.702571] ath: doing EEPROM country->regdmn map search
[   21.702581] ath: country maps to regdmn code: 0x3a
[   21.702588] ath: Country alpha2 being used: US
[   21.702593] ath: Regpair used: 0x3a

I encountered this as well yesterday. I installed the ath10k-firmware-qca988x-ct and kmod-ath10k-ct packages. I’ll see how that goes. There’s also a bug report for this card’s firmware at openwrt.

https://bugs.openwrt.org/index.php?do=details&task_id=2220

Though, mine starts at 298699.817509 in dmesg.

if you want you can try the htt version instead of the “normal” ct version, i had this running on my Turris OS 4.0 over 100 days without any reboot or trouble. On Turris OS 5.0 i still had not any issues. All other drivers were buggy in my tests and had this SWBA overrun issues .

root@turris:/srv/root# opkg list-installed | grep ath10k
ath10k-firmware-qca988x-ct-htt - 2019-10-03-d622d160-1.1
kmod-ath10k-ct - 4.14.180+2019-09-09-5e8cd86f-1-58f4a00531100abb0e5ec1c98b13b78d.0
root@turris:/srv/root# 
1 Like

I’m on turris 5.0, and using the htt driver. It doesn’t matter, the SWBA overruns still occur.

[  127.093965] ath10k_pci 0000:03:00.0: SWBA overrun on vdev 0, skipped old beacon
[  127.101884] ath10k_pci 0000:03:00.0: SWBA overrun on vdev 0, skipped old beacon
[  131.813551] ath10k_pci 0000:03:00.0: SWBA overrun on vdev 0, skipped old beacon
root@dullsgard:~# opkg list-installed | grep ath10k
ath10k-firmware-qca988x-ct-htt - 2019-10-03-d622d160-1.0
kmod-ath10k-ct - 4.14.180+2019-09-09-5e8cd86f-1-48a644b50ecb7fb4ac7c6005f25c7206.0

I had some crashes of the ct module, let’s see if they also happen with the httmodule.

1 Like

Ha! Just ran into this, Omnia didn’t come back up with wifi, even restoring from a backup failed to resolve, even back several days. I was testing the new ‘htt’ version to see if the new options were an improvement. Changed versions and we’re back up - for now. Not a good look on a router. And I had it with me on the road in the RV without ethernet cables, hahahahahahahahahaha.

Similar problem here on 3.11.19.1:

[39220.725104] ------------[ cut here ]------------
[39220.725176] WARNING: CPU: 0 PID: 7565 at /home/beast/beast/workspace/omnia-stable/build_dir/target-arm_cortex-a9+vfpv3_musl-1.1.15_eabi/linux-mvebu/compat-wireless-2017-01-31/drivers/net/wireless/ath/ath10k/ma
c.c:7132 ath10k_reconfig_complete+0x178/0x26c [ath10k_core]()
[39220.725186] Modules linked in: qcserial pppoe ppp_async iptable_nat ath9k usb_wwan pppox ppp_generic nf_nat_ipv4 nf_conntrack_netlink nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE ebtable_nat e
btable_filter ebtable_broute ath9k_common armada_thermal xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_c
onntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial thermal_sys slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf
_nat_ftp nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack_ftp nf_conntrack mvsdio libcrc32c iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables hwmon ebtables ebt_vlan eb
t_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt ath9k_hw sch_teql sch_tbf sch_sfq sch_red sch_prio sch_pie sch_netem sch_htb sch_gred sch_fq sch_dsmark sch_codel em_text
 em_nbyte em_meta em_cmp cls_basic act_vlan act_police act_pedit act_nat act_ipt act_gact act_csum act_bpf act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ath10k_p
ci ath10k_core ath mac80211 cfg80211 compat ledtrig_usbdev ledtrig_oneshot xt_LED ledtrig_morse ledtrig_heartbeat ledtrig_gpio ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_raw ip6table_mangle ip6
table_filter ip6_tables x_tables ifb tun xhci_plat_hcd xhci_pci xhci_hcd uhci_hcd ledtrig_transient
[39220.725343] CPU: 0 PID: 7565 Comm: kworker/u4:0 Not tainted 4.4.199-a890a5a94ebb621f8f1720c24d12fef1-0 #1
[39220.725346] Hardware name: Marvell Armada 380/385 (Device Tree)
[39220.725403] Workqueue: phy0 ieee80211_csa_finalize_work [mac80211]
[39220.725407] Backtrace: 
[39220.725418] [<c001c654>] (dump_backtrace) from [<c001c894>] (show_stack+0x18/0x1c)
[39220.725421]  r6:00000000 r5:60000013 r4:c077aea8 r3:00000006
[39220.725432] [<c001c87c>] (show_stack) from [<c0304164>] (dump_stack+0x98/0xac)
[39220.725440] [<c03040cc>] (dump_stack) from [<c00293c0>] (warn_slowpath_common+0x8c/0xbc)
[39220.725443]  r6:00001bdc r5:bf152c00 r4:00000000 r3:00000006
[39220.725453] [<c0029334>] (warn_slowpath_common) from [<c0029494>] (warn_slowpath_null+0x24/0x2c)
[39220.725456]  r8:00000001 r7:00000001 r6:e5797580 r5:ed8515e0 r4:00000000
[39220.725482] [<c0029470>] (warn_slowpath_null) from [<bf152c00>] (ath10k_reconfig_complete+0x178/0x26c [ath10k_core])
[39220.725512] [<bf152af0>] (ath10k_reconfig_complete [ath10k_core]) from [<bf157f68>] (ath10k_sta_state+0xcec/0xecc [ath10k_core])
[39220.725515]  r8:00000002 r7:e5797580 r6:e5797580 r5:ed8515e0 r4:ed8520c4
[39220.725547] [<bf157e6c>] (ath10k_sta_state [ath10k_core]) from [<bf158180>] (ath10k_mac_op_switch_vif_chanctx+0x38/0x48 [ath10k_core])
[39220.725550]  r9:bf12c3c2 r8:00000002 r7:e5797580 r6:00000002 r5:ed8515e0 r4:ed8520ac
[39220.725590] [<bf158148>] (ath10k_mac_op_switch_vif_chanctx [ath10k_core]) from [<bf0cf694>] (drv_switch_vif_chanctx+0xcc/0x174 [mac80211])
[39220.725593]  r7:ee8ab3b0 r6:00000001 r5:00000002 r4:e5797598
[39220.725644] [<bf0cf5c8>] (drv_switch_vif_chanctx [mac80211]) from [<bf101424>] (ieee80211_vif_unreserve_chanctx+0x4fc/0xbd8 [mac80211])
[39220.725647]  r10:ed851374 r9:00000002 r8:e5797580 r7:ed851374 r6:00000002 r5:ee8ab398
[39220.725655]  r4:00000000
[39220.725703] [<bf1010b0>] (ieee80211_vif_unreserve_chanctx [mac80211]) from [<bf102084>] (ieee80211_vif_use_reserved_context+0x9c/0x124 [mac80211])
[39220.725706]  r10:c076ec12 r9:00000000 r8:edea3480 r7:edea34ac r6:ed850ba0 r5:ed008e80
[39220.725715]  r4:ee8ab380
[39220.725762] [<bf101fe8>] (ieee80211_vif_use_reserved_context [mac80211]) from [<bf0e59dc>] (ieee80211_set_bitrate_mask+0x1dc/0x360 [mac80211])
[39220.725765]  r6:ed850ba0 r5:ee8ab380 r4:edea3480 r3:00000000
[39220.725815] [<bf0e599c>] (ieee80211_set_bitrate_mask [mac80211]) from [<bf0e9c10>] (ieee80211_csa_finalize_work+0x80/0x94 [mac80211])
[39220.725818]  r7:edea34ac r6:ed85137c r5:ed851268 r4:edea3858
[39220.725849] [<bf0e9b90>] (ieee80211_csa_finalize_work [mac80211]) from [<c003efc0>] (process_one_work+0x140/0x358)
[39220.725852]  r8:00000000 r7:edc14200 r6:ee80b000 r5:edea3858 r4:eccf2680 r3:bf0e9b90
[39220.725863] [<c003ee80>] (process_one_work) from [<c003f220>] (worker_thread+0x48/0x524)
[39220.725866]  r10:c076ec12 r9:ee80b000 r8:00000088 r7:eccf2698 r6:ee80b014 r5:ee80b000
[39220.725874]  r4:eccf2680
[39220.725881] [<c003f1d8>] (worker_thread) from [<c0044698>] (kthread+0x110/0x124)
[39220.725884]  r10:00000000 r9:00000000 r8:00000000 r7:c003f1d8 r6:eccf2680 r5:00000000
[39220.725892]  r4:ecfbf900
[39220.725899] [<c0044588>] (kthread) from [<c0009dd0>] (ret_from_fork+0x14/0x24)
[39220.725901]  r7:00000000 r6:00000000 r5:c0044588 r4:ecfbf900
[39220.725908] ---[ end trace 0cd432725c2a8b25 ]---

Same problem here.

Jul 30 09:21:36 turris kernel: [486097.267028] ath10k_warn: 94 callbacks suppressed
Jul 30 09:21:36 turris kernel: [486097.267036] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 2, skipped old beacon
Jul 30 09:21:36 turris kernel: [486097.301236] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Jul 30 09:21:37 turris kernel: [486097.335304] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 1, skipped old beacon
Jul 30 09:21:37 turris kernel: [486097.369541] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 2, skipped old beacon
Jul 30 09:21:37 turris kernel: [486097.403686] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Jul 30 09:21:37 turris kernel: [486097.437760] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 1, skipped old beacon
Jul 30 09:21:37 turris kernel: [486097.471818] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 2, skipped old beacon
Jul 30 09:21:37 turris kernel: [486097.505951] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Jul 30 09:21:37 turris kernel: [486097.540088] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 1, skipped old beacon
Jul 30 09:21:37 turris kernel: [486097.574296] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 2, skipped old beacon
Jul 30 09:21:41 turris kernel: [486102.004745] ath10k_pci 0000:02:00.0: device successfully recovered
ath10k-firmware-qca988x - 2019-10-03-d622d160-1
kmod-ath10k - 4.14.236+4.19.193-1-1-67f70e2f39f8e8859c56d42cced0b0b3

root@turris:/var/log# cat /etc/turris-version
5.2.3

i can also confirm the issue still persists on two of my devices (both running latest os 5.2.4)
[73480.329939] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
[73480.381136] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 1, skipped old beacon
[73480.432330] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
[73480.483530] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 1, skipped old beacon
[73480.534720] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
[73480.585919] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 1, skipped old beacon
[73480.637114] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
[73480.688314] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 1, skipped old beacon
[73480.739509] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
[73480.790705] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 1, skipped old beacon
[73483.398034] ieee80211 phy0: Hardware restart was requested
[73484.878833] ath10k_pci 0000:02:00.0: device successfully recovered

most of the devices automatically reconnect, but seems to be problem with iphones

I do not observe those issues anymore - but I use the “ath10k-firmware-qca988x-ct-htt”, version “2020-07-02-1”.

I use the latest stable omnia.

since moving to -ct module and firmware I no longer have it either

Just experienced it now:

Aug 16 08:24:44 turris kernel: [1652238.074278] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:44 turris kernel: [1652238.226830] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:44 turris kernel: [1652238.379401] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:44 turris kernel: [1652238.531967] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:44 turris kernel: [1652238.684533] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:44 turris kernel: [1652238.837100] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:44 turris kernel: [1652238.989667] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:45 turris kernel: [1652239.142248] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:45 turris kernel: [1652239.294800] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:45 turris kernel: [1652239.447369] ath10k_pci 0000:02:00.0: SWBA overrun on vdev 0, skipped old beacon
Aug 16 08:24:46 turris kernel: [1652241.030330] ieee80211 phy0: Hardware restart was requested
Aug 16 08:24:48 turris kernel: [1652242.391526] ath10k_pci 0000:02:00.0: device successfully recovered

Default ath10k driver - only 5Ghz card inside the router, the 2.4 card had bad reception anyway.