openwrt / openwrt/mt76

warnning log on miwifi-r3 (mt7620 + mt7612)

Open
#615 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
888
Forks
436
PR merge metrics
No merged PRs in 30d

Description

[  116.994881] br-lan: port 3(wlan0) entered blocking state
[  117.000379] br-lan: port 3(wlan0) entered forwarding state
[ 9969.107480] ------------[ cut here ]------------
[ 9969.112489] WARNING: CPU: 0 PID: 1262 at backports-5.15-rc6-1/net/mac80211/airtime.c:456 ieee80211_ocb_leave+0x24c/0x398 [mac80211]
[ 9969.124614] Modules linked in: ksmbd rt2800soc rt2800mmio rt2800lib qcserial pppoe ppp_async option cdc_mbim batman_adv wireguard usb_wwan sierra_net sierra rt2x00soc rt2x00mmio rt2x00lib rndis_host qmi_wwan pptp pppox ppp_mppe ppp_generic pl2303 mt76x2e mt76x2_common mt76x02_lib mt76 mac80211 libchacha20poly1305 libblake2s ipt_REJECT huawei_cdc_ncm cfg80211 cdc_ncm cdc_ether xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_socket xt_recent xt_quota xt_pkttype xt_physdev xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_iprange xt_ipp2p xt_iface xt_hl xt_helper xt_hashlimit xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TPROXY xt_TCPMSS xt_REDIRECT xt_NFQUEUE xt_NETMAP xt_MASQUERADE xt_LOG xt_IPMARK xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial usbnet usblp ts_fsm ts_bm tcp_hybla tcp_bbr slhc sch_cake r8152 poly1305_mips ntfs3 nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject_bridge nft_reject nft_redir nft_quota
[ 9969.124923]  nft_objref nft_numgen nft_meta_bridge nft_log nft_limit nft_hash nft_fwd_netdev nft_dup_netdev nft_ct nft_counter nfnetlink_queue nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables_set nf_tables nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_rtsp nf_nat_pptp nf_nat_irc nf_nat_h323 nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_dup_netdev nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_rtsp nf_conntrack_pptp nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conncount macvlan libcurve25519_generic libcrc32c libblake2s_generic ipvlan iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ipheth ip_tables crc_ccitt compat_xtables compat chacha_mips cdc_wdm br_netfilter asn1_decoder natflow natcap fuse sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact
[ 9969.214545]  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 ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_NPT ip6t_rt ip6t_mh ip6t_ipv6header ip6t_hbh ip6t_frag ip6t_eui64 ip6t_ah nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos bonding ip6_gre ip_gre gre ifb nat46 ip6_udp_tunnel udp_tunnel sit ip6_tunnel tunnel6 tunnel4 ip_tunnel rpcsec_gss_krb5 auth_rpcgss oid_registry tun vfat fat lockd sunrpc grace autofs4 nls_utf8 nls_iso8859_1 nls_cp437 sha256_generic libsha256 sha1_generic seqiv jitterentropy_rng drbg md5 md4 hmac ghash_generic gf128mul gcm ecb des_generic libdes cts ctr cmac ccm cbc arc4 uas usb_storage leds_gpio ohci_platform ohci_hcd
[ 9969.304533]  fsl_mph_dr_of ehci_platform ehci_fsl sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 exfat usbcore nls_base usb_common mii aead crypto_null cryptomgr crc32c_generic crypto_hash
[ 9969.412231] CPU: 0 PID: 1262 Comm: mt76-tx phy0 Not tainted 5.4.155 #0
[ 9969.419001] Stack : 80620000 805bdc54 00000000 00000000 805bd08c 863dfcb4 8055bc34 87e590bc
[ 9969.427568]         805f6c83 807533bc 000004ee 00000014 00000004 00000001 863dfc68 e1d129a5
[ 9969.436107]         00000000 00000000 80780000 00000000 00000000 00000174 746e6961 35206465
[ 9969.444680]         00000000 863dfb91 ffffffff ffffffff 00000000 00000000 00000000 86359058
[ 9969.453232]         00000009 00000014 00000004 00000003 00000001 802b31fc 00000000 80750000
[ 9969.461813]         ...
[ 9969.464307] Call Trace:
[ 9969.466838] [<80009ad8>] show_stack+0x30/0x100
[ 9969.471452] [<8002602c>] __warn+0xc0/0x10c
[ 9969.475633] [<800260d4>] warn_slowpath_fmt+0x5c/0xac
[ 9969.481276] [<86359058>] ieee80211_ocb_leave+0x24c/0x398 [mac80211]
[ 9969.487804] ---[ end trace 5bed9f8aeb6a73b8 ]---

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with backports-5.15-rc6-1/net/mac80211/airtime.c at line 456 and trace the ieee80211_ocb_leave call path from the supplied stack trace. Use the mt76-tx context and the MiWiFi R3 hardware details to investigate the warning; done means identifying its cause and resolving it without introducing a regression.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux
Domain
networking, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.