** Description changed:

+ SRU Justification
+ 
+ Topic: Intel BE211 Wi-Fi missing on 7.0 kernel, firmware crashes at load
+ 
+ [Impact]
+ On HP systems (CID: 202603-38481) with Intel Wi-Fi 7 BE211 (8086:e440, Sc + 
WH-B0 radio),
+ the 7.0 kernel has no Wi-Fi. iwlwifi loads iwlwifi-sc-a0-wh-b0-c101.ucode, 
the firmware
+ crashes 3 times during init and probe gives up. No wireless interface is 
created.
+ 
+ Error log (7.0.0-44-generic):
+ iwlwifi 0000:00:14.3: loaded firmware version 101.6e695a70.0 
sc-a0-wh-b0-c101.ucode op_mode iwlmld
+ iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
+ iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
+ iwlwifi 0000:00:14.3: 0x20100852 | ADVANCED_SYSASSERT
+ iwlwifi 0000:00:14.3: Failed to send PHY config command: -5
+ 
+ Hits 100% of boots on every 7.0 kernel tried (7.0.0-14 to 7.0.0-44).
+ 6.17-oem works, because it loads the older iwlwifi-sc-a0-wh-b0-101.ucode 
(101.80584591.0).
+ 
+ The c101 firmware (core101-82 release) is the bad part. Intel never released 
a fixed c101.
+ The c102 firmware in noble today (102.07fca168.0, core102-56) crashes the 
same way.
+ Only the updated c102 firmware (102.651bbed6.0) works.
+ 
+ [Fix]
+ Two parts. Both are needed. Either one alone leaves Wi-Fi broken.
+ 
+ Kernel (linux-hwe-7.0 / linux 7.0):
+ c74abe31142db wifi: iwlwifi: bump core version for BZ/SC/DR
+ Raises the max firmware core for BZ/SC/DR from 101 to 102, so iwlwifi asks 
for -c102.ucode
+ first. Upstream in v7.1. Clean cherry-pick.
+ 
+ Firmware (linux-firmware, noble):
+ 95751f54eb5c iwlwifi: update Sc/Wh FW for core102
+ Replaces iwlwifi-sc-a0-wh-b0-c102.ucode with 102.651bbed6.0.
+ Upstream in linux-firmware 20261124.
+ 
+ [Test Plan]
+ On the affected HP system (CID: 202603-38481), boot the kernel and check 
Wi-Fi:
+ 
+ $ ls -d /sys/class/net/*/wireless
+ $ sudo dmesg | grep -E "iwlwifi.*(loaded firmware|Microcode SW error)"
+ 
+ Without the fix: c101 (101.6e695a70.0) loads, 3 "Microcode SW error" lines,
+ no wireless interface.
+ With the fix: "loaded firmware version 102.651bbed6.0 sc-a0-wh-b0-c102.ucode",
+ no "Microcode SW error", wlp0s20f3 exists and a scan lists access points:
+ $ nmcli dev wifi list
+ 
+ Tested with a 7.0.0-45 based test kernel with c74abe31142db plus the 
102.651bbed6.0 blob.
+ Wi-Fi came up on 3 of 3 driver reloads and a scan found 77 SSIDs.
+ The same kernel with the current noble c102 (102.07fca168.0) still crashed.
+ 
+ [Where problems could occur]
+ Could break iwlwifi on all BZ, SC and DR devices, not just BE211.
+ 
+ The kernel patch moves every BZ/SC/DR device from the c101 firmware to the 
c102 firmware.
+ That includes BE201 (iwlwifi-bz-b0-fm-c0-c102.ucode) and other blobs that the 
firmware
+ patch does not update. If one of those c102 blobs is bad on some card, that 
card shows the
+ same firmware crash ("Microcode SW error", "Failed to send PHY config 
command") and
+ loses Wi-Fi.
+ 
+ If the kernel lands without the firmware update, BE211 loads the old c102 
(102.07fca168.0)
+ and still has no Wi-Fi. The kernel and firmware SRUs must be released 
together.
+ 
+ The firmware patch only replaces the Sc/WH-B0 c102 blob. 6.17-oem does not 
load c102 files,
+ so it is not affected.
+ 
+ 
+ ======================================
+ 
  [Summary]
  The machine failed on the OEM SRU job
  
"cert-oem-sru-noble-desktop-hp-elitebook-8-g2i-13-inch-notebook-next-gen-ai-pc-c38481",
 build #4
  
(http://10.102.156.15:8080/job/cert-oem-sru-noble-desktop-hp-elitebook-8-g2i-13-inch-notebook-next-gen-ai-pc-c38481/4/),
  on the wireless test:
  
-   wireless/detect: No devices detected by udev
+   wireless/detect: No devices detected by udev
  
  The Wi-Fi card is already gone before that test runs: during boot iwlwifi 
loads the c101 firmware,
  the UMAC hits a fatal assert and no wireless interface is ever created. The 
rest of the machine
  works normally, only the wireless device is lost.
  
  [Steps to Reproduce]
  1. Install GM image (stella-noble-oem-24.04d-20260701-89).
  2. Run the full OEM SRU suite. (wireless/detect alone reproduces it, because 
the card is already
-    missing at boot.)
+    missing at boot.)
  3. Observe the wireless test result on the machine:
-    - wireless/detect: No devices detected by udev
-    - dmesg: iwlwifi 0000:00:14.3: loaded firmware version 101.6e695a70.0 
sc-a0-wh-b0-c101.ucode
-      op_mode iwlmld
-            iwlwifi 0000:00:14.3: Detected RF WH, rfid=0x20113100
-            iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
-            iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
-            iwlwifi 0000:00:14.3: 0x20100852 | ADVANCED_SYSASSERT
-    The machine keeps running and the rest of the suite works; the wireless 
interface (wlp0s20f3)
-    never appears.
+    - wireless/detect: No devices detected by udev
+    - dmesg: iwlwifi 0000:00:14.3: loaded firmware version 101.6e695a70.0 
sc-a0-wh-b0-c101.ucode
+      op_mode iwlmld
+            iwlwifi 0000:00:14.3: Detected RF WH, rfid=0x20113100
+            iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
+            iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
+            iwlwifi 0000:00:14.3: 0x20100852 | ADVANCED_SYSASSERT
+    The machine keeps running and the rest of the suite works; the wireless 
interface (wlp0s20f3)
+    never appears.
  
  [Affected Machines]
  202603-38481 - HP EliteBook 8 G2i 13 inch Notebook Next Gen AI PC (base board 
8ED5, SKU 1234567#ABA,
  BIOS Y70 Ver. 01.01.06 04/02/2026)
  C3: https://certification.canonical.com/hardware/202603-38481/
  
  [Failure Rate]
  100% on 7.0.0 (10/10 kernels: -14, -28, -29, -30, -31, -34, -38, -42, -43, 
-44). 0% on 6.17.0-oem
  (11/11 kernels: -1011 to -1033).
  
  [Environment]
  Machine:        HP EliteBook 8 G2i 13 inch Notebook Next Gen AI PC
  Base board:     8ED5, SKU 1234567#ABA, BIOS Y70 Ver. 01.01.06 (2026-04-02)
  OS:             Ubuntu 24.04.4 LTS (noble), amd64
  Image:          GM image stella-noble-oem-24.04d-20260701-89
  Wireless:       Intel Wi-Fi 7 BE211 320MHz, PCI 8086:e440, rev 0x480, rfid 
0x20113100
  Driver:         iwlwifi, op_mode iwlmld
  Firmware 7.0:   iwlwifi-sc-a0-wh-b0-c101.ucode 101.6e695a70.0
  Firmware 6.17:  iwlwifi-sc-a0-wh-b0-101.ucode 101.80584591.0
  Failing kernel: 7.0.0-44-generic (linux-hwe-7.0 7.0.0-44.44~24.04.1); build 
#4 ran 7.0.0-43-generic
  Good kernel:    6.17.0-1028-oem (linux-oem-6.17 6.17.0-1028.28, meta 
linux-oem-24.04d)
  
  ---
  
  [Notes]
  
  After debugging, neither the card nor the driver is broken: the c101 firmware 
blob is what crashes.
  On the same kernel (7.0.0-44), with the same file name, replacing only the 
blob content with the
  older firmware (101.80584591.0) brings the card up (wlp0s20f3, base HW 
address 64:4a:7d:df:e2:33).
  6.17.0-oem never asks for the c101 variant, which is why it is unaffected.
  
  [Expected Result]
  The BE211 is probed, wlp0s20f3 exists and wireless/detect passes.
  
  [Actual Result]
  iwlwifi probes the card, loads 101.6e695a70.0 sc-a0-wh-b0-c101.ucode, detects 
RF WH and then
  crashes 0.6 s later:
  
-   [    4.010962] iwlwifi 0000:00:14.3: loaded firmware version 101.6e695a70.0 
sc-a0-wh-b0-c101.ucode op_mode iwlmld
-   [    4.564989] iwlwifi 0000:00:14.3: Detected RF WH, rfid=0x20113100
-   [    4.586242] iwlwifi 0000:00:14.3: Microcode SW error detected. 
Restarting 0x0.
-   [    4.586304] iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
-   [    4.586419] iwlwifi 0000:00:14.3: 0x20100852 | ADVANCED_SYSASSERT
-   [    4.586458] iwlwifi 0000:00:14.3: 0x000026B6 | tcm branchlink2
-   [    4.586465] iwlwifi 0000:00:14.3: 0x000002F0 | tcm HW status[0]
+   [    4.010962] iwlwifi 0000:00:14.3: loaded firmware version 101.6e695a70.0 
sc-a0-wh-b0-c101.ucode op_mode iwlmld
+   [    4.564989] iwlwifi 0000:00:14.3: Detected RF WH, rfid=0x20113100
+   [    4.586242] iwlwifi 0000:00:14.3: Microcode SW error detected. 
Restarting 0x0.
+   [    4.586304] iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
+   [    4.586419] iwlwifi 0000:00:14.3: 0x20100852 | ADVANCED_SYSASSERT
+   [    4.586458] iwlwifi 0000:00:14.3: 0x000026B6 | tcm branchlink2
+   [    4.586465] iwlwifi 0000:00:14.3: 0x000002F0 | tcm HW status[0]
  
  After the crash: no wlan interface in /sys/class/net (wifi_ifaces=0), three 
"Microcode SW error"
  hits in dmesg (microcode_err=3), lspci still lists 8086:e440.
  
  [Affected Test Cases]
  wireless/detect (Category: Wireless networking tests) - "No devices detected 
by udev". Every job
  that depends on a wireless interface is skipped afterwards.
  
  [Kernel Switch Matrix]
  Same image, same machine, one kernel at a time via grub-reboot.
  
-   image / userspace      kernel                               wifi_ifaces   
microcode_err   result
-   GM image               6.17.0-1011 .. 1033-oem (11)         1             0 
              PASS (11/11)
-   dist-upgraded          6.17.0-1011 .. 1033-oem (11)         1             0 
              PASS (11/11)
-   dist-upgraded          7.0.0-14, -28, -29, -30, -31, -34,   0             3 
              FAIL (10/10)
-                          -38, -42, -43, -44
-   dist-upgraded 7.0.0-44 + c101 blob replaced by the
-                          101 blob (same file name)            1             0 
              PASS
-   6.17 kernels load sc-a0-wh-b0-101.ucode (101.80584591.0); 7.0 kernels load
-   sc-a0-wh-b0-c101.ucode (101.6e695a70.0).
+   image / userspace      kernel                               wifi_ifaces   
microcode_err   result
+   GM image               6.17.0-1011 .. 1033-oem (11)         1             0 
              PASS (11/11)
+   dist-upgraded          6.17.0-1011 .. 1033-oem (11)         1             0 
              PASS (11/11)
+   dist-upgraded          7.0.0-14, -28, -29, -30, -31, -34,   0             3 
              FAIL (10/10)
+                          -38, -42, -43, -44
+   dist-upgraded 7.0.0-44 + c101 blob replaced by the
+                          101 blob (same file name)            1             0 
              PASS
+   6.17 kernels load sc-a0-wh-b0-101.ucode (101.80584591.0); 7.0 kernels load
+   sc-a0-wh-b0-c101.ucode (101.6e695a70.0).
  
  [Bisect Method]
  Kernels installed side by side and selected with a one-shot grub-reboot entry:
  
-   sudo apt-get install -y linux-image-<version>
-   sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux <version>'
-   sudo reboot
-   # wait for ssh, then until /proc/uptime >= 90
-   ls -d /sys/class/net/*/wireless | wc -l
-   sudo dmesg | grep -c "Microcode SW error"
-   sudo dmesg | grep -m1 "loaded firmware version"
+   sudo apt-get install -y linux-image-<version>
+   sudo grub-reboot 'Advanced options for Ubuntu>Ubuntu, with Linux <version>'
+   sudo reboot
+   # wait for ssh, then until /proc/uptime >= 90
+   ls -d /sys/class/net/*/wireless | wc -l
+   sudo dmesg | grep -c "Microcode SW error"
+   sudo dmesg | grep -m1 "loaded firmware version"
  
  Firmware isolation on one kernel (no kernel or userspace change):
  
-   sudo cp /lib/firmware/intel/iwlwifi/iwlwifi-sc-a0-wh-b0-c101.ucode.zst 
/root/c101.bak
-   sudo cp /lib/firmware/intel/iwlwifi/iwlwifi-sc-a0-wh-b0-101.ucode.zst \
-           /lib/firmware/intel/iwlwifi/iwlwifi-sc-a0-wh-b0-c101.ucode.zst
-   sudo modprobe -r iwlmld; sudo modprobe -r iwlwifi; sudo modprobe iwlwifi
-   # restore: sudo cp /root/c101.bak 
/lib/firmware/intel/iwlwifi/iwlwifi-sc-a0-wh-b0-c101.ucode.zst
+   sudo cp /lib/firmware/intel/iwlwifi/iwlwifi-sc-a0-wh-b0-c101.ucode.zst 
/root/c101.bak
+   sudo cp /lib/firmware/intel/iwlwifi/iwlwifi-sc-a0-wh-b0-101.ucode.zst \
+           /lib/firmware/intel/iwlwifi/iwlwifi-sc-a0-wh-b0-c101.ucode.zst
+   sudo modprobe -r iwlmld; sudo modprobe -r iwlwifi; sudo modprobe iwlwifi
+   # restore: sudo cp /root/c101.bak 
/lib/firmware/intel/iwlwifi/iwlwifi-sc-a0-wh-b0-c101.ucode.zst
  
  [Upgrade Scope]
  The failing run is the GM image after dist-upgrade (1120 packages upgraded, 
94 installed, none
  removed). Related changes: linux-firmware 20240318.git3b128b60-0ubuntu2.27 ->
  20240318.git3b128b60-0ubuntu3.1 (split into 16 binary packages, the c101 blob 
ships in
  linux-firmware-intel-wireless 3.1) and linux-hwe-7.0 7.0.0-44 
(linux-image-7.0.0-44-generic).
  
  [Isolation Experiments]
  - Firmware swap on 7.0.0-44 (decisive): same kernel, same file name, only the 
blob content replaced
-   by 101.80584591.0 -> card probes, base HW address 64:4a:7d:df:e2:33, 
wlp0s20f3 created,
-   no "Microcode SW error"; the packaged c101 blob was restored from the 
backup afterwards.
+   by 101.80584591.0 -> card probes, base HW address 64:4a:7d:df:e2:33, 
wlp0s20f3 created,
+   no "Microcode SW error"; the packaged c101 blob was restored from the 
backup afterwards.
  - 6.17.0-oem on the same machine and image is unaffected: the driver requests
-   sc-a0-wh-b0-101.ucode (101.80584591.0), never c101.
+   sc-a0-wh-b0-101.ucode (101.80584591.0), never c101.
  - The crash happens every boot, deterministic (10/10 7.0 kernels, 3 
"Microcode SW error" per boot),
-   and the device never comes back.
+   and the device never comes back.
  - The card is still visible on PCI (8086:e440, rev 0x480) after the crash, so 
this is not a
-   platform/BIOS/PCIe enumeration problem.
+   platform/BIOS/PCIe enumeration problem.
  - linux-firmware-intel-wireless 3.1 also ships sc-a0-wh-b0-c102.ucode and 
-c103.ucode, which the
-   7.0.0-44 driver does not request for this device.
+   7.0.0-44 driver does not request for this device.
  
  [Root Cause]
  The c101 firmware blob (101.6e695a70.0, sc-a0-wh-b0-c101.ucode) crashes in 
UMAC on BE211
  (8086:e440) right after RF detection: NMI_INTERRUPT_UMAC_FATAL with 
ADVANCED_SYSASSERT 0x20100852
  and DEADBEEF-filled data2/data3 registers. The same signature class is 
already known for core 100
  and core 101 firmware on this platform (UMAC fatal, ADVANCED_SYSASSERT), and 
here it is a hard
  failure at probe time instead of a rare runtime crash.
  
  The 7.0 kernel is the first one to request the c101 API variant for this 
device, which is why the
  failure appears with 7.0.0 build and not with 6.17.0-oem, on identical 
hardware, image and
  userspace.
  
  [Proposed Fix / Patch]
  No patch yet. Options:
  - Update or replace the c101 blob (Intel firmware fix), or ship a firmware 
revision that does not
-   crash on BE211 for this driver API.
+   crash on BE211 for this driver API.
  - Kernel side: make iwlwifi fall back to a working API level for this 
device/stepping when the
-   c101 firmware dies, instead of leaving the device dead.
+   c101 firmware dies, instead of leaving the device dead.
  - Short-term workaround, verified here: run the card with the 101 firmware 
(101.80584591.0) under
-   7.0.0-44; it probes and works.
+   7.0.0-44; it probes and works.
  
  [Verification Plan]
  On the fixed kernel/firmware: boot 7.0.0, expect "loaded firmware version 
<...>" followed by
  "Detected RF WH", "base HW address 64:4a:7d:df:e2:33" and wlp0s20f3 to exist, 
no "Microcode SW
  error" in dmesg, and wireless/detect to pass. Keep a 6.17.0-oem boot on the 
same image as the
  control.
  
  [Additional Information]
  - Attachments: iwlwifi dmesg excerpt from the failing run, kernel switch 
matrix, firmware swap log.
  - This machine also fails S2idleNotDeepest on 7.0.0-43 (slp_s0_residency_usec 
delta 0). That is the
-   separate S0ix counter issue tracked in bug #2179434 and is not related to 
the wireless failure.
+   separate S0ix counter issue tracked in bug #2179434 and is not related to 
the wireless failure.
  - 7.0.0 builds published in noble-updates/security at the time of testing: 
14, 28, 29, 30, 31, 34,
-   38, 42, 43, 44.
+   38, 42, 43, 44.

** Also affects: linux-firmware (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: linux-firmware (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2179443

Title:
  [SRU] HP EliteBook 8 G2i 13 inch Fails on wireless test

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2179443/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to