OpenWrt 21.02.0 Fourth release candidate

Tainting can happen because of errors as well.

Yes use Master snapshot it's much better. Master has been running great on my WRT32X for weeks. Unfortunately 21.02 is about to release and they haven't addressed this issue.

I currently use Image builder but every new release I have to build my own like a fork, this doesn't feel right in the longterm as many users from here already upvoted and use my non-ct builds. I would love to have this officially.

You can just use the imagebuilder from openwrt and select the packages you want? That reduces build time massively?

3 Likes

And if you have the make config ”code” pre written and saved you just copy paste it into the terminal every time you do a build and take a coffee while the computer do the work😃

1 Like

Is there any real advantage to imagebuilder? I always just install a master snapshot and add everything in one command with opkg install.

Summary

opkg update && opkg install irqbalance luci-app-advanced-reboot luci-app-sqm luci-app-adblock luci-app-upnp luci-app-samba4 kmod-usb-storage kmod-usb-storage-uas kmod-usb-ohci kmod-usb-ohci-pci kmod-ata-ahci kmod-usb-uhci kmod-usb3 block-mount usbutils mount-utils luci-app-hd-idle kmod-fs-exfat iperf3 nano

1 Like

If you only like to add packages, then the benefits are minor. But you can minimize the downtime of services that you have installed additionally if you already have them included in your custom image and do an upgrade while keeping your configuration.

However, to me, being able to remove/replace default packages from the image, is more interesting. I use the image builder to create images for my access point, for example. The access point functionality requires only a reduced set of packages. I have no need for a DNS resolver or DHCP server. I do like the fact that I can flash my "access point image" and be sure that no DHCP service will run on it, even if I don't preserve the configuration over the upgrade. I'm also one of those who prefer to use the non-ct ath10k driver and firmware.

3 Likes

I’m out of the loop- nothing obvious in quick search just now either. What’s the pros + cons of ct vs non-ct?

1 Like

If you build it with the packages then you always have the packages, offline and online and after a reset. My current rig can’t even have internet to the router until the VLAN:s are setup offline so it can communicate with the switch.
Master snapshot…today it worked, today it didn’t work, today it worked-oh no it didn’t…

1 Like

I didn't follow the development of the -ct driver and firmware over the last couple of years either. So my reasons come down to "history" and habit and I can't really speak about the current state.
But at the time when the -ct driver was made the default for my device (or OpenWrt in general? I don't remember...), I did compare them to some extent and noticed the throughput of the -ct variant was a bit slower. So, I decided to stay with the non-ct version. And since that has worked well for me over the last years, I have little inclination to change that.

However, there always have been a number of people who had issues with the mainline ath10k driver and firmware**, such as random driver or firmware crashes and so on. They (or some of them) found the -ct driver to be more stable. And I guess it also has to do with the fact that @greearb (who is the main developer behind the -ct driver, afaik) seems more responsive than the upstream developers when it comes to issues and trying to solve bugs.

** Note: Much earlier, I also had issues with the ath10k driver. That was when both my wife and I had a Google Nexus 5X phone. When those were connected to the 5G wireless network, the firmware would crash after a while (sometimes a month or so). After my wife's phone died at some point (and mine a few months later), I haven't seen the the ath10k driver or firmware crash anymore.

1 Like

I installed 21.02 (yes i know its not announced) on an Archer C7 v5 as a dumb AP.
Now i'm seeing these log messages every hour.

Fri Sep 3 18:58:47 2021 kern.info kernel: [10512.400160] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 5 is down
Fri Sep 3 18:58:49 2021 kern.info kernel: [10514.447830] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 5 is up
Fri Sep 3 19:58:49 2021 kern.info kernel: [14114.784965] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 5 is down
Fri Sep 3 19:58:51 2021 kern.info kernel: [14116.832625] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 5 is up
Fri Sep 3 20:58:52 2021 kern.info kernel: [17717.172038] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 5 is down
Fri Sep 3 20:58:54 2021 kern.info kernel: [17719.219698] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 5 is up
Fri Sep 3 21:58:55 2021 kern.info kernel: [21320.581915] Atheros AR8216/AR8236/AR8316 mdio.0:00: Port 5 is down

What is port 5 and why is it down and up again every hour?

I think you can find that in /etc/board.json

21.02.0, r16279-5cc0535800 TP-Link Archer C50 v1. Installed as dumb-ap:

[ 3328.858879] ------------[ cut here ]------------
[ 3328.863757] WARNING: CPU: 0 PID: 726 at backports-5.10.42-1/net/mac80211/airtime.c:457 0x83556180 [mac80211@be85d16f+0x7c8d0]
[ 3328.875308] Modules linked in: rt2800soc rt2800mmio rt2800lib xt_FLOWOFFLOAD rt2x00soc rt2x00mmio rt2x00lib nf_flow_table_hw nf_flow_table nf_conntrack mt76x2e mt76x2_common mt76x02_lib mt76 mac80211 iptable_mangle iptable_filter ipt_REJECT ip_tables cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit 
xt_comment xt_TCPMSS xt_LOG x_tables nf_reject_ipv4 nf_log_ipv4 nf_log_common nf_defrag_ipv6 nf_defrag_ipv4 crc_ccitt compat leds_gpio ohci_platform ohci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 3328.926312] CPU: 0 PID: 726 Comm: mt76-tx phy0 Not tainted 5.4.143 #0
[ 3328.932932] Stack : 00000000 8005ab38 805c0000 8055f9a0 00000000 00000000 00000000 00000000
[ 3328.941480]         00000000 00000000 00000000 00000000 00000000 00000001 836b3c60 79bfc03c
[ 3328.950074]         836b3cf8 00000000 00000000 00000000 00000038 804eb6c4 65746e69 2e352064
[ 3328.958638]         00000000 000000a5 00000000 000e2268 00000000 836b3c40 00000000 83556180
[ 3328.967184]         00000009 00000014 00000004 00000002 00000000 802ab06c 00000000 806f0000
[ 3328.975730]         ...
[ 3328.978236] Call Trace:
[ 3328.978249] [<8005ab38>] 0x8005ab38
[ 3328.984368] [<804eb6c4>] 0x804eb6c4
[ 3328.987980] [<83556180>] 0x83556180 [mac80211@be85d16f+0x7c8d0]
[ 3328.994037] [<802ab06c>] 0x802ab06c
[ 3328.997824] [<80009790>] 0x80009790
[ 3329.001437] [<80009798>] 0x80009798
[ 3329.005007] [<800236d0>] 0x800236d0
[ 3329.008660] [<83556180>] 0x83556180 [mac80211@be85d16f+0x7c8d0]
[ 3329.014736] [<80023778>] 0x80023778
[ 3329.018330] [<83556180>] 0x83556180 [mac80211@be85d16f+0x7c8d0]
[ 3329.024400] [<835036a0>] 0x835036a0 [mac80211@be85d16f+0x7c8d0]
[ 3329.030473] [<83556368>] 0x83556368 [mac80211@be85d16f+0x7c8d0]
[ 3329.036538] [<83556448>] 0x83556448 [mac80211@be85d16f+0x7c8d0]
[ 3329.042598] [<803379b4>] 0x803379b4
[ 3329.046197] [<83662a24>] 0x83662a24 [mt76x02_lib@d88edb73+0x9ce0]
[ 3329.052495] [<8365048c>] 0x8365048c [mt76@0ab63fe8+0x9440]
[ 3329.058137] [<836565ac>] 0x836565ac [mt76@0ab63fe8+0x9440]
[ 3329.063777] [<8365048c>] 0x8365048c [mt76@0ab63fe8+0x9440]
[ 3329.069400] [<83664fe4>] 0x83664fe4 [mt76x02_lib@d88edb73+0x9ce0]
[ 3329.075640] [<8365048c>] 0x8365048c [mt76@0ab63fe8+0x9440]
[ 3329.081316] [<83650520>] 0x83650520 [mt76@0ab63fe8+0x9440]
[ 3329.086946] [<804ecd48>] 0x804ecd48
[ 3329.090534] [<8003fdbc>] 0x8003fdbc
[ 3329.094108] [<8003fc84>] 0x8003fc84
[ 3329.097689] [<8003fc84>] 0x8003fc84
[ 3329.101338] [<800050b8>] 0x800050b8
[ 3329.104926] 
[ 3329.106445] ---[ end trace 554148bd9d8adcb9 ]---

ah.

			{
				"num": 5,
				"role": "lan",
				"index": 4
			},
			{

I guess this means it is the 4th LAN port.
WAN has index 1.

On this particular port is a OpenTherm monitor connected. Maybe this one is playing up.
I will look into this.

Thanks.

Edit: It was the OT monitor.

Upgraded to 21.02.0 on a TP-Link Archer C7 v2

Wireless doesn't look entirely happy. Tail of kernel log buffer below.

[46009.247146] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[46009.247194] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[46009.264287] ath10k_pci 0000:00:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[46009.271464] ath10k: [0000]: 5AFDCE02 204CFC0B 08000000 0B000000 6FFDCE02 204CFC0B 08000000 0B000000
[46009.281369] ath10k: [0008]: 83FDCE02 204CFC0B 08000000 0B000000 98FDCE02 204CFC0B 08000000 0B000000
[46009.294298] ath10k: [0016]: ACFDCE02 204CFC0B 08000000 0B000000 C1FDCE02 204CFC0B 08000000 0B000000
[46009.304458] ath10k: [0024]: D5FDCE02 204CFC0B 08000000 0B000000 EAFDCE02 204CFC0B 08000000 0B000000
[46009.314527] ath10k_pci 0000:00:00.0: ATH10K_END
[46009.329980] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 1: -143
[46009.344688] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 1: -143
[46009.353901] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[46009.353942] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[46009.376923] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 1: -143
[46009.385024] ath10k_pci 0000:00:00.0: failed to set mgmt tx rate -143
[46009.399844] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46009.428105] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46009.445081] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer e7e104f5 vdev: 1 addr: 32:b5:c2:d7:8d:fd 
[46009.456264] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer b92624f1 vdev: 0 addr: 30:b5:c2:d7:8d:fd 
[46009.468318] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[46009.475803] ath10k_pci 0000:00:00.0: received scan foreign chan event in an invalid scan state: idle (0)
[46009.485435] ath10k_pci 0000:00:00.0: received chan info event without a scan request, ignoring
[46009.494198] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 0, skipped old beacon
[46009.501646] ath10k_pci 0000:00:00.0: received scan bss chan event in an invalid scan state: idle (0)
[46009.510925] ath10k_pci 0000:00:00.0: received chan info event without a scan request, ignoring
[46009.524396] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[46009.658233] ieee80211 phy0: Hardware restart was requested
[46009.667662] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[46011.129764] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[46011.233432] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[46011.239571] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[46011.247709] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[46011.753651] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[46012.169688] ath10k_pci 0000:00:00.0: rts threshold -1
[46012.481544] ath10k_pci 0000:00:00.0: rts threshold -1
[46013.938129] ath10k_pci 0000:00:00.0: device successfully recovered
[46024.845189] ath10k_pci 0000:00:00.0: Cannot communicate with firmware, previous wmi cmds: 36954:11430619 36954:11430594 36890:11430411 36870:11430411, jiffies: 11431370, attempting to fake crash and restart firmware, dev-flags: 0x42
[46024.866503] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -143
[46024.874282] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -143
[46024.882550] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -143
[46024.889729] ath10k_pci 0000:00:00.0: failed to set mgmt tx rate -143
[46024.896709] ath10k_pci 0000:00:00.0: failed to send wmi nop: -143
[46024.902946] ath10k_pci 0000:00:00.0: could not request stats (type -268435456 ret -143 specifier 1)
[46024.933236] ath10k_pci 0000:00:00.0: firmware crashed! (guid a192a2dd-404a-4404-9191-e47afa91f477)
[46024.942485] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[46024.951890] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[46024.964139] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[46024.995080] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[46025.003069] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[46025.013022] ath10k_pci 0000:00:00.0: firmware register dump:
[46025.018810] ath10k_pci 0000:00:00.0: [00]: 0x00940750 0x00400C00 0x00980000 0x009AF0DC
[46025.026973] ath10k_pci 0000:00:00.0: [04]: 0x009AF148 0x009AF264 0x00941B6C 0x00941B20
[46025.035191] ath10k_pci 0000:00:00.0: [08]: 0x00941B00 0x009423A4 0x009422DC 0x009422C4
[46025.043393] ath10k_pci 0000:00:00.0: [12]: 0x00941B90 0x009423F4 0x009423D4 0x009423DC
[46025.051478] ath10k_pci 0000:00:00.0: [16]: 0x009423E4 0x009423EC 0x00942888 0x00942520
[46025.059522] ath10k_pci 0000:00:00.0: [20]: 0x009424FC 0x0094241C 0x00942540 0x00942498
[46025.067588] ath10k_pci 0000:00:00.0: [24]: 0x00942450 0x0094250C 0x009424D0 0x00942750
[46025.075645] ath10k_pci 0000:00:00.0: [28]: 0x00942798 0x00942844 0x009428C4 0x00942594
[46025.083713] ath10k_pci 0000:00:00.0: [32]: 0x0094258C 0x00942C28 0x00942F4C 0x00942F7C
[46025.091837] ath10k_pci 0000:00:00.0: [36]: 0x00942F90 0x00942FE4 0x00942FF8 0x00943040
[46025.099941] ath10k_pci 0000:00:00.0: [40]: 0x0094077C 0x00940790 0x00943084 0x00942F00
[46025.107993] ath10k_pci 0000:00:00.0: [44]: 0x009AF290 0x00942A80 0x00942D40 0x00942D64
[46025.116190] ath10k_pci 0000:00:00.0: [48]: 0x00942D78 0x00942D9C 0x00957E18 0x00957E28
[46025.124258] ath10k_pci 0000:00:00.0: [52]: 0x00957E20 0x00940788 0x009430EC 0x00000000
[46025.132414] ath10k_pci 0000:00:00.0: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
[46025.140578] ath10k_pci 0000:00:00.0: Copy Engine register dump:
[46025.146628] ath10k_pci 0000:00:00.0: [00]: 0x00057400   8   8   3   3
[46025.153191] ath10k_pci 0000:00:00.0: [01]: 0x00057800   0   0 321 323
[46025.159747] ath10k_pci 0000:00:00.0: [02]: 0x00057c00   0   0 126   0
[46025.166297] ath10k_pci 0000:00:00.0: [03]: 0x00058000   5   5   6   5
[46025.172858] ath10k_pci 0000:00:00.0: [04]: 0x00058400   3   3  43   3
[46025.179410] ath10k_pci 0000:00:00.0: [05]: 0x00058800  24  24 182 184
[46025.185960] ath10k_pci 0000:00:00.0: [06]: 0x00058c00  31  31  31  31
[46025.192506] ath10k_pci 0000:00:00.0: [07]: 0x00059000   0   0   0   0
[46025.199463] ath10k_pci 0000:00:00.0: debug log header, dbuf: 0x411aa8  dropped: 0
[46025.207192] ath10k_pci 0000:00:00.0: [0] next: 0x411ac0 buf: 0x40f90c sz: 1500 len: 352 count: 22 free: 0
[46025.217267] ath10k_pci 0000:00:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[46025.223575] ath10k: [0000]: 0B3CCF02 204CFC0B 09000000 0B000000 1F3CCF02 204CFC0B 09000000 0B000000
[46025.232880] ath10k: [0008]: 343CCF02 204CFC0B 09000000 0B000000 483CCF02 204CFC0B 09000000 0B000000
[46025.242179] ath10k: [0016]: 5D3CCF02 204CFC0B 09000000 0B000000 713CCF02 204CFC0B 09000000 0B000000
[46025.251405] ath10k: [0024]: 863CCF02 204CFC0B 09000000 0B000000 9A3CCF02 204CFC0B 09000000 0B000000
[46025.260667] ath10k: [0032]: AF3CCF02 204CFC0B 09000000 0B000000 C33CCF02 204CFC0B 09000000 0B000000
[46025.269892] ath10k: [0040]: D83CCF02 204CFC0B 09000000 0B000000 EC3CCF02 204CFC0B 09000000 0B000000
[46025.279157] ath10k: [0048]: 013DCF02 204CFC0B 09000000 0B000000 153DCF02 204CFC0B 09000000 0B000000
[46025.288428] ath10k: [0056]: 2A3DCF02 204CFC0B 09000000 0B000000 3E3DCF02 204CFC0B 09000000 0B000000
[46025.297647] ath10k: [0064]: 533DCF02 204CFC0B 09000000 0B000000 673DCF02 204CFC0B 09000000 0B000000
[46025.306856] ath10k: [0072]: 7C3DCF02 204CFC0B 09000000 0B000000 903DCF02 204CFC0B 09000000 0B000000
[46025.316459] ath10k: [0080]: A53DCF02 204CFC0B 09000000 0B000000 B93DCF02 204CFC0B 09000000 0B000000
[46025.325893] ath10k_pci 0000:00:00.0: ATH10K_END
[46025.330642] ath10k_pci 0000:00:00.0: [1] next: 0x411aa8 buf: 0x40fefc sz: 1500 len: 0 count: 0 free: 0
[46025.360725] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[46025.377792] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 1: -143
[46025.385339] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 1: -143
[46025.407246] ath10k_pci 0000:00:00.0: failed to start hw scan: -143
[46025.413833] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 1: -143
[46025.421823] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 1: -143
[46025.430246] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 1: -143
[46025.437484] ath10k_pci 0000:00:00.0: failed to set mgmt tx rate -143
[46025.449599] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[46025.476487] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[46025.487416] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46025.501215] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46025.509302] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46025.517368] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46025.525584] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46025.533654] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46025.578147] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[46025.715973] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer d6ca81cb vdev: 1 addr: 32:b5:c2:d7:8d:fd 
[46025.727153] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer e7e104f5 vdev: 0 addr: 30:b5:c2:d7:8d:fd 
[46025.861566] ieee80211 phy0: Hardware restart was requested
[46027.405259] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[46027.509165] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[46027.515296] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[46027.523439] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[46028.031064] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[46028.446745] ath10k_pci 0000:00:00.0: rts threshold -1
[46028.757353] ath10k_pci 0000:00:00.0: rts threshold -1
[46030.109305] ath10k_pci 0000:00:00.0: device successfully recovered
[46033.945202] ath10k_pci 0000:00:00.0: Cannot communicate with firmware, previous wmi cmds: 36870:11432999 36904:11432894 36904:11432894 36904:11432894, jiffies: 11433645, attempting to fake crash and restart firmware, dev-flags: 0x42
[46033.968856] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -11
[46033.979408] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46033.989655] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 0: -143
[46033.998675] ath10k_pci 0000:00:00.0: failed to send wmi nop: -143
[46034.004919] ath10k_pci 0000:00:00.0: could not request stats (type -268435456 ret -143 specifier 1)
[46034.015044] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 0: -143
[46034.023012] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 0: -143
[46034.032522] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 0: -143
[46034.042422] ath10k_pci 0000:00:00.0: failed to set mgmt tx rate -143
[46034.053838] ath10k_pci 0000:00:00.0: firmware crashed! (guid e7b548e9-ad54-4803-abae-b0716299fc7d)
[46034.063436] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[46034.077061] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[46034.091839] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[46034.123445] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[46034.134665] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[46034.148623] ath10k_pci 0000:00:00.0: firmware register dump:
[46034.156200] ath10k_pci 0000:00:00.0: [00]: 0x00940750 0x00400C00 0x00980000 0x009AF0DC
[46034.166096] ath10k_pci 0000:00:00.0: [04]: 0x009AF148 0x009AF264 0x00941B6C 0x00941B20
[46034.174616] ath10k_pci 0000:00:00.0: [08]: 0x00941B00 0x009423A4 0x009422DC 0x009422C4
[46034.183750] ath10k_pci 0000:00:00.0: [12]: 0x00941B90 0x009423F4 0x009423D4 0x009423DC
[46034.191848] ath10k_pci 0000:00:00.0: [16]: 0x009423E4 0x009423EC 0x00942888 0x00942520
[46034.200210] ath10k_pci 0000:00:00.0: [20]: 0x009424FC 0x0094241C 0x00942540 0x00942498
[46034.208374] ath10k_pci 0000:00:00.0: [24]: 0x00942450 0x0094250C 0x009424D0 0x00942750
[46034.218495] ath10k_pci 0000:00:00.0: [28]: 0x00942798 0x00942844 0x009428C4 0x00942594
[46034.227872] ath10k_pci 0000:00:00.0: [32]: 0x0094258C 0x00942C28 0x00942F4C 0x00942F7C
[46034.240555] ath10k_pci 0000:00:00.0: [36]: 0x00942F90 0x00942FE4 0x00942FF8 0x00943040
[46034.250063] ath10k_pci 0000:00:00.0: [40]: 0x0094077C 0x00940790 0x00943084 0x00942F00
[46034.259719] ath10k_pci 0000:00:00.0: [44]: 0x009AF290 0x00942A80 0x00942D40 0x00942D64
[46034.269153] ath10k_pci 0000:00:00.0: [48]: 0x00942D78 0x00942D9C 0x00957E18 0x00957E28
[46034.283001] ath10k_pci 0000:00:00.0: [52]: 0x00957E20 0x00940788 0x009430EC 0x00000000
[46034.293003] ath10k_pci 0000:00:00.0: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
[46034.303352] ath10k_pci 0000:00:00.0: Copy Engine register dump:
[46034.315197] ath10k_pci 0000:00:00.0: [00]: 0x00057400   8   8   3   3
[46034.321784] ath10k_pci 0000:00:00.0: [01]: 0x00057800  26  26 156 157
[46034.328334] ath10k_pci 0000:00:00.0: [02]: 0x00057c00  43  43  41  43
[46034.334880] ath10k_pci 0000:00:00.0: [03]: 0x00058000  31  31   0  31
[46034.341427] ath10k_pci 0000:00:00.0: [04]: 0x00058400   3   3  43   3
[46034.347973] ath10k_pci 0000:00:00.0: [05]: 0x00058800   4   4  99 100
[46034.354532] ath10k_pci 0000:00:00.0: [06]: 0x00058c00  25  25  25  25
[46034.361086] ath10k_pci 0000:00:00.0: [07]: 0x00059000   0   0   0   0
[46034.371211] ath10k_pci 0000:00:00.0: debug log header, dbuf: 0x411ac0  dropped: 0
[46034.379875] ath10k_pci 0000:00:00.0: [0] next: 0x411aa8 buf: 0x40fefc sz: 1500 len: 304 count: 19 free: 0
[46034.395675] ath10k_pci 0000:00:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[46034.403258] ath10k: [0000]: FA60CF02 204CFC0B 09000000 0B000000 0E61CF02 204CFC0B 09000000 0B000000
[46034.415105] ath10k: [0008]: 2361CF02 204CFC0B 09000000 0B000000 3761CF02 204CFC0B 09000000 0B000000
[46034.426865] ath10k: [0016]: 4C61CF02 204CFC0B 09000000 0B000000 6061CF02 204CFC0B 09000000 0B000000
[46034.440149] ath10k: [0024]: 7561CF02 204CFC0B 09000000 0B000000 8961CF02 204CFC0B 09000000 0B000000
[46034.451390] ath10k: [0032]: 9E61CF02 204CFC0B 09000000 0B000000 B261CF02 204CFC0B 09000000 0B000000
[46034.462396] ath10k: [0040]: C761CF02 204CFC0B 09000000 0B000000 DB61CF02 204CFC0B 09000000 0B000000
[46034.472847] ath10k: [0048]: F061CF02 204CFC0B 09000000 0B000000 0462CF02 204CFC0B 09000000 0B000000
[46034.482100] ath10k: [0056]: 1962CF02 204CFC0B 09000000 0B000000 2D62CF02 204CFC0B 09000000 0B000000
[46034.491493] ath10k: [0064]: 4262CF02 204CFC0B 09000000 0B000000 5662CF02 204CFC0B 09000000 0B000000
[46034.500788] ath10k: [0072]: 6B62CF02 204CFC0B 09000000 0B000000
[46034.507081] ath10k_pci 0000:00:00.0: ATH10K_END
[46034.516225] ath10k_pci 0000:00:00.0: [1] next: 0x411ac0 buf: 0x40f90c sz: 1500 len: 0 count: 0 free: 0
[46034.536968] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 1: -143
[46034.545108] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 1: -143
[46034.554766] ath10k_pci 0000:00:00.0: failed to set cts protection for vdev 1: -143
[46034.568354] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 1: -143
[46034.581450] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 1: -143
[46034.593358] ath10k_pci 0000:00:00.0: failed to set mgmt tx rate -143
[46034.609487] ath10k_pci 0000:00:00.0: failed to transmit management frame via WMI: -143
[46034.638947] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer b92624f1 vdev: 1 addr: 32:b5:c2:d7:8d:fd 
[46034.650113] ath10k_pci 0000:00:00.0: removing peer, cleanup-all, deleting: peer 619ed437 vdev: 0 addr: 30:b5:c2:d7:8d:fd 
[46034.794205] ieee80211 phy0: Hardware restart was requested
[46034.806780] ath10k_pci 0000:00:00.0: failed to send pdev bss chan info request: -143
[46036.285155] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[46036.391060] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[46036.397208] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[46036.405348] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[46036.911357] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[46037.325210] ath10k_pci 0000:00:00.0: rts threshold -1
[46037.637393] ath10k_pci 0000:00:00.0: rts threshold -1
[46038.989516] ath10k_pci 0000:00:00.0: device successfully recovered
[47948.269125] ath10k_pci 0000:00:00.0: No VIF found for vdev 1
[47948.274901] ath10k_pci 0000:00:00.0: wmi-event-beacon-tx, could not find vdev for id: 1
[47948.283121] ath10k_pci 0000:00:00.0: No VIF found for vdev 1
[47948.288884] ath10k_pci 0000:00:00.0: no vif for vdev_id 1 found
[47951.433014] ath10k_pci 0000:00:00.0: WARNING: failed to wait for beacon tx callback for vdev 1: 0
[47951.701630] br-lan: port 4(wlan0-1) entered disabled state
[47951.710798] device wlan0-1 left promiscuous mode
[47951.715536] br-lan: port 4(wlan0-1) entered disabled state
[47951.807697] device wlan0 left promiscuous mode
[47951.812361] br-lan: port 2(wlan0) entered disabled state
[47951.909063] ath10k_pci 0000:00:00.0: could not get mac80211 beacon, vdev_id: 0 addr: 30:b5:c2:d7:8d:fd
[47951.918560] ath10k_pci 0000:00:00.0: could not get mac80211 beacon, vdev_id: 0 addr: 30:b5:c2:d7:8d:fd
[47952.013071] ath10k_pci 0000:00:00.0: could not get mac80211 beacon, vdev_id: 0 addr: 30:b5:c2:d7:8d:fd
[47952.022583] ath10k_pci 0000:00:00.0: could not get mac80211 beacon, vdev_id: 0 addr: 30:b5:c2:d7:8d:fd
[47952.117324] ath10k_pci 0000:00:00.0: could not get mac80211 beacon, vdev_id: 0 addr: 30:b5:c2:d7:8d:fd
[47952.126864] ath10k_pci 0000:00:00.0: could not get mac80211 beacon, vdev_id: 0 addr: 30:b5:c2:d7:8d:fd
[47952.221140] ath10k_pci 0000:00:00.0: mac flush null vif, drop 0 queues 0xffff
[47955.341029] ath10k_pci 0000:00:00.0: 10.1 wmi init: vdevs: 16  peers: 127  tid: 256
[47955.444993] ath10k_pci 0000:00:00.0: wmi print 'P 128 V 8 T 410'
[47955.451114] ath10k_pci 0000:00:00.0: wmi print 'msdu-desc: 1424  sw-crypt: 0 ct-sta: 0'
[47955.459265] ath10k_pci 0000:00:00.0: wmi print 'alloc rem: 24984 iram: 38672'
[47955.965077] ath10k_pci 0000:00:00.0: pdev param 0 not supported by firmware
[47956.381106] ath10k_pci 0000:00:00.0: rts threshold -1
[47956.698817] br-lan: port 2(wlan0) entered blocking state
[47956.704352] br-lan: port 2(wlan0) entered disabled state
[47956.710105] device wlan0 entered promiscuous mode
[47957.317075] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[47957.323813] br-lan: port 2(wlan0) entered blocking state
[47957.329249] br-lan: port 2(wlan0) entered forwarding state
[47957.635242] br-lan: port 4(wlan0-1) entered blocking state
[47957.640898] br-lan: port 4(wlan0-1) entered disabled state
[47957.646871] device wlan0-1 entered promiscuous mode
[47957.837285] ath10k_pci 0000:00:00.0: rts threshold -1
[47958.253173] br-lan: port 4(wlan0-1) entered blocking state
[47958.258787] br-lan: port 4(wlan0-1) entered forwarding state
[47958.265866] br-lan: port 4(wlan0-1) entered disabled state
[47959.088955] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
[47959.095836] br-lan: port 4(wlan0-1) entered blocking state
[47959.101444] br-lan: port 4(wlan0-1) entered forwarding state
[48685.410379] ath10k_pci 0000:00:00.0: SWBA overrun on vdev 1, skipped old beacon
[48687.758223] ath10k_pci 0000:00:00.0: Cannot communicate with firmware, previous wmi cmds: 36870:12096357 36904:12096287 36904:12096287 36954:12096261, jiffies: 12097108, attempting to fake crash and restart firmware, dev-flags: 0x42
[48687.779146] ath10k_pci 0000:00:00.0: failed to set beacon mode for vdev 1: -11
[48687.786512] ath10k_pci 0000:00:00.0: failed to set dtim period for vdev 1: -143
[48687.794452] ath10k_pci 0000:00:00.0: failed to send wmi nop: -143
[48687.800677] ath10k_pci 0000:00:00.0: could not request stats (type -268435456 ret -143 specifier 1)
[48687.830283] ath10k_pci 0000:00:00.0: firmware crashed! (guid ff0274e2-ff41-4708-9f40-835f3ca3ffcf)
[48687.839616] ath10k_pci 0000:00:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[48687.849038] ath10k_pci 0000:00:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[48687.861312] ath10k_pci 0000:00:00.0: firmware ver 10.1-ct-8x-__fW-022-ecad3248 api 2 features wmi-10.x,has-wmi-mgmt-tx,mfp,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,set-special-CT,get-temp-CT,tx-rc-CT,cust-stats-CT,retry-gt2-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT crc32 3e4cf97f
[48687.892385] ath10k_pci 0000:00:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[48687.899877] ath10k_pci 0000:00:00.0: htt-ver 2.1 wmi-op 2 htt-op 2 cal file max-sta 128 raw 0 hwcrypto 1
[48687.909708] ath10k_pci 0000:00:00.0: firmware register dump:
[48687.915492] ath10k_pci 0000:00:00.0: [00]: 0x00940750 0x00400C00 0x00980000 0x009AF0DC
[48687.924049] ath10k_pci 0000:00:00.0: [04]: 0x009AF148 0x009AF264 0x00941B6C 0x00941B20
[48687.932126] ath10k_pci 0000:00:00.0: [08]: 0x00941B00 0x009423A4 0x009422DC 0x009422C4
[48687.940348] ath10k_pci 0000:00:00.0: [12]: 0x00941B90 0x009423F4 0x009423D4 0x009423DC
[48687.948483] ath10k_pci 0000:00:00.0: [16]: 0x009423E4 0x009423EC 0x00942888 0x00942520
[48687.956597] ath10k_pci 0000:00:00.0: [20]: 0x009424FC 0x0094241C 0x00942540 0x00942498
[48687.964736] ath10k_pci 0000:00:00.0: [24]: 0x00942450 0x0094250C 0x009424D0 0x00942750
[48687.972807] ath10k_pci 0000:00:00.0: [28]: 0x00942798 0x00942844 0x009428C4 0x00942594
[48687.980849] ath10k_pci 0000:00:00.0: [32]: 0x0094258C 0x00942C28 0x00942F4C 0x00942F7C
[48687.988898] ath10k_pci 0000:00:00.0: [36]: 0x00942F90 0x00942FE4 0x00942FF8 0x00943040
[48687.996999] ath10k_pci 0000:00:00.0: [40]: 0x0094077C 0x00940790 0x00943084 0x00942F00
[48688.005071] ath10k_pci 0000:00:00.0: [44]: 0x009AF290 0x00942A80 0x00942D40 0x00942D64
[48688.013187] ath10k_pci 0000:00:00.0: [48]: 0x00942D78 0x00942D9C 0x00957E18 0x00957E28
[48688.021248] ath10k_pci 0000:00:00.0: [52]: 0x00957E20 0x00940788 0x009430EC 0x00000000
[48688.029327] ath10k_pci 0000:00:00.0: [56]: 0x00000000 0x00000000 0x00000000 0x00000000
[48688.037584] ath10k_pci 0000:00:00.0: Copy Engine register dump:
[48688.043784] ath10k_pci 0000:00:00.0: [00]: 0x00057400   8   8   3   3
[48688.050369] ath10k_pci 0000:00:00.0: [01]: 0x00057800  19  19 372 374
[48688.056922] ath10k_pci 0000:00:00.0: [02]: 0x00057c00  51  51  49  51
[48688.063486] ath10k_pci 0000:00:00.0: [03]: 0x00058000   8   8   9   8
[48688.070040] ath10k_pci 0000:00:00.0: [04]: 0x00058400   3   3  43   3
[48688.076586] ath10k_pci 0000:00:00.0: [05]: 0x00058800  29  29 188 189
[48688.083132] ath10k_pci 0000:00:00.0: [06]: 0x00058c00   9   9   9   9
[48688.089679] ath10k_pci 0000:00:00.0: [07]: 0x00059000   0   0   0   0
[48688.096597] ath10k_pci 0000:00:00.0: debug log header, dbuf: 0x411ac0  dropped: 0
[48688.104313] ath10k_pci 0000:00:00.0: [0] next: 0x411aa8 buf: 0x40fefc sz: 1500 len: 48 count: 3 free: 0
[48688.114004] ath10k_pci 0000:00:00.0: ath10k_pci ATH10K_DBG_BUFFER:
[48688.120312] ath10k: [0000]: 21D9F802 204CFC0B 09000000 0B000000 36D9F802 204CFC0B 09000000 0B000000
[48688.129507] ath10k: [0008]: 4AD9F802 204CFC0B 09000000 0B000000
[48688.135523] ath10k_pci 0000:00:00.0: ATH10K_END
[48688.140328] ath10k_pci 0000:00:00.0: [1] next: 0x411ac0 buf: 0x40f90c sz: 1500 len: 0 count: 0 free: 0
[48688.154469] ath10k_pci 0000:00:00.0: failed to recalculate rts/cts prot for vdev 1: -143
[48688.162754] ath10k_pci 0000:00:00.0: failed to set preamble for vdev 1: -143
[48688.170025] ath10k_pci 0000:00:00.0: failed to set mgmt tx rate -143
[48688.201026] ath10k_pci 0000:00:00.0: failed to transmit manageme

Edit to add

After rebooting the router (not power-cycling), the problem appears to have gone away. My laptop can see 78 x 2.4 GHz Access Points and 14 x 5GHz Access Points right now (LinSSID), so it is not exactly a benign environment. There's a reason I use Ethernet where possible.

Edit 2 to add
AFAIK, I did not move from a non-ct ath10k driver/firmware image to an image using ath10k-ct, unless it was automatic as part of the upgrade from 19.07.8 to 21.02.0

1 Like

Beeline Smartbox Turbo+, Beeline Smartbox GIGA (not officially supported yet) + OpenWrt 21.02.0 "Release" = everything is ok.

1 Like

Did you happen to upgrade from a non-ct ath10k driver/firmware image to an image using ath10k-ct? In case you did, I would try a full power cycle of the device. I have seen weird firmware errors after switching or upgrading from one of those variants to the other. They went away after a power cycle. So, maybe that might be worth a try.

1 Like

Have you tried updating to 21.02 stable to see if the issue with WDS is fixed?

21.02.0 has been released, please head over to OpenWrt 21.02.0 - First Stable Release