Bug 2150978 - [MediaTek MT7921] Wi-Fi suddenly stopped working
Summary: [MediaTek MT7921] Wi-Fi suddenly stopped working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: linux-firmware
Version: 37
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: David Woodhouse
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-05 18:44 UTC by cihcahqxzbjljzlgll
Modified: 2023-04-22 21:47 UTC (History)
6 users (show)

Fixed In Version: linux-firmware-20230404-149.fc38 linux-firmware-20230404-149.fc37
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-22 00:48:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description cihcahqxzbjljzlgll 2022-12-05 18:44:22 UTC
Description of problem:

I have a MediaTek MT7921 internal Wi-Fi card, which suddenly stopped working in the past couple of days.

When I attempt to connect to any Wi-Fi network, it takes forever to connect, before finally failing to activate the network connection.

When this problem started appearing, I purchased a TP-Link TL-WN823N USB Wi-Fi adapter to use in the meantime; however, the problem occurs under this card too (it is a Realtek RTL8192EU).

This problem also occurs on openSUSE Tumbleweed, and there is a post on Ask Ubuntu which describes the exact same problem with the MediaTek MT7921 (posted only 10 days ago) on Ubuntu 22.04.

The problem does NOT occur on elementary OS 6.1, which is based on the older Ubuntu 20.04.3.

This leads me to believe that this is a kernel regression.

Any assistance in solving this issue would be greatly appreciated!


Version-Release number of selected component (if applicable):

6.0.11-300.fc37.x86_64


How reproducible:

Problem occurs out of the box on affected devices with the latest Fedora 37 x86_64 ISO.

Steps to Reproduce:
1. Install Fedora 37 on a device with the MediaTek MT7921 card.
2. Problem is observable when connecting to any Wi-Fi network.

Actual results:

The Wi-Fi network connection attempt fails.

Expected results:

The Wi-Fi network connection is successfully established.

Additional info:

N/A

Comment 1 cihcahqxzbjljzlgll 2022-12-05 18:50:08 UTC
Here is the link to the Ask Ubuntu post:

https://askubuntu.com/questions/1442432/ubuntu-22-04-mediatek-mt7921e-forever-wifi-connecting-configuring

Sorry, I forgot to include it in the original problem description.

Comment 2 Peter Robinson 2022-12-05 18:55:51 UTC
Please provide the version of linux-firmware and the running kernel. What updates were applied when the update happened, was it a new kernel or linux-firmware. Please provide the versions before and afterwards.

> When this problem started appearing, I purchased a TP-Link TL-WN823N USB Wi-Fi adapter to use in the meantime; however, the problem occurs under this card too (it is a Realtek RTL8192EU).

If the problem has suddenly started on two different cards did you change any of your network such as wifi router?

Comment 3 cihcahqxzbjljzlgll 2022-12-05 19:05:23 UTC
Thanks for getting back to me.

The current kernel version is: 6.0.11-300.fc37.x86_64
The current linux-firmware version is: linux-firmware-20221109-144.fc37.noarch

I am on a fresh install of Fedora 37 with all available updates applied, so the previous versions would be whichever versions the latest Fedora 37 installation ISO ships.

I can confirm that I have not changed anything on my network.

Comment 4 Peter Robinson 2022-12-05 19:19:36 UTC
> I am on a fresh install of Fedora 37 with all available updates applied, so
> the previous versions would be whichever versions the latest Fedora 37
> installation ISO ships.

Please confirm what was actually installed using "dnf history" because the iso installer may actually pull updates when installing so it's not useful.

Comment 5 cihcahqxzbjljzlgll 2022-12-05 19:22:27 UTC
Here is the output from running "dnf history":

ID     | Command line             | Date and time    | Action(s)      | Altered
-------------------------------------------------------------------------------
     5 |                          | 2022-12-05 17:55 | I, U           |  458   
     4 |                          | 2022-12-05 17:44 | Install        |    2   
     3 |                          | 2022-12-05 17:41 | I, U           |    7   
     2 | install lshw             | 2022-12-05 17:38 | Install        |    1  <
     1 |                          | 2022-11-05 08:25 | Install        | 1796 >E

Comment 6 cihcahqxzbjljzlgll 2022-12-05 19:31:44 UTC
Actually, I just realised that I used PackageKit to apply updates after installing Fedora 37. I did this using:

sudo pkcon refresh force
sudo pkcon update --only-download
sudo pkcon offline-trigger
sudo systemctl reboot

I would also like to mention that my laptop was not connected to the Internet during the Fedora 37 installation.

Comment 7 cihcahqxzbjljzlgll 2022-12-05 19:35:53 UTC
At any rate, the problem occurred upon reboot immediately after the Fedora 37 installation, before I had applied any updates manually.

Comment 8 Fedora Update System 2023-04-19 09:44:44 UTC
FEDORA-2023-ffeecefff7 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-ffeecefff7

Comment 9 Fedora Update System 2023-04-19 09:44:45 UTC
FEDORA-2023-1cf0937309 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-1cf0937309

Comment 10 Fedora Update System 2023-04-19 09:44:45 UTC
FEDORA-2023-460849706f has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-460849706f

Comment 11 Fedora Update System 2023-04-20 04:29:35 UTC
FEDORA-2023-1cf0937309 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-1cf0937309`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-1cf0937309

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2023-04-20 05:42:41 UTC
FEDORA-2023-460849706f has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-460849706f`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-460849706f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2023-04-20 06:08:33 UTC
FEDORA-2023-ffeecefff7 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-ffeecefff7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-ffeecefff7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2023-04-22 00:48:13 UTC
FEDORA-2023-1cf0937309 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2023-04-22 21:47:40 UTC
FEDORA-2023-ffeecefff7 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.