Bug 98771 - iwlwifi: 7260: TFD queue hang
Summary: iwlwifi: 7260: TFD queue hang
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-23 14:33 UTC by donothingloop
Modified: 2015-05-31 12:33 UTC (History)
3 users (show)

See Also:
Kernel Version: 4.1.0-rc4-21-desktop+
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description donothingloop 2015-05-23 14:33:51 UTC
Hi,

I upgraded my kernel from "4.0.0-rc1-21-desktop+" to "4.1.0-rc4-21-desktop+" without any changes to my .config.

My wlan card seems to be unstable and I also cannot connect to WPA-Enterprise networks (which is more likely an incompatibility of my wpa_supplicant version).

In the kernel log every 20 seconds or so this message appears:

[   68.025207] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[   68.025446] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[   68.233715] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[   68.233965] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[   96.283795] iwlwifi 0000:04:00.0: Queue 2 stuck for 10000 ms.
[   96.283812] iwlwifi 0000:04:00.0: Current SW read_ptr 80 write_ptr 140
[   96.283845] iwl data: 00000000: 00 00 ff ff 00 00 00 00 00 00 00 00 00 00 00 00  ................
[   96.283869] iwlwifi 0000:04:00.0: FH TRBs(0) = 0x00000000
[   96.283893] iwlwifi 0000:04:00.0: FH TRBs(1) = 0x8010205f
[   96.283915] iwlwifi 0000:04:00.0: FH TRBs(2) = 0x00000000
[   96.283936] iwlwifi 0000:04:00.0: FH TRBs(3) = 0x80300003
[   96.283956] iwlwifi 0000:04:00.0: FH TRBs(4) = 0x00000000
[   96.283978] iwlwifi 0000:04:00.0: FH TRBs(5) = 0x00000000
[   96.283999] iwlwifi 0000:04:00.0: FH TRBs(6) = 0x00000000
[   96.284020] iwlwifi 0000:04:00.0: FH TRBs(7) = 0x00709051
[   96.284079] iwlwifi 0000:04:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [4,4]
[   96.284136] iwlwifi 0000:04:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
[   96.284187] iwlwifi 0000:04:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [80,140]
[   96.284237] iwlwifi 0000:04:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284287] iwlwifi 0000:04:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284338] iwlwifi 0000:04:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284396] iwlwifi 0000:04:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284446] iwlwifi 0000:04:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284497] iwlwifi 0000:04:00.0: Q 8 is active and mapped to fifo 3 ra_tid 0x0000 [0,0]
[   96.284556] iwlwifi 0000:04:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [82,82]
[   96.284607] iwlwifi 0000:04:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284657] iwlwifi 0000:04:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284707] iwlwifi 0000:04:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284757] iwlwifi 0000:04:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284808] iwlwifi 0000:04:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284858] iwlwifi 0000:04:00.0: Q 15 is active and mapped to fifo 5 ra_tid 0x0000 [0,0]
[   96.284908] iwlwifi 0000:04:00.0: Q 16 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.284959] iwlwifi 0000:04:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.285009] iwlwifi 0000:04:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.285059] iwlwifi 0000:04:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[   96.285110] iwlwifi 0000:04:00.0: Microcode SW error detected.  Restarting 0x2000000.
[   96.285113] iwlwifi 0000:04:00.0: CSR values:
[   96.285114] iwlwifi 0000:04:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[   96.285119] iwlwifi 0000:04:00.0:        CSR_HW_IF_CONFIG_REG: 0X40489204
[   96.285133] iwlwifi 0000:04:00.0:          CSR_INT_COALESCING: 0X8000ff40
[   96.285144] iwlwifi 0000:04:00.0:                     CSR_INT: 0X00000000
[   96.285157] iwlwifi 0000:04:00.0:                CSR_INT_MASK: 0X00000000
[   96.285178] iwlwifi 0000:04:00.0:           CSR_FH_INT_STATUS: 0X00000000
[   96.285190] iwlwifi 0000:04:00.0:                 CSR_GPIO_IN: 0X00000000
[   96.285194] iwlwifi 0000:04:00.0:                   CSR_RESET: 0X00000000
[   96.285204] iwlwifi 0000:04:00.0:                CSR_GP_CNTRL: 0X080403c5
[   96.285215] iwlwifi 0000:04:00.0:                  CSR_HW_REV: 0X00000144
[   96.285225] iwlwifi 0000:04:00.0:              CSR_EEPROM_REG: 0X00000000
[   96.285235] iwlwifi 0000:04:00.0:               CSR_EEPROM_GP: 0X80000000
[   96.285245] iwlwifi 0000:04:00.0:              CSR_OTP_GP_REG: 0X803a0000
[   96.285255] iwlwifi 0000:04:00.0:                 CSR_GIO_REG: 0X00080040
[   96.285266] iwlwifi 0000:04:00.0:            CSR_GP_UCODE_REG: 0X00000000
[   96.285276] iwlwifi 0000:04:00.0:           CSR_GP_DRIVER_REG: 0X00000000
[   96.285286] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
[   96.285297] iwlwifi 0000:04:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
[   96.285307] iwlwifi 0000:04:00.0:                 CSR_LED_REG: 0X00000060
[   96.285317] iwlwifi 0000:04:00.0:        CSR_DRAM_INT_TBL_REG: 0X88214f8e
[   96.285327] iwlwifi 0000:04:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
[   96.285338] iwlwifi 0000:04:00.0:             CSR_ANA_PLL_CFG: 0Xd55555d5
[   96.285348] iwlwifi 0000:04:00.0:      CSR_MONITOR_STATUS_REG: 0X3d0801bd
[   96.285358] iwlwifi 0000:04:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
[   96.285368] iwlwifi 0000:04:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
[   96.285369] iwlwifi 0000:04:00.0: FH register values:
[   96.285390] iwlwifi 0000:04:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0c5c2c00
[   96.285401] iwlwifi 0000:04:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00c5c2b0
[   96.285412] iwlwifi 0000:04:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X000000e8
[   96.285424] iwlwifi 0000:04:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
[   96.285435] iwlwifi 0000:04:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[   96.285447] iwlwifi 0000:04:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X03030000
[   96.285458] iwlwifi 0000:04:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[   96.285470] iwlwifi 0000:04:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
[   96.285481] iwlwifi 0000:04:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
[   96.285585] iwlwifi 0000:04:00.0: Start IWL Error Log Dump:
[   96.285587] iwlwifi 0000:04:00.0: Status: 0x00000000, count: 6
[   96.285588] iwlwifi 0000:04:00.0: Loaded firmware version: 25.24.13.0
[   96.285590] iwlwifi 0000:04:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[   96.285591] iwlwifi 0000:04:00.0: 0x00000624 | uPc
[   96.285592] iwlwifi 0000:04:00.0: 0x00000000 | branchlink1
[   96.285593] iwlwifi 0000:04:00.0: 0x00000B2E | branchlink2
[   96.285595] iwlwifi 0000:04:00.0: 0x00016210 | interruptlink1
[   96.285596] iwlwifi 0000:04:00.0: 0x000001D8 | interruptlink2
[   96.285597] iwlwifi 0000:04:00.0: 0x00000000 | data1
[   96.285598] iwlwifi 0000:04:00.0: 0x00000080 | data2
[   96.285599] iwlwifi 0000:04:00.0: 0x07030000 | data3
[   96.285600] iwlwifi 0000:04:00.0: 0xFFC1CCEE | beacon time
[   96.285602] iwlwifi 0000:04:00.0: 0x6B3DAD12 | tsf low
[   96.285603] iwlwifi 0000:04:00.0: 0x000001AC | tsf hi
[   96.285604] iwlwifi 0000:04:00.0: 0x00000000 | time gp1
[   96.285605] iwlwifi 0000:04:00.0: 0x01AB8DC7 | time gp2
[   96.285606] iwlwifi 0000:04:00.0: 0x00000000 | time gp3
[   96.285607] iwlwifi 0000:04:00.0: 0x00041918 | uCode version
[   96.285608] iwlwifi 0000:04:00.0: 0x00000144 | hw version
[   96.285610] iwlwifi 0000:04:00.0: 0x40489204 | board version
[   96.285611] iwlwifi 0000:04:00.0: 0x0000001C | hcmd
[   96.285612] iwlwifi 0000:04:00.0: 0xA6D23042 | isr0
[   96.285613] iwlwifi 0000:04:00.0: 0x01018000 | isr1
[   96.285614] iwlwifi 0000:04:00.0: 0x0000000A | isr2
[   96.285615] iwlwifi 0000:04:00.0: 0x404220C6 | isr3
[   96.285616] iwlwifi 0000:04:00.0: 0x00000000 | isr4
[   96.285617] iwlwifi 0000:04:00.0: 0x00800110 | isr_pref
[   96.285620] iwlwifi 0000:04:00.0: 0x00000000 | wait_event
[   96.285621] iwlwifi 0000:04:00.0: 0x000000D4 | l2p_control
[   96.285622] iwlwifi 0000:04:00.0: 0x0001A030 | l2p_duration
[   96.285623] iwlwifi 0000:04:00.0: 0x00000007 | l2p_mhvalid
[   96.285624] iwlwifi 0000:04:00.0: 0x00000081 | l2p_addr_match
[   96.285625] iwlwifi 0000:04:00.0: 0x00000005 | lmpm_pmg_sel
[   96.285626] iwlwifi 0000:04:00.0: 0x09051509 | timestamp
[   96.285628] iwlwifi 0000:04:00.0: 0x0034E0F0 | flow_handler
[   96.285633] ieee80211 phy0: Hardware restart was requested
[   96.285644] ------------[ cut here ]------------
Comment 1 donothingloop 2015-05-23 14:36:40 UTC
Oh and I forgot to mention that I use the latest u-code version for the iwlwifi card, which is "iwlwifi-7260-13.ucode".
Comment 2 Emmanuel Grumbach 2015-05-24 18:42:50 UTC
Please make sure you are running the latest -13.ucode. It has had a few respin.
Comment 3 Emmanuel Grumbach 2015-05-24 18:49:04 UTC
I forgot to say. Please take the firmware from the git repository. It is usually more updated than the wiki.
Comment 4 Emmanuel Grumbach 2015-05-31 09:53:32 UTC
One more thing:

On what channel is your AP?
What is the channel width?
Comment 5 donothingloop 2015-05-31 11:17:02 UTC
I updated to the latest -13 ucode file from the git repo and the error was gone. Thanks for your time.

Note You need to log in before you can comment on or make changes to this bug.