Iwlwifi issues in latest kernel 5.5

After updating the kernel to version 5.5 I am getting wifi issues. iwlwifi shows eroor and there is no adapter found

For me the same on 5.6

The right place to submit bugs for kernel drivers is listed in the MAINTAINERS file in the kernel:

You need to prepare at least sudo dmesg output as well as the exact kernels that it worked, and the one that it broke, If they’re both ClearLinux kernels, please try to be as exact as you can (we’ll try our best to poke the maintainers if they are folks from Intel). If they’re not ClearLinux kernels, you should file the bugreport yourself with the listed maintainers.

That goes for both @shans10 and @archimwessling - neither of you gave enough information to troubleshoot the issue since we can’t actually identify the kernel that you are using - 5.5 is not detailed enough.

We also need to know the exact lspci -nn output.

Sorry for not giving any relevant information!

Kernel - 5.5.4-909.native

Output of “lspci -nn” -

00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers [8086:5914] (rev 08)
00:02.0 VGA compatible controller [0300]: Intel Corporation UHD Graphics 620 [8086:5917] (rev 07)
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem [8086:1903] (rev 08)
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller [8086:9d2f] (rev 21)
00:14.2 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Thermal subsystem [8086:9d31] (rev 21)
00:15.0 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 [8086:9d60] (rev 21)
00:15.1 Signal processing controller [1180]: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 [8086:9d61] (rev 21)
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-LP CSME HECI #1 [8086:9d3a] (rev 21)
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] [8086:9d03] (rev 21)
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 [8086:9d14] (rev f1)
00:1c.5 PCI bridge [0604]: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 [8086:9d15] (rev f1)
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:9d1b] (rev f1)
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point LPC Controller/eSPI Controller [8086:9d4e] (rev 21)
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-LP PMC [8086:9d21] (rev 21)
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-LP HD Audio [8086:9d71] (rev 21)
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-LP SMBus [8086:9d23] (rev 21)
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
02:00.0 Network controller [0280]: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] [8086:24fb] (rev 10)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader [10ec:522a] (rev 01)

Output of “dmesg | grep iwl” -

[ 18.424770] calling iwl_drv_init+0x0/0x1000 [iwlwifi] @ 426
[ 18.424972] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[ 18.426573] initcall iwl_drv_init+0x0/0x1000 [iwlwifi] returned 0 after 1747 usecs
[ 18.461584] iwlwifi 0000:02:00.0: loaded firmware version 29.1654887522.0 op_mode iwlmvm
[ 18.713252] calling iwl_mvm_init+0x0/0x1000 [iwlmvm] @ 456
[ 18.713265] iwlwifi 0000:02:00.0: Detected Intel® Dual Band Wireless AC 3168, REV=0x220
[ 18.737322] iwlwifi 0000:02:00.0: Can’t parse phy_sku in B0, empty sections
[ 18.737637] iwlwifi 0000:02:00.0: Failed to read NVM: -61
[ 18.737878] iwlwifi 0000:02:00.0: Collecting data: trigger 16 fired.
[ 18.739296] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
[ 18.739543] iwlwifi 0000:02:00.0: Status: 0x00000040, count: 6
[ 18.739799] iwlwifi 0000:02:00.0: Loaded firmware version: 29.1654887522.0
[ 18.740102] iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
[ 18.740411] iwlwifi 0000:02:00.0: 0x000002F0 | trm_hw_status0
[ 18.740707] iwlwifi 0000:02:00.0: 0x00000000 | trm_hw_status1
[ 18.740996] iwlwifi 0000:02:00.0: 0x0004171E | branchlink2
[ 18.741278] iwlwifi 0000:02:00.0: 0x000446B2 | interruptlink1
[ 18.741566] iwlwifi 0000:02:00.0: 0x000001AC | interruptlink2
[ 18.741853] iwlwifi 0000:02:00.0: 0x00000000 | data1
[ 18.742105] iwlwifi 0000:02:00.0: 0x00000080 | data2
[ 18.742360] iwlwifi 0000:02:00.0: 0x07030000 | data3
[ 18.742611] iwlwifi 0000:02:00.0: 0x00000000 | beacon time
[ 18.742888] iwlwifi 0000:02:00.0: 0x00002C08 | tsf low
[ 18.743148] iwlwifi 0000:02:00.0: 0x00000000 | tsf hi
[ 18.743404] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
[ 18.743668] iwlwifi 0000:02:00.0: 0x00002C09 | time gp2
[ 18.743932] iwlwifi 0000:02:00.0: 0x00000009 | uCode revision type
[ 18.744245] iwlwifi 0000:02:00.0: 0x0000001D | uCode version major
[ 18.744552] iwlwifi 0000:02:00.0: 0x62A39462 | uCode version minor
[ 18.744861] iwlwifi 0000:02:00.0: 0x00000220 | hw version
[ 18.745135] iwlwifi 0000:02:00.0: 0x00C89200 | board version
[ 18.745421] iwlwifi 0000:02:00.0: 0x00110188 | hcmd
[ 18.745668] iwlwifi 0000:02:00.0: 0x00022000 | isr0
[ 18.745915] iwlwifi 0000:02:00.0: 0x00000000 | isr1
[ 18.746161] iwlwifi 0000:02:00.0: 0x00000002 | isr2
[ 18.746410] iwlwifi 0000:02:00.0: 0x004000C0 | isr3
[ 18.746655] iwlwifi 0000:02:00.0: 0x00000000 | isr4
[ 18.746872] iwlwifi 0000:02:00.0: 0x00110188 | last cmd Id
[ 18.747117] iwlwifi 0000:02:00.0: 0x00000000 | wait_event
[ 18.747360] iwlwifi 0000:02:00.0: 0x00006E20 | l2p_control
[ 18.747635] iwlwifi 0000:02:00.0: 0x00000000 | l2p_duration
[ 18.747918] iwlwifi 0000:02:00.0: 0x00000000 | l2p_mhvalid
[ 18.748194] iwlwifi 0000:02:00.0: 0x00000000 | l2p_addr_match
[ 18.748484] iwlwifi 0000:02:00.0: 0x00000007 | lmpm_pmg_sel
[ 18.748763] iwlwifi 0000:02:00.0: 0x16070617 | timestamp
[ 18.749031] iwlwifi 0000:02:00.0: 0x00341018 | flow_handler
[ 18.749459] iwlwifi 0000:02:00.0: Fseq Registers:
[ 18.749837] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ERROR_CODE
[ 18.750269] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_INIT_VERSION
[ 18.750731] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVIO_INIT_VERSION
[ 18.751194] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_OTP_VERSION
[ 18.751598] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_TOP_CONTENT_VERSION
[ 18.752030] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_ALIVE_TOKEN
[ 18.752430] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVI_ID
[ 18.752817] iwlwifi 0000:02:00.0: 0x00000000 | FSEQ_CNVR_ID
[ 18.753444] iwlwifi 0000:02:00.0: 0x00000000 | CNVI_AUX_MISC_CHIP
[ 18.754085] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_AUX_MISC_CHIP
[ 18.754722] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[ 18.755436] iwlwifi 0000:02:00.0: 0x00000000 | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[ 18.756168] iwlwifi 0000:02:00.0: Firmware not running - cannot dump error
[ 18.769377] iwlwifi 0000:02:00.0: Failed to run INIT ucode: -61
[ 18.781698] initcall iwl_mvm_init+0x0/0x1000 [iwlmvm] returned 0 after 66828 usecs

Can you check sudo dmesg | grep firmware and look to see if the driver attempted to load a newer firmware, failed, and fell back to an older firmware version?

Output of "dmesg | grep firmware -

[ 2.604843] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[ 2.774806] calling firmware_memmap_init+0x0/0x35 @ 1
[ 2.774828] initcall firmware_memmap_init+0x0/0x35 returned 0 after 20 usecs
[ 20.498787] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.8.10-fw-22.50.19.14.f.bseq
[ 20.590856] iwlwifi 0000:02:00.0: loaded firmware version 29.1654887522.0 op_mode iwlmvm
[ 20.773552] iwlwifi 0000:02:00.0: Loaded firmware version: 29.1654887522.0
[ 20.827377] Bluetooth: hci0: Intel firmware patch completed and activated

The same behaviour was observed for my wireless card and a few more on other distributions that updated their kernel to version 5.5.0 including arch linux and gentoo and I think there is a patch available for it. As far as I know the issue was fixed on both Arch Linux and Gentoo on latest kernel update.

Here’s the link to the issue - Gentoo Forums :: View topic - iwlwifi Fails On Kernel 5.5.0 [solved]

I just got a reply back from a fellow Intel colleague:

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git/commit/?id=a9149d243f259ad8f02b1e23dfe8ba06128f15e1

Looks like the kernel is indeed broken - we’re trying to see if we can include this commit and … well hopefully that will fix it.

Thank you , I really appreciate it!!!

kernel version 5.5.4-910 will have the referenced change. Please test it when it becomes available in an update, reboot, and report back!

Ok, I will test it and report back as soon as it becomes available!

Yes, the iwlwifi problem has been fixed in the kernel version 5.5.4-910.native!!!

@shans10 If I had kudos points for your response time - you’d score big time. Thanks a ton - I’ve reported back to folks that maintain the driver.

1 Like