Cannot identified WLAN card MT7921 in Ubunut OS with Install OS complete first OOBE Boot OS

Bug #1947829 reported by You-Sheng Yang
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HWE Next
Undecided
Unassigned
OEM Priority Project
Undecided
Unassigned
linux-firmware (Ubuntu)
Undecided
Unassigned
Focal
High
You-Sheng Yang
Impish
High
You-Sheng Yang

Bug Description

[SRU Justification]

[Impact]

Sometimes MT7921 may not be probed due to an endless mcu reset:

  [ 5.789548] mt7921 mcu reset 0
  [ 5.790625] mt7921 rx type 0x7
  [ 5.790625] mt7921 eid 0x1 ext_eid 0x0
  [ 5.790626] mt76_rx_event eid 0x1 ext_eid 0x0

[Fix]

WiFi and Bluetooth firmware updates from mainline:
* e5a80ef8 linux-firmware: update frimware for mediatek bluetooth chip (MT7921)
* d34196f5 linux-firmware: update firmware for MT7921 WiFi device

[Test Case]

This should fix the mcu reset and wireless/bluetooh devices should be
probed successfully.

[Where problems could occur]

While there is explicit FW API for kernel version compatibility checking,
this might introduce some hidden glitches that we don't know yet.

[Other Info]

MT7921 is supported since Impish 5.13 kernel, and Impish already has the
latest Bluetooth firmware, so only the WiFi one is proposed. For oem-5.13
and oem-5.14 in Focal, both firmware updates for Bluetooth and WiFi are
required.

========== original bug report ==========

[Reproduce Steps]
1.Add the wireless card MT7921 to SUT,Install the Ubuntu OS.
2.During OOBE, Open the settings, there is no wireless settings in the panel,and the wifi cannot be used,issue occurred.

[Results]
Expected Result:The wireless settings should be exists and wifi can be used
Actual Result:The wireless settings not exists and wifi can not be used

You-Sheng Yang (vicamo)
tags: added: oem-priority originate-from-1941014 somerville
Revision history for this message
You-Sheng Yang (vicamo) wrote :

MT7921 is supported starting from Impish. Impish has already the latest MT7921 bluetooth fw, but still misses the WiFi one, commit d34196f5 ("linux-firmware: update firmware for MT7921 WiFi device").

Changed in linux-firmware (Ubuntu):
status: New → Fix Released
You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Focal):
status: New → In Progress
Changed in linux-firmware (Ubuntu Impish):
status: New → In Progress
Changed in linux-firmware (Ubuntu Focal):
importance: Undecided → High
Changed in linux-firmware (Ubuntu Impish):
importance: Undecided → High
Changed in linux-firmware (Ubuntu Focal):
assignee: nobody → You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Impish):
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :

[ 5.656047] mt7921e 0000:02:00.0: enabling device (0000 -> 0002)
[ 5.656529] mt7921e 0000:02:00.0: ASIC revision: 79610010
[ 5.787109] mt7921 mcu reset 0
[ 5.788869] mt7921 rx type 0x7
[ 5.788877] mt7921 eid 0x4 ext_eid 0x2
[ 5.788880] mt76_rx_event eid 0x4 ext_eid 0x2
[ 5.789545] mt7921e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20210612122717a
[ 5.789548] mt7921 mcu reset 0
[ 5.790625] mt7921 rx type 0x7
[ 5.790625] mt7921 eid 0x1 ext_eid 0x0
[ 5.790626] mt76_rx_event eid 0x1 ext_eid 0x0
[ 5.790737] mt7921 mcu reset 0
[ 5.795575] mt7921 rx type 0x7
[ 5.795577] mt7921 eid 0x1 ext_eid 0x0
[ 5.795579] mt76_rx_event eid 0x1 ext_eid 0x0
[ 5.795591] mt7921 mcu reset 0
[ 5.795671] mt7921 rx type 0x7
[ 5.795671] mt7921 eid 0x4 ext_eid 0x3
[ 5.795672] mt76_rx_event eid 0x4 ext_eid 0x3
[ 5.796374] mt7921e 0000:02:00.0: WM Firmware Version: ____010000, Build Time: 20210612122753
[ 5.796376] mt7921 mcu reset 0
[ 5.797540] mt7921 rx type 0x7
[ 5.797547] mt7921 eid 0x1 ext_eid 0x0
[ 5.797550] mt76_rx_event eid 0x1 ext_eid 0x0
[ 5.797966] mt7921 mcu reset 0
[ 5.802381] mt7921 rx type 0x7
[ 5.802382] mt7921 eid 0x1 ext_eid 0x0
[ 5.802383] mt76_rx_event eid 0x1 ext_eid 0x0
[ 5.802696] mt7921 mcu reset 0
[ 5.806039] mt7921 rx type 0x7
[ 5.806041] mt7921 eid 0x1 ext_eid 0x0
[ 5.806041] mt76_rx_event eid 0x1 ext_eid 0x0
[ 5.806075] mt7921 mcu reset 0
[ 5.807652] mt7921 rx type 0x7
[ 5.807656] mt7921 eid 0x1 ext_eid 0x0
[ 5.807659] mt76_rx_event eid 0x1 ext_eid 0x0
[ 5.808067] mt7921 mcu reset 0
[ 5.827134] mt7921 rx type 0x7
[ 5.827137] mt7921 eid 0x1 ext_eid 0x0
[ 5.827138] mt76_rx_event eid 0x1 ext_eid 0x0
[ 5.827172] mt7921e 0000:02:00.0: Firmware init done
[ 5.827177] mt7921 mcu reset 0
[ 5.831100] mt7921 rx type 0x7
[ 5.831103] mt7921 eid 0xec ext_eid 0x0
[ 5.831104] mt76_rx_event eid 0xec ext_eid 0x0

then repeatedly reset mcu forever.

Revision history for this message
You-Sheng Yang (vicamo) wrote :
You-Sheng Yang (vicamo)
description: updated
jeremyszu (os369510)
tags: added: originate-from-1936920 stella
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/1.201.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in linux-firmware (Ubuntu Impish):
status: In Progress → Fix Committed
Revision history for this message
Steve Langasek (vorlon) wrote :

Hello You-Sheng, or anyone else affected,

Accepted linux-firmware into focal-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/linux-firmware/1.187.20 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-focal to verification-done-focal. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-focal. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in linux-firmware (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
You-Sheng Yang (vicamo) wrote :

Verified both linux-firmware/focal and linux-firmware/impish.

tags: added: verification-done-focal verification-done-impish
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Update Released

The verification of the Stable Release Update for linux-firmware has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 1.201.1

---------------
linux-firmware (1.201.1) impish; urgency=medium

  * [Packaging] rebase-upstream: Add a bug reference if env variable LP is set
  * Update firmware for MT7921 WiFi/Bluetooth (LP: #1947829)
    - linux-firmware: update firmware for MT7921 WiFi device

 -- Timo Aaltonen <email address hidden> Wed, 20 Oct 2021 15:22:57 +0300

Changed in linux-firmware (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-firmware - 1.187.20

---------------
linux-firmware (1.187.20) focal; urgency=medium

  * amdgpu: Add initial firmware for Beige Goby (LP: #1946304)
  * Update firmware for MT7921 WiFi/Bluetooth (LP: #1947829)
    - linux-firmware: update firmware for mediatek bluetooth chip (MT7921)
    - linux-firmware: update firmware for mediatek bluetooth chip (MT7921)
    - linux-firmware: update firmware for mediatek bluetooth chip (MT7921)
    - linux-firmware: update firmware for MT7921 WiFi device

 -- Timo Aaltonen <email address hidden> Wed, 20 Oct 2021 15:29:05 +0300

Changed in linux-firmware (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Jack Howarth (jwhowarth) wrote :

The changes made to linux-firmware 1.201.1 on impish has destablized use of a Gigabyte GC-WB867D-I REV Bluetooth 4.0/Wireless AC/B/G/N Band Dual Frequency 2.4Ghz/5.8Ghz Expansion Card. Under the new linux-firmware 1.201.1, no wifi is available under Gnome in about 80-90% of the boots. Under the prior linux-firmware 1.201 release, the wifi always appears under Gnome. Below are the differences in syslog for the broken linux-firmware 1.201.1 release...

Nov 3 04:27:07 home kernel: [ 13.045691] iwlwifi 0000:4d:00.0: enabling device (0000 -> 0002)
Nov 3 04:27:07 home kernel: [ 13.055795] iwlwifi 0000:4d:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
Nov 3 04:27:07 home kernel: [ 13.112172] iwlwifi 0000:4d:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230

versus the stable linux-firmware 1.201 release...
Nov 3 04:36:53 home kernel: [ 14.482126] iwlwifi 0000:4d:00.0: enabling device (0000 -> 0002)
Nov 3 04:36:53 home kernel: [ 14.492179] iwlwifi 0000:4d:00.0: loaded firmware version 36.ca7b901d.0 8265-36.ucode op_mode iwlmvm
Nov 3 04:36:53 home kernel: [ 14.548114] iwlwifi 0000:4d:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
Nov 3 04:36:53 home kernel: [ 14.606163] iwlwifi 0000:4d:00.0: base HW address: 00:28:f8:f9:16:e0
Nov 3 04:36:53 home kernel: [ 14.722166] iwlwifi 0000:4d:00.0 wlp77s0: renamed from wlan0

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments