2015-05-25 18:18:26

by Dominik Brodowski

[permalink] [raw]
Subject: iwlwifi: Queue 16 stuck for 10000 ms - Microcode SW error detected.

Hey,

on my pretty new iwlwifi device 8086:08b1 (7260), the following error just
appeared twice in dmesg on 4.1.0-rc4+ (Linus' tree as of Saturday/Sunday
morning):

iwlwifi 0000:02:00.0: Queue 16 stuck for 10000 ms.
iwlwifi 0000:02:00.0: Current SW read_ptr 109 write_ptr 243
iwl data: 00000000: 00 00 00 00 00 00 00 00 00 e0 ff 1f 00 00 00 00 ................
iwlwifi 0000:02:00.0: FH TRBs(0) = 0x80003019
iwlwifi 0000:02:00.0: FH TRBs(1) = 0xc011007c
iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
iwlwifi 0000:02:00.0: FH TRBs(3) = 0x80300015
iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
iwlwifi 0000:02:00.0: FH TRBs(7) = 0x007090d3
iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [22,22]
iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [187,187]
iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [10,39]
iwlwifi 0000:02:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [212,212]
iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 15 is active and mapped to fifo 5 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 16 is active and mapped to fifo 1 ra_tid 0x0000 [109,243]
iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
iwlwifi 0000:02:00.0: CSR values:
iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X80000040
iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403c5
iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000144
iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0X00000000
iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X80000000
iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0X803a0000
iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X00080040
iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X8821408e
iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0X3c08019d
iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010
iwlwifi 0000:02:00.0: FH register values:
iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X21418b00
iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X021418a0
iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000080
iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X03030000
iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
iwlwifi 0000:02:00.0: Loaded firmware version: 25.24.13.0
iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
iwlwifi 0000:02:00.0: 0x00000230 | uPc
iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
iwlwifi 0000:02:00.0: 0x00000B2E | branchlink2
iwlwifi 0000:02:00.0: 0x00016210 | interruptlink1
iwlwifi 0000:02:00.0: 0x00016210 | interruptlink2
iwlwifi 0000:02:00.0: 0x00000000 | data1
iwlwifi 0000:02:00.0: 0x00000080 | data2
iwlwifi 0000:02:00.0: 0x07030000 | data3
iwlwifi 0000:02:00.0: 0x50C13A19 | beacon time
iwlwifi 0000:02:00.0: 0x0844762D | tsf low
iwlwifi 0000:02:00.0: 0x00000075 | tsf hi
iwlwifi 0000:02:00.0: 0x00000000 | time gp1
iwlwifi 0000:02:00.0: 0x4577111A | time gp2
iwlwifi 0000:02:00.0: 0x00000000 | time gp3
iwlwifi 0000:02:00.0: 0x00041918 | uCode version
iwlwifi 0000:02:00.0: 0x00000144 | hw version
iwlwifi 0000:02:00.0: 0x40489204 | board version
iwlwifi 0000:02:00.0: 0x09D30018 | hcmd
iwlwifi 0000:02:00.0: 0x24022003 | isr0
iwlwifi 0000:02:00.0: 0x01800000 | isr1
iwlwifi 0000:02:00.0: 0x0000000A | isr2
iwlwifi 0000:02:00.0: 0x004140C0 | isr3
iwlwifi 0000:02:00.0: 0x00000000 | isr4
iwlwifi 0000:02:00.0: 0x00000110 | isr_pref
iwlwifi 0000:02:00.0: 0x00000000 | wait_event
iwlwifi 0000:02:00.0: 0x00000080 | l2p_control
iwlwifi 0000:02:00.0: 0x00010030 | l2p_duration
iwlwifi 0000:02:00.0: 0x0000003F | l2p_mhvalid
iwlwifi 0000:02:00.0: 0x000000CE | l2p_addr_match
iwlwifi 0000:02:00.0: 0x00000005 | lmpm_pmg_sel
iwlwifi 0000:02:00.0: 0x09051509 | timestamp
iwlwifi 0000:02:00.0: 0x00348090 | flow_handler
ieee80211 phy0: Hardware restart was requested
iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled

wifi works fine afterwards (at maximum, a reconnect is required), but
still something seems to be at odds here...

Best,
Dominik


Attachments:
(No filename) (6.40 kB)
signature.asc (819.00 B)
Digital signature
Download all attachments

2015-05-25 19:31:43

by Dominik Brodowski

[permalink] [raw]
Subject: Re: iwlwifi: Queue 16 stuck for 10000 ms - Microcode SW error detected.

On Mon, May 25, 2015 at 09:27:39PM +0300, Emmanuel Grumbach wrote:
> On Mon, May 25, 2015 at 9:10 PM, Dominik Brodowski
> <[email protected]> wrote:
> > Hey,
> >
> > on my pretty new iwlwifi device 8086:08b1 (7260), the following error just
> > appeared twice in dmesg on 4.1.0-rc4+ (Linus' tree as of Saturday/Sunday
> > morning):
>
> Firmware problem. Please try to update your -13.ucode from the git
> repository (https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/)

Thanks, will test.

Dominik


Attachments:
(No filename) (531.00 B)
signature.asc (819.00 B)
Digital signature
Download all attachments

2015-05-29 20:04:43

by Dominik Brodowski

[permalink] [raw]
Subject: Re: iwlwifi: Queue 16 stuck for 10000 ms - Microcode SW error detected.

On Mon, May 25, 2015 at 08:40:47PM +0200, Dominik Brodowski wrote:
> On Mon, May 25, 2015 at 09:27:39PM +0300, Emmanuel Grumbach wrote:
> > On Mon, May 25, 2015 at 9:10 PM, Dominik Brodowski
> > <[email protected]> wrote:
> > > Hey,
> > >
> > > on my pretty new iwlwifi device 8086:08b1 (7260), the following error just
> > > appeared twice in dmesg on 4.1.0-rc4+ (Linus' tree as of Saturday/Sunday
> > > morning):
> >
> > Firmware problem. Please try to update your -13.ucode from the git
> > repository (https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/)
>
> Thanks, will test.

No joy. Firmware 25.27.13.0 also is not happy at times:

iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
iwlwifi 0000:02:00.0: Queue 2 stuck for 10000 ms.
iwlwifi 0000:02:00.0: Current SW read_ptr 36 write_ptr 67
iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
iwlwifi 0000:02:00.0: FH TRBs(0) = 0x00000000
iwlwifi 0000:02:00.0: FH TRBs(1) = 0xc01100b8
iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
iwlwifi 0000:02:00.0: FH TRBs(3) = 0x80300008
iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
iwlwifi 0000:02:00.0: FH TRBs(7) = 0x0070904c
iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [9,9]
iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [36,67]
iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [77,77]
iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 15 is active and mapped to fifo 5 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 16 is active and mapped to fifo 1 ra_tid 0x0000 [169,230]
iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
iwlwifi 0000:02:00.0: CSR values:
iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X80000040
iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403c5
iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000144
iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0X00000000
iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X80000000
iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0X803a0000
iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X00080040
iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X8821408c
iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0X3c08019d
iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010
iwlwifi 0000:02:00.0: FH register values:
iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0d9f3000
iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00d9f2f0
iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X000000e0
iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X03030000
iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
iwlwifi 0000:02:00.0: Loaded firmware version: 25.27.13.0
iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
iwlwifi 0000:02:00.0: 0x00A002F0 | uPc
iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
iwlwifi 0000:02:00.0: 0x00000B2E | branchlink2
iwlwifi 0000:02:00.0: 0x00016218 | interruptlink1
iwlwifi 0000:02:00.0: 0x00016218 | interruptlink2
iwlwifi 0000:02:00.0: 0x00000000 | data1
iwlwifi 0000:02:00.0: 0x00000080 | data2
iwlwifi 0000:02:00.0: 0x07030000 | data3
iwlwifi 0000:02:00.0: 0xC600F06D | beacon time
iwlwifi 0000:02:00.0: 0x95A5CF83 | tsf low
iwlwifi 0000:02:00.0: 0x00000003 | tsf hi
iwlwifi 0000:02:00.0: 0x00000000 | time gp1
iwlwifi 0000:02:00.0: 0x164C8D06 | time gp2
iwlwifi 0000:02:00.0: 0x00000000 | time gp3
iwlwifi 0000:02:00.0: 0x0004191B | uCode version
iwlwifi 0000:02:00.0: 0x00000144 | hw version
iwlwifi 0000:02:00.0: 0x40489204 | board version
iwlwifi 0000:02:00.0: 0x10A9001C | hcmd
iwlwifi 0000:02:00.0: 0x00022002 | isr0
iwlwifi 0000:02:00.0: 0x01800000 | isr1
iwlwifi 0000:02:00.0: 0x0000000A | isr2
iwlwifi 0000:02:00.0: 0x004174C0 | isr3
iwlwifi 0000:02:00.0: 0x00000000 | isr4
iwlwifi 0000:02:00.0: 0x00000110 | isr_pref
iwlwifi 0000:02:00.0: 0x00000000 | wait_event
iwlwifi 0000:02:00.0: 0x0000024D | l2p_control
iwlwifi 0000:02:00.0: 0x00000020 | l2p_duration
iwlwifi 0000:02:00.0: 0x00000003 | l2p_mhvalid
iwlwifi 0000:02:00.0: 0x000000EE | l2p_addr_match
iwlwifi 0000:02:00.0: 0x00000005 | lmpm_pmg_sel
iwlwifi 0000:02:00.0: 0x21051936 | timestamp
iwlwifi 0000:02:00.0: 0x0034E0E8 | flow_handler
ieee80211 phy0: Hardware restart was requested
iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled

Best,
Dominik


Attachments:
(No filename) (7.12 kB)
signature.asc (819.00 B)
Digital signature
Download all attachments

2015-05-31 06:29:24

by Emmanuel Grumbach

[permalink] [raw]
Subject: Re: iwlwifi: Queue 16 stuck for 10000 ms - Microcode SW error detected.

>
> No joy. Firmware 25.27.13.0 also is not happy at times:

Are you using 40Mhz or 20Mhz?

>
> iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
> iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
> iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
> iwlwifi 0000:02:00.0: Queue 2 stuck for 10000 ms.
> iwlwifi 0000:02:00.0: Current SW read_ptr 36 write_ptr 67
> iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> iwlwifi 0000:02:00.0: FH TRBs(0) = 0x00000000
> iwlwifi 0000:02:00.0: FH TRBs(1) = 0xc01100b8
> iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
> iwlwifi 0000:02:00.0: FH TRBs(3) = 0x80300008
> iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
> iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
> iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
> iwlwifi 0000:02:00.0: FH TRBs(7) = 0x0070904c
> iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [9,9]
> iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [36,67]
> iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [77,77]
> iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 15 is active and mapped to fifo 5 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 16 is active and mapped to fifo 1 ra_tid 0x0000 [169,230]
> iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
> iwlwifi 0000:02:00.0: CSR values:
> iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
> iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
> iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X80000040
> iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
> iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
> iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
> iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
> iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
> iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403c5
> iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000144
> iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0X00000000
> iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X80000000
> iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0X803a0000
> iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X00080040
> iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
> iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
> iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
> iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
> iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
> iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X8821408c
> iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
> iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
> iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0X3c08019d
> iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
> iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010
> iwlwifi 0000:02:00.0: FH register values:
> iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0d9f3000
> iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00d9f2f0
> iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X000000e0
> iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
> iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
> iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X03030000
> iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
> iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
> iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
> iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
> iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
> iwlwifi 0000:02:00.0: Loaded firmware version: 25.27.13.0
> iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
> iwlwifi 0000:02:00.0: 0x00A002F0 | uPc
> iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
> iwlwifi 0000:02:00.0: 0x00000B2E | branchlink2
> iwlwifi 0000:02:00.0: 0x00016218 | interruptlink1
> iwlwifi 0000:02:00.0: 0x00016218 | interruptlink2
> iwlwifi 0000:02:00.0: 0x00000000 | data1
> iwlwifi 0000:02:00.0: 0x00000080 | data2
> iwlwifi 0000:02:00.0: 0x07030000 | data3
> iwlwifi 0000:02:00.0: 0xC600F06D | beacon time
> iwlwifi 0000:02:00.0: 0x95A5CF83 | tsf low
> iwlwifi 0000:02:00.0: 0x00000003 | tsf hi
> iwlwifi 0000:02:00.0: 0x00000000 | time gp1
> iwlwifi 0000:02:00.0: 0x164C8D06 | time gp2
> iwlwifi 0000:02:00.0: 0x00000000 | time gp3
> iwlwifi 0000:02:00.0: 0x0004191B | uCode version
> iwlwifi 0000:02:00.0: 0x00000144 | hw version
> iwlwifi 0000:02:00.0: 0x40489204 | board version
> iwlwifi 0000:02:00.0: 0x10A9001C | hcmd
> iwlwifi 0000:02:00.0: 0x00022002 | isr0
> iwlwifi 0000:02:00.0: 0x01800000 | isr1
> iwlwifi 0000:02:00.0: 0x0000000A | isr2
> iwlwifi 0000:02:00.0: 0x004174C0 | isr3
> iwlwifi 0000:02:00.0: 0x00000000 | isr4
> iwlwifi 0000:02:00.0: 0x00000110 | isr_pref
> iwlwifi 0000:02:00.0: 0x00000000 | wait_event
> iwlwifi 0000:02:00.0: 0x0000024D | l2p_control
> iwlwifi 0000:02:00.0: 0x00000020 | l2p_duration
> iwlwifi 0000:02:00.0: 0x00000003 | l2p_mhvalid
> iwlwifi 0000:02:00.0: 0x000000EE | l2p_addr_match
> iwlwifi 0000:02:00.0: 0x00000005 | lmpm_pmg_sel
> iwlwifi 0000:02:00.0: 0x21051936 | timestamp
> iwlwifi 0000:02:00.0: 0x0034E0E8 | flow_handler
> ieee80211 phy0: Hardware restart was requested
> iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
> iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
> iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
> iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
>
> Best,
> Dominik

2015-05-31 06:52:48

by Dominik Brodowski

[permalink] [raw]
Subject: Re: iwlwifi: Queue 16 stuck for 10000 ms - Microcode SW error detected.

On Sun, May 31, 2015 at 09:29:22AM +0300, Emmanuel Grumbach wrote:
> >
> > No joy. Firmware 25.27.13.0 also is not happy at times:
>
> Are you using 40Mhz or 20Mhz?

Well, at the moment (and the problem appeared again just minutes ago):

channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz

> > iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
> > iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
> > iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
> > iwlwifi 0000:02:00.0: Queue 2 stuck for 10000 ms.
> > iwlwifi 0000:02:00.0: Current SW read_ptr 36 write_ptr 67
> > iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
> > iwlwifi 0000:02:00.0: FH TRBs(0) = 0x00000000
> > iwlwifi 0000:02:00.0: FH TRBs(1) = 0xc01100b8
> > iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
> > iwlwifi 0000:02:00.0: FH TRBs(3) = 0x80300008
> > iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
> > iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
> > iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
> > iwlwifi 0000:02:00.0: FH TRBs(7) = 0x0070904c
> > iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [9,9]
> > iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [36,67]
> > iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [77,77]
> > iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 15 is active and mapped to fifo 5 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 16 is active and mapped to fifo 1 ra_tid 0x0000 [169,230]
> > iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> > iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
> > iwlwifi 0000:02:00.0: CSR values:
> > iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
> > iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
> > iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X80000040
> > iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403c5
> > iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000144
> > iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X80000000
> > iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0X803a0000
> > iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X00080040
> > iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
> > iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
> > iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X8821408c
> > iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
> > iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
> > iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0X3c08019d
> > iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
> > iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010
> > iwlwifi 0000:02:00.0: FH register values:
> > iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0d9f3000
> > iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00d9f2f0
> > iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X000000e0
> > iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
> > iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
> > iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X03030000
> > iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
> > iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
> > iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
> > iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
> > iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
> > iwlwifi 0000:02:00.0: Loaded firmware version: 25.27.13.0
> > iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
> > iwlwifi 0000:02:00.0: 0x00A002F0 | uPc
> > iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
> > iwlwifi 0000:02:00.0: 0x00000B2E | branchlink2
> > iwlwifi 0000:02:00.0: 0x00016218 | interruptlink1
> > iwlwifi 0000:02:00.0: 0x00016218 | interruptlink2
> > iwlwifi 0000:02:00.0: 0x00000000 | data1
> > iwlwifi 0000:02:00.0: 0x00000080 | data2
> > iwlwifi 0000:02:00.0: 0x07030000 | data3
> > iwlwifi 0000:02:00.0: 0xC600F06D | beacon time
> > iwlwifi 0000:02:00.0: 0x95A5CF83 | tsf low
> > iwlwifi 0000:02:00.0: 0x00000003 | tsf hi
> > iwlwifi 0000:02:00.0: 0x00000000 | time gp1
> > iwlwifi 0000:02:00.0: 0x164C8D06 | time gp2
> > iwlwifi 0000:02:00.0: 0x00000000 | time gp3
> > iwlwifi 0000:02:00.0: 0x0004191B | uCode version
> > iwlwifi 0000:02:00.0: 0x00000144 | hw version
> > iwlwifi 0000:02:00.0: 0x40489204 | board version
> > iwlwifi 0000:02:00.0: 0x10A9001C | hcmd
> > iwlwifi 0000:02:00.0: 0x00022002 | isr0
> > iwlwifi 0000:02:00.0: 0x01800000 | isr1
> > iwlwifi 0000:02:00.0: 0x0000000A | isr2
> > iwlwifi 0000:02:00.0: 0x004174C0 | isr3
> > iwlwifi 0000:02:00.0: 0x00000000 | isr4
> > iwlwifi 0000:02:00.0: 0x00000110 | isr_pref
> > iwlwifi 0000:02:00.0: 0x00000000 | wait_event
> > iwlwifi 0000:02:00.0: 0x0000024D | l2p_control
> > iwlwifi 0000:02:00.0: 0x00000020 | l2p_duration
> > iwlwifi 0000:02:00.0: 0x00000003 | l2p_mhvalid
> > iwlwifi 0000:02:00.0: 0x000000EE | l2p_addr_match
> > iwlwifi 0000:02:00.0: 0x00000005 | lmpm_pmg_sel
> > iwlwifi 0000:02:00.0: 0x21051936 | timestamp
> > iwlwifi 0000:02:00.0: 0x0034E0E8 | flow_handler
> > ieee80211 phy0: Hardware restart was requested
> > iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
> > iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
> > iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
> > iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
> >
> > Best,
> > Dominik

2015-05-31 09:37:21

by Emmanuel Grumbach

[permalink] [raw]
Subject: Re: iwlwifi: Queue 16 stuck for 10000 ms - Microcode SW error detected.

On Sun, May 31, 2015 at 9:52 AM, Dominik Brodowski
<[email protected]> wrote:
> On Sun, May 31, 2015 at 09:29:22AM +0300, Emmanuel Grumbach wrote:
>> >
>> > No joy. Firmware 25.27.13.0 also is not happy at times:
>>
>> Are you using 40Mhz or 20Mhz?
>
> Well, at the moment (and the problem appeared again just minutes ago):
>
> channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz
>

can you try to move to 20Mhz just to see if you still have the same problem?
You can load cfg80211 with cfg80211_disable_40mhz_24ghz set to true if
you don't want to play with the settings of your AP.

>> > iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
>> > iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
>> > iwlwifi 0000:02:00.0: invalid BA notification: Q 16, tid 0, flow 65535
>> > iwlwifi 0000:02:00.0: Queue 2 stuck for 10000 ms.
>> > iwlwifi 0000:02:00.0: Current SW read_ptr 36 write_ptr 67
>> > iwl data: 00000000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
>> > iwlwifi 0000:02:00.0: FH TRBs(0) = 0x00000000
>> > iwlwifi 0000:02:00.0: FH TRBs(1) = 0xc01100b8
>> > iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
>> > iwlwifi 0000:02:00.0: FH TRBs(3) = 0x80300008
>> > iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
>> > iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
>> > iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
>> > iwlwifi 0000:02:00.0: FH TRBs(7) = 0x0070904c
>> > iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [9,9]
>> > iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [36,67]
>> > iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [77,77]
>> > iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 15 is active and mapped to fifo 5 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 16 is active and mapped to fifo 1 ra_tid 0x0000 [169,230]
>> > iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
>> > iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
>> > iwlwifi 0000:02:00.0: CSR values:
>> > iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
>> > iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
>> > iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X80000040
>> > iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403c5
>> > iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000144
>> > iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X80000000
>> > iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0X803a0000
>> > iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X00080040
>> > iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
>> > iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
>> > iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X8821408c
>> > iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
>> > iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
>> > iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0X3c08019d
>> > iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
>> > iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010
>> > iwlwifi 0000:02:00.0: FH register values:
>> > iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0d9f3000
>> > iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00d9f2f0
>> > iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X000000e0
>> > iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
>> > iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
>> > iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X03030000
>> > iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
>> > iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
>> > iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
>> > iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
>> > iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
>> > iwlwifi 0000:02:00.0: Loaded firmware version: 25.27.13.0
>> > iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
>> > iwlwifi 0000:02:00.0: 0x00A002F0 | uPc
>> > iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
>> > iwlwifi 0000:02:00.0: 0x00000B2E | branchlink2
>> > iwlwifi 0000:02:00.0: 0x00016218 | interruptlink1
>> > iwlwifi 0000:02:00.0: 0x00016218 | interruptlink2
>> > iwlwifi 0000:02:00.0: 0x00000000 | data1
>> > iwlwifi 0000:02:00.0: 0x00000080 | data2
>> > iwlwifi 0000:02:00.0: 0x07030000 | data3
>> > iwlwifi 0000:02:00.0: 0xC600F06D | beacon time
>> > iwlwifi 0000:02:00.0: 0x95A5CF83 | tsf low
>> > iwlwifi 0000:02:00.0: 0x00000003 | tsf hi
>> > iwlwifi 0000:02:00.0: 0x00000000 | time gp1
>> > iwlwifi 0000:02:00.0: 0x164C8D06 | time gp2
>> > iwlwifi 0000:02:00.0: 0x00000000 | time gp3
>> > iwlwifi 0000:02:00.0: 0x0004191B | uCode version
>> > iwlwifi 0000:02:00.0: 0x00000144 | hw version
>> > iwlwifi 0000:02:00.0: 0x40489204 | board version
>> > iwlwifi 0000:02:00.0: 0x10A9001C | hcmd
>> > iwlwifi 0000:02:00.0: 0x00022002 | isr0
>> > iwlwifi 0000:02:00.0: 0x01800000 | isr1
>> > iwlwifi 0000:02:00.0: 0x0000000A | isr2
>> > iwlwifi 0000:02:00.0: 0x004174C0 | isr3
>> > iwlwifi 0000:02:00.0: 0x00000000 | isr4
>> > iwlwifi 0000:02:00.0: 0x00000110 | isr_pref
>> > iwlwifi 0000:02:00.0: 0x00000000 | wait_event
>> > iwlwifi 0000:02:00.0: 0x0000024D | l2p_control
>> > iwlwifi 0000:02:00.0: 0x00000020 | l2p_duration
>> > iwlwifi 0000:02:00.0: 0x00000003 | l2p_mhvalid
>> > iwlwifi 0000:02:00.0: 0x000000EE | l2p_addr_match
>> > iwlwifi 0000:02:00.0: 0x00000005 | lmpm_pmg_sel
>> > iwlwifi 0000:02:00.0: 0x21051936 | timestamp
>> > iwlwifi 0000:02:00.0: 0x0034E0E8 | flow_handler
>> > ieee80211 phy0: Hardware restart was requested
>> > iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
>> > iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
>> > iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
>> > iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
>> >
>> > Best,
>> > Dominik

2015-05-25 18:27:41

by Emmanuel Grumbach

[permalink] [raw]
Subject: Re: iwlwifi: Queue 16 stuck for 10000 ms - Microcode SW error detected.

On Mon, May 25, 2015 at 9:10 PM, Dominik Brodowski
<[email protected]> wrote:
> Hey,
>
> on my pretty new iwlwifi device 8086:08b1 (7260), the following error just
> appeared twice in dmesg on 4.1.0-rc4+ (Linus' tree as of Saturday/Sunday
> morning):

Firmware problem. Please try to update your -13.ucode from the git
repository (https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/)

>
> iwlwifi 0000:02:00.0: Queue 16 stuck for 10000 ms.
> iwlwifi 0000:02:00.0: Current SW read_ptr 109 write_ptr 243
> iwl data: 00000000: 00 00 00 00 00 00 00 00 00 e0 ff 1f 00 00 00 00 ................
> iwlwifi 0000:02:00.0: FH TRBs(0) = 0x80003019
> iwlwifi 0000:02:00.0: FH TRBs(1) = 0xc011007c
> iwlwifi 0000:02:00.0: FH TRBs(2) = 0x00000000
> iwlwifi 0000:02:00.0: FH TRBs(3) = 0x80300015
> iwlwifi 0000:02:00.0: FH TRBs(4) = 0x00000000
> iwlwifi 0000:02:00.0: FH TRBs(5) = 0x00000000
> iwlwifi 0000:02:00.0: FH TRBs(6) = 0x00000000
> iwlwifi 0000:02:00.0: FH TRBs(7) = 0x007090d3
> iwlwifi 0000:02:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [22,22]
> iwlwifi 0000:02:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [187,187]
> iwlwifi 0000:02:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [10,39]
> iwlwifi 0000:02:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [212,212]
> iwlwifi 0000:02:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 15 is active and mapped to fifo 5 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 16 is active and mapped to fifo 1 ra_tid 0x0000 [109,243]
> iwlwifi 0000:02:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
> iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
> iwlwifi 0000:02:00.0: CSR values:
> iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
> iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
> iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X80000040
> iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
> iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
> iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
> iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
> iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
> iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403c5
> iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000144
> iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0X00000000
> iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X80000000
> iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0X803a0000
> iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X00080040
> iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
> iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
> iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
> iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
> iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
> iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X8821408e
> iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
> iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
> iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0X3c08019d
> iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
> iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010
> iwlwifi 0000:02:00.0: FH register values:
> iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X21418b00
> iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X021418a0
> iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000080
> iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
> iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
> iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X03030000
> iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
> iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
> iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
> iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
> iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
> iwlwifi 0000:02:00.0: Loaded firmware version: 25.24.13.0
> iwlwifi 0000:02:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN
> iwlwifi 0000:02:00.0: 0x00000230 | uPc
> iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
> iwlwifi 0000:02:00.0: 0x00000B2E | branchlink2
> iwlwifi 0000:02:00.0: 0x00016210 | interruptlink1
> iwlwifi 0000:02:00.0: 0x00016210 | interruptlink2
> iwlwifi 0000:02:00.0: 0x00000000 | data1
> iwlwifi 0000:02:00.0: 0x00000080 | data2
> iwlwifi 0000:02:00.0: 0x07030000 | data3
> iwlwifi 0000:02:00.0: 0x50C13A19 | beacon time
> iwlwifi 0000:02:00.0: 0x0844762D | tsf low
> iwlwifi 0000:02:00.0: 0x00000075 | tsf hi
> iwlwifi 0000:02:00.0: 0x00000000 | time gp1
> iwlwifi 0000:02:00.0: 0x4577111A | time gp2
> iwlwifi 0000:02:00.0: 0x00000000 | time gp3
> iwlwifi 0000:02:00.0: 0x00041918 | uCode version
> iwlwifi 0000:02:00.0: 0x00000144 | hw version
> iwlwifi 0000:02:00.0: 0x40489204 | board version
> iwlwifi 0000:02:00.0: 0x09D30018 | hcmd
> iwlwifi 0000:02:00.0: 0x24022003 | isr0
> iwlwifi 0000:02:00.0: 0x01800000 | isr1
> iwlwifi 0000:02:00.0: 0x0000000A | isr2
> iwlwifi 0000:02:00.0: 0x004140C0 | isr3
> iwlwifi 0000:02:00.0: 0x00000000 | isr4
> iwlwifi 0000:02:00.0: 0x00000110 | isr_pref
> iwlwifi 0000:02:00.0: 0x00000000 | wait_event
> iwlwifi 0000:02:00.0: 0x00000080 | l2p_control
> iwlwifi 0000:02:00.0: 0x00010030 | l2p_duration
> iwlwifi 0000:02:00.0: 0x0000003F | l2p_mhvalid
> iwlwifi 0000:02:00.0: 0x000000CE | l2p_addr_match
> iwlwifi 0000:02:00.0: 0x00000005 | lmpm_pmg_sel
> iwlwifi 0000:02:00.0: 0x09051509 | timestamp
> iwlwifi 0000:02:00.0: 0x00348090 | flow_handler
> ieee80211 phy0: Hardware restart was requested
> iwlwifi 0000:02:00.0: L1 Enabled - LTR Disabled
>
> wifi works fine afterwards (at maximum, a reconnect is required), but
> still something seems to be at odds here...
>
> Best,
> Dominik

2015-06-07 19:26:44

by Emmanuel Grumbach

[permalink] [raw]
Subject: Re: iwlwifi: Queue 16 stuck for 10000 ms - Microcode SW error detected.

On Sun, Jun 7, 2015 at 5:53 PM, Emmanuel Grumbach <[email protected]> wrote:
> On Sun, Jun 7, 2015 at 3:47 PM, Dominik Brodowski
> <[email protected]> wrote:
>> On Sun, May 31, 2015 at 12:37:19PM +0300, Emmanuel Grumbach wrote:
>>> On Sun, May 31, 2015 at 9:52 AM, Dominik Brodowski
>>> <[email protected]> wrote:
>>> > On Sun, May 31, 2015 at 09:29:22AM +0300, Emmanuel Grumbach wrote:
>>> >> >
>>> >> > No joy. Firmware 25.27.13.0 also is not happy at times:
>>> >>
>>> >> Are you using 40Mhz or 20Mhz?
>>> >
>>> > Well, at the moment (and the problem appeared again just minutes ago):
>>> >
>>> > channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz
>>> >
>>>
>>> can you try to move to 20Mhz just to see if you still have the same problem?
>>> You can load cfg80211 with cfg80211_disable_40mhz_24ghz set to true if
>>> you don't want to play with the settings of your AP.
>>
>> On 20MHz, I do not see the queue issue, but the "Microcode SW error"
>> persists:
>>
>
> Please open a bug on bugzilla.kernel.org with the full dmesg output.
> Mention what is the state of cfg80211_disable_40mhz_24ghz and CC
> [email protected] to the bug.
> Please follow the instructions here:
> https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging to
> collect the fw_dump data.
> I attached the firmware with debug enabled to this bug.
> Take the time to read the privacy note here:
> https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging#privacy_aspects
>
> Thank you.

Let me spare a few more words.
You had an initial problem: the queues were stuck. From my experience
based on other bug reports, this can be worked around by limiting the
bandwidth to 20Mhz on 2.4GHz. There is a known issue in this area.
When the queues are stuck, the driver resets the firmware and hence
you saw the firmware crash message in dmesg.
You reduced the bandwidth to 20Mhz and you stopped seeing the stuck
queue message. You have now a different issue: the firmware gets
stuck: the watchdog interrupt fires. This is a typical firmware issue
which needs to be debugged using firmware debugging tools.

Thank you.

>
>> iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
>> iwlwifi 0000:02:00.0: CSR values:
>> iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is
>> CSR_INT_PERIODIC_REG)
>> iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
>> iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X80000040
>> iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403c5
>> iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000144
>> iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X80000000
>> iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0X803a0000
>> iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X00080040
>> iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
>> iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
>> iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X88215528
>> iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
>> iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
>> iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0X3c08019d
>> iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
>> iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010
>> iwlwifi 0000:02:00.0: FH register values:
>> iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X2140f900
>> iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X02140f80
>> iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000048
>> iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
>> iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
>> iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X02030000
>> iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
>> iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
>> iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
>> iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
>> iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
>> iwlwifi 0000:02:00.0: Loaded firmware version: 25.27.13.0
>> iwlwifi 0000:02:00.0: 0x00000034 | NMI_INTERRUPT_WDG
>> iwlwifi 0000:02:00.0: 0x000000E3 | uPc
>> iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
>> iwlwifi 0000:02:00.0: 0x00000B2E | branchlink2
>> iwlwifi 0000:02:00.0: 0x00016218 | interruptlink1
>> iwlwifi 0000:02:00.0: 0x000082F2 | interruptlink2
>> iwlwifi 0000:02:00.0: 0x00000000 | data1
>> iwlwifi 0000:02:00.0: 0x00000002 | data2
>> iwlwifi 0000:02:00.0: 0x02039842 | data3
>> iwlwifi 0000:02:00.0: 0xF300076B | beacon time
>> iwlwifi 0000:02:00.0: 0x5DEB98B6 | tsf low
>> iwlwifi 0000:02:00.0: 0x00000002 | tsf hi
>> iwlwifi 0000:02:00.0: 0x00000000 | time gp1
>> iwlwifi 0000:02:00.0: 0x78E966A4 | time gp2
>> iwlwifi 0000:02:00.0: 0x00000000 | time gp3
>> iwlwifi 0000:02:00.0: 0x0004191B | uCode version
>> iwlwifi 0000:02:00.0: 0x00000144 | hw version
>> iwlwifi 0000:02:00.0: 0x40489204 | board version
>> iwlwifi 0000:02:00.0: 0x0000001C | hcmd
>> iwlwifi 0000:02:00.0: 0x26F63002 | isr0
>> iwlwifi 0000:02:00.0: 0x11806000 | isr1
>> iwlwifi 0000:02:00.0: 0x0000001A | isr2
>> iwlwifi 0000:02:00.0: 0x40417C82 | isr3
>> iwlwifi 0000:02:00.0: 0x00000000 | isr4
>> iwlwifi 0000:02:00.0: 0x10804112 | isr_pref
>> iwlwifi 0000:02:00.0: 0x00000000 | wait_event
>> iwlwifi 0000:02:00.0: 0x00004288 | l2p_control
>> iwlwifi 0000:02:00.0: 0x00009C22 | l2p_duration
>> iwlwifi 0000:02:00.0: 0x000003BF | l2p_mhvalid
>> iwlwifi 0000:02:00.0: 0x000000E7 | l2p_addr_match
>> iwlwifi 0000:02:00.0: 0x00000017 | lmpm_pmg_sel
>> iwlwifi 0000:02:00.0: 0x21051936 | timestamp
>> iwlwifi 0000:02:00.0: 0x1F844858 | flow_handler
>> ieee80211 phy0: Hardware restart was requested
>>
>> Best,
>> Dominik

2015-06-07 13:01:40

by Dominik Brodowski

[permalink] [raw]
Subject: Re: iwlwifi: Queue 16 stuck for 10000 ms - Microcode SW error detected.

On Sun, May 31, 2015 at 12:37:19PM +0300, Emmanuel Grumbach wrote:
> On Sun, May 31, 2015 at 9:52 AM, Dominik Brodowski
> <[email protected]> wrote:
> > On Sun, May 31, 2015 at 09:29:22AM +0300, Emmanuel Grumbach wrote:
> >> >
> >> > No joy. Firmware 25.27.13.0 also is not happy at times:
> >>
> >> Are you using 40Mhz or 20Mhz?
> >
> > Well, at the moment (and the problem appeared again just minutes ago):
> >
> > channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz
> >
>
> can you try to move to 20Mhz just to see if you still have the same problem?
> You can load cfg80211 with cfg80211_disable_40mhz_24ghz set to true if
> you don't want to play with the settings of your AP.

On 20MHz, I do not see the queue issue, but the "Microcode SW error"
persists:

iwlwifi 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000.
iwlwifi 0000:02:00.0: CSR values:
iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is
CSR_INT_PERIODIC_REG)
iwlwifi 0000:02:00.0: CSR_HW_IF_CONFIG_REG: 0X40489204
iwlwifi 0000:02:00.0: CSR_INT_COALESCING: 0X80000040
iwlwifi 0000:02:00.0: CSR_INT: 0X00000000
iwlwifi 0000:02:00.0: CSR_INT_MASK: 0X00000000
iwlwifi 0000:02:00.0: CSR_FH_INT_STATUS: 0X00000000
iwlwifi 0000:02:00.0: CSR_GPIO_IN: 0X00000000
iwlwifi 0000:02:00.0: CSR_RESET: 0X00000000
iwlwifi 0000:02:00.0: CSR_GP_CNTRL: 0X080403c5
iwlwifi 0000:02:00.0: CSR_HW_REV: 0X00000144
iwlwifi 0000:02:00.0: CSR_EEPROM_REG: 0X00000000
iwlwifi 0000:02:00.0: CSR_EEPROM_GP: 0X80000000
iwlwifi 0000:02:00.0: CSR_OTP_GP_REG: 0X803a0000
iwlwifi 0000:02:00.0: CSR_GIO_REG: 0X00080040
iwlwifi 0000:02:00.0: CSR_GP_UCODE_REG: 0X00000000
iwlwifi 0000:02:00.0: CSR_GP_DRIVER_REG: 0X00000000
iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP1: 0X00000000
iwlwifi 0000:02:00.0: CSR_UCODE_DRV_GP2: 0X00000000
iwlwifi 0000:02:00.0: CSR_LED_REG: 0X00000060
iwlwifi 0000:02:00.0: CSR_DRAM_INT_TBL_REG: 0X88215528
iwlwifi 0000:02:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200
iwlwifi 0000:02:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5
iwlwifi 0000:02:00.0: CSR_MONITOR_STATUS_REG: 0X3c08019d
iwlwifi 0000:02:00.0: CSR_HW_REV_WA_REG: 0X0001001a
iwlwifi 0000:02:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010
iwlwifi 0000:02:00.0: FH register values:
iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X2140f900
iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X02140f80
iwlwifi 0000:02:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000048
iwlwifi 0000:02:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
iwlwifi 0000:02:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X02030000
iwlwifi 0000:02:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
iwlwifi 0000:02:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001
iwlwifi 0000:02:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000
iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
iwlwifi 0000:02:00.0: Loaded firmware version: 25.27.13.0
iwlwifi 0000:02:00.0: 0x00000034 | NMI_INTERRUPT_WDG
iwlwifi 0000:02:00.0: 0x000000E3 | uPc
iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
iwlwifi 0000:02:00.0: 0x00000B2E | branchlink2
iwlwifi 0000:02:00.0: 0x00016218 | interruptlink1
iwlwifi 0000:02:00.0: 0x000082F2 | interruptlink2
iwlwifi 0000:02:00.0: 0x00000000 | data1
iwlwifi 0000:02:00.0: 0x00000002 | data2
iwlwifi 0000:02:00.0: 0x02039842 | data3
iwlwifi 0000:02:00.0: 0xF300076B | beacon time
iwlwifi 0000:02:00.0: 0x5DEB98B6 | tsf low
iwlwifi 0000:02:00.0: 0x00000002 | tsf hi
iwlwifi 0000:02:00.0: 0x00000000 | time gp1
iwlwifi 0000:02:00.0: 0x78E966A4 | time gp2
iwlwifi 0000:02:00.0: 0x00000000 | time gp3
iwlwifi 0000:02:00.0: 0x0004191B | uCode version
iwlwifi 0000:02:00.0: 0x00000144 | hw version
iwlwifi 0000:02:00.0: 0x40489204 | board version
iwlwifi 0000:02:00.0: 0x0000001C | hcmd
iwlwifi 0000:02:00.0: 0x26F63002 | isr0
iwlwifi 0000:02:00.0: 0x11806000 | isr1
iwlwifi 0000:02:00.0: 0x0000001A | isr2
iwlwifi 0000:02:00.0: 0x40417C82 | isr3
iwlwifi 0000:02:00.0: 0x00000000 | isr4
iwlwifi 0000:02:00.0: 0x10804112 | isr_pref
iwlwifi 0000:02:00.0: 0x00000000 | wait_event
iwlwifi 0000:02:00.0: 0x00004288 | l2p_control
iwlwifi 0000:02:00.0: 0x00009C22 | l2p_duration
iwlwifi 0000:02:00.0: 0x000003BF | l2p_mhvalid
iwlwifi 0000:02:00.0: 0x000000E7 | l2p_addr_match
iwlwifi 0000:02:00.0: 0x00000017 | lmpm_pmg_sel
iwlwifi 0000:02:00.0: 0x21051936 | timestamp
iwlwifi 0000:02:00.0: 0x1F844858 | flow_handler
ieee80211 phy0: Hardware restart was requested

Best,
Dominik


Attachments:
(No filename) (4.74 kB)
signature.asc (819.00 B)
Digital signature
Download all attachments