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

FS#3718 - Kernel OOPS - rate_idx is not an MCS index #8734

Closed
openwrt-bot opened this issue Apr 2, 2021 · 1 comment
Closed

FS#3718 - Kernel OOPS - rate_idx is not an MCS index #8734

openwrt-bot opened this issue Apr 2, 2021 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

None:

Hi,

I have an old TP-Link TL-WR1043ND-V1 router. Keep seeing kernel oops below. Please check what is causing this. Thank you!

My mods:

  • All ipv6 related modules disabled
    root@OpenWrt:/etc/modules.d# grep ipv6 *
    42-ip6tables:blacklist nf_log_ipv6
    nf-conntrack:blacklist nf_defrag_ipv6
    nf-reject6:blacklist nf_reject_ipv6
    root@OpenWrt:/etc/modules.d# grep ip6 *
    42-ip6tables:blacklist ip6t_REJECT
    42-ip6tables:blacklist ip6table_filter
    42-ip6tables:blacklist ip6table_mangle
    nf-ipt6:blacklist ip6_tables
  • tcp_bbr module installed

Running this version of trunk
OpenWrt SNAPSHOT, r16355-571aedbc6c

[136407.012110] ------------[ cut here ]------------ [136407.017044] WARNING: CPU: 0 PID: 0 at backports-5.10.16-1/net/mac80211/rx.c:4805 ieee80211_rx_list+0x298/0xc54 [mac80211] [136407.028154] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 79 (0x4f) [136407.037676] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack 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 tcp_bbr slhc nf_reject_ipv4 nf_log_ipv4 nf_log_common nf_defrag_ipv6 nf_defrag_ipv4 crc_ccitt compat ledtrig_usbport fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug usbcore nls_base usb_common [136407.093095] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.108 #0 [136407.099042] Stack : 806d0000 806735d0 00000000 00000000 806727a0 81c0bcf4 806b1180 806b0d63 [136407.107544] 8060dba8 00000000 808032d8 81c0be40 00000001 00000001 81c0bca8 bfd81716 [136407.116048] 00000000 00000000 80830000 000000b2 00000030 00000000 352e342e 31303820 [136407.124544] 000000b2 9056e619 00000000 73776170 00000000 00000009 00000000 8172ede4 [136407.133042] 00000009 81c0be40 00000001 000001ff 00000002 80320d44 00000000 80800000 [136407.141539] ... [136407.144081] Call Trace: [136407.146654] [<80069864>] show_stack+0x30/0x100 [136407.151219] [<80082564>] __warn+0xc0/0x10c [136407.155438] [<8008263c>] warn_slowpath_fmt+0x8c/0xac [136407.160642] [<8172ede4>] ieee80211_rx_list+0x298/0xc54 [mac80211] [136407.167018] [<8172f7d0>] ieee80211_rx_napi+0x30/0xa0 [mac80211] [136407.173157] [<816e7b7c>] ath_rx_tasklet+0x740/0xd10 [ath9k] [136407.178877] [<816e4b84>] ath9k_tasklet+0x120/0x274 [ath9k] [136407.184500] [<800853f0>] tasklet_action_common.isra.17+0xbc/0xe4 [136407.190642] [<8057a2f0>] __do_softirq+0x110/0x298 [136407.195467] [<802c0c54>] plat_irq_dispatch+0x94/0xe4 [136407.200560] [<80065038>] handle_int+0x138/0x144 [136407.205206] [<80064ec0>] __r4k_wait+0x20/0x40 [136407.209683] ---[ end trace d4ec5beb07f896f7 ]---
@openwrt-bot
Copy link
Author

ynezz:

This is not an OOPs, but just a warning caused probably by some sort of firmware/hardware issue so it can't be fixed in kernel.

If it's just an occasional log splat, then it's probably OK to leave it as it is, but if it's happening often and it's polluting logs, then probably WARN() should be changed to WARN_ONCE() https://elixir.bootlin.com/linux/v5.12-rc5/source/net/mac80211/rx.c#L4765

Anyway, it's issue in kernel and should be reported/discussed at linux-wireless@vger.kernel.org, OpenWrt can't do much about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant