mt7921e device disappear after warm boot stress

Bug #1963614 reported by You-Sheng Yang
22
This bug affects 2 people
Affects Status Importance Assigned to Milestone
HWE Next
Fix Released
Undecided
Unassigned
OEM Priority Project
Fix Released
Undecided
Unassigned
linux-firmware (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Fix Released
High
You-Sheng Yang
Jammy
Fix Released
Undecided
Unassigned

Bug Description

[SRU Justification]

[Impact]

mt7921e may not appear in the bus enumeration during warm boot stress tests.

[Fix]

This can only be fixed in the firmware.

[Test Case]

Run checkbox reboot stress tests to try trigger this issue:

  $ checkbox-cli run com.canonical.certification::stress/reboot

[Where problems could occur]

While this backports proprietary fw blob, it may bring driver
compatibility issues we cannot know in the first place.

Jammy has these already, so only Focal (for oem-5.14) is nominated.
We don't have mt7921e hardware v2.1 support in Impish 5.13 kernel.

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

[Summary]
mt7921 wlan device disappear after warm reset, can be recovered by cold boot.

[Reproduce Steps]
1. do warm boot stress 100 times
2. check wifi function after stress finished
3. wifi has no function and mt7921e device disappeared

[Results]
Expected: wifi works normally
Actual: wifi broken

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1963614

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
You-Sheng Yang (vicamo)
tags: added: oem-priority originate-from-1959195 somerville
You-Sheng Yang (vicamo)
Changed in linux-firmware (Ubuntu Jammy):
status: New → Fix Released
no longer affects: linux (Ubuntu)
no longer affects: linux (Ubuntu Focal)
no longer affects: linux (Ubuntu Jammy)
Changed in linux-firmware (Ubuntu Focal):
status: New → In Progress
importance: Undecided → High
assignee: nobody → You-Sheng Yang (vicamo)
Revision history for this message
You-Sheng Yang (vicamo) wrote :
description: updated
Bin Li (binli)
tags: added: originate-from-1963596 sutton
Juerg Haefliger (juergh)
tags: added: kern-2638
Juerg Haefliger (juergh)
Changed in linux-firmware (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Andy Whitcroft (apw) wrote : Please test proposed package

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.28 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.

Bin Li (binli)
tags: added: originate-from-1964309
Revision history for this message
You-Sheng Yang (vicamo) wrote :

The pull request contains two commits, yet only the first one was cherry-picked into 1.187.28:

* 743e3f68aad1 (vicamo/bug-1963614/MT7921-fallen-off-pci-bus/focal-pull) linux-firmware: update firmware for mediatek bluetooth chip(MT7921)
| WHENCE | 2 +-
| mediatek/BT_RAM_CODE_MT7961_1_2_hdr.bin | Bin 512494 -> 516078 bytes
| 2 files changed, 1 insertion(+), 1 deletion(-)
* 8b98db0c1dbb linux-firmware: update firmware for MT7921 WiFi device
| WHENCE | 4 ++--
| mediatek/WIFI_MT7961_patch_mcu_1_2_hdr.bin | Bin 92192 -> 92192 bytes
| mediatek/WIFI_RAM_CODE_MT7961_1.bin | Bin 694984 -> 694728 bytes
| 3 files changed, 2 insertions(+), 2 deletions(-)

tags: added: verification-failed-focal
Revision history for this message
Andy Whitcroft (apw) 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.29 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.

Revision history for this message
Kai-Chuan Hsieh (kchsieh) wrote :

Test 1.187.29 on WVB4-DVT2-A2, BIOS 1.2.0, can pass 50 times reboot stress.

1. enable proposed
2. $ sudo apt install linux-firmware
3. $ sudo add-apt-repository ppa:checkbox-dev/ppa
4. $ sudo apt install checkbox-ng plainbox-provider-checkbox
5. $ sudo /usr/lib/plainbox-provider-checkbox/bin/pm_test.py -r 50 reboot

Wi-Fi works normally after 50 times reboot.

tags: added: verification-done-focal
removed: verification-failed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

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

  * mt7921e device disappear after warm boot stress (LP: #1963614)
    - linux-firmware: update firmware for MT7921 WiFi device

linux-firmware (1.187.28) focal; urgency=medium

  * bnx2x: Add FW 7.13.21.0 (LP: #1962155)
    - bnx2x: Add FW 7.13.20.0
    - bnx2x: Add FW 7.13.21.0
  * Add missing firmware for HWE 5.15 kernel (LP: #1962299)
    - linux-firmware: wilc1000: add wilc1000 v15.4 FW
    - linux-firmware: Update AMD SEV firmware
    - linux-firmware: Update AMD SEV firmware
    - linux-firmware: Update AMD SEV firmware
    - Mellanox: Add new mlxsw_spectrum firmware xx.2008.2406
    - amdgpu: add initial support for navy flounder
    - amdgpu: add arcturus firmware
    - rtl_nic: add new firmware for RTL8153 and RTL8156 series
    - amdgpu: update navy flounder firmware from 21.10
    - amdgpu: update arcturus firmware from 21.10
    - firmware: nvidia: Add VIC firmware for Tegra194
    - amdgpu: update navy flounder firmware from 21.20
    - amdgpu: update arcturus firmware from 21.20
    - firmware/i915/guc: Add GuC v62.0.0 for all platforms
    - firmware/i915/guc: Add GuC v62.0.3 for ADL-P
    - firmware/i915/guc: Add HuC v7.9.3 for TGL & DG1
    - iwlwifi: add ty firmware from Core63-43
    - i915: Add v2.12 DMC for TGL
    - i915: Add v2.03 DMC for RKL
    - amdgpu: update arcturus firmware from 21.30
    - amdgpu: update navy flounder firmware from 21.30
    - amdgpu: add initial vangogh support
    - rtl_nic: update firmware of RTL8153C
    - linux-firmware: Update AMD SEV firmware
    - amdgpu: update VCN firmware for vangogh
    - amdgpu: update VCN firmware for navy flounder
    - amdgpu: update arcturus firmware from 21.40
    - amdgpu: update navy flounder firmware from 21.40
    - amdgpu: add cyan skillfish firmware from 21.40
    - amdgpu: update vangogh firmware from 21.40
    - amdgpu: update vangogh DMCUB firmware
    - linux-firmware: wilc1000: update WILC1000 firmware to v15.4.1
    - iwlwifi: add new FWs from core63-136 release
    - amdgpu: Add aldebaran firmware from 21.50
    - amdgpu: Update arcturus firmware from 21.50
    - amdgpu: Update cyan skillfish2 firmware from 21.50
    - amdgpu: Update navy flounder firmware from 21.50
    - amdgpu: Update vangogh firmware from 21.50
    - WHENCE: link to similar config file for rtl8821a support
  * Intermittent AX211 iwlwifi RT ucode init failed -110 at boot (LP: #1962515)
    - iwlwifi: add new FWs from core64-96 release
  * mt7921e device disappear after warm boot stress (LP: #1963614)
    - linux-firmware: update firmware for mediatek bluetooth chip(MT7921)

 -- Juerg Haefliger <email address hidden> Thu, 10 Mar 2022 08:05:39 +0100

Changed in linux-firmware (Ubuntu Focal):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) 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.

Timo Aaltonen (tjaalton)
Changed in oem-priority:
status: New → Fix Released
Changed in hwe-next:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.