mbox series

[SRU,PULL,linux-firmware,Mantic] occasional wifi firmware loading failures: wiwlwifi: BE200: Failed to start RT ucode: -110

Message ID 20240111090550.1211328-1-vicamo.yang@canonical.com
State New
Headers show
Series [SRU,PULL,linux-firmware,Mantic] occasional wifi firmware loading failures: wiwlwifi: BE200: Failed to start RT ucode: -110 | expand

Pull-request

https://kernel.ubuntu.com/gitea/vicamo/linux-firmware.git bug-2048853/be200-iwlwifi-fw-update/mantic

Message

You-Sheng Yang Jan. 11, 2024, 9:05 a.m. UTC
BugLink: https://bugs.launchpad.net/bugs/2048853

[Impact]

Within stress reboot tests, iwlwifi may fail to load firmware, triggers retries,
and finally makes wifi operative.

  iwlwifi 0000:05:00.0: Loaded firmware version: 83.d24e06ed.0 gl-c0-fm-c0-83.ucode
  iwlwifi 0000:05:00.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
  iwlwifi 0000:05:00.0: 0x000002F0 | trm_hw_status0
  iwlwifi 0000:05:00.0: 0x00000000 | trm_hw_status1
  iwlwifi 0000:05:00.0: 0x002C27F2 | branchlink2
  iwlwifi 0000:05:00.0: 0x002B79AE | interruptlink1
......
  iwlwifi 0000:05:00.0: UMAC CURRENT PC: 0x8026934e
  iwlwifi 0000:05:00.0: LMAC1 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: LMAC2 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: UMAC CURRENT PC 1: 0x8026934c
  iwlwifi 0000:05:00.0: TCM1 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: RCM1 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: RCM2 CURRENT PC: 0xd0
  iwlwifi 0000:05:00.0: Function Scratch status:
  iwlwifi 0000:05:00.0: 0x01010101 | Func Scratch
  iwlwifi 0000:05:00.0: Failed to start RT ucode: -110
  iwlwifi 0000:05:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).

[Fix]

Resolved in upstream commit 318c64abfb33 ("iwlwifi: update gl FW for core80-165
release").

While the iwlwifi firmware updates come with a sequential manner, it pulls a few
more:

* 765492b8b ("iwlwifi: add new FWs from core81-65 release"), already in Mantic
* a07fd0b96 ("iwlwifi: add new FWs from core83-55 release")
* f27dec616 ("iwlwifi: fix for the new FWs from core83-55 release")

These contain firmware blob for ucore 84/86, and are not used by kernels < v6.7.

[Test Case]

Use checkbox reboot stress test case to observe iwlwifi dmesg logs:

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

[Where problems could occur]

Opaque firmware update. No known issue found yet after the update.

[Other Info]

This affects series with kernels that load iwlwifi ucode 83 firmware, namely
Noble, Mantic, and for oem-6.5, Jammy.

----------------------------------------------------------------
The following changes since commit 5a565209c744cda4abfd711a821c5f5d720843cd:

  UBUNTU: Ubuntu-20230919.git3672ccab-0ubuntu2.5 (2023-12-15 13:49:09 +0100)

are available in the Git repository at:

  https://kernel.ubuntu.com/gitea/vicamo/linux-firmware.git bug-2048853/be200-iwlwifi-fw-update/mantic

for you to fetch changes up to be13ce4fda6d40f6afea4b3153d81efad0c0fff0:

  iwlwifi: update gl FW for core80-165 release (2024-01-11 16:43:32 +0800)

----------------------------------------------------------------
Gregory Greenman (2):
      iwlwifi: add new FWs from core83-55 release
      iwlwifi: fix for the new FWs from core83-55 release

Miri Korenblit (1):
      iwlwifi: update gl FW for core80-165 release

 WHENCE                        |  26 +++++++++++++++++++++++++-
 iwlwifi-gl-c0-fm-c0-83.ucode  | Bin 1799504 -> 1797996 bytes
 iwlwifi-gl-c0-fm-c0-86.ucode  | Bin 0 -> 1840116 bytes
 iwlwifi-gl-c0-fm-c0.pnvm      | Bin 246228 -> 246228 bytes
 iwlwifi-ma-b0-gf-a0-86.ucode  | Bin 0 -> 1695788 bytes
 iwlwifi-ma-b0-gf-a0.pnvm      | Bin 55500 -> 55092 bytes
 iwlwifi-ma-b0-gf4-a0-86.ucode | Bin 0 -> 1670940 bytes
 iwlwifi-ma-b0-gf4-a0.pnvm     | Bin 28024 -> 27820 bytes
 iwlwifi-ma-b0-hr-b0-86.ucode  | Bin 0 -> 1520636 bytes
 iwlwifi-so-a0-gf-a0-86.ucode  | Bin 0 -> 1679788 bytes
 iwlwifi-so-a0-gf-a0.pnvm      | Bin 55580 -> 55172 bytes
 iwlwifi-so-a0-gf4-a0-86.ucode | Bin 0 -> 1653836 bytes
 iwlwifi-so-a0-gf4-a0.pnvm     | Bin 28064 -> 27860 bytes
 iwlwifi-so-a0-hr-b0-86.ucode  | Bin 0 -> 1507388 bytes
 iwlwifi-ty-a0-gf-a0-86.ucode  | Bin 0 -> 1632464 bytes
 iwlwifi-ty-a0-gf-a0.pnvm      | Bin 55484 -> 55020 bytes
 16 files changed, 25 insertions(+), 1 deletion(-)
 create mode 100644 iwlwifi-gl-c0-fm-c0-86.ucode
 create mode 100644 iwlwifi-ma-b0-gf-a0-86.ucode
 create mode 100644 iwlwifi-ma-b0-gf4-a0-86.ucode
 create mode 100644 iwlwifi-ma-b0-hr-b0-86.ucode
 create mode 100644 iwlwifi-so-a0-gf-a0-86.ucode
 create mode 100644 iwlwifi-so-a0-gf4-a0-86.ucode
 create mode 100644 iwlwifi-so-a0-hr-b0-86.ucode
 create mode 100644 iwlwifi-ty-a0-gf-a0-86.ucode

Comments

Juerg Haefliger Jan. 16, 2024, 3:14 p.m. UTC | #1
Applied to linux-firmware mantic branch.

...Juerg


On Thu, 11 Jan 2024 17:05:50 +0800
You-Sheng Yang <vicamo.yang@canonical.com> wrote:

> BugLink: https://bugs.launchpad.net/bugs/2048853
> 
> [Impact]
> 
> Within stress reboot tests, iwlwifi may fail to load firmware, triggers retries,
> and finally makes wifi operative.
> 
>   iwlwifi 0000:05:00.0: Loaded firmware version: 83.d24e06ed.0 gl-c0-fm-c0-83.ucode
>   iwlwifi 0000:05:00.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
>   iwlwifi 0000:05:00.0: 0x000002F0 | trm_hw_status0
>   iwlwifi 0000:05:00.0: 0x00000000 | trm_hw_status1
>   iwlwifi 0000:05:00.0: 0x002C27F2 | branchlink2
>   iwlwifi 0000:05:00.0: 0x002B79AE | interruptlink1
> ......
>   iwlwifi 0000:05:00.0: UMAC CURRENT PC: 0x8026934e
>   iwlwifi 0000:05:00.0: LMAC1 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: LMAC2 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: UMAC CURRENT PC 1: 0x8026934c
>   iwlwifi 0000:05:00.0: TCM1 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: RCM1 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: RCM2 CURRENT PC: 0xd0
>   iwlwifi 0000:05:00.0: Function Scratch status:
>   iwlwifi 0000:05:00.0: 0x01010101 | Func Scratch
>   iwlwifi 0000:05:00.0: Failed to start RT ucode: -110
>   iwlwifi 0000:05:00.0: WRT: Collecting data: ini trigger 13 fired (delay=0ms).
> 
> [Fix]
> 
> Resolved in upstream commit 318c64abfb33 ("iwlwifi: update gl FW for core80-165
> release").
> 
> While the iwlwifi firmware updates come with a sequential manner, it pulls a few
> more:
> 
> * 765492b8b ("iwlwifi: add new FWs from core81-65 release"), already in Mantic
> * a07fd0b96 ("iwlwifi: add new FWs from core83-55 release")
> * f27dec616 ("iwlwifi: fix for the new FWs from core83-55 release")
> 
> These contain firmware blob for ucore 84/86, and are not used by kernels < v6.7.
> 
> [Test Case]
> 
> Use checkbox reboot stress test case to observe iwlwifi dmesg logs:
> 
>   $ checkbox-cli run com.canonical.certification::stress/reboot
> 
> [Where problems could occur]
> 
> Opaque firmware update. No known issue found yet after the update.
> 
> [Other Info]
> 
> This affects series with kernels that load iwlwifi ucode 83 firmware, namely
> Noble, Mantic, and for oem-6.5, Jammy.
> 
> ----------------------------------------------------------------
> The following changes since commit 5a565209c744cda4abfd711a821c5f5d720843cd:
> 
>   UBUNTU: Ubuntu-20230919.git3672ccab-0ubuntu2.5 (2023-12-15 13:49:09 +0100)
> 
> are available in the Git repository at:
> 
>   https://kernel.ubuntu.com/gitea/vicamo/linux-firmware.git bug-2048853/be200-iwlwifi-fw-update/mantic
> 
> for you to fetch changes up to be13ce4fda6d40f6afea4b3153d81efad0c0fff0:
> 
>   iwlwifi: update gl FW for core80-165 release (2024-01-11 16:43:32 +0800)
> 
> ----------------------------------------------------------------
> Gregory Greenman (2):
>       iwlwifi: add new FWs from core83-55 release
>       iwlwifi: fix for the new FWs from core83-55 release
> 
> Miri Korenblit (1):
>       iwlwifi: update gl FW for core80-165 release
> 
>  WHENCE                        |  26 +++++++++++++++++++++++++-
>  iwlwifi-gl-c0-fm-c0-83.ucode  | Bin 1799504 -> 1797996 bytes
>  iwlwifi-gl-c0-fm-c0-86.ucode  | Bin 0 -> 1840116 bytes
>  iwlwifi-gl-c0-fm-c0.pnvm      | Bin 246228 -> 246228 bytes
>  iwlwifi-ma-b0-gf-a0-86.ucode  | Bin 0 -> 1695788 bytes
>  iwlwifi-ma-b0-gf-a0.pnvm      | Bin 55500 -> 55092 bytes
>  iwlwifi-ma-b0-gf4-a0-86.ucode | Bin 0 -> 1670940 bytes
>  iwlwifi-ma-b0-gf4-a0.pnvm     | Bin 28024 -> 27820 bytes
>  iwlwifi-ma-b0-hr-b0-86.ucode  | Bin 0 -> 1520636 bytes
>  iwlwifi-so-a0-gf-a0-86.ucode  | Bin 0 -> 1679788 bytes
>  iwlwifi-so-a0-gf-a0.pnvm      | Bin 55580 -> 55172 bytes
>  iwlwifi-so-a0-gf4-a0-86.ucode | Bin 0 -> 1653836 bytes
>  iwlwifi-so-a0-gf4-a0.pnvm     | Bin 28064 -> 27860 bytes
>  iwlwifi-so-a0-hr-b0-86.ucode  | Bin 0 -> 1507388 bytes
>  iwlwifi-ty-a0-gf-a0-86.ucode  | Bin 0 -> 1632464 bytes
>  iwlwifi-ty-a0-gf-a0.pnvm      | Bin 55484 -> 55020 bytes
>  16 files changed, 25 insertions(+), 1 deletion(-)
>  create mode 100644 iwlwifi-gl-c0-fm-c0-86.ucode
>  create mode 100644 iwlwifi-ma-b0-gf-a0-86.ucode
>  create mode 100644 iwlwifi-ma-b0-gf4-a0-86.ucode
>  create mode 100644 iwlwifi-ma-b0-hr-b0-86.ucode
>  create mode 100644 iwlwifi-so-a0-gf-a0-86.ucode
>  create mode 100644 iwlwifi-so-a0-gf4-a0-86.ucode
>  create mode 100644 iwlwifi-so-a0-hr-b0-86.ucode
>  create mode 100644 iwlwifi-ty-a0-gf-a0-86.ucode
>