Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3410681pxb; Mon, 18 Oct 2021 14:48:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbo9bpBJ+ezQjonmBeWz7P3KRGNcuBXc7Y2ThlQQru83Bw7EuZnTl4+g7AnRkLrZVwyD5+ X-Received: by 2002:a17:902:d4d2:b0:13f:3e6c:472f with SMTP id o18-20020a170902d4d200b0013f3e6c472fmr29475573plg.45.1634593732112; Mon, 18 Oct 2021 14:48:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634593732; cv=none; d=google.com; s=arc-20160816; b=KRCc/3U0RoL56s6H9OOFVZk7CTgzaY/RjN3oHrKWRT74ffsshea+Cd94eAhP5dEyUD RXJaumH7sR3GUg6xtp7N9/EA+m0HzYH/HE0GO6vbmfcS/8YvwXnOTDnlJBKEFuJnts8K dHwAJjXnqiuUwdZyknyPh6iiIdV3E4ibFQva7pqMPA/W3e3AY6REfqMvhOx/0q3KCj8l GKx2vfshACLhwPmBivbEMZB8fhjCs633oMaq0JqJEZmyv7IvwbdtlAA0yxPlwqaYDAts odrtsuh922QU/dH7RCWegzYSWJy9u8b64PJdy88LibgkBGk0GgM0Jf7b8NPvcPIz1m1l N54g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=YOalUPyYEiBnLbIrBByaGLKpmoGZCb2eg3nlMucCCXQ=; b=zYGPVuXm93FDkLJBgpgjVxTUcvmi6SZa4o62eOzBIAuB6oP9gYce8p/O0k9E4pbZyM Li8nmWtlwzbwMW7k/Qs8FILY0HF6Sn0A9AYkeDOlggOfM7DTDESLzXm617wpeYquTcm9 H24kL+cNPjKadiE5WB0u+sZG2LAfZ10qooOyg+OFrEY5RnT/N3oIaJYe27d5UPRJn3TG 0xvJnNzmmqlW1lYef2wKsmqK8CBZ/IVGs+1+qGPbFMAB1/lFM51lEQ4bXcyIgO/+UNng XqDSy1h7+wTYKIgaUz4F5tExgHrueYzGyzxttk3W9CzkP5BlmyA/IPTV+9uhewRbS/zG bu0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v11si20281158plp.339.2021.10.18.14.48.35; Mon, 18 Oct 2021 14:48:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231938AbhJRVum (ORCPT + 64 others); Mon, 18 Oct 2021 17:50:42 -0400 Received: from devico.uberspace.de ([185.26.156.185]:44034 "EHLO devico.uberspace.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbhJRVul (ORCPT ); Mon, 18 Oct 2021 17:50:41 -0400 X-Greylist: delayed 401 seconds by postgrey-1.27 at vger.kernel.org; Mon, 18 Oct 2021 17:50:41 EDT Received: (qmail 19145 invoked from network); 18 Oct 2021 21:41:36 -0000 Received: from localhost (HELO localhost) (127.0.0.1) by devico.uberspace.de with SMTP; 18 Oct 2021 21:41:36 -0000 From: Leonard Lausen To: Felix Fietkau , Lorenzo Bianconi Cc: linux-wireless@vger.kernel.org Subject: [5.15-rc4] mt76x0u warning at net/mac80211/airtime.c:456 ieee80211_get_rate_duration.constprop.0+0xf4/0x1fc Date: Mon, 18 Oct 2021 21:41:11 +0000 Message-ID: <8735oyj9jc.fsf@lausen.nl> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org --=-=-= Content-Type: text/plain Dear Felix, Dear Lorenzo, Dear Maintainers, please see attached dmesg excerpt for ALFA AWUS036ACHM mt76x0u warning at net/mac80211/airtime.c:456. It occurred during night with little wifi traffic. The adapter serves as AP. I've also observed the AP become unresponsive upon heavy traffic a few hours later (though without any kernel log messages) and requiring reboot to recover. If you have ideas how to better debug the latter, please let me know. Thank you Leonard --=-=-= Content-Type: text/plain Content-Disposition: inline; filename=dmesg_airtime_warning.txt [23414.049292] ------------[ cut here ]------------ [23414.049314] WARNING: CPU: 0 PID: 1426 at net/mac80211/airtime.c:456 ieee80211_get_rate_duration.constprop.0+0xf4/0x1fc [mac80211] [23414.049746] Modules linked in: cdc_ether aes_arm_bs crypto_simd cryptd ccm joydev mt76x0u mt76x0_common mt76x02_usb mt76_usb snd_usb_audio xt_MASQUERADE snd_hwdep mt76x02_lib snd_usbmidi_lib mt76 snd_rawmidi iptable_nat uvcvideo snd_seq_device nf_nat mac80211 libarc4 rpivid_mem vc4 bcm2835_codec(C) brcmfmac cec bcm2835_isp(C) v4l2_mem2mem brcmutil bcm2835_v4l2(C) drm_kms_helper bcm2835_mmal_vchiq(C) videobuf2_vmalloc videobuf2_dma_contig cfg80211 videobuf2_memops rfkill videobuf2_v4l2 snd_soc_core videobuf2_common snd_bcm2835(C) snd_compress snd_pcm_dmaengine vc_sm_cma(C) v3d videodev gpu_sched snd_pcm raspberrypi_hwmon mc snd_timer snd syscopyarea nvmem_rmem sysfillrect uio_pdrv_genirq sysimgblt fb_sys_fops uio ip6t_REJECT nf_reject_ipv6 xt_hl ip6_tables ip6t_rt ipt_REJECT nf_reject_ipv4 nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nft_counter nf_tables nfnetlink drm fuse drm_panel_orientation_quirks backlight [23414.050822] sha256_generic ip_tables x_tables ipv6 [23414.050888] CPU: 0 PID: 1426 Comm: kworker/u8:3 Tainted: G C 5.15.0-rc4-v7l+ #1 [23414.050906] Hardware name: BCM2711 [23414.050917] Workqueue: mt76 mt76u_tx_status_data [mt76_usb] [23414.050963] Backtrace: [23414.050976] [] (dump_backtrace) from [] (show_stack+0x20/0x24) [23414.051019] r7:000001c8 r6:00000000 r5:c10315e0 r4:60000013 [23414.051028] [] (show_stack) from [] (dump_stack_lvl+0x70/0x94) [23414.051056] [] (dump_stack_lvl) from [] (dump_stack+0x18/0x1c) [23414.051086] r7:000001c8 r6:00000009 r5:bf7c2fac r4:bf7d8fec [23414.051094] [] (dump_stack) from [] (__warn+0xfc/0x158) [23414.051121] [] (__warn) from [] (warn_slowpath_fmt+0x70/0xe4) [23414.051147] r7:bf7c2fac r6:000001c8 r5:bf7d8fec r4:00000000 [23414.051154] [] (warn_slowpath_fmt) from [] (ieee80211_get_rate_duration.constprop.0+0xf4/0x1fc [mac80211]) [23414.051548] r8:00000000 r7:c5e6fe48 r6:c5e6fe40 r5:00000001 r4:00000000 [23414.051557] [] (ieee80211_get_rate_duration.constprop.0 [mac80211]) from [] (ieee80211_calc_rx_airtime+0x104/0x14c [mac80211]) [23414.052273] r5:00000001 r4:0000001c [23414.052281] [] (ieee80211_calc_rx_airtime [mac80211]) from [] (ieee80211_calc_tx_airtime+0xc4/0xfc [mac80211]) [23414.053007] r5:00000001 r4:00000000 [23414.053015] [] (ieee80211_calc_tx_airtime [mac80211]) from [] (mt76x02_send_tx_status+0x180/0x3ac [mt76x02_lib]) [23414.053456] r10:00000001 r9:c3f91a04 r8:c2edd8a8 r7:c5e6fe40 r6:0000001c r5:00000002 [23414.053465] r4:c3f92860 [23414.053473] [] (mt76x02_send_tx_status [mt76x02_lib]) from [] (mt76x02_tx_status_data+0x50/0x7c [mt76x02_lib]) [23414.053598] r10:c1baed05 r9:00000100 r8:c3f92554 r7:c3f91894 r6:c5e6fedb r5:c3f91860 [23414.053607] r4:00000001 [23414.053615] [] (mt76x02_tx_status_data [mt76x02_lib]) from [] (mt76u_tx_status_data+0x7c/0xe0 [mt76_usb]) [23414.053707] r6:c3f93554 r5:c3f91860 r4:00000000 [23414.053715] [] (mt76u_tx_status_data [mt76_usb]) from [] (process_one_work+0x224/0x554) [23414.053762] r8:00000000 r7:c1baed00 r6:c1806a00 r5:c5915400 r4:c3f93554 [23414.053770] [] (process_one_work) from [] (worker_thread+0x6c/0x5d0) [23414.053797] r10:c1806a00 r9:00000088 r8:c1403d00 r7:c1806a18 r6:c5915418 r5:c1806a00 [23414.053806] r4:c5915400 [23414.053813] [] (worker_thread) from [] (kthread+0x158/0x174) [23414.053839] r10:c3d5cea0 r9:c60fde8c r8:c5e6e000 r7:c5915400 r6:c023ff84 r5:c3d5ce80 [23414.053847] r4:c3d5c0c0 [23414.053855] [] (kthread) from [] (ret_from_fork+0x14/0x20) [23414.053873] Exception stack(0xc5e6ffb0 to 0xc5e6fff8) [23414.053885] ffa0: ???????? ???????? ???????? ???????? [23414.053895] ffc0: ???????? ???????? ???????? ???????? ???????? ???????? ???????? ???????? [23414.053905] ffe0: ???????? ???????? ???????? ???????? ???????? ???????? [23414.053918] r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0248a00 [23414.053928] r4:c3d5c0c0 r3:60000093 [23414.054035] ---[ end trace 6410ba82545406c6 ]--- --=-=-=--