With kernel 5.16.0 (and current linux-firmware), the iwlwifi driver doesn't work at all because the firmware crashes on load. Bisecting shows the problem is the newer firmware versions loaded by 5.16.0 -- reverting to iwlwifi-cc-a0-66.ucode (with the driver otherwise unchanged) makes it work. iwlwifi-cc-a0-67.ucode doesn't work; neither does iwlwifi-cc-a0-68.ucode (after increasing IWL_22000_UCODE_API_MAX in the driver). iwlwifi-cc-a0-66.ucode (which was also used by 5.15.x) is ok. This has been verified with the onboard WiFi chips on an ASRock X570 Phantom Gaming 4 WiFi ax and an ASUS ROG CROSSHAIR VIII HERO (WI-FI) board (both use an AX200 -- PCI ID 8086:2723, subsystem 8086:0084, rev 1a, with an X570 chipset). ASRock: 04:00.0 0280: 8086:2723 (rev 1a) Subsystem: 8086:0084 Flags: bus master, fast devsel, latency 0, IRQ 34 Memory at fca00000 (64-bit, non-prefetchable) [size=16K] ASUS: 06:00.0 0280: 8086:2723 (rev 1a) Subsystem: 8086:0084 Flags: fast devsel, IRQ 37, IOMMU group 24 Memory at fc800000 (64-bit, non-prefetchable) [size=16K] relevant dmesg bits when using firmware 67 or 68: [Tue Jan 11 20:05:18 2022] Intel(R) Wireless WiFi driver for Linux [Tue Jan 11 20:05:18 2022] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002) [Tue Jan 11 20:05:18 2022] iwlwifi 0000:04:00.0: api flags index 2 larger than supported by driver [Tue Jan 11 20:05:18 2022] iwlwifi 0000:04:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37 [Tue Jan 11 20:05:18 2022] iwlwifi 0000:04:00.0: loaded firmware version 67.8f59b80b.0 cc-a0-67.ucode op_mode iwlmvm [Tue Jan 11 20:05:18 2022] iwlwifi 0000:04:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340 [Tue Jan 11 20:05:18 2022] iwlwifi 0000:04:00.0: Detected RF HR B3, rfid=0x10a100 [Tue Jan 11 20:05:18 2022] iwlwifi 0000:04:00.0: base HW address: d0:ab:d5:94:a1:6a [Tue Jan 11 20:05:18 2022] iwlwifi 0000:04:00.0 wlp4s0: renamed from wlan0 [Tue Jan 11 20:05:23 2022] wlp4s0: authenticate with 88:d7:f6:e4:77:f4 [Tue Jan 11 20:05:23 2022] wlp4s0: send auth to 88:d7:f6:e4:77:f4 (try 1/3) [Tue Jan 11 20:05:23 2022] wlp4s0: authenticated [Tue Jan 11 20:05:23 2022] wlp4s0: associate with 88:d7:f6:e4:77:f4 (try 1/3) [Tue Jan 11 20:05:23 2022] wlp4s0: RX AssocResp from 88:d7:f6:e4:77:f4 (capab=0x11 status=0 aid=1) [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: Microcode SW error detected. Restarting 0x0. [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: Start IWL Error Log Dump: [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: Transport status: 0x0000004B, valid: 6 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: Loaded firmware version: 67.8f59b80b.0 cc-a0-67.ucode [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00001062 | ADVANCED_SYSASSERT [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x000022F0 | trm_hw_status0 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | trm_hw_status1 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x004FAD06 | branchlink2 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x004F15FA | interruptlink1 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x004F15FA | interruptlink2 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | data1 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000001 | data2 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0xDEADBEEF | data3 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | beacon time [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x004B5F88 | tsf low [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | tsf hi [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | time gp1 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x004BBB26 | time gp2 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000001 | uCode revision type [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000043 | uCode version major [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x8F59B80B | uCode version minor [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000340 | hw version [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x18C89000 | board version [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x8064FC32 | hcmd [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00020000 | isr0 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | isr1 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x18F00002 | isr2 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00C3400C | isr3 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | isr4 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x003A019C | last cmd Id [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x0000E204 | wait_event [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000080 | l2p_control [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000020 | l2p_duration [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x0000003F | l2p_mhvalid [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000080 | l2p_addr_match [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000009 | lmpm_pmg_sel [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | timestamp [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x0000C028 | flow_handler [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: Start IWL Error Log Dump: [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: Transport status: 0x0000004B, valid: 7 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | umac branchlink1 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x80455E02 | umac branchlink2 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0xC00811A4 | umac interruptlink1 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0xC0083384 | umac interruptlink2 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000400 | umac data1 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0xC0083384 | umac data2 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | umac data3 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000043 | umac major [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x8F59B80B | umac minor [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x004BBB41 | frame pointer [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0xC0886C20 | stack pointer [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x003C01CF | last host cmd [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000000 | isr status reg [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: IML/ROM dump: [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000003 | IML/ROM error/state [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00005A9A | IML/ROM data1 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0 [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: Fseq Registers: [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x60000000 | FSEQ_ERROR_CODE [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x0000A503 | FSEQ_OTP_VERSION [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00100530 | FSEQ_CNVI_ID [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000532 | FSEQ_CNVR_ID [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms). [Tue Jan 11 20:05:23 2022] ieee80211 phy0: Hardware restart was requested [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: FW error in SYNC CMD SCAN_CFG_CMD [Tue Jan 11 20:05:23 2022] CPU: 11 PID: 149 Comm: kworker/u64:2 Not tainted 5.16.0-desktop-1omv4050 #1 ffcaeebfa897e279fd35cec9ab86e059149188a0 [Tue Jan 11 20:05:23 2022] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X570 Phantom Gaming 4 WiFi ax, BIOS P3.90 01/26/2021 [Tue Jan 11 20:05:23 2022] Workqueue: phy0 ieee80211_iface_work [mac80211] [Tue Jan 11 20:05:23 2022] Call Trace: [Tue Jan 11 20:05:23 2022] <TASK> [Tue Jan 11 20:05:23 2022] dump_stack_lvl+0x34/0x44 [Tue Jan 11 20:05:23 2022] iwl_trans_txq_send_hcmd+0x445/0x450 [iwlwifi 4eaf28c11325015abf246246465ba6d7accc8bb3] [Tue Jan 11 20:05:23 2022] ? wait_woken+0x60/0x60 [Tue Jan 11 20:05:23 2022] iwl_trans_send_cmd+0x5a/0xe0 [iwlwifi 4eaf28c11325015abf246246465ba6d7accc8bb3] [Tue Jan 11 20:05:23 2022] iwl_mvm_send_cmd+0x12/0x40 [iwlmvm d546c1d26d6e3026dbc1e7a125d2116226b844e1] [Tue Jan 11 20:05:23 2022] iwl_mvm_config_scan+0x146/0x1b0 [iwlmvm d546c1d26d6e3026dbc1e7a125d2116226b844e1] [Tue Jan 11 20:05:23 2022] iwl_mvm_bss_info_changed+0x61c/0x710 [iwlmvm d546c1d26d6e3026dbc1e7a125d2116226b844e1] [Tue Jan 11 20:05:23 2022] drv_bss_info_changed+0x8f/0x190 [mac80211 6edf5ec2060e718610ee86496b07d7657cb766bc] [Tue Jan 11 20:05:23 2022] ieee80211_sta_rx_queued_mgmt.cold+0x1071/0x135d [mac80211 6edf5ec2060e718610ee86496b07d7657cb766bc] [Tue Jan 11 20:05:23 2022] ieee80211_iface_work+0x2ed/0x400 [mac80211 6edf5ec2060e718610ee86496b07d7657cb766bc] [Tue Jan 11 20:05:23 2022] process_one_work+0x219/0x3f0 [Tue Jan 11 20:05:23 2022] worker_thread+0x4d/0x3d0 [Tue Jan 11 20:05:23 2022] ? rescuer_thread+0x3a0/0x3a0 [Tue Jan 11 20:05:23 2022] kthread+0x15c/0x180 [Tue Jan 11 20:05:23 2022] ? set_kthread_struct+0x40/0x40 [Tue Jan 11 20:05:23 2022] ret_from_fork+0x22/0x30 [Tue Jan 11 20:05:23 2022] </TASK> [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: failed to update power mode [Tue Jan 11 20:05:24 2022] logitech-hidpp-device 0003:046D:406D.0004: HID++ 4.5 device connected. [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: PHY ctxt cmd error. ret=-5 [Tue Jan 11 20:05:24 2022] wlp4s0: associated [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: Microcode SW error detected. Restarting 0x0. [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: Start IWL Error Log Dump: [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: Transport status: 0x0000004B, valid: 6 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: Loaded firmware version: 67.8f59b80b.0 cc-a0-67.ucode [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00001062 | ADVANCED_SYSASSERT [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00A0A2F0 | trm_hw_status0 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | trm_hw_status1 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x004FAD06 | branchlink2 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x000018DC | interruptlink1 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x000018DC | interruptlink2 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | data1 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000001 | data2 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0xDEADBEEF | data3 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x003D9792 | beacon time [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x0002686C | tsf low [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | tsf hi [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | time gp1 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x0002C423 | time gp2 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000001 | uCode revision type [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000043 | uCode version major [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x8F59B80B | uCode version minor [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000340 | hw version [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x18C89000 | board version [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x805EFC32 | hcmd [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x20028000 | isr0 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x08000000 | isr1 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x08B04002 | isr2 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00C3400C | isr3 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | isr4 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x0027019C | last cmd Id [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x004F5A04 | wait_event [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | l2p_control [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | l2p_duration [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | l2p_mhvalid [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | l2p_addr_match [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x0000000B | lmpm_pmg_sel [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | timestamp [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00003094 | flow_handler [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: Start IWL Error Log Dump: [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: Transport status: 0x0000004B, valid: 7 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | umac branchlink1 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x80455E02 | umac branchlink2 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0xC00815C8 | umac interruptlink1 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x0101924A | umac interruptlink2 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000400 | umac data1 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x0101924A | umac data2 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | umac data3 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000043 | umac major [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x8F59B80B | umac minor [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x0002C43C | frame pointer [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0xC0886C18 | stack pointer [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00330207 | last host cmd [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000000 | isr status reg [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: IML/ROM dump: [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000003 | IML/ROM error/state [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00005A9F | IML/ROM data1 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0 [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: Fseq Registers: [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x60000000 | FSEQ_ERROR_CODE [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x0000A503 | FSEQ_OTP_VERSION [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00100530 | FSEQ_CNVI_ID [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000532 | FSEQ_CNVR_ID [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms). [Tue Jan 11 20:05:24 2022] ieee80211 phy0: Hardware restart was requested [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: FW error in SYNC CMD FW_ERROR_RECOVERY_CMD [Tue Jan 11 20:05:24 2022] CPU: 9 PID: 853 Comm: kworker/9:3 Not tainted 5.16.0-desktop-1omv4050 #1 ffcaeebfa897e279fd35cec9ab86e059149188a0 [Tue Jan 11 20:05:24 2022] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./X570 Phantom Gaming 4 WiFi ax, BIOS P3.90 01/26/2021 [Tue Jan 11 20:05:24 2022] Workqueue: events_freezable ieee80211_restart_work [mac80211] [Tue Jan 11 20:05:24 2022] Call Trace: [Tue Jan 11 20:05:24 2022] <TASK> [Tue Jan 11 20:05:24 2022] dump_stack_lvl+0x34/0x44 [Tue Jan 11 20:05:24 2022] iwl_trans_txq_send_hcmd+0x445/0x450 [iwlwifi 4eaf28c11325015abf246246465ba6d7accc8bb3] [Tue Jan 11 20:05:24 2022] ? wait_woken+0x60/0x60 [Tue Jan 11 20:05:24 2022] iwl_trans_send_cmd+0x5a/0xe0 [iwlwifi 4eaf28c11325015abf246246465ba6d7accc8bb3] [Tue Jan 11 20:05:24 2022] iwl_mvm_send_cmd+0x12/0x40 [iwlmvm d546c1d26d6e3026dbc1e7a125d2116226b844e1] [Tue Jan 11 20:05:24 2022] iwl_mvm_send_recovery_cmd+0x11c/0x170 [iwlmvm d546c1d26d6e3026dbc1e7a125d2116226b844e1] [Tue Jan 11 20:05:24 2022] iwl_mvm_mac_reconfig_complete+0x4a/0x80 [iwlmvm d546c1d26d6e3026dbc1e7a125d2116226b844e1] [Tue Jan 11 20:05:24 2022] drv_reconfig_complete+0x2e/0xd0 [mac80211 6edf5ec2060e718610ee86496b07d7657cb766bc] [Tue Jan 11 20:05:24 2022] ieee80211_reconfig+0x3c1/0x14e0 [mac80211 6edf5ec2060e718610ee86496b07d7657cb766bc] [Tue Jan 11 20:05:24 2022] ? del_timer_sync+0x67/0xb0 [Tue Jan 11 20:05:24 2022] ieee80211_restart_work+0xfc/0x150 [mac80211 6edf5ec2060e718610ee86496b07d7657cb766bc] [Tue Jan 11 20:05:24 2022] process_one_work+0x219/0x3f0 [Tue Jan 11 20:05:24 2022] worker_thread+0x4d/0x3d0 [Tue Jan 11 20:05:24 2022] ? rescuer_thread+0x3a0/0x3a0 [Tue Jan 11 20:05:24 2022] kthread+0x15c/0x180 [Tue Jan 11 20:05:24 2022] ? set_kthread_struct+0x40/0x40 [Tue Jan 11 20:05:24 2022] ret_from_fork+0x22/0x30 [Tue Jan 11 20:05:24 2022] </TASK> [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: Failed to send recovery cmd -5 [Tue Jan 11 20:05:25 2022] iwlwifi 0000:04:00.0: Microcode SW error detected. Restarting 0x0. [... repeating over and over again ...]
Hi Bernhard, Thanks for the bisection. A couple of comments: 1. Thanks for the bisection. Just FYI, only changing to 68 will cause other failures as the fw api's change among versions. 2. We have not encountered this fw error during our validation cycles. I'm checking with the relevant team what data we'll need to repro and debug. 3. Is wifi functional for you? i do see you are associated: wlp4s0: associated 4. Can you add the full dmesg just to see the full picture? (it's a fw error so won't help much, but still) Thanks, Golan
Created attachment 300281 [details] Full dmesg Attaching full dmesg output. WiFi does not work at all, but the "associated" message is there (right between "PHY ctxt cmd error. ret=-5" and "Microcode SW error detected. Restarting 0x0", all happening at the same second). Possibly it "works" for a couple of milliseconds in between. [Tue Jan 11 20:05:23 2022] iwlwifi 0000:04:00.0: failed to update power mode [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: PHY ctxt cmd error. ret=-5 [Tue Jan 11 20:05:24 2022] wlp4s0: associated [Tue Jan 11 20:05:24 2022] iwlwifi 0000:04:00.0: Microcode SW error detected. Restarting 0x0.
Thanks! I can now see that the reason for the assert is a bad bcast filtering sent by the driver, which the FW rejects. To solve it, i'd need a trace recording (https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging#tracing) specifically, can you run with this: sudo trace-cmd record -e iwlwifi -e mac80211 -e cfg80211 -e iwlwifi_msg -e iwlwifi_dev* -e iwlwifi_dev_hcmd
We have a direction for a fix. A *valid* W/A till we deliver will be to compile with IWLWIFI_BCAST_FILTERING disabled.
I test linux kernel 5.17, it load cc-a0-68.ucode. [ 1144.202230] iwlwifi 0000:07:00.0: Direct firmware load for iwlwifi-cc-a0-69.ucode failed with error -2 [ 1144.202548] iwlwifi 0000:07:00.0: api flags index 2 larger than supported by driver [ 1144.202560] iwlwifi 0000:07:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37 [ 1144.202875] iwlwifi 0000:07:00.0: loaded firmware version 68.01d30b0c.0 cc-a0-68.ucode op_mode iwlmvm [ 1144.202915] iwlwifi 0000:07:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340 [ 1144.202997] thermal thermal_zone0: failed to read out thermal zone (-61) [ 1144.326460] iwlwifi 0000:07:00.0: Detected RF HR B3, rfid=0x10a100 [ 1144.391747] iwlwifi 0000:07:00.0: base HW address: e0:d4:e8:48:f5:67 [ 1144.593162] ACPI: \: failed to evaluate _DSM (0x1001) [ 1144.593169] ACPI: \: failed to evaluate _DSM (0x1001) [ 1144.593171] ACPI: \: failed to evaluate _DSM (0x1001) [ 1144.593172] ACPI: \: failed to evaluate _DSM (0x1001) [ 1144.593174] ACPI: \: failed to evaluate _DSM (0x1001) [ 1144.593175] ACPI: \: failed to evaluate _DSM (0x1001) [ 1144.720651] wlan0: authenticate with b4:a8:98:22:f9:ac [ 1144.724639] wlan0: send auth to b4:a8:98:22:f9:ac (try 1/3) [ 1144.762553] wlan0: authenticated [ 1144.763210] wlan0: associate with b4:a8:98:22:f9:ac (try 1/3) [ 1144.765361] wlan0: RX AssocResp from b4:a8:98:22:f9:ac (capab=0x1531 status=0 aid=3) [ 1144.768697] iwlwifi 0000:07:00.0: Microcode SW error detected. Restarting 0x0. [ 1144.768812] iwlwifi 0000:07:00.0: Start IWL Error Log Dump: [ 1144.768815] iwlwifi 0000:07:00.0: Transport status: 0x0000004B, valid: 6 [ 1144.768819] iwlwifi 0000:07:00.0: Loaded firmware version: 68.01d30b0c.0 cc-a0-68.ucode [ 1144.768823] iwlwifi 0000:07:00.0: 0x00001062 | ADVANCED_SYSASSERT [ 1144.768828] iwlwifi 0000:07:00.0: 0x00A0A200 | trm_hw_status0 [ 1144.768831] iwlwifi 0000:07:00.0: 0x00000000 | trm_hw_status1 [ 1144.768833] iwlwifi 0000:07:00.0: 0x004FB322 | branchlink2 [ 1144.768836] iwlwifi 0000:07:00.0: 0x004F1B86 | interruptlink1 [ 1144.768838] iwlwifi 0000:07:00.0: 0x004F1B86 | interruptlink2 [ 1144.768841] iwlwifi 0000:07:00.0: 0x00000000 | data1 [ 1144.768843] iwlwifi 0000:07:00.0: 0x00000001 | data2 [ 1144.768846] iwlwifi 0000:07:00.0: 0xDEADBEEF | data3 [ 1144.768848] iwlwifi 0000:07:00.0: 0x00000CFC | beacon time [ 1144.768850] iwlwifi 0000:07:00.0: 0x215DD333 | tsf low [ 1144.768853] iwlwifi 0000:07:00.0: 0x00000069 | tsf hi [ 1144.768855] iwlwifi 0000:07:00.0: 0x00000000 | time gp1 [ 1144.768857] iwlwifi 0000:07:00.0: 0x00055440 | time gp2 [ 1144.768860] iwlwifi 0000:07:00.0: 0x00000001 | uCode revision type [ 1144.768862] iwlwifi 0000:07:00.0: 0x00000044 | uCode version major [ 1144.768864] iwlwifi 0000:07:00.0: 0x01D30B0C | uCode version minor [ 1144.768867] iwlwifi 0000:07:00.0: 0x00000340 | hw version [ 1144.768869] iwlwifi 0000:07:00.0: 0x18C89000 | board version [ 1144.768871] iwlwifi 0000:07:00.0: 0x80ABFC32 | hcmd [ 1144.768874] iwlwifi 0000:07:00.0: 0x24020000 | isr0 [ 1144.768876] iwlwifi 0000:07:00.0: 0x21000000 | isr1 [ 1144.768878] iwlwifi 0000:07:00.0: 0x18F00002 | isr2 [ 1144.768880] iwlwifi 0000:07:00.0: 0x00C3000C | isr3 [ 1144.768882] iwlwifi 0000:07:00.0: 0x00000000 | isr4 [ 1144.768885] iwlwifi 0000:07:00.0: 0x00340103 | last cmd Id [ 1144.768887] iwlwifi 0000:07:00.0: 0x00014D7A | wait_event [ 1144.768889] iwlwifi 0000:07:00.0: 0x00000288 | l2p_control [ 1144.768891] iwlwifi 0000:07:00.0: 0x00018034 | l2p_duration [ 1144.768894] iwlwifi 0000:07:00.0: 0x000000BF | l2p_mhvalid [ 1144.768896] iwlwifi 0000:07:00.0: 0x000000EF | l2p_addr_match [ 1144.768898] iwlwifi 0000:07:00.0: 0x00000009 | lmpm_pmg_sel [ 1144.768900] iwlwifi 0000:07:00.0: 0x00000000 | timestamp [ 1144.768902] iwlwifi 0000:07:00.0: 0x00003890 | flow_handler [ 1144.768947] iwlwifi 0000:07:00.0: Start IWL Error Log Dump: [ 1144.768949] iwlwifi 0000:07:00.0: Transport status: 0x0000004B, valid: 7 [ 1144.768952] iwlwifi 0000:07:00.0: 0x20000070 | NMI_INTERRUPT_LMAC_FATAL [ 1144.768955] iwlwifi 0000:07:00.0: 0x00000000 | umac branchlink1 [ 1144.768958] iwlwifi 0000:07:00.0: 0x80455D20 | umac branchlink2 [ 1144.768960] iwlwifi 0000:07:00.0: 0x804748F2 | umac interruptlink1 [ 1144.768962] iwlwifi 0000:07:00.0: 0xC0081626 | umac interruptlink2 [ 1144.768965] iwlwifi 0000:07:00.0: 0x00000400 | umac data1 [ 1144.768967] iwlwifi 0000:07:00.0: 0xC0081626 | umac data2 [ 1144.768969] iwlwifi 0000:07:00.0: 0x00000000 | umac data3 [ 1144.768971] iwlwifi 0000:07:00.0: 0x00000044 | umac major [ 1144.768973] iwlwifi 0000:07:00.0: 0x01D30B0C | umac minor [ 1144.768974] iwlwifi 0000:07:00.0: 0x0005545C | frame pointer [ 1144.768976] iwlwifi 0000:07:00.0: 0xC0887EFC | stack pointer [ 1144.768978] iwlwifi 0000:07:00.0: 0x003501CF | last host cmd [ 1144.768979] iwlwifi 0000:07:00.0: 0x01020044 | isr status reg [ 1144.768993] iwlwifi 0000:07:00.0: IML/ROM dump: [ 1144.768994] iwlwifi 0000:07:00.0: 0x00000003 | IML/ROM error/state [ 1144.769008] iwlwifi 0000:07:00.0: 0x00005AD2 | IML/ROM data1 [ 1144.769021] iwlwifi 0000:07:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0 [ 1144.769030] iwlwifi 0000:07:00.0: Fseq Registers: [ 1144.769034] iwlwifi 0000:07:00.0: 0x60000000 | FSEQ_ERROR_CODE [ 1144.769039] iwlwifi 0000:07:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION [ 1144.769043] iwlwifi 0000:07:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION [ 1144.769048] iwlwifi 0000:07:00.0: 0x0000A503 | FSEQ_OTP_VERSION [ 1144.769052] iwlwifi 0000:07:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION [ 1144.769057] iwlwifi 0000:07:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN [ 1144.769061] iwlwifi 0000:07:00.0: 0x00100530 | FSEQ_CNVI_ID [ 1144.769066] iwlwifi 0000:07:00.0: 0x00000532 | FSEQ_CNVR_ID [ 1144.769070] iwlwifi 0000:07:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP [ 1144.769077] iwlwifi 0000:07:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP [ 1144.769084] iwlwifi 0000:07:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM [ 1144.769090] iwlwifi 0000:07:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR [ 1144.769267] iwlwifi 0000:07:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms). [ 1144.769273] ieee80211 phy8: Hardware restart was requested [ 1144.769289] iwlwifi 0000:07:00.0: FW error in SYNC CMD SCAN_CFG_CMD [ 1144.769295] CPU: 2 PID: 13249 Comm: kworker/u16:125 Tainted: G W 5.17.0-rc1-android-x86_64+ #1 [ 1144.769301] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B450 Gaming-ITX/ac, BIOS P4.10 07/08/2020 [ 1144.769304] Workqueue: phy8 ieee80211_iface_work [mac80211] [ 1144.769375] Call Trace: [ 1144.769379] <TASK> [ 1144.769382] dump_stack_lvl+0x34/0x44 [ 1144.769394] iwl_trans_txq_send_hcmd+0x384/0x390 [iwlwifi] [ 1144.769424] ? wait_woken+0x70/0x70 [ 1144.769433] iwl_trans_send_cmd+0x5a/0xe0 [iwlwifi] [ 1144.769459] iwl_mvm_send_cmd+0x12/0x40 [iwlmvm] [ 1144.769480] iwl_mvm_config_scan+0x104/0x170 [iwlmvm] [ 1144.769505] iwl_mvm_bss_info_changed+0x69d/0x7a0 [iwlmvm] [ 1144.769524] drv_bss_info_changed+0x8f/0x1a0 [mac80211] [ 1144.769581] ieee80211_sta_rx_queued_mgmt.cold+0x10da/0x1397 [mac80211] [ 1144.769663] ieee80211_iface_work+0x2fb/0x410 [mac80211] [ 1144.769728] ? __schedule+0x2f7/0x900 [ 1144.769733] process_one_work+0x1c3/0x3c0 [ 1144.769740] worker_thread+0x4d/0x3c0 [ 1144.769746] ? rescuer_thread+0x390/0x390 [ 1144.769751] kthread+0xd8/0x100 [ 1144.769756] ? kthread_complete_and_exit+0x20/0x20 [ 1144.769762] ret_from_fork+0x22/0x30 [ 1144.769769] </TASK> [ 1144.769787] ------------[ cut here ]------------ [ 1144.769789] WARNING: CPU: 2 PID: 13249 at iwl_mvm_bss_info_changed+0x423/0x7a0 [iwlmvm] [ 1144.769808] Modules linked in: hid_multitouch iwlmvm iwlwifi nct6775 hwmon_vid ccm binfmt_misc crc32_pclmul crc32c_intel kvm_amd kvm snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer snd soundcore snd_intel_dspcfg amdgpu drm_kms_helper cec fb_sys_fops syscopyarea sysfillrect sysimgblt gpu_sched drm_ttm_helper ttm drm ccp rng_core btusb btrtl btbcm btintel mac80211 libarc4 bluetooth ecdh_generic ecc cfg80211 igb i2c_algo_bit k10temp gpio_amdpt gpio_generic efi_pstore sdcardfs [last unloaded: hid_multitouch] [ 1144.769865] CPU: 2 PID: 13249 Comm: kworker/u16:125 Tainted: G W 5.17.0-rc1-android-x86_64+ #1 [ 1144.769870] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./B450 Gaming-ITX/ac, BIOS P4.10 07/08/2020 [ 1144.769872] Workqueue: phy8 ieee80211_iface_work [mac80211] [ 1144.769936] RIP: 0010:iwl_mvm_bss_info_changed+0x423/0x7a0 [iwlmvm] [ 1144.769954] Code: e0 36 0f 83 a1 02 00 00 31 d2 4c 89 e6 4c 89 f7 e8 d2 a1 01 00 31 d2 4c 89 e6 4c 89 f7 e8 55 51 02 00 85 c0 0f 84 b5 fd ff ff <0f> 0b e9 ae fd ff ff 49 8b 45 18 f6 80 c7 00 00 00 20 0f 84 d2 fd [ 1144.769959] RSP: 0018:ffff944888447d00 EFLAGS: 00010282 [ 1144.769963] RAX: 00000000fffffffb RBX: 000000002010200d RCX: 0000000000000000 [ 1144.769966] RDX: 0000000000000000 RSI: ffff944888447c50 RDI: ffff88b5d8c34028 [ 1144.769969] RBP: ffff944888447d68 R08: ffff944888447cb4 R09: ffff88b5944020a8 [ 1144.769971] R10: 000000000000003c R11: ffffffff8e245440 R12: ffff88b422ff5720 [ 1144.769974] R13: ffff88b5944020a0 R14: ffff88b5944020a8 R15: ffff88b5944020d8 [ 1144.769977] FS: 0000000000000000(0000) GS:ffff88b616e80000(0000) knlGS:0000000000000000 [ 1144.769980] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 1144.769983] CR2: 00000000ee248000 CR3: 0000000122bba000 CR4: 00000000001506e0 [ 1144.769986] Call Trace: [ 1144.769988] <TASK> [ 1144.769991] drv_bss_info_changed+0x8f/0x1a0 [mac80211] [ 1144.770047] ieee80211_sta_rx_queued_mgmt.cold+0x10da/0x1397 [mac80211] [ 1144.770128] ieee80211_iface_work+0x2fb/0x410 [mac80211] [ 1144.770204] ? __schedule+0x2f7/0x900 [ 1144.770209] process_one_work+0x1c3/0x3c0 [ 1144.770215] worker_thread+0x4d/0x3c0 [ 1144.770220] ? rescuer_thread+0x390/0x390 [ 1144.770226] kthread+0xd8/0x100 [ 1144.770230] ? kthread_complete_and_exit+0x20/0x20 [ 1144.770235] ret_from_fork+0x22/0x30 [ 1144.770241] </TASK> [ 1144.770243] ---[ end trace 0000000000000000 ]--- [ 1144.770247] iwlwifi 0000:07:00.0: failed to update power mode
Fails on HP Spectre 360, attaching dmesg
Created attachment 300304 [details] full dmesg from spectre x360
confirming that IWLWIFI_BCAST_FILTERING=n works
Created attachment 300305 [details] Fix - formatted patch. Fix for 1062 - remove the deprecated feature.
Hi Guys, Whoever getting this signature 0x00001062 | ADVANCED_SYSASSERT - you have the same bug. As it wrote above, the valid WA is to disable IWLWIFI_BCAST_FILTERING. Next, we're going to send the patch I attached here to remove this deprecated feature. Sorry for the inconvenience. Moving to resolved and will close once fix lands to ToT.
(In reply to Golan Ben Ami from comment #9) > Created attachment 300305 [details] > Fix - formatted patch. > > Fix for 1062 - remove the deprecated feature. I can't apply this patch with torvalds linux master tree.
Yes, it's a big patch with multiple changes. I'll add here the link to the patch once we send it.
(In reply to Golan Ben Ami from comment #12) > Yes, it's a big patch with multiple changes. > I'll add here the link to the patch once we send it. Just wondering: is it this one? https://lore.kernel.org/all/20220128124851.538580-1-luca@coelho.fi/
(In reply to Thorsten Leemhuis from comment #13) > (In reply to Golan Ben Ami from comment #12) > > Yes, it's a big patch with multiple changes. > > I'll add here the link to the patch once we send it. > > Just wondering: is it this one? > https://lore.kernel.org/all/20220128124851.538580-1-luca@coelho.fi/ Yes.
*** Bug 215550 has been marked as a duplicate of this bug. ***