FS#80118 - [linux-firmware] Crash for Intel Corporation Raptor Lake PCH CNVi WiFi

Attached to Project: Arch Linux
Opened by Martin Schmidt (Blind) - Tuesday, 31 October 2023, 16:02 GMT
Last edited by Toolybird (Toolybird) - Friday, 03 November 2023, 19:03 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Latest firmware package create crash for "Intel Corporation Raptor Lake PCH CNVi WiFi (rev 01)"

Additional info:
* package version(s)
core/linux-firmware 20230918.3672ccab-1

* config and/or log files etc.
===== lspci
00:14.3 Network controller: Intel Corporation Raptor Lake PCH CNVi WiFi (rev 01)
Subsystem: Intel Corporation Device 4090
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 16
IOMMU group: 12
Region 0: Memory at 62871a4000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi
Kernel modules: iwlwifi

===== Kernel log
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 6
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: Loaded firmware version: 83.e8f84e98.0 so-a0-gf-a0-83.ucode
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x008002F1 | trm_hw_status0
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x004DB338 | branchlink2
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0000821C | interruptlink1
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0000821C | interruptlink2
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0001551C | data1
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000010 | data2
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000000 | data3
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x003742E2 | beacon time
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0008E7FB | tsf low
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0FFFFFCF | time gp1
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x000A2C06 | time gp2
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000053 | uCode version major
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0xE8F84E98 | uCode version minor
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000370 | hw version
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00480002 | board version
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0000001C | hcmd
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00023000 | isr0
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0104C000 | isr1
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x48F00002 | isr2
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00C3000C | isr3
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000000 | isr4
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00200103 | last cmd Id
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0001551C | wait_event
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00002BB6 | l2p_control
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000C02 | l2p_duration
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000003 | l2p_mhvalid
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00F1004C | l2p_addr_match
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0000000B | lmpm_pmg_sel
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000000 | timestamp
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0000305C | flow_handler
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: Transport status: 0x0000004A, valid: 7
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x2010190E | ADVANCED_SYSASSERT
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x80471ABC | umac branchlink2
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0xC0081500 | umac interruptlink1
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0102171C | umac data1
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0xDEADBEEF | umac data2
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0xDEADBEEF | umac data3
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000053 | umac major
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0xE8F84E98 | umac minor
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x000A2C00 | frame pointer
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0xC0886BE0 | stack pointer
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0021010D | last host cmd
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: IML/ROM dump:
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000B03 | IML/ROM error/state
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00008112 | IML/ROM data1
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000090 | IML/ROM WFPM_AUTH_KEY_0
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: Fseq Registers:
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x003E0003 | FSEQ_TOP_INIT_VERSION
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00190003 | FSEQ_CNVIO_INIT_VERSION
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x0000A652 | FSEQ_OTP_VERSION
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00080400 | FSEQ_CNVI_ID
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00400410 | FSEQ_CNVR_ID
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00080400 | CNVI_AUX_MISC_CHIP
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00400410 | CNVR_AUX_MISC_CHIP
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00009061 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00000061 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x00190003 | FSEQ_PREV_CNVIO_INIT_VERSION
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x003E0003 | FSEQ_WIFI_FSEQ_VERSION
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x003E0003 | FSEQ_BT_FSEQ_VERSION
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: 0x000000C8 | FSEQ_CLASS_TP_VERSION
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: UMAC CURRENT PC: 0x80493890
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: LMAC1 CURRENT PC: 0xd0
Oct 31 09:18:24 cray kernel: iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
Oct 31 09:18:25 cray kernel: iwlwifi 0000:00:14.3: Scan failed! ret -5
Oct 31 09:18:25 cray kernel: iwlwifi 0000:00:14.3: WRT: Invalid buffer destination

Steps to reproduce:
Update to latest linux-firmware pacakge
Boot
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 03 November 2023, 19:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  linux-firmware 20231030.2b304bfe-1
Comment by loqs (loqs) - Tuesday, 31 October 2023, 16:38 GMT
so-a0-gf-a0-83.ucode was introduced in [1] which has been packaged since linux-firmware 20230804.7be2766d-1. Did that release also have the issue? As there is no indication this is a packaging issue; is there an upstream bug report?

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/iwlwifi-so-a0-gf-a0-83.ucode?id=b255f5b92998d0277f1068e69768e3e70aae5210
Comment by BryanLiang (BryanLiang) - Wednesday, 01 November 2023, 09:33 GMT
I'm not using Raptor Lake PCH CNVi WiFi (rev 01), but using Intel AX210. After upgrade to linux-firmware 20230918.3672ccab-1, I met the similar situation.

log: https://pastebin.com/raw/iuPeDFwJ
Comment by loqs (loqs) - Wednesday, 01 November 2023, 15:07 GMT
ty-a0-gf-a0-83.ucode [1] was introduced in the same commit as so-a0-gf-a0-83.ucode. Which version were you upgrading from? Does downgrading to that version again resolve the issue? Is there an upstream bug report?

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/commit/iwlwifi-ty-a0-gf-a0-83.ucode?id=b255f5b92998d0277f1068e69768e3e70aae5210
Comment by BryanLiang (BryanLiang) - Thursday, 02 November 2023, 08:50 GMT
I am upgrading from linux-firmware 20230804, which did not have this problem.
Comment by loqs (loqs) - Thursday, 02 November 2023, 09:09 GMT
> I am upgrading from linux-firmware 20230804, which did not have this problem.
Strange as ty-a0-gf-a0-83.ucode which is the firmware being used from the log you posted is the same in linux-firmware-20230804.7be2766d-1 and linux-firmware-20230804.7be2766d-2 as in linux-firmware 20230918.3672ccab-1.
sha256sum usr/lib/firmware/iwlwifi-ty-a0-gf-a0-83.ucode.zst
282358e42937c755cb078d9767f28540729176082a7b39b7e6e7da8083ced03b usr/lib/firmware/iwlwifi-ty-a0-gf-a0-83.ucode.zst
Comment by BryanLiang (BryanLiang) - Friday, 03 November 2023, 09:26 GMT
After upgrading to linux-firmware from 20230918 to 20231030.2b304bfe-1, the errors are gone.
Comment by loqs (loqs) - Friday, 03 November 2023, 10:53 GMT
@Blind is the issue also fixed for you in linux-firmware 20231030.2b304bfe-1?
Comment by Martin Schmidt (Blind) - Friday, 03 November 2023, 15:25 GMT
Thanks, everyone, for looking into this.

Yes, I can confirm that I do not see the kernel crash anymore (booted once) after upgrading to
linux-firmware 20231030.2b304bfe-1

Loading...