You are not logged in.

#1 2017-06-17 09:48:17

nathanb
Member
Registered: 2011-11-28
Posts: 101
Website

Frequent iwlwifi microcode SW errors

My network stack:

[nathan@nathanb-nuc ~/tmp] uname -a
Linux nathanb-nuc 4.11.5-1-ARCH #1 SMP PREEMPT Wed Jun 14 16:19:27 CEST 2017 x86_64 GNU/Linux
[nathan@nathanb-nuc ~/tmp] lspci | grep -i network
03:00.0 Network controller: Intel Corporation Wireless 8260 (rev 3a)
[nathan@nathanb-nuc ~/tmp] lsmod | grep iwlwifi
iwlwifi               192512  1 iwlmvm
cfg80211              520192  3 iwlmvm,iwlwifi,mac80211

When I look at journalctl, I see loads of the following:

Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: Microcode SW error detected.  Restarting 0x82000000.
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: CSR values:
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:        CSR_HW_IF_CONFIG_REG: 0X00c89008
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:          CSR_INT_COALESCING: 0X00000040
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                     CSR_INT: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                CSR_INT_MASK: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:           CSR_FH_INT_STATUS: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                 CSR_GPIO_IN: 0X00000019
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                   CSR_RESET: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                CSR_GP_CNTRL: 0X08040005
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                  CSR_HW_REV: 0X00000201
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:              CSR_EEPROM_REG: 0Xd55555d5
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:               CSR_EEPROM_GP: 0Xd55555d5
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:              CSR_OTP_GP_REG: 0Xd55555d5
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                 CSR_GIO_REG: 0X001f0042
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:            CSR_GP_UCODE_REG: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:           CSR_GP_DRIVER_REG: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                 CSR_LED_REG: 0X00000060
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:        CSR_DRAM_INT_TBL_REG: 0X884a8ed3
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:        CSR_GIO_CHICKEN_BITS: 0X07800200
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:             CSR_ANA_PLL_CFG: 0Xd55555d5
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:      CSR_MONITOR_STATUS_REG: 0Xc03803c0
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: FH register values:
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X4a334c00
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X04a334b0
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000068
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801054
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X07830000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0003
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: Status: 0x00000000, count: 6
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: Loaded firmware version: 27.455470.0
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00001007 | ADVANCED_SYSASSERT          
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x008006F4 | trm_hw_status0
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000000 | trm_hw_status1
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0000FECC | branchlink2
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00029602 | interruptlink1
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000000 | interruptlink2
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00030400 | data1
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0000040B | data2
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0xDEADBEEF | data3
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x03805B7E | beacon time
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0xABE6E481 | tsf low
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000054 | tsf hi
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000000 | time gp1
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x007C1344 | time gp2
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000001 | uCode revision type
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0000001B | uCode version major
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0006F32E | uCode version minor
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000201 | hw version
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00C89008 | board version
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0A01001C | hcmd
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x80022002 | isr0
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr1
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0800180A | isr2
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x004168C5 | isr3
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr4
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0059019C | last cmd Id
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000000 | wait_event
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0000BB3A | l2p_control
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00002020 | l2p_duration
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000003 | l2p_mhvalid
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x000000FE | l2p_addr_match
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0000000D | lmpm_pmg_sel
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x04012314 | timestamp
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00006870 | flow_handler
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: Start IWL Error Log Dump:
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: Status: 0x00000000, count: 7
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000070 | ADVANCED_SYSASSERT
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000000 | umac branchlink1
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0xC0085E88 | umac branchlink2
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0xC0083660 | umac interruptlink1
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0xC0083660 | umac interruptlink2
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000800 | umac data1
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0xC0083660 | umac data2
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0xDEADBEEF | umac data3
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0000001B | umac major
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0006F32E | umac minor
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0xC088627C | frame pointer
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0xC088627C | stack pointer
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x0059019C | last host cmd
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: 0x00000000 | isr status reg
Jun 17 21:21:40 nathanb-nuc kernel: ieee80211 phy0: Hardware restart was requested
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 17 21:21:40 nathanb-nuc kernel: iwlwifi 0000:03:00.0: L1 Enabled - LTR Enabled
Jun 17 21:25:35 nathanb-nuc wpa_supplicant[480]: wlp3s0: WPA: Group rekeying completed with 6c:3b:6b:3f:76:2f [GTK=CCMP]

There are heaps of these, sometimes multiple per minute.

Looks like I have these Intel 8000-series ucode blobs:

[nathan@nathanb-nuc ~/tmp] ls -l /lib/firmware | grep 8000
-rw-r--r--  1 root root 1745176 May  5 18:32 iwlwifi-8000C-13.ucode
-rw-r--r--  1 root root 2351636 May  5 18:32 iwlwifi-8000C-16.ucode
-rw-r--r--  1 root root 2394060 May  5 18:32 iwlwifi-8000C-21.ucode
-rw-r--r--  1 root root 2120860 May  5 18:32 iwlwifi-8000C-22.ucode
-rw-r--r--  1 root root 2227284 May  5 18:32 iwlwifi-8000C-27.ucode

I've spent some time reading the Arch and Kernel wikis, and though there's a lot of information of questionable currency there, I didn't find anything that seemed to address my specific situation.

I should mention that wifi is generally working, though occasionally speeds seem to stall, which seems (it's a little hard to tell exactly) to correlate some with the above error being written to the syslog.

Any suggestions will be appreciated!

Offline

#2 2017-06-17 11:28:34

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: Frequent iwlwifi microcode SW errors

Report the problem upstream. There is nothing we can do to inspect or correct the binary firmware that is provided by intel.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2017-06-18 03:14:30

nathanb
Member
Registered: 2011-11-28
Posts: 101
Website

Re: Frequent iwlwifi microcode SW errors

True. But you can let me know if this is a known issue that my Googling didn't find or suggest a workaround, hence me asking here first before reporting upstream.

If this doesn't ring any bells and you have no suggestions for a workaround, I will file a bug with iwlwifi, unless you think I should engage Intel directly from the get-go.

Offline

#4 2017-06-18 04:14:30

PootisBird
Member
Registered: 2014-04-16
Posts: 125

Re: Frequent iwlwifi microcode SW errors

I'm having similar problem on N6205. There's a bug upstream, devs will not fix it because it is no longer supported, unless someone bisects it for them.
It can't recover on its own which sucks. I need to unload iwldvm and iwlwifi modules by hand, and then load iwlwifi to recover.

You can check if it may be related.
https://bugzilla.kernel.org/show_bug.cgi?id=190281

Offline

#5 2017-06-18 04:23:04

nathanb
Member
Registered: 2011-11-28
Posts: 101
Website

Re: Frequent iwlwifi microcode SW errors

It's a different error code and different firmware so it doesn't smell like the same error. Bummer that they're not willing to fix it for you though mate sad. Seems like wireless support on Linux hasn't gotten significantly better than the last time I tried to use it.

Thanks for chiming on though! Thankfully in my case the driver is able to carry on without unloading / reloading the whole stack!

Last edited by nathanb (2017-06-18 04:25:13)

Offline

#6 2017-06-18 04:42:03

nathanb
Member
Registered: 2011-11-28
Posts: 101
Website

Re: Frequent iwlwifi microcode SW errors

Kernel bug 196109 filed.

Offline

Board footer

Powered by FluxBB