Bug 95941 - iwlwifi: 7260: TFD queue hang - MWG100233394
Summary: iwlwifi: 7260: TFD queue hang - MWG100233394
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
: 100161 100801 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-01 19:56 UTC by Jan-Michael Brummer
Modified: 2015-07-12 07:09 UTC (History)
7 users (show)

See Also:
Kernel Version: 4.0.0rc5
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Kernel log containing wifi information (174.52 KB, application/octet-stream)
2015-04-01 19:56 UTC, Jan-Michael Brummer
Details
Core9 firmware with uSniffer (763.96 KB, application/octet-stream)
2015-04-07 10:40 UTC, Emmanuel Grumbach
Details
Core9 firmware with uSniffer (763.96 KB, application/octet-stream)
2015-04-15 19:30 UTC, Emmanuel Grumbach
Details
25.12.18.0 (763.96 KB, application/octet-stream)
2015-05-05 14:54 UTC, Emmanuel Grumbach
Details
dmesg with attachment 175891 (26.63 KB, application/x-bzip2)
2015-05-05 17:30 UTC, Xavier Miller
Details

Description Jan-Michael Brummer 2015-04-01 19:56:37 UTC
Created attachment 172951 [details]
Kernel log containing wifi information

Enabling ac network support in FRITZ!Box 7490 (router) causes frequent connection drops using Intel 7260 card:

01:00.0 Network controller: Intel Corporation Wireless 7260 (rev 73)
	Subsystem: Intel Corporation Dual Band Wireless-AC 7260
	Flags: bus master, fast devsel, latency 0, IRQ 33
	Memory at f0600000 (64-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Queue 16 stuck for 10000 ms.
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Current SW read_ptr 175 write_ptr 176
Mär 29 16:14:01 buzz-ultrabook kernel: iwl data: 00000000: 00 00 00 00 00 00 00 00 00 80 00 00 00 00 00 00  ................
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: FH TRBs(0) = 0x00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: FH TRBs(1) = 0xc01100af
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: FH TRBs(2) = 0x00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: FH TRBs(3) = 0x80300076
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: FH TRBs(4) = 0x00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: FH TRBs(5) = 0x00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: FH TRBs(6) = 0x00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: FH TRBs(7) = 0x0070907c
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [119,119]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [90,90]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [125,125]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 15 is active and mapped to fifo 5 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 16 is active and mapped to fifo 1 ra_tid 0x0000 [175,176]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Microcode SW error detected.  Restarting 0x2000000.
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: CSR values:
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:        CSR_HW_IF_CONFIG_REG: 0X40489204
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:          CSR_INT_COALESCING: 0X80000040
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                     CSR_INT: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                CSR_INT_MASK: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:           CSR_FH_INT_STATUS: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                 CSR_GPIO_IN: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                   CSR_RESET: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                CSR_GP_CNTRL: 0X080403c5
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                  CSR_HW_REV: 0X00000144
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:              CSR_EEPROM_REG: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:               CSR_EEPROM_GP: 0X80000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:              CSR_OTP_GP_REG: 0X803a0000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                 CSR_GIO_REG: 0X00080044
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:            CSR_GP_UCODE_REG: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:           CSR_GP_DRIVER_REG: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                 CSR_LED_REG: 0X00000060
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:        CSR_DRAM_INT_TBL_REG: 0X88213ff3
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:             CSR_ANA_PLL_CFG: 0Xd55555d5
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:      CSR_MONITOR_STATUS_REG: 0X3d0801bd
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0010
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: FH register values:
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X21314a00
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X02131490
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000040
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X03030000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Status: 0x00000000, count: 6
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: Loaded firmware version: 25.15.12.0
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00800A34 | uPc
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000000 | branchlink1
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000B34 | branchlink2
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x000164F0 | interruptlink1
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00007AA0 | interruptlink2
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000000 | data1
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000080 | data2
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x07030000 | data3
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x79404B4F | beacon time
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x522A1455 | tsf low
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000000 | tsf hi
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000000 | time gp1
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x58C66931 | time gp2
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000000 | time gp3
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x0004190F | uCode version
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000144 | hw version
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x40489204 | board version
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x10AF001C | hcmd
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0xA4022002 | isr0
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x01800000 | isr1
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x0000000A | isr2
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x004128C9 | isr3
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000000 | isr4
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00004110 | isr_pref
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000000 | wait_event
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000080 | l2p_control
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00012030 | l2p_duration
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x0000003F | l2p_mhvalid
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x000000CE | l2p_addr_match
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00000005 | lmpm_pmg_sel
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x03021421 | timestamp
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: 0x00344050 | flow_handler
Mär 29 16:14:01 buzz-ultrabook kernel: ieee80211 phy0: Hardware restart was requested
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
Mär 29 16:14:01 buzz-ultrabook kernel: iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
Comment 1 Emmanuel Grumbach 2015-04-07 10:40:05 UTC
Created attachment 173291 [details]
Core9 firmware with uSniffer

Please use the firmware attached.

Load iwlwifi with fw_monitor=1 as a module parameter.
After you see the iwlwifi prints about a queue being stuck, do the following:

cat /sys/devices/virtual/devcoredump/devcd1/data > iwl.dump
echo 1 > /sys/devices/virtual/devcoredump/devcd1/data

iwl.dump should weigh around 4.2MB. Please compress it and attach it to the bug.

Please the time to read this note:
https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#privacy_aspects
Comment 2 Jan-Michael Brummer 2015-04-08 18:49:37 UTC
Using your attached firmware and parameter the queue hangs are very rare. And even when they occure there is no devcodedump device available. Furthermore there are other strange conditions, e.g.: Established connection, valid ip address and route, rx/tx transfer is increasing (ifconfig) but no data can be transferred.

[buzz@buzz-ultrabook src]$ cat /sys/class/devcoredump/disabled 
0

Intel(R) Wireless WiFi driver for Linux
Copyright(c) 2003- 2014 Intel Corporation
iwlwifi 0000:01:00.0: loaded firmware version 25.16.12.0 op_mode iwlmvm
iwlwifi 0000:01:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
iwlwifi 0000:01:00.0: Allocated 0x00400000 bytes (order 10) for firmware monitor.
ieee80211 phy3: Selected rate control algorithm 'iwl-mvm-rs'
iwlwifi 0000:01:00.0 wlp1s0: renamed from wlan0
IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready
IPv6: ADDRCONF(NETDEV_UP): wlp1s0: link is not ready

[ 9980.821153] iwlwifi 0000:01:00.0: Queue 2 stuck for 10000 ms.
[ 9980.821187] iwlwifi 0000:01:00.0: Current SW read_ptr 106 write_ptr 109
[ 9980.821228] iwl data: 00000000: 00 00 00 00 00 00 00 00 00 1c 00 00 00 00 00 00  ................
[ 9980.821251] iwlwifi 0000:01:00.0: FH TRBs(0) = 0x00000000
[ 9980.821273] iwlwifi 0000:01:00.0: FH TRBs(1) = 0x8010206c
[ 9980.821295] iwlwifi 0000:01:00.0: FH TRBs(2) = 0x00000000
[ 9980.821316] iwlwifi 0000:01:00.0: FH TRBs(3) = 0x80300034
[ 9980.821338] iwlwifi 0000:01:00.0: FH TRBs(4) = 0x00000000
[ 9980.821359] iwlwifi 0000:01:00.0: FH TRBs(5) = 0x00000000
[ 9980.821380] iwlwifi 0000:01:00.0: FH TRBs(6) = 0x00000000
[ 9980.821402] iwlwifi 0000:01:00.0: FH TRBs(7) = 0x00709095
[ 9980.821477] iwlwifi 0000:01:00.0: Q 0 is active and mapped to fifo 3 ra_tid 0x0000 [53,53]
[ 9980.821551] iwlwifi 0000:01:00.0: Q 1 is active and mapped to fifo 2 ra_tid 0x0000 [0,0]
[ 9980.821624] iwlwifi 0000:01:00.0: Q 2 is active and mapped to fifo 1 ra_tid 0x0000 [106,109]
[ 9980.821696] iwlwifi 0000:01:00.0: Q 3 is active and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.821770] iwlwifi 0000:01:00.0: Q 4 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.821843] iwlwifi 0000:01:00.0: Q 5 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.821918] iwlwifi 0000:01:00.0: Q 6 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.821991] iwlwifi 0000:01:00.0: Q 7 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822064] iwlwifi 0000:01:00.0: Q 8 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822138] iwlwifi 0000:01:00.0: Q 9 is active and mapped to fifo 7 ra_tid 0x0000 [150,150]
[ 9980.822212] iwlwifi 0000:01:00.0: Q 10 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822285] iwlwifi 0000:01:00.0: Q 11 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822359] iwlwifi 0000:01:00.0: Q 12 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822433] iwlwifi 0000:01:00.0: Q 13 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822506] iwlwifi 0000:01:00.0: Q 14 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822580] iwlwifi 0000:01:00.0: Q 15 is active and mapped to fifo 5 ra_tid 0x0000 [0,0]
[ 9980.822654] iwlwifi 0000:01:00.0: Q 16 is inactive and mapped to fifo 1 ra_tid 0x0000 [71,71]
[ 9980.822727] iwlwifi 0000:01:00.0: Q 17 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822800] iwlwifi 0000:01:00.0: Q 18 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822873] iwlwifi 0000:01:00.0: Q 19 is inactive and mapped to fifo 0 ra_tid 0x0000 [0,0]
[ 9980.822994] iwlwifi 0000:01:00.0: Microcode SW error detected.  Restarting 0x2000000.
[ 9980.823006] iwlwifi 0000:01:00.0: CSR values:
[ 9980.823011] iwlwifi 0000:01:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
[ 9980.823019] iwlwifi 0000:01:00.0:        CSR_HW_IF_CONFIG_REG: 0X40489204
[ 9980.823028] iwlwifi 0000:01:00.0:          CSR_INT_COALESCING: 0X80000040
[ 9980.823036] iwlwifi 0000:01:00.0:                     CSR_INT: 0X00000000
[ 9980.823044] iwlwifi 0000:01:00.0:                CSR_INT_MASK: 0X00000000
[ 9980.823053] iwlwifi 0000:01:00.0:           CSR_FH_INT_STATUS: 0X00000000
[ 9980.823060] iwlwifi 0000:01:00.0:                 CSR_GPIO_IN: 0X00000000
[ 9980.823095] iwlwifi 0000:01:00.0:                   CSR_RESET: 0X00000000
[ 9980.823104] iwlwifi 0000:01:00.0:                CSR_GP_CNTRL: 0X080403c5
[ 9980.823112] iwlwifi 0000:01:00.0:                  CSR_HW_REV: 0X00000144
[ 9980.823120] iwlwifi 0000:01:00.0:              CSR_EEPROM_REG: 0X00000000
[ 9980.823128] iwlwifi 0000:01:00.0:               CSR_EEPROM_GP: 0X80000000
[ 9980.823136] iwlwifi 0000:01:00.0:              CSR_OTP_GP_REG: 0X803a0000
[ 9980.823144] iwlwifi 0000:01:00.0:                 CSR_GIO_REG: 0X00080044
[ 9980.823152] iwlwifi 0000:01:00.0:            CSR_GP_UCODE_REG: 0X00000000
[ 9980.823159] iwlwifi 0000:01:00.0:           CSR_GP_DRIVER_REG: 0X00000000
[ 9980.823169] iwlwifi 0000:01:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
[ 9980.823179] iwlwifi 0000:01:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
[ 9980.823190] iwlwifi 0000:01:00.0:                 CSR_LED_REG: 0X00000060
[ 9980.823204] iwlwifi 0000:01:00.0:        CSR_DRAM_INT_TBL_REG: 0X881eb356
[ 9980.823215] iwlwifi 0000:01:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
[ 9980.823226] iwlwifi 0000:01:00.0:             CSR_ANA_PLL_CFG: 0Xd55555d5
[ 9980.823236] iwlwifi 0000:01:00.0:      CSR_MONITOR_STATUS_REG: 0X3c08019d
[ 9980.823244] iwlwifi 0000:01:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
[ 9980.823252] iwlwifi 0000:01:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0010
[ 9980.823257] iwlwifi 0000:01:00.0: FH register values:
[ 9980.823277] iwlwifi 0000:01:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X21350400
[ 9980.823297] iwlwifi 0000:01:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X0214b820
[ 9980.823317] iwlwifi 0000:01:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000058
[ 9980.823337] iwlwifi 0000:01:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
[ 9980.823357] iwlwifi 0000:01:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
[ 9980.823376] iwlwifi 0000:01:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X03030000
[ 9980.823396] iwlwifi 0000:01:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
[ 9980.823416] iwlwifi 0000:01:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
[ 9980.823436] iwlwifi 0000:01:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
[ 9980.823592] iwlwifi 0000:01:00.0: Start IWL Error Log Dump:
[ 9980.823597] iwlwifi 0000:01:00.0: Status: 0x00000000, count: 6
[ 9980.823602] iwlwifi 0000:01:00.0: Loaded firmware version: 25.16.12.0
[ 9980.823607] iwlwifi 0000:01:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[ 9980.823612] iwlwifi 0000:01:00.0: 0x00800A34 | uPc
[ 9980.823616] iwlwifi 0000:01:00.0: 0x00000000 | branchlink1
[ 9980.823620] iwlwifi 0000:01:00.0: 0x00000B44 | branchlink2
[ 9980.823624] iwlwifi 0000:01:00.0: 0x00016CF0 | interruptlink1
[ 9980.823628] iwlwifi 0000:01:00.0: 0x00028F92 | interruptlink2
[ 9980.823632] iwlwifi 0000:01:00.0: 0x00000000 | data1
[ 9980.823636] iwlwifi 0000:01:00.0: 0x00000080 | data2
[ 9980.823640] iwlwifi 0000:01:00.0: 0x07030000 | data3
[ 9980.823644] iwlwifi 0000:01:00.0: 0x6540E907 | beacon time
[ 9980.823648] iwlwifi 0000:01:00.0: 0x0209E59D | tsf low
[ 9980.823652] iwlwifi 0000:01:00.0: 0x000000A0 | tsf hi
[ 9980.823656] iwlwifi 0000:01:00.0: 0x00000000 | time gp1
[ 9980.823660] iwlwifi 0000:01:00.0: 0xB7E2B725 | time gp2
[ 9980.823664] iwlwifi 0000:01:00.0: 0x00000000 | time gp3
[ 9980.823668] iwlwifi 0000:01:00.0: 0x00041910 | uCode version
[ 9980.823672] iwlwifi 0000:01:00.0: 0x00000144 | hw version
[ 9980.823676] iwlwifi 0000:01:00.0: 0x40489204 | board version
[ 9980.823680] iwlwifi 0000:01:00.0: 0x026A001C | hcmd
[ 9980.823684] iwlwifi 0000:01:00.0: 0xA4022002 | isr0
[ 9980.823688] iwlwifi 0000:01:00.0: 0x01800000 | isr1
[ 9980.823692] iwlwifi 0000:01:00.0: 0x0000000A | isr2
[ 9980.823696] iwlwifi 0000:01:00.0: 0x004138C9 | isr3
[ 9980.823700] iwlwifi 0000:01:00.0: 0x00000000 | isr4
[ 9980.823704] iwlwifi 0000:01:00.0: 0x00004110 | isr_pref
[ 9980.823708] iwlwifi 0000:01:00.0: 0x00000000 | wait_event
[ 9980.823712] iwlwifi 0000:01:00.0: 0x00000080 | l2p_control
[ 9980.823716] iwlwifi 0000:01:00.0: 0x00012030 | l2p_duration
[ 9980.823720] iwlwifi 0000:01:00.0: 0x0000003F | l2p_mhvalid
[ 9980.823724] iwlwifi 0000:01:00.0: 0x000000CE | l2p_addr_match
[ 9980.823728] iwlwifi 0000:01:00.0: 0x00000005 | lmpm_pmg_sel
[ 9980.823732] iwlwifi 0000:01:00.0: 0x30031428 | timestamp
[ 9980.823736] iwlwifi 0000:01:00.0: 0x00345868 | flow_handler
[ 9980.823745] ieee80211 phy2: Hardware restart was requested
[ 9981.024620] iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled
[ 9981.024897] iwlwifi 0000:01:00.0: L1 Disabled - LTR Disabled

cat /sys/devices/virtual/devcoredump/devcd1/data > iwl.dump
cat: /sys/devices/virtual/devcoredump/devcd1/data: No such file or directory

ls /sys/devices/virtual/
bdi  block  cpuid  dmi  graphics  hwmon  input  mem  misc  msr  net  powercap  raw  sound  thermal  tty  usbmon  vc  vtconsole  wmi  workqueue
Comment 3 Emmanuel Grumbach 2015-04-08 19:38:02 UTC
Pretty much every part of your report is weird :).
I don't see why you cannot reproduce as easily as before and I don't see why don't have a devcoredump device created.

Maybe you have a udev rule to dump the devcoredump device as soon as it is created?
Can you monitor udev events while this is happening to make sure?

I'll try on my end, but please note that I am on vacation until Monday next week.
Comment 4 Emmanuel Grumbach 2015-04-11 20:21:14 UTC
The submitter provided the required input directly through email.
This is a firmware bug and I opened an internal ticket on them with the relevant data.
Comment 5 Emmanuel Grumbach 2015-04-15 10:14:43 UTC
Hi,

can you try to see https://bugzilla.kernel.org/attachment.cgi?id=173981 helps?
This is from bug #93431.
Thanks.
Comment 6 Emmanuel Grumbach 2015-04-15 19:30:51 UTC
Created attachment 174111 [details]
Core9 firmware with uSniffer

Sorry - I sent the wrong firmware...
Please take the one attached...
There is another fix in there that can help. Version number 25.17.12.0

Thanks!
Comment 7 Jan-Michael Brummer 2015-04-15 20:11:05 UTC
None of them worked, issue is the same. Send you a mail with the dump files.
Comment 8 Emmanuel Grumbach 2015-04-16 15:39:50 UTC
The data has been transferred to the firmware team.
Comment 9 Emmanuel Grumbach 2015-05-05 13:02:04 UTC
Can you please give a shot to:

https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-7260-12.ucode

new version 25.18.12.0

thanks!
Comment 10 Emmanuel Grumbach 2015-05-05 14:54:34 UTC
Created attachment 175891 [details]
25.12.18.0

I had to remove it from the git tree... I am attaching it here.
Comment 11 Xavier Miller 2015-05-05 17:28:16 UTC
Hi! It's worse : I have kernel stack trace dumps...
Comment 12 Xavier Miller 2015-05-05 17:30:35 UTC
Created attachment 175911 [details]
dmesg with attachment 175891 [details]

dmesg with attachment 175891 [details]
Comment 13 Emmanuel Grumbach 2015-05-05 17:33:04 UTC
thanks...
Comment 14 Emmanuel Grumbach 2015-05-31 14:02:43 UTC
Would it be possible to test -13.ucode?
The firmware has introduce fixes in this area in that release.
You can get -13.ucode here:

https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/

and you'll need 4.1-rc5 or later.
You can also use the backport tree:
https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/backport-iwlwifi.git/

thanks
Comment 15 Xavier Miller 2015-06-02 17:42:08 UTC
Hi! Emmanuel,

the -13.ucode with the 4.1-rc5 kernel gives a very quiet dmesg output, and a really more useable wireless network!

I will continue to test it (heavy network load with distcc and youtube), but I feel more confident with that new setting :-)

Kind regards,
Xavier Miller.
Comment 16 Emmanuel Grumbach 2015-06-02 18:06:48 UTC
Good news

Can you please take 4.1-rc5 with -12.ucode and let me know what happens?
I'd like to know if the improvement comes from the firmware or from the driver.
All you need to do is to remove the -13.ucode from /lib/firmware and to leave -12.ucode there.

thank you.
Comment 17 Emmanuel Grumbach 2015-06-02 18:08:53 UTC
Also - please make sure you are using the same channel / bandwidth.
Comment 18 Xavier Miller 2015-06-02 19:40:33 UTC
dmesg is full of mess with -12.ucode and 4.1-rc5 (same channel, I presume, I didn't changed my router config between the tests)
Comment 19 Emmanuel Grumbach 2015-06-02 19:42:23 UTC
ok. I'll wait a few more days and then I'll close the bug.


thanks.
Comment 20 Emmanuel Grumbach 2015-06-21 06:24:08 UTC
*** Bug 100161 has been marked as a duplicate of this bug. ***
Comment 21 Emmanuel Grumbach 2015-07-12 07:09:29 UTC
*** Bug 100801 has been marked as a duplicate of this bug. ***

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