You are not logged in.

#1 2022-01-29 15:39:53

Kepis
Member
Registered: 2021-12-15
Posts: 70

[Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

I have just updated my system and wifi was not working. Long story short, I fixed it by downgrading kernel from 5.16.3 to 5.16.2.
Also whenever I wanted to use sudo, or a program communicating with wifi (nmcli, nmtui, ip...), it got stuck for around 10 seconds and then do its thing.

I don't really know what to do from here after, so here are some logs from when I was on 5.16.3 with no wifi connection:

sudo lspci -vnn

03:00.0 Network controller [0280]: MEDIATEK Corp. Device [14c3:7961]
  DeviceName: Realtek RTL8111E Ethernet LOM
  Subsystem: Lenovo Device [17aa:e0bc]
  Flags: bus master, fast devsel, latency 0, IRQ 87, IOMMU group 10
  Memory at fcf0200000 (64-bit, prefetchable) [size=1M]
  Memory at fcf0300000 (64-bit, prefetchable) [size=16K]
  Memory at fcf0304000 (64-bit, prefetchable) [size=4K]
  Capabilities: [80] Express Endpoint, MSI 00
  Capabilities: [e0] MSI: Enable+ Count=1/32 Maskable+ 64bit+
  Capabilities: [f8] Power Management version 3
  Capabilities: [100] Vendor Specific Information: ID=1556 Rev=1 Len=008 <?>
  Capabilities: [108] Latency Tolerance Reporting
  Capabilities: [110] L1 PM Substates
  Capabilities: [200] Advanced Error Reporting
  Kernel driver in use: mt7921e
  Kernel modules: mt7921e

ip a

2: wlo1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 12:a4:0a:e1:3e:c9 brd ff:ff:ff:ff:ff:ff permaddr f8:89:d2:7e:cb:1b
    altname wlp3s0

no output for ip r

journalctl -b -u NetworkManager (stripped)

<info>  [1643468124.1702] device (lo): carrier: link connected
<info>  [1643468124.1704] manager: (lo): new Generic device (/org/freedesktop/NetworkManager/Devices/1)
<info>  [1643468124.1719] ovsdb: disconnected from ovsdb
<info>  [1643468124.1722] manager: startup complete
<info>  [1643468125.5614] manager: (wlan0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/2)
<info>  [1643468125.5620] rfkill3: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:02.2/0000:03:00.0/ieee80211/phy0/rfkill3) (driver mt7921e)
<info>  [1643468125.5991] device (wlan0): interface index 2 renamed iface from 'wlan0' to 'wlo1'
<info>  [1643468125.6070] device (wlo1): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
<warn>  [1643468135.6793] platform-linux: do-change-link[2]: failure changing link: failure 110 (Connection inactive for too long)
<info>  [1643468135.6800] device (wlo1): set-hw-addr: set MAC address to 12:A4:0A:E1:3E:C9 (scanning)
<warn>  [1643468146.7723] platform-linux: do-change-link[2]: failure changing link: failure 110 (Connection inactive for too ling)
<error> [1643468151.7891] device (wlo1): Couldn't initialize supplicant interface: Timed out
repeated trying for initialization...
<info>  [1643468227.0647] device (wlo1): supplicant interface keeps failing, giving up
<info>  [1643468608.4230] manager: rfkill: Wi-Fi now disabled by radio killswitch
<info>  [1643468616.7922] manager: rfkill: Wi-Fi now enabled by radio killswitch
<warn>  [1643468626.3459] platform-linux: do-change-link[2]: failure changing link: failure 110 (Connection inactive for too long)

journalctl -p 3 -xb

led 29 15:55:23 IP5Pro kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GP18.SATA], AE_NOT_FOUND (20210930/dswload2-162)
led 29 15:55:23 IP5Pro kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20210930/psobject-220)
led 29 15:55:23 IP5Pro kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
led 29 15:55:24 IP5Pro kernel: mt7921e 0000:03:00.0: ASIC revision: 79610010
led 29 15:55:24 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:55:29 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 4) timeout
led 29 15:55:29 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:55:35 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 5) timeout
led 29 15:55:35 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:55:40 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 10) timeout
led 29 15:55:40 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:55:46 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 11) timeout
led 29 15:55:46 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:55:51 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 1) timeout
led 29 15:55:51 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:55:51 IP5Pro NetworkManager[494]: <error> [1643468151.7891] device (wlo1): Couldn't initialize supplicant interface: Časový limit vypršel
led 29 15:55:57 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:55:57 IP5Pro wpa_supplicant[1503]: nl80211: Could not set interface 'wlo1' UP
led 29 15:55:57 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 2) timeout
led 29 15:55:57 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:56:02 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 7) timeout
led 29 15:56:02 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:56:07 IP5Pro NetworkManager[494]: <error> [1643468167.0563] device (wlo1): Couldn't initialize supplicant interface: Časový limit vypršel
led 29 15:56:08 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:56:08 IP5Pro wpa_supplicant[1503]: WEXT: Could not set interface 'wlo1' UP
led 29 15:56:08 IP5Pro wpa_supplicant[1503]: wlo1: Failed to initialize driver interface
led 29 15:56:08 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 8) timeout
led 29 15:56:08 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:56:13 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 13) timeout
led 29 15:56:13 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:56:19 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:56:19 IP5Pro wpa_supplicant[1503]: nl80211: Could not set interface 'wlo1' UP
led 29 15:56:19 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 14) timeout
led 29 15:56:20 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:56:22 IP5Pro NetworkManager[494]: <error> [1643468182.0549] device (wlo1): Couldn't initialize supplicant interface: Časový limit vypršel
led 29 15:56:24 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 4) timeout
led 29 15:56:24 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:56:30 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:56:30 IP5Pro wpa_supplicant[1503]: WEXT: Could not set interface 'wlo1' UP
led 29 15:56:30 IP5Pro wpa_supplicant[1503]: wlo1: Failed to initialize driver interface
led 29 15:56:30 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 5) timeout
led 29 15:56:31 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:56:35 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 10) timeout
led 29 15:56:35 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:56:37 IP5Pro NetworkManager[494]: <error> [1643468197.0639] device (wlo1): Couldn't initialize supplicant interface: Časový limit vypršel
led 29 15:56:42 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:56:42 IP5Pro wpa_supplicant[1503]: nl80211: Could not set interface 'wlo1' UP
led 29 15:56:42 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 11) timeout
led 29 15:56:42 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:56:46 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 1) timeout
led 29 15:56:46 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:56:52 IP5Pro NetworkManager[494]: <error> [1643468212.0625] device (wlo1): Couldn't initialize supplicant interface: Časový limit vypršel
led 29 15:56:53 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:56:53 IP5Pro wpa_supplicant[1503]: WEXT: Could not set interface 'wlo1' UP
led 29 15:56:53 IP5Pro wpa_supplicant[1503]: wlo1: Failed to initialize driver interface
led 29 15:56:53 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 2) timeout
led 29 15:56:53 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:56:57 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 7) timeout
led 29 15:56:57 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:57:04 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:57:04 IP5Pro wpa_supplicant[1503]: nl80211: Could not set interface 'wlo1' UP
led 29 15:57:04 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 8) timeout
led 29 15:57:04 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:57:07 IP5Pro NetworkManager[494]: <error> [1643468227.0646] device (wlo1): Couldn't initialize supplicant interface: Časový limit vypršel
led 29 15:57:08 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 13) timeout
led 29 15:57:08 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:57:15 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:57:15 IP5Pro wpa_supplicant[1503]: WEXT: Could not set interface 'wlo1' UP
led 29 15:57:15 IP5Pro wpa_supplicant[1503]: wlo1: Failed to initialize driver interface
led 29 15:57:15 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 14) timeout
led 29 15:57:15 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:57:20 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 4) timeout
led 29 15:57:20 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:57:26 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:57:26 IP5Pro wpa_supplicant[1503]: nl80211: Could not set interface 'wlo1' UP
led 29 15:57:26 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 5) timeout
led 29 15:57:26 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:57:31 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 10) timeout
led 29 15:57:31 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:57:37 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:57:37 IP5Pro wpa_supplicant[1503]: WEXT: Could not set interface 'wlo1' UP
led 29 15:57:37 IP5Pro wpa_supplicant[1503]: wlo1: Failed to initialize driver interface
led 29 15:57:37 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 11) timeout
led 29 15:57:37 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:57:42 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 1) timeout
led 29 15:57:42 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:57:48 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:57:48 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 2) timeout
led 29 15:57:48 IP5Pro wpa_supplicant[1503]: nl80211: Could not set interface 'wlo1' UP
led 29 15:57:48 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 15:57:53 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 7) timeout
led 29 15:57:53 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 15:57:59 IP5Pro wpa_supplicant[1503]: Could not set interface wlo1 flags (UP): Connection timed out
led 29 15:57:59 IP5Pro wpa_supplicant[1503]: WEXT: Could not set interface 'wlo1' UP
led 29 15:57:59 IP5Pro wpa_supplicant[1503]: wlo1: Failed to initialize driver interface
led 29 15:57:59 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 8) timeout
led 29 15:57:59 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done
led 29 16:03:39 IP5Pro kernel: mt7921e 0000:03:00.0: Message 00020001 (seq 13) timeout
led 29 16:03:39 IP5Pro kernel: mt7921e 0000:03:00.0: chip reset
led 29 16:03:46 IP5Pro kernel: mt7921e 0000:03:00.0: Message 000046ed (seq 14) timeout
led 29 16:03:46 IP5Pro kernel: mt7921e 0000:03:00.0: Firmware init done

sudo dmesg | grep mt

[    3.300272] mt7921e 0000:03:00.0: enabling device (0000 -> 0002)
[    3.300609] mt7921e 0000:03:00.0: ASIC revision: 79610010
[    3.390303] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[    3.685399] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[    3.712613] mt7921e 0000:03:00.0: Firmware init done
[    4.514214] mt7921e 0000:03:00.0 wlo1: renamed from wlan0
[    8.231418] mt7921e 0000:03:00.0: Message 00020001 (seq 4) timeout
[    8.231460] mt7921e 0000:03:00.0: chip reset
[   14.631390] mt7921e 0000:03:00.0: Message 000046ed (seq 5) timeout
[   14.748206] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[   14.791985] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[   14.823103] mt7921e 0000:03:00.0: Firmware init done
[   19.324757] mt7921e 0000:03:00.0: Message 00020001 (seq 10) timeout
[   19.324829] mt7921e 0000:03:00.0: chip reset
[   25.724475] mt7921e 0000:03:00.0: Message 000046ed (seq 11) timeout
[   25.829351] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[   25.858082] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[   25.889231] mt7921e 0000:03:00.0: Firmware init done
[   30.204802] mt7921e 0000:03:00.0: Message 00020001 (seq 1) timeout
[   30.204888] mt7921e 0000:03:00.0: chip reset
[   36.604743] mt7921e 0000:03:00.0: Message 000046ed (seq 2) timeout
[   36.714941] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[   36.786970] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[   36.819627] mt7921e 0000:03:00.0: Firmware init done
[   41.298063] mt7921e 0000:03:00.0: Message 00020001 (seq 7) timeout
[   41.298151] mt7921e 0000:03:00.0: chip reset
[   47.698102] mt7921e 0000:03:00.0: Message 000046ed (seq 8) timeout
[   47.805154] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[   47.877259] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[   47.909818] mt7921e 0000:03:00.0: Firmware init done
[   52.391396] mt7921e 0000:03:00.0: Message 00020001 (seq 13) timeout
[   52.391479] mt7921e 0000:03:00.0: chip reset
[   58.791408] mt7921e 0000:03:00.0: Message 000046ed (seq 14) timeout
[   58.898870] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[   58.932996] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[   58.965193] mt7921e 0000:03:00.0: Firmware init done
[   63.484736] mt7921e 0000:03:00.0: Message 00020001 (seq 4) timeout
[   63.484808] mt7921e 0000:03:00.0: chip reset
[   69.884813] mt7921e 0000:03:00.0: Message 000046ed (seq 5) timeout
[   69.991197] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[   70.063037] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[   70.095575] mt7921e 0000:03:00.0: Firmware init done
[   74.578413] mt7921e 0000:03:00.0: Message 00020001 (seq 10) timeout
[   74.578486] mt7921e 0000:03:00.0: chip reset
[   80.978130] mt7921e 0000:03:00.0: Message 000046ed (seq 11) timeout
[   81.088462] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[   81.160376] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[   81.192736] mt7921e 0000:03:00.0: Firmware init done
[   85.671172] mt7921e 0000:03:00.0: Message 00020001 (seq 1) timeout
[   85.671253] mt7921e 0000:03:00.0: chip reset
[   92.071375] mt7921e 0000:03:00.0: Message 000046ed (seq 2) timeout
[   92.181508] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[   92.253209] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[   92.285961] mt7921e 0000:03:00.0: Firmware init done
[   96.764733] mt7921e 0000:03:00.0: Message 00020001 (seq 7) timeout
[   96.764806] mt7921e 0000:03:00.0: chip reset
[  103.164704] mt7921e 0000:03:00.0: Message 000046ed (seq 8) timeout
[  103.275044] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[  103.347073] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[  103.378343] mt7921e 0000:03:00.0: Firmware init done
[  107.857921] mt7921e 0000:03:00.0: Message 00020001 (seq 13) timeout
[  107.858030] mt7921e 0000:03:00.0: chip reset
[  114.258057] mt7921e 0000:03:00.0: Message 000046ed (seq 14) timeout
[  114.368420] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[  114.440397] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[  114.472757] mt7921e 0000:03:00.0: Firmware init done
[  118.951403] mt7921e 0000:03:00.0: Message 00020001 (seq 4) timeout
[  118.951434] mt7921e 0000:03:00.0: chip reset
[  125.351390] mt7921e 0000:03:00.0: Message 000046ed (seq 5) timeout
[  125.461492] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[  125.533544] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[  125.566075] mt7921e 0000:03:00.0: Firmware init done
[  130.044747] mt7921e 0000:03:00.0: Message 00020001 (seq 10) timeout
[  130.044832] mt7921e 0000:03:00.0: chip reset
[  136.444734] mt7921e 0000:03:00.0: Message 000046ed (seq 11) timeout
[  136.555042] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[  136.626865] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[  136.659248] mt7921e 0000:03:00.0: Firmware init done
[  141.138100] mt7921e 0000:03:00.0: Message 00020001 (seq 1) timeout
[  141.138201] mt7921e 0000:03:00.0: chip reset
[  147.538060] mt7921e 0000:03:00.0: Message 000046ed (seq 2) timeout
[  147.641653] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[  147.674545] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[  147.707069] mt7921e 0000:03:00.0: Firmware init done
[  152.231469] mt7921e 0000:03:00.0: Message 00020001 (seq 7) timeout
[  152.231522] mt7921e 0000:03:00.0: chip reset
[  158.631371] mt7921e 0000:03:00.0: Message 000046ed (seq 8) timeout
[  158.726158] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[  158.755146] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[  158.787560] mt7921e 0000:03:00.0: Firmware init done
[  498.897935] mt7921e 0000:03:00.0: Message 00020001 (seq 13) timeout
[  498.897971] mt7921e 0000:03:00.0: chip reset
[  505.297971] mt7921e 0000:03:00.0: Message 000046ed (seq 14) timeout
[  505.407972] mt7921e 0000:03:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220110230855a
[  505.479609] mt7921e 0000:03:00.0: WM Firmware Version: ____010000, Build Time: 20220110230951
[  505.511307] mt7921e 0000:03:00.0: Firmware init done

Any help is welcome.

Last edited by Kepis (2022-02-03 17:11:07)

Offline

#2 2022-01-29 16:09:14

seth
Member
Registered: 2012-09-03
Posts: 58,807

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

Please post an unfiltered "sudo journactl -b" so we can see the timeouts in context (and ever use "-x", it's spam)
Ftr, https://bbs.archlinux.org/viewtopic.php?id=273620

Offline

#3 2022-01-29 16:15:36

HelloEdit
Guest

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

Can confirm the bug on Lenovo YOGA slim 7 pro 16" AMD

#4 2022-01-29 16:22:18

CapSel
Member
Registered: 2011-08-26
Posts: 11

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

This seems to be an upstream bug report: https://github.com/openwrt/mt76/issues/548

Offline

#5 2022-01-29 16:37:57

seth
Member
Registered: 2012-09-03
Posts: 58,807

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

That issue started in June last year w/ a probing failure in 5.12 had workarounds by colds boots, S3, then S3 caused crashes and reloading the module around those worked around that.
https://github.com/openwrt/mt76/issues/ … 1015019232 at least has timeouts but triggered by S3s and "Failed to get patch semaphore" isn't in the OPs excerpts either.

The bottom line is that the chip is shit or has lousy support but whether you see any of what has been presented at https://github.com/openwrt/mt76/issues/548 is unclear (and it's certainly not the original probing issue, though it could be power/rfkill related)

Offline

#6 2022-01-29 17:09:00

Kepis
Member
Registered: 2021-12-15
Posts: 70

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

seth wrote:

Please post an unfiltered "sudo journactl -b" so we can see the timeouts in context (and ever use "-x", it's spam)

https://dpaste.com/5PJV9Q4YB

Also with 5.16.3, together with the wifi issue, not just sudo, but most applications (graphical or cli) are starting up extremly long, all taking at least 10s before any response.

Last edited by Kepis (2022-01-29 17:12:10)

Offline

#7 2022-01-29 22:46:50

seth
Member
Registered: 2012-09-03
Posts: 58,807

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

Since it's a usb chip (dongle?) and even times out on resetting attempts, I'd try to disable https://wiki.archlinux.org/title/Power_ … utosuspend ("usbcore.autosuspend=-1" disables it globally, nb. that runtime powermanagement tools can and will alter that)

Offline

#8 2022-01-30 02:11:52

CapSel
Member
Registered: 2011-08-26
Posts: 11

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

When this built-in wifi card is powered down ip/ifconfig does not see any interface except "lo".
When it's powered on there are timeout errors in dmesg and ip/ifconfig can see "wlan0".
Errors shows up durring bootup - so any autosuspend should not be able to power it down that soon.

For me this is the only network card available.

Last edited by CapSel (2022-01-30 02:12:57)

Offline

#9 2022-01-30 04:09:24

nellowly
Member
Registered: 2021-06-30
Posts: 4

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

Same. 5.16.3 broke everything from slow login manager to fake sleeping

Better downgrade to 5.16.1 (5.16.2 has issues with suspend resume with no audio, keyboard rgb etc)

IMO 5.16 is in its early stage, bugs are expected. Either bisecting the changes in linux kernel and report upstream or if you can't, put the package on hold

Last edited by nellowly (2022-01-30 04:16:24)

Offline

#10 2022-01-30 07:41:07

Kepis
Member
Registered: 2021-12-15
Posts: 70

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

nellowly wrote:

Same. 5.16.3 broke everything from slow login manager to fake sleeping
... 5.16.2 has issues with suspend resume with no audio etc.

Since you mention it, I can agree that since not so long ago putting my laptop to sleep and than getting back into it resulted in firefox always needing a restart to make sound work again, but not other programs.
Other than that, yesterday I needed hibernation, it was working when I tried it with my flash drive, but now when loading in the swap, I get a couple seconds (random) of restored desktop, but soon after the system locks up.
Also whenever I reboot, I always get kernel panic at some point - often when I am already in xorg, but suddenly the capslock light starts blinking and nothing works

Last edited by Kepis (2022-01-30 08:24:38)

Offline

#11 2022-01-31 13:24:21

n1729
Member
Registered: 2021-11-19
Posts: 2

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

This patch fixes the above issue.

https://patchwork.kernel.org/project/li … gmail.com/

I'm using a custom kernel [linux-xanmod-rog v 5.16.4] with the above patch included and that fixes this issue.

Offline

#12 2022-01-31 17:03:18

nellowly
Member
Registered: 2021-06-30
Posts: 4

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

Also on 5.16.4 with that patch, can confirm it fixed the issue smile

Offline

#13 2022-01-31 22:33:43

b4rsch
Member
Registered: 2022-01-31
Posts: 1

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

nellowly wrote:

Also on 5.16.4 with that patch, can confirm it fixed the issue smile

How can I apply this patch?

Offline

#14 2022-02-01 02:59:11

n1729
Member
Registered: 2021-11-19
Posts: 2

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

b4rsch wrote:
nellowly wrote:

Also on 5.16.4 with that patch, can confirm it fixed the issue smile

How can I apply this patch?

For your information, linux-lts works without the above issue. So, if you don't know how then wait for it to fixed in v5.16.5 or next release.

If you want to learn how, then follow this https://wiki.archlinux.org/title/Kernel … ild_System

Offline

#15 2022-02-03 10:25:53

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,257

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

If I'm reading the changelog correctly this should work again on 5.16.5

Offline

#16 2022-02-03 17:09:08

Kepis
Member
Registered: 2021-12-15
Posts: 70

Re: [Solved] Kernel 5.16.3 broke wifi mt7921e, can I do sth about it?

Yes indeed, just tested it, marking as solved.

Offline

Board footer

Powered by FluxBB