Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1062629

Bug#990127: mt76x0 crashes repeatedly

From Hypatia <hypatia@darkshadow.org.uk>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#990127: mt76x0 crashes repeatedly
Date 2021-06-21 14:30 +0200
Message-ID <CsrdU-4zU-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


Package: firmware-misc-nonfree
Version: 20190114-2
kernel module: mt76x0
Severity: serious


Following an update recently, this driver stopped working correctly.  I 
can now only get a working WiFi connection for a few seconds after 
reboot, or after waiting several minutes, making anything that requires 
the internet almost impossible. This was working fine until the update.

Once the interface is up, the driver crashes almost immediately.  It 
does not matter whether I use NetworkManager or do things manually with 
/etc/network/interfaces and then ifup.

The same trace is seen in the logs and dmesg repeatedly.  I have ruled 
out hardware issues.

uname -a :
Linux hope 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 
GNU/Linux

# modinfo mt76x0
filename: 
/lib/modules/4.19.0-16-amd64/kernel/drivers/net/wireless/mediatek/mt76/mt76x0/mt76x0.ko
license:        GPL
firmware:       mediatek/mt7610u.bin
alias:          usb:v0E8Dp7650d*dc*dsc*dp*icFFisc02ipFFin*
alias:          usb:v0E8Dp7630d*dc*dsc*dp*icFFisc02ipFFin*
alias:          usb:v2357p0105d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0079d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pC711d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v20F4p806Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v293Cp5702d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v057Cp8502d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v04BBp0951d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v07B8p7610d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0586p3425d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p3D02d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2019pAB31d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0DF6p0075d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17DBd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p17D1d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp760Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp761Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pB711d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA711d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E8Dp7610d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v13B1p003Ed*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v148Fp7610d*dc*dsc*dp*ic*isc*ip*in*
depends:        mac80211,mt76,cfg80211,usbcore
retpoline:      Y
intree:         Y
name:           mt76x0
vermagic:       4.19.0-16-amd64 SMP mod_unload modversions
sig_id:         PKCS#7
signer:         Debian Secure Boot CA
sig_key:        4B:6E:F5:AB:CA:66:98:25:17:8E:05:2C:84:66:7C:CB:C0:53:1F:8C
sig_hashalgo:   sha256
signature:      58:62:E3:A8:7F:B6:04:24:F1:68:8E:F0:B1:AF:0B:34:8A:66:2D:A1:
		59:54:49:75:B2:52:7F:FF:5D:6B:34:C5:D6:9F:5E:51:33:C3:57:BE:
		38:8C:24:36:D7:C4:BE:1C:2F:62:FC:9C:A1:37:5C:04:17:59:57:0B:
		35:A5:6A:9A:2B:1B:3F:D1:E3:78:CD:50:72:8E:8B:2B:3B:FF:DE:2A:
		FC:8A:F6:A1:BF:FE:2B:52:8D:F8:6D:4D:73:2E:D6:09:5D:4A:EB:11:
		D4:26:89:78:77:D9:BB:04:E6:C4:9A:5A:35:8E:1A:14:BA:84:D7:BF:
		97:AB:0F:5F:A7:3E:D0:DF:DD:E2:75:F1:9E:2C:2A:48:09:AD:FF:D1:
		9C:9E:61:45:44:D2:2E:DD:CE:7E:C8:96:D5:F7:A1:82:CA:33:F9:87:
		5A:C8:FB:30:2B:36:45:12:2C:21:E4:23:CD:02:C5:69:93:B4:7E:A9:
		FD:BF:A0:CA:A2:A7:FD:B5:F1:CC:C8:F2:44:A1:23:33:C0:32:3A:B6:
		2E:6A:27:B8:C7:86:91:30:4A:E5:AC:14:51:50:B0:89:09:BC:31:EB:
		E4:F3:27:51:63:10:29:A0:BB:3C:94:21:33:BE:0C:C7:47:56:08:BC:
		4F:A2:FF:38:FF:D5:4C:DF:2C:A8:64:94:3D:6E:F3:6D
#


Relevant extract from dmesg:

[  996.874969] mt76x0 1-5:1.0: Error: send MCU cmd failed:-71
[  996.875010] mt76x0 1-5:1.0: Error: MCU response pre-completed!
[  996.885414] mt76x0 1-5:1.0: Error: send MCU cmd failed:-71
[  997.007009] mt76x0 1-5:1.0: Vendor request req:07 off:1798 failed:-71
[  997.275141] mt76x0 1-5:1.0: Vendor request req:07 off:1718 failed:-71
[  997.275154] ------------[ cut here ]------------
[  997.275202] WARNING: CPU: 1 PID: 147 at 
drivers/net/wireless/mediatek/mt76/mt76x0/mac.c:55 
mt76_mac_fill_tx_status.isra.2+0x29e/0x2e0 [mt76x0]
[  997.275203] Modules linked in: arc4 mt76x0 mt76 mac80211 cfg80211 
bnep nfnetlink_queue nfnetlink_log bluetooth drbg ansi_cprng 
ecdh_generic cpufreq_powersave cpufreq_conservative cpufreq_userspace 
zram zsmalloc nf_log_ipv6 nf_log_ipv4 nf_log_common nft_limit 
nft_counter xt_LOG xt_limit ipt_REJECT nf_reject_ipv4 xt_tcpudp 
xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_multiport 
nft_compat nf_tables nfnetlink binfmt_misc edac_mce_amd 
snd_hda_codec_realtek kvm_amd snd_hda_codec_generic snd_hda_codec_hdmi 
snd_hda_intel snd_hda_codec ccp snd_hda_core rng_core snd_hwdep kvm 
eeepc_wmi joydev asus_wmi snd_pcm snd_timer sparse_keymap sg snd rfkill 
irqbypass soundcore wmi_bmof pcspkr sp5100_tco k10temp evdev pcc_cpufreq 
acpi_cpufreq cuse fuse it87 hwmon_vid parport_pc ppdev lp parport ip_tables
[  997.275240]  x_tables autofs4 ext4 crc16 mbcache jbd2 fscrypto ecb 
btrfs zstd_decompress zstd_compress xxhash algif_skcipher af_alg 
dm_crypt dm_mod raid10 raid456 async_raid6_recov async_memcpy async_pq 
async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid1 raid0 
multipath linear md_mod hid_generic usbhid hid sd_mod crct10dif_pclmul 
crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc radeon ahci libahci 
i2c_algo_bit ttm drm_kms_helper ohci_pci libata drm aesni_intel 
aes_x86_64 crypto_simd cryptd glue_helper r8168(OE) scsi_mod xhci_pci 
xhci_hcd ehci_pci ohci_hcd ehci_hcd i2c_piix4 usbcore usb_common video 
wmi button
[  997.275277] CPU: 1 PID: 147 Comm: kworker/u8:6 Tainted: G        W 
OE     4.19.0-16-amd64 #1 Debian 4.19.181-1
[  997.275278] Hardware name: System manufacturer System Product 
Name/A68HM-PLUS, BIOS 1701 05/25/2016
[  997.275286] Workqueue: mt76x0 mt76x0_tx_stat [mt76x0]
[  997.275294] RIP: 0010:mt76_mac_fill_tx_status.isra.2+0x29e/0x2e0 [mt76x0]
[  997.275296] Code: c8 20 e9 48 ff ff ff b8 08 00 00 00 e9 eb fe ff ff 
48 c7 c7 80 ea e8 c0 89 4c 24 14 48 89 54 24 08 48 89 34 24 e8 7f 11 a8 
c4 <0f> 0b 48 8b 34 24 48 8b 54 24 08 8b 4c 24 14 e9 cf fd ff ff 48 c7
[  997.275297] RSP: 0018:ffffa00741117d98 EFLAGS: 00010246
[  997.275299] RAX: 0000000000000024 RBX: ffffa00741117e09 RCX: 
0000000000000006
[  997.275301] RDX: 0000000000000000 RSI: 0000000000000082 RDI: 
ffff8ef4576966b0
[  997.275302] RBP: 0000000000000003 R08: 0000000000000cd4 R09: 
0000000000000004
[  997.275303] R10: 0000000000000000 R11: 0000000000000001 R12: 
ffffa00741117e00
[  997.275305] R13: 0000000000000009 R14: 00000000000000ff R15: 
ffffa00741117e69
[  997.275307] FS:  0000000000000000(0000) GS:ffff8ef457680000(0000) 
knlGS:0000000000000000
[  997.275308] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  997.275309] CR2: 00007f409dffa000 CR3: 000000020c75a000 CR4: 
00000000000406e0
[  997.275311] Call Trace:
[  997.275322]  mt76x0_send_tx_status+0x7b/0x180 [mt76x0]
[  997.275330]  mt76x0_tx_stat+0x52/0x170 [mt76x0]
[  997.275336]  process_one_work+0x1a7/0x3a0
[  997.275339]  worker_thread+0x30/0x390
[  997.275342]  ? create_worker+0x1a0/0x1a0
[  997.275345]  kthread+0x112/0x130
[  997.275348]  ? kthread_bind+0x30/0x30
[  997.275352]  ret_from_fork+0x22/0x40
[  997.275355] ---[ end trace 42f0020d11a40ebc ]---
[  997.543137] mt76x0 1-5:1.0: Vendor request req:07 off:0518 failed:-71
[  997.819126] mt76x0 1-5:1.0: Vendor request req:06 off:0518 failed:-71
[  998.071128] mt76x0 1-5:1.0: Vendor request req:07 off:1798 failed:-71
[  998.343110] mt76x0 1-5:1.0: Vendor request req:07 off:1718 failed:-71

Back to linux.debian.bugs.dist | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Bug#990127: mt76x0 crashes repeatedly Hypatia <hypatia@darkshadow.org.uk> - 2021-06-21 14:30 +0200
  Bug#990127: mt76x0 crashes repeatedly maximilian attems <maks@stro.at> - 2021-08-26 15:10 +0200

csiph-web