Bug 2223079

Summary: A patch to fix mt7921e "hardware init failed"
Product: [Fedora] Fedora Reporter: Artem S. Tashkinov <aros>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 38CC: acaringi, adscvr, airlied, alciregi, bskeggs, hdegoede, hpa, jarodwilson, josef, kernel-maint, lgoncalv, linville, masami256, mchehab, ptalbert, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-6.4.4-100.fc37 kernel-6.4.4-200.fc38 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-23 01:24:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Artem S. Tashkinov 2023-07-15 09:42:58 UTC
It's only in Linux 6.5 that's yet to be released the following bug is addressed:

mt7921e 0000:01:00.0: ASIC revision: 79220010
mt7921e 0000:01:00.0: Message 00000010 (seq 1) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: Message 00000010 (seq 2) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: Message 00000010 (seq 3) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: Message 00000010 (seq 4) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: Message 00000010 (seq 5) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: Message 00000010 (seq 6) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: Message 00000010 (seq 7) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: Message 00000010 (seq 8) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: Message 00000010 (seq 9) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: Message 00000010 (seq 10) timeout
mt7921e 0000:01:00.0: Failed to get patch semaphore
mt7921e 0000:01:00.0: hardware init failed

which renders mt7921e based Wi-Fi chips unusable under Fedora.

There's a patch upstream which fixes this behavior, it applies to 6.4 as well.

Please add it to Fedora's 6.4 kernel.

Relevant bug report: https://bugzilla.kernel.org/show_bug.cgi?id=217506

Patch: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/drivers/net/wireless/mediatek/mt76/mt7921?id=525c469e5de9bf7e53574396196e80fc716ac9eb

Comment 1 Fedora Update System 2023-07-20 13:55:32 UTC
FEDORA-2023-3661f028b8 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-3661f028b8

Comment 2 Fedora Update System 2023-07-20 13:55:44 UTC
FEDORA-2023-e4e985b5dd has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-e4e985b5dd

Comment 3 Fedora Update System 2023-07-21 01:33:36 UTC
FEDORA-2023-3661f028b8 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-3661f028b8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-3661f028b8

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

Comment 4 Fedora Update System 2023-07-21 02:20:49 UTC
FEDORA-2023-e4e985b5dd 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-e4e985b5dd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-e4e985b5dd

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

Comment 5 Fedora Update System 2023-07-23 01:24:18 UTC
FEDORA-2023-3661f028b8 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2023-07-23 01:28:34 UTC
FEDORA-2023-e4e985b5dd has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.