Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2023.2: FritzBox 4040: Kernel Warning in airtime_link_metric_get spamming log #3160

Closed
SmithChart opened this issue Jan 14, 2024 · 1 comment · Fixed by #3163
Closed

v2023.2: FritzBox 4040: Kernel Warning in airtime_link_metric_get spamming log #3160

SmithChart opened this issue Jan 14, 2024 · 1 comment · Fixed by #3163

Comments

@SmithChart
Copy link
Contributor

Bug report

What is the problem?
I have just build Gluon v2023.2 for our community and have grabbed a FritzBox 4040 for some initial testing.

During normal operation I ssh into the device and find lots of Kernel warnings in the log:

Sun Jan 14 17:41:18 2024 kern.warn kernel: [  141.776941] ------------[ cut here ]------------
Sun Jan 14 17:41:18 2024 kern.warn kernel: [  141.776997] WARNING: CPU: 0 PID: 72 at backports-6.1.24/net/mac80211/mesh_hwmp.c:353 airtime_link_metric_get+0xe0/0x614 [mac80211]
Sun Jan 14 17:41:18 2024 kern.warn kernel: [  141.780888] Modules linked in: iptable_nat batman_adv ath10k_pci ath10k_core ath xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_CT wireguard nf_nat nf_conntrack mac80211 libchacha20poly1305 ipt_REJECT ebtable_nat ebtable_filter ebtable_broute curve25519_neon cfg80211 xt_time xt_tcpudp xt_quota xt_pkttype xt_owner xt_multiport xt_mark xt_mac xt_limit xt_comment xt_addrtype xt_TCPMSS xt_LOG poly1305_arm nlmon nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c iptable_mangle iptable_filter ip_tables ebtables ebt_vlan ebt_stp ebt_snat ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_ip6 ebt_ip ebt_dnat ebt_arpreply ebt_arp ebt_among ebt_802_3 compat chacha_neon ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 dummy ip_tunnel veth vxlan udp_tunnel ip6_udp_tunnel sha512_arm kpp ghash_arm_ce cmac leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom gpio_button_hotplug crc32c_generic
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.855726] CPU: 0 PID: 72 Comm: kworker/u8:1 Tainted: G        W         5.15.139 #0
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.877875] Hardware name: Generic DT based system
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.885858] Workqueue: phy0 ieee80211_iface_work [mac80211]
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.890550] [<c030d44c>] (unwind_backtrace) from [<c0309828>] (show_stack+0x10/0x14)
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.896021] [<c0309828>] (show_stack) from [<c05cac24>] (dump_stack_lvl+0x40/0x4c)
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.904004] [<c05cac24>] (dump_stack_lvl) from [<c0322500>] (__warn+0x8c/0x100)
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.911381] [<c0322500>] (__warn) from [<c03225dc>] (warn_slowpath_fmt+0x68/0x78)
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.918586] [<c03225dc>] (warn_slowpath_fmt) from [<bf35dd2c>] (airtime_link_metric_get+0xe0/0x614 [mac80211])
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.926233] [<bf35dd2c>] (airtime_link_metric_get [mac80211]) from [<bf35dd6c>] (airtime_link_metric_get+0x120/0x614 [mac80211])
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.936131] [<bf35dd6c>] (airtime_link_metric_get [mac80211]) from [<bf35e328>] (mesh_rx_path_sel_frame+0xc8/0x9dc [mac80211])
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.947848] [<bf35e328>] (mesh_rx_path_sel_frame [mac80211]) from [<bf3591ec>] (ieee80211_mesh_rx_queued_mgmt+0x4a0/0x5e0 [mac80211])
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.959047] [<bf3591ec>] (ieee80211_mesh_rx_queued_mgmt [mac80211]) from [<bf311ab4>] (ieee80211_iface_work+0x324/0x46c [mac80211])
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.971113] [<bf311ab4>] (ieee80211_iface_work [mac80211]) from [<c033aec8>] (process_one_work+0x210/0x478)
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.982741] [<c033aec8>] (process_one_work) from [<c033ba44>] (worker_thread+0x4c/0x598)
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  141.992460] [<c033ba44>] (worker_thread) from [<c0342268>] (kthread+0x128/0x144)
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.000791] [<c0342268>] (kthread) from [<c0300114>] (ret_from_fork+0x14/0x20)
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.008167] Exception stack(0xc127bfb0 to 0xc127bff8)
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.015201] bfa0:                                     00000000 00000000 00000000 00000000
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.020329] bfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.028487] bfe0: 00000000 00000000 00000000 00000000 00000013 00000000
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.036726] ---[ end trace 22ef9a94952e5491 ]---

These happen somewhere between a few times every second and every 10 seconds.
I can not trace this back to any external action I am doing.

Sometimes, but not always, the warnings are accompanied by the following messages:

Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.044526] ath10k_ahb a000000.wifi: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.047983] ath10k_ahb a000000.wifi: SWBA overrun on vdev 1, skipped new beacon
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.056385] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.062539] ath10k_ahb a800000.wifi: SWBA overrun on vdev 0, skipped old beacon
Sun Jan 14 17:41:19 2024 kern.warn kernel: [  142.069560] ath10k_ahb a800000.wifi: SWBA overrun on vdev 1, skipped old beacon

What is the expected behaviour?
I would expect these warnings not to happen :-)

This does not seem to perform normal operation - but at least the log on the devices gets rather useless.
For our beta-devices we use rsyslog and log to a machine in our infrastructure. I guess we will see an increase in volume here, too.

Gluon Version:
Our build is based on 247e781 (Gluon v2023.2).

Site Configuration:
We are building with this site configuration.

Custom patches:

We have some quite some modifications on top up upstream Gluon( Gluon, Gluon Packages, OpenWrt Packages ), but none of these touch the Kernel or Kernel config.

@maurerle
Copy link
Member

This warning is related to openwrt/openwrt#12003
As you already noted, this does not have an influence on the normal operation.

But yes, we should do something about these warning messages.

blocktrron added a commit to blocktrron/gluon that referenced this issue Jan 17, 2024
Silence warnings for missing rate information.

These warnings do not provide value. Instead, they might rotate more
crucial information out of the kernel message ringbuffer.

Link: freifunk-gluon#3160

Signed-off-by: David Bauer <mail@david-bauer.net>
blocktrron added a commit that referenced this issue Jan 19, 2024
Silence warnings for missing rate information.

These warnings do not provide value. Instead, they might rotate more
crucial information out of the kernel message ringbuffer.

Link: #3160

Signed-off-by: David Bauer <mail@david-bauer.net>
github-actions bot pushed a commit that referenced this issue Jan 19, 2024
Silence warnings for missing rate information.

These warnings do not provide value. Instead, they might rotate more
crucial information out of the kernel message ringbuffer.

Link: #3160

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 8a4c553)
blocktrron added a commit that referenced this issue Jan 19, 2024
Silence warnings for missing rate information.

These warnings do not provide value. Instead, they might rotate more
crucial information out of the kernel message ringbuffer.

Link: #3160

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 8a4c553)

Co-authored-by: David Bauer <mail@david-bauer.net>
hafu pushed a commit to Freifunk-Potsdam/gluon that referenced this issue Jun 2, 2024
…n#3167)

Silence warnings for missing rate information.

These warnings do not provide value. Instead, they might rotate more
crucial information out of the kernel message ringbuffer.

Link: freifunk-gluon#3160

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit 8a4c553)

Co-authored-by: David Bauer <mail@david-bauer.net>
maurerle pushed a commit to ffac/gluon that referenced this issue Dec 25, 2024
Silence warnings for missing rate information.

These warnings do not provide value. Instead, they might rotate more
crucial information out of the kernel message ringbuffer.

Link: freifunk-gluon#3160

Signed-off-by: David Bauer <mail@david-bauer.net>
maurerle pushed a commit to ffac/gluon that referenced this issue Dec 25, 2024
Silence warnings for missing rate information.

These warnings do not provide value. Instead, they might rotate more
crucial information out of the kernel message ringbuffer.

Link: freifunk-gluon#3160

Signed-off-by: David Bauer <mail@david-bauer.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants