Bug 196439

Summary: iwl8265: "Microcode SW error detected" when using 5Ghz wifi with width 80
Product: Drivers Reporter: Wael Nasreddine (wael.nasreddine)
Component: network-wirelessAssignee: DO NOT USE - assign "network-wireless-intel" component instead (linuxwifi)
Status: CLOSED DUPLICATE    
Severity: normal    
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 4.11.9 Subsystem:
Regression: No Bisected commit-id:

Description Wael Nasreddine 2017-07-21 17:21:05 UTC
Hello,

I have an Intel 8265 card in my XPS 13 and I experience a lot of dropped packets when I'm connected to a wide Wifi (width is 80). The following debug info were captured on Kernel 4.11.8 patched with Zen. But I have the same problem on latest 4.11.9. This does not happend if I change the width of the wifi down to 40 from 80.


relevant lspci -vvv:

3a:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Dual Band Wireless-AC 8265
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
        Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 0
        Interrupt: pin A routed to IRQ 291
        Region 0: Memory at dc200000 (64-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: iwlwifi
        Kernel modules: iwlwifi



$ modinfo iwlwifi | grep -e 8265 -e version
firmware:       iwlwifi-8265-28.ucode
vermagic:       4.11.8-1-zen SMP preempt mod_unload modversions



When I journalctl -fk, I see the following error message repeat at a ~2s frequency.

Jul 19 23:03:58 cratos kernel: ieee80211 phy0: Hardware restart was requested
Jul 19 23:03:59 cratos kernel: iwlwifi 0000:3a:00.0: L1 Enabled - LTR Enabled
Jul 19 23:03:59 cratos kernel: iwlwifi 0000:3a:00.0: L1 Enabled - LTR Enabled
Jul 19 23:03:59 cratos kernel: iwlwifi 0000:3a:00.0: L1 Enabled - LTR Enabled
Jul 19 23:03:59 cratos kernel: iwlwifi 0000:3a:00.0: L1 Enabled - LTR Enabled
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: Microcode SW error detected.  Restarting 0x82000000.
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: CSR values:
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:        CSR_HW_IF_CONFIG_REG: 0X00489000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:          CSR_INT_COALESCING: 0X00000040
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                     CSR_INT: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                CSR_INT_MASK: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:           CSR_FH_INT_STATUS: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                 CSR_GPIO_IN: 0X00000010
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                   CSR_RESET: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                CSR_GP_CNTRL: 0X08040005
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                  CSR_HW_REV: 0X00000230
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:              CSR_EEPROM_REG: 0Xd55555d5
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:               CSR_EEPROM_GP: 0Xd55555d5
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:              CSR_OTP_GP_REG: 0Xd55555d5
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                 CSR_GIO_REG: 0X001f0042
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:            CSR_GP_UCODE_REG: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:           CSR_GP_DRIVER_REG: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                 CSR_LED_REG: 0X00000060
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:        CSR_DRAM_INT_TBL_REG: 0X88458227
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:        CSR_GIO_CHICKEN_BITS: 0X07800200
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:             CSR_ANA_PLL_CFG: 0Xd55555d5
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:      CSR_MONITOR_STATUS_REG: 0Xc03803c0
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: FH register values:
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X45718c00
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X045718b0
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000060
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801054
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X07830000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0003
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: Start IWL Error Log Dump:
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: Status: 0x00000000, count: 6
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: Loaded firmware version: 27.455470.0
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00001007 | ADVANCED_SYSASSERT
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00800634 | trm_hw_status0
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000000 | trm_hw_status1
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00024358 | branchlink2
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00039176 | interruptlink1
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000000 | interruptlink2
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00030400 | data1
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0000040B | data2
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xDEADBEEF | data3
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0C0158BD | beacon time
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xD374F5C4 | tsf low
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000001 | tsf hi
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000000 | time gp1
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00B89AB8 | time gp2
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000001 | uCode revision type
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0000001B | uCode version major
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0006F32E | uCode version minor
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000230 | hw version
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00489000 | board version
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0AA1001C | hcmd
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xA4022002 | isr0
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x01000000 | isr1
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0800180A | isr2
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x004178C5 | isr3
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000000 | isr4
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0064019C | last cmd Id
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000000 | wait_event
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000080 | l2p_control
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00012030 | l2p_duration
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0000003F | l2p_mhvalid
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x000000CE | l2p_addr_match
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0000000F | lmpm_pmg_sel
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x04012314 | timestamp
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00006070 | flow_handler
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: Start IWL Error Log Dump:
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: Status: 0x00000000, count: 7
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000070 | ADVANCED_SYSASSERT
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000000 | umac branchlink1
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xC0085C58 | umac branchlink2
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xC0083438 | umac interruptlink1
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xC0083438 | umac interruptlink2
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000800 | umac data1
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xC0083438 | umac data2
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xDEADBEEF | umac data3
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0000001B | umac major
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0006F32E | umac minor
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xC088627C | frame pointer
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0xC088627C | stack pointer
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x0064019C | last host cmd
Jul 19 23:04:11 cratos kernel: iwlwifi 0000:3a:00.0: 0x00000000 | isr status reg
Comment 1 Emmanuel Grumbach 2017-07-22 18:05:19 UTC

*** This bug has been marked as a duplicate of bug 172431 ***