FS#63967 - iwlwifi: "Microcode SW error detected. Restarting 0x2000000." with Intel 8260

Attached to Project: Arch Linux
Opened by Max Pray (synthead) - Monday, 30 September 2019, 20:05 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 15 October 2019, 17:22 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 5
Private No

Details

Description:

iwlwifi crashes with "Microcode SW error detected. Restarting 0x2000000." when scanning networks. In a UX sense, this seems to "freeze" the system. Keyboard inputs get stuck, USB devices stop responding for a second, etc. However, after iwlwifi has connected to a network (and doesn't scan networks), the UX issues aren't present. The iwlwifi driver seems to restart without issues, also.

Log from journalctl:

kernel: iwlwifi 0000:04:00.0: regular scan timed out
kernel: iwlwifi 0000:04:00.0: Microcode SW error detected. Restarting 0x2000000.
kernel: iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
kernel: iwlwifi 0000:04:00.0: Status: 0x00000080, count: 6
kernel: iwlwifi 0000:04:00.0: Loaded firmware version: 36.77d01142.0
kernel: iwlwifi 0000:04:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
kernel: iwlwifi 0000:04:00.0: 0x000002F0 | trm_hw_status0
kernel: iwlwifi 0000:04:00.0: 0x00000000 | trm_hw_status1
kernel: iwlwifi 0000:04:00.0: 0x00024200 | branchlink2
kernel: iwlwifi 0000:04:00.0: 0x00039872 | interruptlink1
kernel: iwlwifi 0000:04:00.0: 0x00039872 | interruptlink2
kernel: iwlwifi 0000:04:00.0: 0x00000000 | data1
kernel: iwlwifi 0000:04:00.0: 0x00000080 | data2
kernel: iwlwifi 0000:04:00.0: 0x07830000 | data3
kernel: iwlwifi 0000:04:00.0: 0x1D01262D | beacon time
kernel: iwlwifi 0000:04:00.0: 0x01E339D4 | tsf low
kernel: iwlwifi 0000:04:00.0: 0x00000000 | tsf hi
kernel: iwlwifi 0000:04:00.0: 0x00000000 | time gp1
kernel: iwlwifi 0000:04:00.0: 0x00B78050 | time gp2
kernel: iwlwifi 0000:04:00.0: 0x00000001 | uCode revision type
kernel: iwlwifi 0000:04:00.0: 0x00000024 | uCode version major
kernel: iwlwifi 0000:04:00.0: 0x77D01142 | uCode version minor
kernel: iwlwifi 0000:04:00.0: 0x00000201 | hw version
kernel: iwlwifi 0000:04:00.0: 0x00489008 | board version
kernel: iwlwifi 0000:04:00.0: 0x0097019C | hcmd
kernel: iwlwifi 0000:04:00.0: 0x00022000 | isr0
kernel: iwlwifi 0000:04:00.0: 0x00800000 | isr1
kernel: iwlwifi 0000:04:00.0: 0x08001802 | isr2
kernel: iwlwifi 0000:04:00.0: 0x00417CC0 | isr3
kernel: iwlwifi 0000:04:00.0: 0x00000000 | isr4
kernel: iwlwifi 0000:04:00.0: 0x0097019C | last cmd Id
kernel: iwlwifi 0000:04:00.0: 0x00000000 | wait_event
kernel: iwlwifi 0000:04:00.0: 0x0000CF42 | l2p_control
kernel: iwlwifi 0000:04:00.0: 0x00000020 | l2p_duration
kernel: iwlwifi 0000:04:00.0: 0x00000000 | l2p_mhvalid
kernel: iwlwifi 0000:04:00.0: 0x00000030 | l2p_addr_match
kernel: iwlwifi 0000:04:00.0: 0x0000000D | lmpm_pmg_sel
kernel: iwlwifi 0000:04:00.0: 0x19071249 | timestamp
kernel: iwlwifi 0000:04:00.0: 0x003498A8 | flow_handler
kernel: iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
kernel: iwlwifi 0000:04:00.0: Status: 0x00000080, count: 7
kernel: iwlwifi 0000:04:00.0: 0x00000070 | NMI_INTERRUPT_LMAC_FATAL
kernel: iwlwifi 0000:04:00.0: 0x00000000 | umac branchlink1
kernel: iwlwifi 0000:04:00.0: 0xC0086B38 | umac branchlink2
kernel: iwlwifi 0000:04:00.0: 0xC008D91C | umac interruptlink1
kernel: iwlwifi 0000:04:00.0: 0xC0083D08 | umac interruptlink2
kernel: iwlwifi 0000:04:00.0: 0x00000800 | umac data1
kernel: iwlwifi 0000:04:00.0: 0xC0083D08 | umac data2
kernel: iwlwifi 0000:04:00.0: 0xDEADBEEF | umac data3
kernel: iwlwifi 0000:04:00.0: 0x00000024 | umac major
kernel: iwlwifi 0000:04:00.0: 0x77D01142 | umac minor
kernel: iwlwifi 0000:04:00.0: 0xC088628C | frame pointer
kernel: iwlwifi 0000:04:00.0: 0xC088628C | stack pointer
kernel: iwlwifi 0000:04:00.0: 0x0097019C | last host cmd
kernel: iwlwifi 0000:04:00.0: 0x00000000 | isr status reg
kernel: iwlwifi 0000:04:00.0: Fseq Registers:
kernel: iwlwifi 0000:04:00.0: 0x31C1ACB5 | FSEQ_ERROR_CODE
kernel: iwlwifi 0000:04:00.0: 0x454603C8 | FSEQ_TOP_INIT_VERSION
kernel: iwlwifi 0000:04:00.0: 0x49DB29E0 | FSEQ_CNVIO_INIT_VERSION
kernel: iwlwifi 0000:04:00.0: 0x0000A056 | FSEQ_OTP_VERSION
kernel: iwlwifi 0000:04:00.0: 0xB4A111B9 | FSEQ_TOP_CONTENT_VERSION
kernel: iwlwifi 0000:04:00.0: 0x29B8579A | FSEQ_ALIVE_TOKEN
kernel: iwlwifi 0000:04:00.0: 0xD5B5C5EC | FSEQ_CNVI_ID
kernel: iwlwifi 0000:04:00.0: 0x763A60B8 | FSEQ_CNVR_ID
kernel: iwlwifi 0000:04:00.0: 0x03000000 | CNVI_AUX_MISC_CHIP
kernel: iwlwifi 0000:04:00.0: 0x0BADCAFE | CNVR_AUX_MISC_CHIP
kernel: iwlwifi 0000:04:00.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
kernel: iwlwifi 0000:04:00.0: 0x0BADCAFE | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
kernel: iwlwifi 0000:04:00.0: Collecting data: trigger 2 fired.
kernel: ieee80211 phy0: Hardware restart was requested
kernel: iwlwifi 0000:04:00.0: Applying debug destination EXTERNAL_DRAM
kernel: iwlwifi 0000:04:00.0: Applying debug destination EXTERNAL_DRAM
kernel: iwlwifi 0000:04:00.0: FW already configured (0) - re-configuring
wpa_supplicant[687]: wlp4s0: CTRL-EVENT-REGDOM-CHANGE init=DRIVER type=WORLD
wpa_supplicant[687]: wlp4s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-22 noise=9999 txrate=144400

lspci output for affected adapter:

04:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)

This is with linux 5.3.1.arch1-1

Steps to reproduce:
1. Have an Arch system with linux 5.3.1.arch1-1 and an Intel 8260 wireless adapter
2. Scan for networks.
3. Observe the above in the journalctl log and observe UX lock-ups.

Marking as high because it causes UX lock-ups and affects the kernel.
This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 15 October 2019, 17:22 GMT
Reason for closing:  Fixed
Comment by loqs (loqs) - Monday, 30 September 2019, 21:37 GMT Comment by Conrad S (conrad784) - Tuesday, 01 October 2019, 08:19 GMT
I've got the same problem -- experiencing lock-ups of USB-Keyboard input and also audio bluetooth connections.

Kernel 5.3.1.arch1-1-ARCH
Intel 8260

I am using NetworkManager and this problem only occurs when I am not connected to any Wifi Network.
Comment by Conrad S (conrad784) - Tuesday, 01 October 2019, 09:54 GMT
E: double post
Comment by Javier Fernández (WyRe) - Thursday, 10 October 2019, 21:38 GMT
I'm also getting the same type of errors, this is my dmesg dump (filtered with grep); despite of this messages, apparently my wireless interface is working properly. My kernel version is 5.3.5 and my wireless interface is

Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
Comment by loqs (loqs) - Thursday, 10 October 2019, 23:50 GMT
@WyRe please report upstream as your dump looks to have the same as issue as  FS#63117  which was believed to be resolved.
Comment by Javier Fernández (WyRe) - Friday, 11 October 2019, 07:32 GMT
Thank you @loqs

The report is done, you can see more details in here https://bugzilla.kernel.org/show_bug.cgi?id=205163
Comment by Javier Fernández (WyRe) - Friday, 11 October 2019, 13:46 GMT
@loqs you were right, my issue seems a duplicate of https://bugs.archlinux.org/task/63117 and according to this https://bugzilla.kernel.org/show_bug.cgi?id=204151#c15 has been already solved and maybe applied in a future if I'm not wrong.

Thank you anyway and sorry for flooding.
Comment by loqs (loqs) - Friday, 11 October 2019, 15:08 GMT Comment by Max Pray (synthead) - Friday, 11 October 2019, 18:31 GMT
This seems to be fixed in linux 5.3.5.arch1-1!

Loading...