[Solved] MT7921e: Wifi doesn't work anymore, tried

Need help with peripherals or devices?
Post Reply
Message
Author
User avatar
ReShout
Posts: 32
Joined: 2022-01-15 11:50
Location: Germany
Has thanked: 2 times

[Solved] MT7921e: Wifi doesn't work anymore, tried

#1 Post by ReShout »

Hello, I have yet another issue with WiFi on Debian.

For context, I got this new motherboard on my birthday, an MSI MAG Tomahawk Max WiFi. It worked fine until today, night, I even finished torrentingn something. Today I booted up my PC, see that wifi just "disappeared". I tried solving it with ChatGPT and it was a failure.

The device is seen as "RealTek mt7921e", Kernel Version is 6.1.0-27-amd64

I need this fixed today, because tomorrow I'll have an online conference where screen sharing will be needed!

Any help is welcomed!
(Plugging in the Ethernet is not an option, at all)
Last edited by ReShout on 2024-11-21 05:26, edited 1 time in total.

User avatar
bw123
Posts: 4046
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 33 times

Re: MT7921e: Wifi doesn't work anymore, tried

#2 Post by bw123 »

Hi, Here are a few ideas in no particular order.

toggle a hardware switch if it has one
check BIOS and toggle it disable/enable
use rfkill to check/unblock it
use modprobe to remove/reload the driver
cold boot (power off completely)

good luck,
bw
resigned by AI ChatGPT

User avatar
ReShout
Posts: 32
Joined: 2022-01-15 11:50
Location: Germany
Has thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#3 Post by ReShout »

Hello, I tried eveything…
1. There is no hardware switch
2. I have WiFi enabled in BIOS
3. rkill: command not found
4. I did modprobe and modprobe -r multiple times, it did not work
5. cold booting didnt work, taking the CMOS battery and putting it back in didnt work.

I also tried to reinstall Debian, but not even the setup could find the networks.
I'm at a total loss of words, how could the wifi kill itself overnight??

User avatar
ReShout
Posts: 32
Joined: 2022-01-15 11:50
Location: Germany
Has thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#4 Post by ReShout »

Forgot to add a detail, a wired network called "lo" (loopback?) shows to be "connected"

Aki
Global Moderator
Global Moderator
Posts: 3949
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 518 times

Re: MT7921e: Wifi doesn't work anymore, tried

#5 Post by Aki »

Hello,

What is the output of the following commands ?

Code: Select all

lspci -vnn -d ::0280
Is still there the pre-installed wireless module in the M.2 (Key-E) slot ? (see [1])

May you take a photo of its identification data ?

Hope this helps.

note: moved to "Hardware" sub-forum.

---
[1] MAG Series Motherboard MAG Z790 TOMAHAWK MAX WIFI User Guide, page 18
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
ReShout
Posts: 32
Joined: 2022-01-15 11:50
Location: Germany
Has thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#6 Post by ReShout »

Hi!
Output is here.Image

I didn't notice it says <access denied>. Very weird, also what I didn't notice, is that the device(?) is called MT7922 while it's using mt7921e module.

I'm sorry again, I didn't know there are more MSI MAG Tomahawk named motherboard's with different chip sets, my chip set is B550.

Looking forward to a response!

User avatar
ReShout
Posts: 32
Joined: 2022-01-15 11:50
Location: Germany
Has thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#7 Post by ReShout »

Ran

Code: Select all

journalctl -k | grep mt7921e
Output is:
Image
"driver own failed" and the error code being -5

brcisna
Posts: 52
Joined: 2019-08-06 23:30
Has thanked: 6 times
Been thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#8 Post by brcisna »

@ReShout

Very strange. In the output of your lspci command it appears as if the Mediatek Wifi is bonded to your RTL### Lan port?
Just try something ,temporarily try disabling your lan port,in bios,if possible.
Wonder if in the bios there may be a native bridging option for your Lan and Wifi interface. ?

This is what a normal Mediatek MT7921K or -E should read in lspci,,for comparison

Code: Select all

04:00.0 Network controller [0280]: MEDIATEK Corp. MT7921K (RZ608) Wi-Fi 6E 80MHz [14c3:0608]
	Subsystem: MEDIATEK Corp. MT7921K (RZ608) Wi-Fi 6E 80MHz [14c3:0608]
	Flags: bus master, fast devsel, latency 0, IRQ 162, IOMMU group 8
	Memory at d0000000 (64-bit, prefetchable) [size=1M]
	Memory at d0100000 (64-bit, prefetchable) [size=16K]
	Memory at d0104000 (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
Good Luck!

User avatar
ReShout
Posts: 32
Joined: 2022-01-15 11:50
Location: Germany
Has thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#9 Post by ReShout »

Hello, I disabled the LAN in the BIOS, rebooted, still doesn't work.
Image

The "Wired Connection 1" from KDE's settings is gone, but the loopback "lo" """wired""" connection is still there. I'll stay awake for 30 minutes more then I'll go sleep. Hopefully I'll get a response back from you :D

Edit: keep it mind, it worked in the last 24hrs, I was torrentingn a series overnight, had no wifi issues

brcisna
Posts: 52
Joined: 2019-08-06 23:30
Has thanked: 6 times
Been thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#10 Post by brcisna »

If you disabled the LAN in bios, wonder why you LAN is still showing in lspci,
Go into bios,, do a 'default settings' reset. Not sure what hotkey that is,,for newer systems.
After you do this,,shut off pc,,,unplug power for 30 seconds plug back in and power on,, See if any changes.

EDIT: I was mistaken,,,sorry,,,The RTL8188E is actually your wifi interface with Mediatek chipset. I was thinking that was your actual LAN interface
Still shut computer off unplug power chord,,,Leave shut off for two minutes power back up,,see if any changes.
Last edited by brcisna on 2024-11-19 23:19, edited 1 time in total.

User avatar
ReShout
Posts: 32
Joined: 2022-01-15 11:50
Location: Germany
Has thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#11 Post by ReShout »

I will not do that now, I kid you not, there is such a thunder storm outside right now, which should've been there 12 hours ago.

Now I will go to sleep, I will be back in like 13-15 hours. Please do write more stuff I should try in order to fix this issue of mine!

User avatar
bw123
Posts: 4046
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 33 times

Re: MT7921e: Wifi doesn't work anymore, tried

#12 Post by bw123 »

Sounds like a monster machine I looked up the specs. Also noticed that mediatek device 14c3:0616 is a known problem for many... If a newer kernel and firmware won't fix it, I'd probably disable/replace it with something else.

There's a new backport of 6.11.5 I've had it running about 8 hrs now.
https://packages.debian.org/bookworm-ba ... +bpo-amd64

v 20240909 of the mediatek firmware is the latest I saw in the repo
https://packages.debian.org/trixie/firmware-mediatek

Hang in there.
bw
resigned by AI ChatGPT

User avatar
ReShout
Posts: 32
Joined: 2022-01-15 11:50
Location: Germany
Has thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#13 Post by ReShout »

brcisna wrote: 2024-11-19 21:55 Still shut computer off unplug power chord,,,Leave shut off for two minutes power back up,,see if any changes.
Hello, I know it sounds stupid, but this worked somehow ??
I'm now writing here on the same PC I had issues yesterday. Taking the power cord out reset my BIOS (not sure that is meant to happen) and the wifi is working! I will still install the required firmware so that I won't have to unplug it ever again haha

Thank you, a lot!

User avatar
ReShout
Posts: 32
Joined: 2022-01-15 11:50
Location: Germany
Has thanked: 2 times

Re: MT7921e: Wifi doesn't work anymore, tried

#14 Post by ReShout »

Hello!
The backport works pretty well, actually got a performance boost in games, an improvement of around 10-16%
bw123 wrote: 2024-11-19 23:19 There's a new backport of 6.11.5 I've had it running about 8 hrs now.
https://packages.debian.org/bookworm-ba ... +bpo-amd64
Also, a silly question.
bw123 wrote: 2024-11-19 23:19 Sounds like a monster machine I looked up the specs.
What exactly did you mean by "monster machine"? It is such a goofy statement, I'd like to know exactly what you meant by that. :lol:

Aki
Global Moderator
Global Moderator
Posts: 3949
Joined: 2014-07-20 18:12
Location: Europe
Has thanked: 109 times
Been thanked: 518 times

Re: MT7921e: Wifi doesn't work anymore, tried

#15 Post by Aki »

Hello,
ReShout wrote: 2024-11-20 13:53
brcisna wrote: 2024-11-19 21:55 Still shut computer off unplug power chord,,,Leave shut off for two minutes power back up,,see if any changes.
Hello, I know it sounds stupid, but this worked somehow ??
I'm now writing here on the same PC I had issues yesterday. Taking the power cord out reset my BIOS (not sure that is meant to happen) and the wifi is working! I will still install the required firmware so that I won't have to unplug it ever again haha

Thank you, a lot!
Please, mark the discussion as "solved" manually adding the text tag "[Solved]" at the beginning of the subject of the first message (after other tags, if any).

Thanks.
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

Post Reply