View Issue Details

IDProjectCategoryView StatusLast Update
0008974Kali LinuxGeneral Bugpublic2024-11-28 09:46
Reporterbaraka983 Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0008974: After last update MediaTek Inc. Wireless Device stop working
Description

My OS Linux kali 6.11.2-amd64 0000001 SMP PREEMPT_DYNAMIC Kali 6.11.2-1kali1 (2024-10-15) x86_64 GNU/Linux

Hello after last update MediaTek Inc. Wireless Device stop working
when i connect my WiFi adapter is show this

iwconfig
lo no wireless extensions.
eth0 no wireless extensions.

lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 004: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 006: ID 0e8d:7961 MediaTek Inc. Wireless_Device
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Thank you

Activities

baraka983

baraka983

2024-10-31 20:47

reporter   ~0019994

After update from firmware-realtek (20230625-2+kali1) to firmware-realtek (20240709-2) and update this packages
Upgrading:
firmware-amd-graphics firmware-brcm80211 firmware-iwlwifi firmware-linux firmware-misc-nonfree firmware-ti-connectivity initramfs-tools-core libkmod2 firmware-atheros firmware-intel-sound firmware-libertas firmware-linux-nonfree firmware-realtek initramfs-tools kmod

Installing dependencies:
dracut-install firmware-intel-graphics firmware-intel-misc firmware-marvell-prestera firmware-mediatek firmware-nvidia-graphics

My MediaTek WiFi adapter stop working
My OS Linux kali 6.11.2-amd64 0000001 SMP PREEMPT_DYNAMIC Kali 6.11.2-1kali1 (2024-10-15) x86_64 GNU/Linux

baraka983

baraka983

2024-11-07 18:46

reporter   ~0020018

before update
Linux kali 6.8.11-amd64 0000001 SMP PREEMPT_DYNAMIC Kali 6.8.11-1kali2 (2024-05-30) x86_64 GNU/Linux

dmesg | grep mt79
[ 65.439279] mt7921u 4-1:1.3: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7961_1.bin
[ 70.569069] usbcore: registered new interface driver mt7921u
[ 70.571245] mt7921u 4-1:1.3: firmware: direct-loading firmware mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin
[ 70.571311] mt7921u 4-1:1.3: HW/SW Version: 0x8a108a10, Build Time: 20230526130917a
[ 70.837397] mt7921u 4-1:1.3: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7961_1.bin
[ 70.837997] mt7921u 4-1:1.3: WM Firmware Version: ____010000, Build Time: 20230526130958

lsmod | grep 7921
mt7921u 16384 0
mt792x_usb 16384 1 mt7921u
mt7921_common 86016 1 mt7921u
mt792x_lib 69632 3 mt792x_usb,mt7921_common,mt7921u
mt76_connac_lib 102400 3 mt792x_lib,mt7921_common,mt7921u
mt76_usb 49152 2 mt792x_usb,mt7921u
mt76 143360 6 mt792x_lib,mt792x_usb,mt76_usb,mt7921_common,mt76_connac_lib,mt7921u
mac80211 1396736 4 mt792x_lib,mt76,mt7921_common,mt76_connac_lib
cfg80211 1355776 4 mt76,mac80211,mt7921_common,mt76_connac_lib
usbcore 409600 10 xhci_hcd,ehci_pci,mt792x_usb,usbhid,mt76_usb,ehci_hcd,btusb,xhci_pci,uhci_hcd,mt7921u

after update
Linux kali 6.11.2-amd64 0000001 SMP PREEMPT_DYNAMIC Kali 6.11.2-1kali1 (2024-10-15) x86_64 GNU/Linux
dmesg | grep mt79
[ 878.638074] usbcore: registered new interface driver mt7921u
[ 878.641622] mt7921u 4-1:1.3: HW/SW Version: 0x8a108a10, Build Time: 20240219110958a
[ 878.905482] mt7921u 4-1:1.3: WM Firmware Version: ____010000, Build Time: 20240219111038
[ 882.142709] mt7921u 4-1:1.3: vendor request req:63 off:00f0 failed:-110
[ 885.374263] mt7921u 4-1:1.3: vendor request req:63 off:0008 failed:-110
[ 888.574338] mt7921u 4-1:1.3: vendor request req:66 off:0008 failed:-110
[ 891.771989] mt7921u 4-1:1.3: vendor request req:63 off:d004 failed:-110
[ 895.080553] mt7921u 4-1:1.3: vendor request req:66 off:d004 failed:-110
[ 898.588023] mt7921u 4-1:1.3: vendor request req:63 off:d000 failed:-110
[ 902.089055] mt7921u 4-1:1.3: vendor request req:66 off:d000 failed:-110
[ 905.577113] mt7921u 4-1:1.3: vendor request req:63 off:d000 failed:-110

lsmod | grep 7921
mt7921u 16384 0
mt792x_usb 16384 1 mt7921u
mt7921_common 86016 1 mt7921u
mt792x_lib 69632 3 mt792x_usb,mt7921_common,mt7921u
mt76_connac_lib 94208 3 mt792x_lib,mt7921_common,mt7921u
mt76_usb 49152 2 mt792x_usb,mt7921u
mt76 135168 6 mt792x_lib,mt792x_usb,mt76_usb,mt7921_common,mt76_connac_lib,mt7921u
mac80211 1441792 5 mt792x_lib,mt76,mt7921_common,rtl8187,mt76_connac_lib
cfg80211 1388544 5 mt76,mac80211,mt7921_common,rtl8187,mt76_connac_lib
usbcore 405504 12 xhci_hcd,ehci_pci,mt792x_usb,usbhid,mt76_usb,btmtk,ehci_hcd,btusb,xhci_pci,rtl8187,uhci_hcd,mt7921u

device stop working and if someone i have idea how to fix it i'm gonna be very thankful :)

arnaudr

arnaudr

2024-11-08 05:07

manager   ~0020019

Latest version of firmware -realtek 20240909-2 should be hitting kali-rolling in a few hours. Please update your system, make sure this new version gets installed, then tell us if, by chance, it fixes the issue. Thanks!

baraka983

baraka983

2024-11-08 08:17

reporter   ~0020021

after firmware update

dmesg | grep mt79
[ 40.177879] mt7921u_probe+0xab/0x230 [mt7921u]
[ 40.177964] ? __pfx_mt7921u_driver_init+0x10/0x10 [mt7921u]
[ 40.178126] Modules linked in: mt7921u(+) mt792x_usb mt7921_common mt792x_lib mt76_connac_lib mt76_usb mt76 mac80211 btusb btrtl btintel libarc4 btbcm btmtk cfg80211 bluetooth snd_seq_dummy snd_hrtimer snd_seq snd_seq_device snd_timer snd soundcore battery rfkill qrtr lz4 lz4_compress zram binfmt_misc intel_rapl_msr intel_rapl_common kvm_amd ccp kvm vmw_balloon pcspkr ac joydev evdev sg serio_raw msr efi_pstore configfs nfnetlink vsock_loopback vmw_vsock_virtio_transport_common vmw_vsock_vmci_transport vsock vmw_vmci ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 btrfs blake2b_generic raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid1 raid0 md_mod vmw_pvscsi vmxnet3 sd_mod hid_generic usbhid hid crct10dif_pclmul crc32_pclmul ata_generic crc32c_intel ghash_clmulni_intel mptspi vmwgfx sha512_ssse3 mptscsih drm_ttm_helper ata_piix ttm uhci_hcd drm_kms_helper xhci_pci ehci_pci mptbase sha256_ssse3 libata scsi_transport_spi xhci_hcd ehci_hcd sha1_ssse3

iwconfig
lo no wireless extensions.
eth0 no wireless extensions.

and when i type lsusb -t my kali is freeze and show nothing :)

baraka983

baraka983

2024-11-08 08:23

reporter   ~0020022

i check with my old adapter

dmesg | grep rtl8187
[ 33.909950] rtl8187: Customer ID is 0xFF
[ 33.977963] rtl8187: wireless switch is on
[ 33.978107] usbcore: registered new interface driver rtl8187

lsusb -t
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=ehci-pci/6p, 480M
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 480M
| Port 001: Dev 002, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|
Port 002: Dev 005, If 0, Class=[unknown], Driver=rtl8187, 480M
| Port 003: Dev 003, If 0, Class=Hub, Driver=hub/7p, 12M
|
Port 004: Dev 004, If 0, Class=Hub, Driver=hub/7p, 480M
/: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=uhci_hcd/2p, 12M
|__ Port 002: Dev 002, If 0, Class=Hub, Driver=hub/7p, 12M
/: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/4p, 20000M/x2

wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off

and is working fine but my new one still not working if someone is have some ideas psl share with me :)
Thank you

baraka983

baraka983

2024-11-25 14:16

reporter   ~0020074

Hello i have a question when the drivers for ALFA AWUS036AXM with chipset MT7921u is gonna be fix.
Thank you

KooLaid863

KooLaid863

2024-11-26 19:44

reporter   ~0020077

Last edited: 2024-11-26 19:45

I have the same problem with the AXML, if I don't update it, it works no problem... Except for it shows my wireless adapter, it just freezes whenever I try to use it

arnaudr

arnaudr

2024-11-27 04:45

manager   ~0020080

I did a quick check, it seems that for MT7921u, the two firmware files are mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin and mediatek/WIFI_RAM_CODE_MT7961_1.bin.

As we can see in upstream repo https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/ those two files got updated on 2024-11-12. You can do a git checkout and check the history of those files. Maybe this new version fixes the issue?

Now, all we can do is wait for a new version Debian package firmware-nonfree to be released, it will include this new version. Once a new version is out in Debian, it should reach Kali after a few days.

arnaudr

arnaudr

2024-11-27 05:05

manager   ~0020085

There's a bug opened (not quite the same) at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1070717, plus a duplicate: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076078

baraka983

baraka983

2024-11-28 09:46

reporter   ~0020086

Hello i check this to files a there is in this locations
locate WIFI_MT7961_patch_mcu_1_2_hdr.bin
/usr/lib/firmware/mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin

locate WIFI_RAM_CODE_MT7961_1.bin
/usr/lib/firmware/mediatek/WIFI_RAM_CODE_MT7961_1.bin

Issue History

Date Modified Username Field Change
2024-10-28 17:55 baraka983 New Issue
2024-10-31 20:47 baraka983 Note Added: 0019994
2024-11-07 18:46 baraka983 Note Added: 0020018
2024-11-08 05:07 arnaudr Note Added: 0020019
2024-11-08 08:17 baraka983 Note Added: 0020021
2024-11-08 08:23 baraka983 Note Added: 0020022
2024-11-25 14:16 baraka983 Note Added: 0020074
2024-11-26 19:44 KooLaid863 Note Added: 0020077
2024-11-26 19:45 KooLaid863 Note Edited: 0020077
2024-11-27 04:45 arnaudr Note Added: 0020080
2024-11-27 05:05 arnaudr Note Added: 0020085
2024-11-28 09:46 baraka983 Note Added: 0020086