Thank you for finding the root cause and even describing the solution, it worked well on Ubuntu 24.04 with HWE kernel.
I wonder what makes this bug report "Invalid" though with the apparently clear issue that with a `linux-modules-iwlwifi-*` package being installed, Mediatek WiFi devices can't be used. It's not that unusual to get into this situation. Earlier I just wanted to test a Mediatek USB device while I had an Intel device for everyday use, a setup apparently not even feasible with this problem. Then I finally decided to replace the unreliable Intel device that kept on getting worse (I guess with firmware updates), and it took quite some digging to see why isn't the new device working before ironically landing here once again. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1947364 Title: mt76 module disagrees on a lot Status in linux package in Ubuntu: Invalid Bug description: I had a 20.10 beta live cd with working wifi and bluetooth. (both use the same chipset) I upgraded to 20.10 and wifi is not working. bluetooth is. Description: Ubuntu 21.10 Release: 21.10 after a modprobe mt76. the system returns: modprobe: ERROR: could not insert 'mt76': Invalid argument there is a lot of disagreeing in dmesg. [ 212.499500] mt76: disagrees about version of symbol ieee80211_sta_register_airtime [ 212.499506] mt76: Unknown symbol ieee80211_sta_register_airtime (err -22) [ 212.499550] mt76: disagrees about version of symbol __ieee80211_schedule_txq [ 212.499551] mt76: Unknown symbol __ieee80211_schedule_txq (err -22) [ 212.499609] mt76: disagrees about version of symbol ieee80211_free_hw [ 212.499610] mt76: Unknown symbol ieee80211_free_hw (err -22) [ 212.499661] mt76: disagrees about version of symbol ieee80211_txq_schedule_start [ 212.499664] mt76: Unknown symbol ieee80211_txq_schedule_start (err -22) [ 212.499685] mt76: disagrees about version of symbol ieee80211_tx_status_ext [ 212.499687] mt76: Unknown symbol ieee80211_tx_status_ext (err -22) [ 212.499714] mt76: disagrees about version of symbol ieee80211_register_hw [ 212.499716] mt76: Unknown symbol ieee80211_register_hw (err -22) [ 212.499794] mt76: disagrees about version of symbol __ieee80211_create_tpt_led_trigger [ 212.499797] mt76: Unknown symbol __ieee80211_create_tpt_led_trigger (err -22) [ 212.499828] mt76: disagrees about version of symbol ieee80211_sta_eosp [ 212.499829] mt76: Unknown symbol ieee80211_sta_eosp (err -22) [ 212.499841] mt76: disagrees about version of symbol ieee80211_get_hdrlen_from_skb [ 212.499842] mt76: Unknown symbol ieee80211_get_hdrlen_from_skb (err -22) [ 212.499900] mt76: disagrees about version of symbol ieee80211_get_tx_rates [ 212.499901] mt76: Unknown symbol ieee80211_get_tx_rates (err -22) [ 212.499907] mt76: disagrees about version of symbol ieee80211_send_bar [ 212.499908] mt76: Unknown symbol ieee80211_send_bar (err -22) [ 212.499925] mt76: disagrees about version of symbol ieee80211_sta_uapsd_trigger [ 212.499926] mt76: Unknown symbol ieee80211_sta_uapsd_trigger (err -22) [ 212.499976] mt76: disagrees about version of symbol ieee80211_queue_delayed_work [ 212.499977] mt76: Unknown symbol ieee80211_queue_delayed_work (err -22) [ 212.500002] mt76: disagrees about version of symbol ieee80211_calc_rx_airtime [ 212.500003] mt76: Unknown symbol ieee80211_calc_rx_airtime (err -22) [ 212.500012] mt76: disagrees about version of symbol ieee80211_find_sta_by_ifaddr [ 212.500013] mt76: Unknown symbol ieee80211_find_sta_by_ifaddr (err -22) [ 212.500019] mt76: disagrees about version of symbol ieee80211_next_txq [ 212.500020] mt76: Unknown symbol ieee80211_next_txq (err -22) [ 212.500032] mt76: disagrees about version of symbol ieee80211_beacon_cntdwn_is_complete [ 212.500034] mt76: Unknown symbol ieee80211_beacon_cntdwn_is_complete (err -22) [ 212.500041] mt76: disagrees about version of symbol ieee80211_sta_pspoll [ 212.500042] mt76: Unknown symbol ieee80211_sta_pspoll (err -22) [ 212.500061] mt76: disagrees about version of symbol ieee80211_free_txskb [ 212.500062] mt76: Unknown symbol ieee80211_free_txskb (err -22) [ 212.500075] mt76: disagrees about version of symbol ieee80211_alloc_hw_nm [ 212.500076] mt76: Unknown symbol ieee80211_alloc_hw_nm (err -22) [ 212.500086] mt76: disagrees about version of symbol ieee80211_tx_dequeue [ 212.500087] mt76: Unknown symbol ieee80211_tx_dequeue (err -22) [ 212.500092] mt76: disagrees about version of symbol ieee80211_rx_list [ 212.500093] mt76: Unknown symbol ieee80211_rx_list (err -22) [ 212.500116] mt76: disagrees about version of symbol ieee80211_tx_status [ 212.500117] mt76: Unknown symbol ieee80211_tx_status (err -22) [ 212.500141] mt76: disagrees about version of symbol ieee80211_iterate_active_interfaces_atomic [ 212.500143] mt76: Unknown symbol ieee80211_iterate_active_interfaces_atomic (err -22) [ 212.500158] mt76: disagrees about version of symbol ieee80211_unregister_hw [ 212.500159] mt76: Unknown symbol ieee80211_unregister_hw (err -22) [ 212.500177] mt76: disagrees about version of symbol ieee80211_sta_ps_transition [ 212.500179] mt76: Unknown symbol ieee80211_sta_ps_transition (err -22) [ 212.500193] mt76: disagrees about version of symbol ieee80211_csa_finish [ 212.500194] mt76: Unknown symbol ieee80211_csa_finish (err -22) lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:02.6 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:02.7 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166a 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166b 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166c 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166d 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166e 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166f 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1670 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1671 01:00.0 Non-Volatile memory controller: SK hynix Device 174a 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e) 03:00.0 Network controller: MEDIATEK Corp. Device 7961 04:00.0 SD Host controller: Genesys Logic, Inc GL9750 SD Host Controller (rev 01) 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 06:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02) 07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev d2) 07:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller 07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor 07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 07:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 07:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01) 07:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller https://linux-hardware.org/?probe=8c2ed0d838 ProblemType: Bug DistroRelease: Ubuntu 21.10 Package: linux-image-5.13.0-19-generic 5.13.0-19.19 ProcVersionSignature: Ubuntu 5.13.0-19.19-generic 5.13.14 Uname: Linux 5.13.0-19-generic x86_64 ApportVersion: 2.20.11-0ubuntu70 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC1: daft 1840 F.... pulseaudio /dev/snd/controlC2: daft 1840 F.... pulseaudio /dev/snd/controlC0: daft 1840 F.... pulseaudio CasperMD5CheckResult: pass Date: Fri Oct 15 14:35:15 2021 InstallationDate: Installed on 2021-10-04 (10 days ago) InstallationMedia: Kubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420) MachineType: LENOVO 21A0CTO1WW ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.13.0-19-generic root=/dev/mapper/vgkubuntu-root ro quiet splash vt.handoff=7 PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: linux-restricted-modules-5.13.0-19-generic N/A linux-backports-modules-5.13.0-19-generic N/A linux-firmware 1.201 SourcePackage: linux UpgradeStatus: Upgraded to impish on 2021-10-15 (0 days ago) dmi.bios.date: 06/21/2021 dmi.bios.release: 1.9 dmi.bios.vendor: LENOVO dmi.bios.version: R1MET39W (1.09 ) dmi.board.asset.tag: Not Available dmi.board.name: 21A0CTO1WW dmi.board.vendor: LENOVO dmi.board.version: Not Defined dmi.chassis.asset.tag: No Asset Information dmi.chassis.type: 10 dmi.chassis.vendor: LENOVO dmi.chassis.version: None dmi.ec.firmware.release: 1.9 dmi.modalias: dmi:bvnLENOVO:bvrR1MET39W(1.09):bd06/21/2021:br1.9:efr1.9:svnLENOVO:pn21A0CTO1WW:pvrThinkPadP14sGen2a:skuLENOVO_MT_21A0_BU_Think_FM_ThinkPadP14sGen2a:rvnLENOVO:rn21A0CTO1WW:rvrNotDefined:cvnLENOVO:ct10:cvrNone: dmi.product.family: ThinkPad P14s Gen 2a dmi.product.name: 21A0CTO1WW dmi.product.sku: LENOVO_MT_21A0_BU_Think_FM_ThinkPad P14s Gen 2a dmi.product.version: ThinkPad P14s Gen 2a dmi.sys.vendor: LENOVO To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1947364/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp

