Bug 66001 - iwlwifi - Microcode SW error detected. Restart loop - Intel 7260
Summary: iwlwifi - Microcode SW error detected. Restart loop - Intel 7260
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:
: 63091 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-11-27 22:43 UTC by chr-voigt
Modified: 2014-05-08 05:39 UTC (History)
5 users (show)

See Also:
Kernel Version: 3.12.1 3.13.0-rc1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
lspci -xxx (12.49 KB, text/plain)
2013-12-01 22:21 UTC, chr-voigt
Details
iw list (3.83 KB, text/plain)
2013-12-01 22:22 UTC, chr-voigt
Details
lspci -vvv (20.05 KB, text/plain)
2013-12-01 22:23 UTC, chr-voigt
Details
iwconfig wlan0 (486 bytes, text/plain)
2013-12-01 22:29 UTC, chr-voigt
Details
syslog (60.95 KB, application/octet-stream)
2013-12-02 14:37 UTC, chr-voigt
Details

Description chr-voigt 2013-11-27 22:43:14 UTC
I think this is a known bug. Sometimes I can work for hours until the problem occurs, somtimes it happens faster ~ 15 Minutes.
It starts with "Microcode SW error detected." and goes on with a never ending device restart loop (syslog grows a couple of MB per minute).
Does anyone know a workaround for this? Disabling ASPM doesn't work.
Thanks a lot!  

- Intel 7260 Wireless
- Ubuntu 13.10
- Mainline Kernel 3.13.0-999-generic from Tuesday (25.11.)

ASPM is disabled:

lspci -vvv | grep ASPM

LnkCap:	Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
LnkCtl:	ASPM Disabled; Disabled- Retrain- CommClk-
LnkCap:	Port #0, Speed unknown, Width x0, ASPM unknown, Latency L0 <64ns, L1 <1us
LnkCtl:	ASPM Disabled; Disabled- Retrain- CommClk-
LnkCap:	Port #1, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <256ns, L1 <4us
LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
LnkCap:	Port #3, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <16us
LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
LnkCap:	Port #4, Speed 5GT/s, Width x1, ASPM L0s L1, Latency L0 <512ns, L1 <16us
LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+
LnkCap:	Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <32us
LnkCtl:	ASPM Disabled; RCB 64 bytes Disabled- Retrain- CommClk+

/var/log/syslog
Nov 27 22:31:14 notebook kernel: [ 2118.484983] iwlwifi 0000:02:00.0: Microcode SW error detected.  Restarting 0x2000000.
Nov 27 22:31:14 notebook kernel: [ 2118.484989] iwlwifi 0000:02:00.0: CSR values:
Nov 27 22:31:14 notebook kernel: [ 2118.484992] iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
Nov 27 22:31:14 notebook kernel: [ 2118.484997] iwlwifi 0000:02:00.0:        CSR_HW_IF_CONFIG_REG: 0X00489204
Nov 27 22:31:14 notebook kernel: [ 2118.485002] iwlwifi 0000:02:00.0:          CSR_INT_COALESCING: 0X0000ff40
Nov 27 22:31:14 notebook kernel: [ 2118.485007] iwlwifi 0000:02:00.0:                     CSR_INT: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485011] iwlwifi 0000:02:00.0:                CSR_INT_MASK: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485016] iwlwifi 0000:02:00.0:           CSR_FH_INT_STATUS: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485020] iwlwifi 0000:02:00.0:                 CSR_GPIO_IN: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485024] iwlwifi 0000:02:00.0:                   CSR_RESET: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485029] iwlwifi 0000:02:00.0:                CSR_GP_CNTRL: 0X080403c5
Nov 27 22:31:14 notebook kernel: [ 2118.485033] iwlwifi 0000:02:00.0:                  CSR_HW_REV: 0X00000144
Nov 27 22:31:14 notebook kernel: [ 2118.485038] iwlwifi 0000:02:00.0:              CSR_EEPROM_REG: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485042] iwlwifi 0000:02:00.0:               CSR_EEPROM_GP: 0X80000000
Nov 27 22:31:14 notebook kernel: [ 2118.485047] iwlwifi 0000:02:00.0:              CSR_OTP_GP_REG: 0X803a0000
Nov 27 22:31:14 notebook kernel: [ 2118.485051] iwlwifi 0000:02:00.0:                 CSR_GIO_REG: 0X00080044
Nov 27 22:31:14 notebook kernel: [ 2118.485055] iwlwifi 0000:02:00.0:            CSR_GP_UCODE_REG: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485060] iwlwifi 0000:02:00.0:           CSR_GP_DRIVER_REG: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485064] iwlwifi 0000:02:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485068] iwlwifi 0000:02:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485073] iwlwifi 0000:02:00.0:                 CSR_LED_REG: 0X00000060
Nov 27 22:31:14 notebook kernel: [ 2118.485077] iwlwifi 0000:02:00.0:        CSR_DRAM_INT_TBL_REG: 0X882516d3
Nov 27 22:31:14 notebook kernel: [ 2118.485081] iwlwifi 0000:02:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
Nov 27 22:31:14 notebook kernel: [ 2118.485086] iwlwifi 0000:02:00.0:             CSR_ANA_PLL_CFG: 0Xd55555d5
Nov 27 22:31:14 notebook kernel: [ 2118.485090] iwlwifi 0000:02:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
Nov 27 22:31:14 notebook kernel: [ 2118.485095] iwlwifi 0000:02:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0010
Nov 27 22:31:14 notebook kernel: [ 2118.485097] iwlwifi 0000:02:00.0: FH register values:
Nov 27 22:31:14 notebook kernel: [ 2118.485109] iwlwifi 0000:02:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X252e3c00
Nov 27 22:31:14 notebook kernel: [ 2118.485122] iwlwifi 0000:02:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X0252e3b0
Nov 27 22:31:14 notebook kernel: [ 2118.485135] iwlwifi 0000:02:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X000000e0
Nov 27 22:31:14 notebook kernel: [ 2118.485147] iwlwifi 0000:02:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801114
Nov 27 22:31:14 notebook kernel: [ 2118.485160] iwlwifi 0000:02:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
Nov 27 22:31:14 notebook kernel: [ 2118.485172] iwlwifi 0000:02:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
Nov 27 22:31:14 notebook kernel: [ 2118.485184] iwlwifi 0000:02:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485197] iwlwifi 0000:02:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
Nov 27 22:31:14 notebook kernel: [ 2118.485209] iwlwifi 0000:02:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
Nov 27 22:31:14 notebook kernel: [ 2118.485315] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
Nov 27 22:31:14 notebook kernel: [ 2118.485318] iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
Nov 27 22:31:14 notebook kernel: [ 2118.485320] iwlwifi 0000:02:00.0: 0x000014FC | ADVANCED_SYSASSERT          
Nov 27 22:31:14 notebook kernel: [ 2118.485322] iwlwifi 0000:02:00.0: 0x00000220 | uPc
Nov 27 22:31:14 notebook kernel: [ 2118.485325] iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
Nov 27 22:31:14 notebook kernel: [ 2118.485327] iwlwifi 0000:02:00.0: 0x00000C8A | branchlink2
Nov 27 22:31:14 notebook kernel: [ 2118.485329] iwlwifi 0000:02:00.0: 0x00014078 | interruptlink1
Nov 27 22:31:14 notebook kernel: [ 2118.485331] iwlwifi 0000:02:00.0: 0x00F12104 | interruptlink2
Nov 27 22:31:14 notebook kernel: [ 2118.485333] iwlwifi 0000:02:00.0: 0x00000000 | data1
Nov 27 22:31:14 notebook kernel: [ 2118.485335] iwlwifi 0000:02:00.0: 0x00000000 | data2
Nov 27 22:31:14 notebook kernel: [ 2118.485337] iwlwifi 0000:02:00.0: 0x00010000 | data3
Nov 27 22:31:14 notebook kernel: [ 2118.485339] iwlwifi 0000:02:00.0: 0x06005CE8 | beacon time
Nov 27 22:31:14 notebook kernel: [ 2118.485341] iwlwifi 0000:02:00.0: 0x1EB163A1 | tsf low
Nov 27 22:31:14 notebook kernel: [ 2118.485343] iwlwifi 0000:02:00.0: 0x00000001 | tsf hi
Nov 27 22:31:14 notebook kernel: [ 2118.485345] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
Nov 27 22:31:14 notebook kernel: [ 2118.485347] iwlwifi 0000:02:00.0: 0x12F4247D | time gp2
Nov 27 22:31:14 notebook kernel: [ 2118.485349] iwlwifi 0000:02:00.0: 0x00000000 | time gp3
Nov 27 22:31:14 notebook kernel: [ 2118.485351] iwlwifi 0000:02:00.0: 0x00321600 | uCode version
Nov 27 22:31:14 notebook kernel: [ 2118.485353] iwlwifi 0000:02:00.0: 0x00000144 | hw version
Nov 27 22:31:14 notebook kernel: [ 2118.485355] iwlwifi 0000:02:00.0: 0x00489204 | board version
Nov 27 22:31:14 notebook kernel: [ 2118.485357] iwlwifi 0000:02:00.0: 0x02BF001C | hcmd
Nov 27 22:31:14 notebook kernel: [ 2118.485359] iwlwifi 0000:02:00.0: 0x24022000 | isr0
Nov 27 22:31:14 notebook kernel: [ 2118.485361] iwlwifi 0000:02:00.0: 0x01000000 | isr1
Nov 27 22:31:14 notebook kernel: [ 2118.485363] iwlwifi 0000:02:00.0: 0x0000000A | isr2
Nov 27 22:31:14 notebook kernel: [ 2118.485365] iwlwifi 0000:02:00.0: 0x0041FCC0 | isr3
Nov 27 22:31:14 notebook kernel: [ 2118.485366] iwlwifi 0000:02:00.0: 0x00000001 | isr4
Nov 27 22:31:14 notebook kernel: [ 2118.485368] iwlwifi 0000:02:00.0: 0x00000110 | isr_pref
Nov 27 22:31:14 notebook kernel: [ 2118.485370] iwlwifi 0000:02:00.0: 0x00027C32 | wait_event
Nov 27 22:31:14 notebook kernel: [ 2118.485372] iwlwifi 0000:02:00.0: 0x00004208 | l2p_control
Nov 27 22:31:14 notebook kernel: [ 2118.485375] iwlwifi 0000:02:00.0: 0x00018010 | l2p_duration
Nov 27 22:31:14 notebook kernel: [ 2118.485376] iwlwifi 0000:02:00.0: 0x0000033F | l2p_mhvalid
Nov 27 22:31:14 notebook kernel: [ 2118.485379] iwlwifi 0000:02:00.0: 0x000000E7 | l2p_addr_match
Nov 27 22:31:14 notebook kernel: [ 2118.485381] iwlwifi 0000:02:00.0: 0x00000005 | lmpm_pmg_sel
Nov 27 22:31:14 notebook kernel: [ 2118.485383] iwlwifi 0000:02:00.0: 0x17061625 | timestamp
Nov 27 22:31:14 notebook kernel: [ 2118.485385] iwlwifi 0000:02:00.0: 0x0000E0E8 | flow_handler
Nov 27 22:31:14 notebook kernel: [ 2118.485388] ieee80211 phy0: Hardware restart was requested
Nov 27 22:31:14 notebook kernel: [ 2118.485720] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
Nov 27 22:31:14 notebook kernel: [ 2118.485873] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
Nov 27 22:31:15 notebook kernel: [ 2119.493512] iwlwifi 0000:02:00.0: Microcode SW error detected.  Restarting 0x2000000.
Nov 27 22:31:15 notebook kernel: [ 2119.493519] iwlwifi 0000:02:00.0: CSR values:
Nov 27 22:31:15 notebook kernel: [ 2119.493521] iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
Nov 27 22:31:15 notebook kernel: [ 2119.493527] iwlwifi 0000:02:00.0:        CSR_HW_IF_CONFIG_REG: 0X00489204
Nov 27 22:31:15 notebook kernel: [ 2119.493531] iwlwifi 0000:02:00.0:          CSR_INT_COALESCING: 0X00000040
Nov 27 22:31:15 notebook kernel: [ 2119.493536] iwlwifi 0000:02:00.0:                     CSR_INT: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493540] iwlwifi 0000:02:00.0:                CSR_INT_MASK: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493545] iwlwifi 0000:02:00.0:           CSR_FH_INT_STATUS: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493549] iwlwifi 0000:02:00.0:                 CSR_GPIO_IN: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493554] iwlwifi 0000:02:00.0:                   CSR_RESET: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493558] iwlwifi 0000:02:00.0:                CSR_GP_CNTRL: 0X080403c5
Nov 27 22:31:15 notebook kernel: [ 2119.493563] iwlwifi 0000:02:00.0:                  CSR_HW_REV: 0X00000144
Nov 27 22:31:15 notebook kernel: [ 2119.493567] iwlwifi 0000:02:00.0:              CSR_EEPROM_REG: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493572] iwlwifi 0000:02:00.0:               CSR_EEPROM_GP: 0X80000000
Nov 27 22:31:15 notebook kernel: [ 2119.493576] iwlwifi 0000:02:00.0:              CSR_OTP_GP_REG: 0X803a0000
Nov 27 22:31:15 notebook kernel: [ 2119.493580] iwlwifi 0000:02:00.0:                 CSR_GIO_REG: 0X00080044
Nov 27 22:31:15 notebook kernel: [ 2119.493585] iwlwifi 0000:02:00.0:            CSR_GP_UCODE_REG: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493589] iwlwifi 0000:02:00.0:           CSR_GP_DRIVER_REG: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493594] iwlwifi 0000:02:00.0:           CSR_UCODE_DRV_GP1: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493598] iwlwifi 0000:02:00.0:           CSR_UCODE_DRV_GP2: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493602] iwlwifi 0000:02:00.0:                 CSR_LED_REG: 0X00000060
Nov 27 22:31:15 notebook kernel: [ 2119.493607] iwlwifi 0000:02:00.0:        CSR_DRAM_INT_TBL_REG: 0X882516d3
Nov 27 22:31:15 notebook kernel: [ 2119.493628] iwlwifi 0000:02:00.0:        CSR_GIO_CHICKEN_BITS: 0X27800200
Nov 27 22:31:15 notebook kernel: [ 2119.493633] iwlwifi 0000:02:00.0:             CSR_ANA_PLL_CFG: 0Xd55555d5
Nov 27 22:31:15 notebook kernel: [ 2119.493637] iwlwifi 0000:02:00.0:           CSR_HW_REV_WA_REG: 0X0001001a
Nov 27 22:31:15 notebook kernel: [ 2119.493642] iwlwifi 0000:02:00.0:        CSR_DBG_HPET_MEM_REG: 0Xffff0000
Nov 27 22:31:15 notebook kernel: [ 2119.493644] iwlwifi 0000:02:00.0: FH register values:
Nov 27 22:31:15 notebook kernel: [ 2119.493657] iwlwifi 0000:02:00.0:         FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X252e3c00
Nov 27 22:31:15 notebook kernel: [ 2119.493674] iwlwifi 0000:02:00.0:        FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X0252e3b0
Nov 27 22:31:15 notebook kernel: [ 2119.493686] iwlwifi 0000:02:00.0:                  FH_RSCSR_CHNL0_WPTR: 0X00000080
Nov 27 22:31:15 notebook kernel: [ 2119.493700] iwlwifi 0000:02:00.0:         FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801114
Nov 27 22:31:15 notebook kernel: [ 2119.493714] iwlwifi 0000:02:00.0:          FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc
Nov 27 22:31:15 notebook kernel: [ 2119.493728] iwlwifi 0000:02:00.0:            FH_MEM_RSSR_RX_STATUS_REG: 0X07030000
Nov 27 22:31:15 notebook kernel: [ 2119.493742] iwlwifi 0000:02:00.0:    FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493756] iwlwifi 0000:02:00.0:                FH_TSSR_TX_STATUS_REG: 0X07ff0001
Nov 27 22:31:15 notebook kernel: [ 2119.493769] iwlwifi 0000:02:00.0:                 FH_TSSR_TX_ERROR_REG: 0X00000000
Nov 27 22:31:15 notebook kernel: [ 2119.493880] iwlwifi 0000:02:00.0: Start IWL Error Log Dump:
Nov 27 22:31:15 notebook kernel: [ 2119.493885] iwlwifi 0000:02:00.0: Status: 0x00000000, count: 6
Nov 27 22:31:15 notebook kernel: [ 2119.493889] iwlwifi 0000:02:00.0: 0x000014FC | ADVANCED_SYSASSERT          
Nov 27 22:31:15 notebook kernel: [ 2119.493893] iwlwifi 0000:02:00.0: 0x000002A0 | uPc
Nov 27 22:31:15 notebook kernel: [ 2119.493896] iwlwifi 0000:02:00.0: 0x00000000 | branchlink1
Nov 27 22:31:15 notebook kernel: [ 2119.493900] iwlwifi 0000:02:00.0: 0x00000C8A | branchlink2
Nov 27 22:31:15 notebook kernel: [ 2119.493903] iwlwifi 0000:02:00.0: 0x00014078 | interruptlink1
Nov 27 22:31:15 notebook kernel: [ 2119.493907] iwlwifi 0000:02:00.0: 0x00F12104 | interruptlink2
Nov 27 22:31:15 notebook kernel: [ 2119.493910] iwlwifi 0000:02:00.0: 0x00000000 | data1
Nov 27 22:31:15 notebook kernel: [ 2119.493914] iwlwifi 0000:02:00.0: 0x00000000 | data2
Nov 27 22:31:15 notebook kernel: [ 2119.493917] iwlwifi 0000:02:00.0: 0x00010000 | data3
Nov 27 22:31:15 notebook kernel: [ 2119.493921] iwlwifi 0000:02:00.0: 0x024096FD | beacon time
Nov 27 22:31:15 notebook kernel: [ 2119.493925] iwlwifi 0000:02:00.0: 0x1EC0C92E | tsf low
Nov 27 22:31:15 notebook kernel: [ 2119.493928] iwlwifi 0000:02:00.0: 0x00000001 | tsf hi
Nov 27 22:31:15 notebook kernel: [ 2119.493932] iwlwifi 0000:02:00.0: 0x00000000 | time gp1
Nov 27 22:31:15 notebook kernel: [ 2119.493935] iwlwifi 0000:02:00.0: 0x000F5459 | time gp2
Nov 27 22:31:15 notebook kernel: [ 2119.493939] iwlwifi 0000:02:00.0: 0x00000000 | time gp3
Nov 27 22:31:15 notebook kernel: [ 2119.493942] iwlwifi 0000:02:00.0: 0x00321600 | uCode version
Nov 27 22:31:15 notebook kernel: [ 2119.493945] iwlwifi 0000:02:00.0: 0x00000144 | hw version
Nov 27 22:31:15 notebook kernel: [ 2119.493948] iwlwifi 0000:02:00.0: 0x00489204 | board version
Nov 27 22:31:15 notebook kernel: [ 2119.493952] iwlwifi 0000:02:00.0: 0x0000001C | hcmd
Nov 27 22:31:15 notebook kernel: [ 2119.493955] iwlwifi 0000:02:00.0: 0x00022044 | isr0
Nov 27 22:31:15 notebook kernel: [ 2119.493958] iwlwifi 0000:02:00.0: 0x00000000 | isr1
Nov 27 22:31:15 notebook kernel: [ 2119.493961] iwlwifi 0000:02:00.0: 0x00000002 | isr2
Nov 27 22:31:15 notebook kernel: [ 2119.493964] iwlwifi 0000:02:00.0: 0x004000C0 | isr3
Nov 27 22:31:15 notebook kernel: [ 2119.493967] iwlwifi 0000:02:00.0: 0x00000001 | isr4
Nov 27 22:31:15 notebook kernel: [ 2119.493971] iwlwifi 0000:02:00.0: 0x00000112 | isr_pref
Nov 27 22:31:15 notebook kernel: [ 2119.493975] iwlwifi 0000:02:00.0: 0x0001F5E6 | wait_event
Nov 27 22:31:15 notebook kernel: [ 2119.493978] iwlwifi 0000:02:00.0: 0x00000080 | l2p_control
Nov 27 22:31:15 notebook kernel: [ 2119.493982] iwlwifi 0000:02:00.0: 0x00018000 | l2p_duration
Nov 27 22:31:15 notebook kernel: [ 2119.493985] iwlwifi 0000:02:00.0: 0x0000003F | l2p_mhvalid
Nov 27 22:31:15 notebook kernel: [ 2119.493989] iwlwifi 0000:02:00.0: 0x00000080 | l2p_addr_match
Nov 27 22:31:15 notebook kernel: [ 2119.493992] iwlwifi 0000:02:00.0: 0x00000005 | lmpm_pmg_sel
Nov 27 22:31:15 notebook kernel: [ 2119.493996] iwlwifi 0000:02:00.0: 0x17061625 | timestamp
Nov 27 22:31:15 notebook kernel: [ 2119.493999] iwlwifi 0000:02:00.0: 0x00008090 | flow_handler
Nov 27 22:31:15 notebook kernel: [ 2119.494010] ieee80211 phy0: Hardware restart was requested
Nov 27 22:31:15 notebook kernel: [ 2119.494414] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
Nov 27 22:31:15 notebook kernel: [ 2119.494568] iwlwifi 0000:02:00.0: L1 Disabled; Enabling L0S
Nov 27 22:31:16 notebook kernel: [ 2120.502184] iwlwifi 0000:02:00.0: Microcode SW error detected.  Restarting 0x2000000.
Nov 27 22:31:16 notebook kernel: [ 2120.502190] iwlwifi 0000:02:00.0: CSR values:
Nov 27 22:31:16 notebook kernel: [ 2120.502192] iwlwifi 0000:02:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG)
...
Comment 1 Emmanuel Grumbach 2013-12-01 20:42:39 UTC
Please enable tracing in iwlwifi and record the flow with trace-cmd. I can help if needed.

You are not the first to report this. I have asked our testing teams to try to reproduce but without success.
On what channel is your AP operating?
Can you please send the output of:
* lspci -xxx
* iw list

tracing would really help here - I don't see how I can debug that without this.
Thanks!
Comment 2 chr-voigt 2013-12-01 22:20:57 UTC
Hi Emmanuel, thanks for your help!
Things changed a bit. I've reverted my changes (ASPM is on - see lspcivvv.txt and power management is on - see iwconfigwlan0.txt) and installed the latest kernel 3.13.0-031300rc2-generic.
(I've seen that there is a new version of iwlwifi.ko included...) 

Please find attached:
lspcixxx.txt (lspci -xxx)
iwlist.txt (iw list)
lspcivvv.txt (lspci -vvv)
I'm trying to send you a tracefile and a current syslog as soon as possible.

Infos about my AP:
FRITZ!Box Fon WLAN 7050, Firmware-Version 14.04.33
channel 6
mode 802.11g
WPA2 (CCMP)
Comment 3 chr-voigt 2013-12-01 22:21:55 UTC
Created attachment 117011 [details]
lspci -xxx
Comment 4 chr-voigt 2013-12-01 22:22:38 UTC
Created attachment 117021 [details]
iw list
Comment 5 chr-voigt 2013-12-01 22:23:09 UTC
Created attachment 117031 [details]
lspci -vvv
Comment 6 chr-voigt 2013-12-01 22:29:41 UTC
Created attachment 117041 [details]
iwconfig wlan0
Comment 7 Emmanuel Grumbach 2013-12-02 11:56:10 UTC
Thanks for all this.

BTW - ASPM is disabled in your lspci -vvv attached.
What changes have you done?
When you open a bug, please make sure you have a native setups without tweaks.

Does the bug still occur after your changes?
Comment 8 chr-voigt 2013-12-02 14:37:46 UTC
Created attachment 117181 [details]
syslog
Comment 9 chr-voigt 2013-12-02 14:38:38 UTC
My tweaks were:
setpci -s 00:1c.0 0x50.W=0x040
iwconfig wlan0 power off

But they had no effect. (I thought the problem is caused by power saving.)

Please find attached my tracefile: https://www.dropbox.com/s/asvuhxy3f8mzf06/trace.dat.tar.bz2
(trace-cmd record -e mac80211 -e iwlwifi -e iwlwifi_dbg)
Comment 10 chr-voigt 2013-12-02 14:48:17 UTC
And some additional comments:
When I tried to capture the trace file, I switched on my computer and didn't use it for a couple of hours - nothing happened.
The problem only occurs when I'm constantly using my wifi connection.
Comment 11 Emmanuel Grumbach 2013-12-02 14:59:58 UTC
I haven't looked at your trace yet.

But I need a trace *when the bug reproduces*.

The bug is: AVDANCE_SYSASSERT
Comment 12 chr-voigt 2013-12-02 15:05:41 UTC
The trace-cmd was running in the background while the error occurred.
Isn't that enough? If not, can you tell me what to do?
Comment 13 Emmanuel Grumbach 2013-12-02 19:49:35 UTC
thanks - sorry - I missed your comment and the link to your trace output.
This is tremendously helpful. Unfortunately, I am afraid I'll have to ask you to rerun this with an instrumented firmware I will send to you tomorrow.
This is most likely a firmware bug.
Thanks for your cooperation!
Comment 14 chr-voigt 2013-12-02 20:52:45 UTC
No problem, you're welcome.
Comment 15 Emmanuel Grumbach 2013-12-03 17:40:14 UTC
bug root caused.
Will be fixed by next version of the firmware.
Comment 16 John W. Linville 2013-12-09 14:08:25 UTC
*** Bug 63091 has been marked as a duplicate of this bug. ***
Comment 17 Emmanuel Grumbach 2013-12-15 20:47:07 UTC
firmware with the fix is available here:
https://git.kernel.org/cgit/linux/kernel/git/egrumbach/linux-firmware.git/plain/iwlwifi-7260-7.ucode

I'll send the pull request as soon as you will have confirmed that it fixes the issue you are facing.
Comment 18 chr-voigt 2013-12-16 10:03:07 UTC
The new release fixes the bug. Thanks a lot!

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