Wireless
Issues related to Intel® Wireless Adapters and technologies
6404 Discussions

Linux: Intel AC 9560: iwlwifi fails on kernels above 5.10

DamienClabaut
Beginner
515 Views

Hello,

I reproduced the issue below on at least 2 separate but identical HP Probook 450 G8 with Intel AC 9560 wifi chips.

I initially reported it on Ubuntu Forums as the 9560 is certified ubuntu hardware, I am also posting it here since the 9560 officially support Linux (https://www.intel.ca/content/www/ca/en/support/articles/000005511/wireless.html)

When installing any kernel above 5.10 (tried linux-image-5.14.0-1020-oem and linux-image-5.13.0-27-generic), the wifi interface becomes unusable. The wifi appears intermittently in the gnome menu, and it's not possible to list available networks or connect to one (tried with GUI and nmcli).

dmesg returns the following:

[   58.422873] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-jf-b0-64.ucode failed with error -2
[   58.423163] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[   58.423173] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 89.3.35.37
[   58.423418] iwlwifi 0000:00:14.3: loaded firmware version 63.c04f3485.0 QuZ-a0-jf-b0-63.ucode op_mode iwlmvm
[   58.423447] iwlwifi 0000:00:14.3: Detected Intel(R) Wireless-AC 9560 160MHz, REV=0x354
[   58.437749] thermal thermal_zone16: failed to read out thermal zone (-61)
[   58.538765] iwlwifi 0000:00:14.3: Detected RF JF, rfid=0x105110
[   58.596114] iwlwifi 0000:00:14.3: base HW address: c8:e2:65:82:55:50
[   58.615434] iwlwifi 0000:00:14.3 wlp0s20f3: renamed from wlan0
[   58.844891] iwlwifi 0000:00:14.3: Microcode SW error detected. Restarting 0x0.
[   58.846023] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[   58.846027] iwlwifi 0000:00:14.3: Transport status: 0x0000004B, valid: 6
[   58.846031] iwlwifi 0000:00:14.3: Loaded firmware version: 63.c04f3485.0 QuZ-a0-jf-b0-63.ucode
[   58.846034] iwlwifi 0000:00:14.3: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL    
[   58.846038] iwlwifi 0000:00:14.3: 0x000022F0 | trm_hw_status0
[   58.846040] iwlwifi 0000:00:14.3: 0x00000000 | trm_hw_status1
[   58.846043] iwlwifi 0000:00:14.3: 0x004C2A82 | branchlink2
[   58.846046] iwlwifi 0000:00:14.3: 0x004B9C26 | interruptlink1
[   58.846048] iwlwifi 0000:00:14.3: 0x004B9C26 | interruptlink2
[   58.846050] iwlwifi 0000:00:14.3: 0x004BB1B0 | data1
[   58.846052] iwlwifi 0000:00:14.3: 0x00001000 | data2
[   58.846055] iwlwifi 0000:00:14.3: 0x00000000 | data3
[   58.846057] iwlwifi 0000:00:14.3: 0x00000000 | beacon time
[   58.846059] iwlwifi 0000:00:14.3: 0x00022364 | tsf low
[   58.846062] iwlwifi 0000:00:14.3: 0x00000000 | tsf hi
[   58.846064] iwlwifi 0000:00:14.3: 0x00000000 | time gp1
[   58.846066] iwlwifi 0000:00:14.3: 0x00027CE9 | time gp2
[   58.846069] iwlwifi 0000:00:14.3: 0x00000001 | uCode revision type
[   58.846071] iwlwifi 0000:00:14.3: 0x0000003F | uCode version major
[   58.846074] iwlwifi 0000:00:14.3: 0xC04F3485 | uCode version minor
[   58.846076] iwlwifi 0000:00:14.3: 0x00000351 | hw version
[   58.846079] iwlwifi 0000:00:14.3: 0x18489004 | board version
[   58.846081] iwlwifi 0000:00:14.3: 0x8036FD22 | hcmd
[   58.846083] iwlwifi 0000:00:14.3: 0x00020000 | isr0
[   58.846085] iwlwifi 0000:00:14.3: 0x00000000 | isr1
[   58.846088] iwlwifi 0000:00:14.3: 0x08F00002 | isr2
[   58.846090] iwlwifi 0000:00:14.3: 0x00C37FCC | isr3
[   58.846092] iwlwifi 0000:00:14.3: 0x00000000 | isr4
[   58.846095] iwlwifi 0000:00:14.3: 0x00000000 | last cmd Id
[   58.846097] iwlwifi 0000:00:14.3: 0x004BB1B0 | wait_event
[   58.846099] iwlwifi 0000:00:14.3: 0x00000000 | l2p_control
[   58.846102] iwlwifi 0000:00:14.3: 0x00000000 | l2p_duration
[   58.846104] iwlwifi 0000:00:14.3: 0x00000000 | l2p_mhvalid
[   58.846106] iwlwifi 0000:00:14.3: 0x00000000 | l2p_addr_match
[   58.846108] iwlwifi 0000:00:14.3: 0x00000048 | lmpm_pmg_sel
[   58.846111] iwlwifi 0000:00:14.3: 0x00000000 | timestamp
[   58.846113] iwlwifi 0000:00:14.3: 0x00001050 | flow_handler
[   58.846575] iwlwifi 0000:00:14.3: Start IWL Error Log Dump:
[   58.846579] iwlwifi 0000:00:14.3: Transport status: 0x0000004B, valid: 7
[   58.846582] iwlwifi 0000:00:14.3: 0x201002FF | ADVANCED_SYSASSERT
[   58.846587] iwlwifi 0000:00:14.3: 0x00000000 | umac branchlink1
[   58.846590] iwlwifi 0000:00:14.3: 0x804530BA | umac branchlink2
[   58.846593] iwlwifi 0000:00:14.3: 0xC0084268 | umac interruptlink1
[   58.846595] iwlwifi 0000:00:14.3: 0x00000000 | umac interruptlink2
[   58.846598] iwlwifi 0000:00:14.3: 0x00120407 | umac data1
[   58.846600] iwlwifi 0000:00:14.3: 0xDEADBEEF | umac data2
[   58.846603] iwlwifi 0000:00:14.3: 0xDEADBEEF | umac data3
[   58.846605] iwlwifi 0000:00:14.3: 0x0000003F | umac major
[   58.846607] iwlwifi 0000:00:14.3: 0xC04F3485 | umac minor
[   58.846610] iwlwifi 0000:00:14.3: 0x00027CE4 | frame pointer
[   58.846612] iwlwifi 0000:00:14.3: 0xC0886C18 | stack pointer
[   58.846615] iwlwifi 0000:00:14.3: 0x00120407 | last host cmd
[   58.846617] iwlwifi 0000:00:14.3: 0x00000000 | isr status reg
[   58.846733] iwlwifi 0000:00:14.3: IML/ROM dump:
[   58.846735] iwlwifi 0000:00:14.3: 0x00000003 | IML/ROM error/state
[   58.846856] iwlwifi 0000:00:14.3: 0x00005780 | IML/ROM data1
[   58.846954] iwlwifi 0000:00:14.3: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[   58.847003] iwlwifi 0000:00:14.3: Fseq Registers:
[   58.847041] iwlwifi 0000:00:14.3: 0x60000000 | FSEQ_ERROR_CODE
[   58.847076] iwlwifi 0000:00:14.3: 0x80260000 | FSEQ_TOP_INIT_VERSION
[   58.847110] iwlwifi 0000:00:14.3: 0x00020006 | FSEQ_CNVIO_INIT_VERSION
[   58.847144] iwlwifi 0000:00:14.3: 0x0000A384 | FSEQ_OTP_VERSION
[   58.847180] iwlwifi 0000:00:14.3: 0xB41818A2 | FSEQ_TOP_CONTENT_VERSION
[   58.847215] iwlwifi 0000:00:14.3: 0x4552414E | FSEQ_ALIVE_TOKEN
[   58.847252] iwlwifi 0000:00:14.3: 0x20000302 | FSEQ_CNVI_ID
[   58.847287] iwlwifi 0000:00:14.3: 0x01300202 | FSEQ_CNVR_ID
[   58.847321] iwlwifi 0000:00:14.3: 0x20000302 | CNVI_AUX_MISC_CHIP
[   58.847361] iwlwifi 0000:00:14.3: 0x01300202 | CNVR_AUX_MISC_CHIP
[   58.847401] iwlwifi 0000:00:14.3: 0x0000485B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[   58.847469] iwlwifi 0000:00:14.3: 0xA5A5A5A2 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[   58.849365] iwlwifi 0000:00:14.3: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[   58.849371] ieee80211 phy13: Hardware restart was requested
[   58.849427] iwlwifi 0000:00:14.3: FW error in SYNC CMD UNKNOWN
[   58.849436] CPU: 7 PID: 1506 Comm: NetworkManager Not tainted 5.14.0-1020-oem #22-Ubuntu
[   58.849441] Hardware name: HP HP ProBook 450 G8 Notebook PC/87E1, BIOS T70 Ver. 01.03.02 01/14/2021
[   58.849443] Call Trace:
[   58.849445]  <TASK>
[   58.849449]  dump_stack_lvl+0x4a/0x5f
[   58.849457]  dump_stack+0x10/0x12
[   58.849462]  iwl_trans_txq_send_hcmd+0x457/0x460 [iwlwifi]
[   58.849495]  ? wait_woken+0x60/0x60
[   58.849509]  iwl_trans_send_cmd+0x6a/0x100 [iwlwifi]
[   58.849539]  iwl_mvm_send_cmd+0x1f/0x50 [iwlmvm]
[   58.849556] iwlwifi 0000:00:14.3: Hardware error detected. Restarting.
[   58.849566]  iwl_mvm_send_cmd_pdu+0x51/0x70 [iwlmvm]
[   58.849587]  iwl_mvm_ppag_send_cmd+0x1c6/0x280 [iwlmvm]
[   58.849603]  iwl_mvm_up+0xa91/0xd70 [iwlmvm]
[   58.849619]  ? wake_up_q+0x50/0x90
[   58.849624]  __iwl_mvm_mac_start+0x2b/0x190 [iwlmvm]
[   58.849641]  iwl_mvm_mac_start+0x2a/0x40 [iwlmvm]
[   58.849658]  drv_start+0x40/0xd0 [mac80211]
[   58.849705]  ieee80211_do_open+0x39a/0x810 [mac80211]
[   58.849758]  ieee80211_open+0x6c/0x90 [mac80211]
[   58.849808]  __dev_open+0xec/0x180
[   58.849815]  __dev_change_flags+0x188/0x1e0
[   58.849819]  dev_change_flags+0x26/0x60
[   58.849823]  do_setlink+0x902/0xc40
[   58.849829]  ? __nla_parse+0x25/0x30
[   58.849836]  ? inet6_validate_link_af+0x5f/0xf0
[   58.849842]  ? cpumask_next+0x23/0x30
[   58.849845]  ? __nla_validate_parse+0x4c/0x1a0
[   58.849852]  __rtnl_newlink+0x594/0xa10
[   58.849857]  ? find_busiest_group+0x48/0x320
[   58.849863]  ? load_balance+0x165/0xcd0
[   58.849871]  ? security_capable+0x3a/0x60
[   58.849878]  ? __cond_resched+0x19/0x30
[   58.849885]  ? kmem_cache_alloc_trace+0x345/0x420
[   58.849891]  rtnl_newlink+0x49/0x70
[   58.849895]  rtnetlink_rcv_msg+0x13c/0x370
[   58.849899]  ? finish_wait+0x5b/0x70
[   58.849905]  ? rtnl_calcit.isra.0+0x130/0x130
[   58.849908]  netlink_rcv_skb+0x53/0x100
[   58.849913]  rtnetlink_rcv+0x15/0x20
[   58.849916]  netlink_unicast+0x1a5/0x250
[   58.849923]  netlink_sendmsg+0x225/0x460
[   58.849929]  sock_sendmsg+0x62/0x70
[   58.849934]  ____sys_sendmsg+0x218/0x290
[   58.849938]  ? copy_msghdr_from_user+0x5c/0x90
[   58.849944]  ___sys_sendmsg+0x81/0xc0
[   58.849948]  ? kvfree+0x28/0x30
[   58.849953]  ? sysctl_head_finish.part.0+0x28/0x40
[   58.849959]  ? proc_sys_call_handler+0x1bb/0x260
[   58.849964]  ? mntput_no_expire+0x4c/0x260
[   58.849971]  ? proc_sys_write+0x13/0x20
[   58.849975]  ? security_file_free+0x54/0x60
[   58.849978]  ? call_rcu+0xa4/0x230
[   58.849983]  ? __fget_files+0x56/0x80
[   58.849987]  ? __fget_light+0x62/0x80
[   58.849991]  __sys_sendmsg+0x62/0xb0
[   58.849995]  ? exit_to_user_mode_prepare+0x3d/0x1d0
[   58.850000]  __x64_sys_sendmsg+0x1f/0x30
[   58.850004]  do_syscall_64+0x38/0xc0
[   58.850010]  entry_SYSCALL_64_after_hwframe+0x44/0xae
[   58.850015] RIP: 0033:0x7f02e187612d
[   58.850020] Code: 28 89 54 24 1c 48 89 74 24 10 89 7c 24 08 e8 ca ee ff ff 8b 54 24 1c 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2f 44 89 c7 48 89 44 24 08 e8 fe ee ff ff 48
[   58.850024] RSP: 002b:00007ffcbf7100f0 EFLAGS: 00000293 ORIG_RAX: 000000000000002e
[   58.850029] RAX: ffffffffffffffda RBX: 0000558c07f01880 RCX: 00007f02e187612d
[   58.850032] RDX: 0000000000000000 RSI: 00007ffcbf710140 RDI: 000000000000000c
[   58.850034] RBP: 00007ffcbf710140 R08: 0000000000000000 R09: 0000000000000000
[   58.850036] R10: 0000000000000001 R11: 0000000000000293 R12: 0000558c07f01880
[   58.850038] R13: 00007ffcbf7102f8 R14: 00007ffcbf7102ec R15: 0000000000000000
[   58.850042]  </TASK>
[   58.850046] iwlwifi 0000:00:14.3: failed to send PER_PLATFORM_ANT_GAIN_CMD (-5)

However, when running linux-image-5.10.0-1057-oem, the wifi works great, and dmesg returns:

[   13.958031] Intel(R) Wireless WiFi driver for Linux
[   13.958095] iwlwifi 0000:00:14.3: enabling device (0000 -> 0002)
[   13.964346] iwlwifi 0000:00:14.3: api flags index 2 larger than supported by driver
[   13.964364] iwlwifi 0000:00:14.3: TLV_FW_FSEQ_VERSION: FSEQ Version: 65.3.35.22

The most obvious difference is that the firmware version that works is QuZ-a0-jf-b0-59.ucode while the broken one is QuZ-a0-jf-b0-64.ucode

Is it a known issue at Intel? The 9560 is very common hardware, we have dozens of laptops with this chip, which we currently cannot update.

0 Kudos
0 Replies
Reply