Re: Problem: iwlwifi: Microcode SW error detected. Restarting 0x2000000

2016-07-10 Thread Niklas Sombert
Emmanuel Grumbach wrote:
> Thanks -this is the same bug as 
> https://bugzilla.kernel.org/show_bug.cgi?id=114501 then.
> Seems really Bluetooth related.

Yes, I can confirm that this problem doesn't occur when I rename
/lib/firmware/intel/ibt-hw-37.8.10-fw-1.10.3.11.e.bseq to something else.



signature.asc
Description: OpenPGP digital signature


RE: Problem: iwlwifi: Microcode SW error detected. Restarting 0x2000000

2016-07-10 Thread Grumbach, Emmanuel
> 
> Emmanuel Grumbach wrote:
> > In that case, please try -21.ucode and send me again the output of the
> firmware error.
> 
> $ dmesg | grep iwlwifi
> [   14.858440] iwlwifi :04:00.0: Unsupported splx structure
> [   14.863591] iwlwifi :04:00.0: loaded firmware version 21.361477.0
> op_mode iwlmvm
> [   14.891553] iwlwifi :04:00.0: Detected Intel(R) Dual Band
> Wireless AC 7265, REV=0x210
> [   14.893883] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
> [   14.894346] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
> [   24.346547] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
> [   24.347232] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
> [   24.413520] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
> [   24.414081] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
> [  455.386139] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
> [  455.386709] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
> [  455.610758] iwlwifi :04:00.0: Microcode SW error detected.
> Restarting 0x200.
> [  455.610761] iwlwifi :04:00.0: CSR values:
> [  455.610763] iwlwifi :04:00.0: (2nd byte of CSR_INT_COALESCING is
> CSR_INT_PERIODIC_REG)
> [  455.610787] iwlwifi :04:00.0:CSR_HW_IF_CONFIG_REG: 0X00c89200
> [  455.610842] iwlwifi :04:00.0:  CSR_INT_COALESCING: 0X0040
> [  455.610893] iwlwifi :04:00.0: CSR_INT: 0X
> [  455.610944] iwlwifi :04:00.0:CSR_INT_MASK: 0X
> [  455.610995] iwlwifi :04:00.0:   CSR_FH_INT_STATUS: 0X
> [  455.611046] iwlwifi :04:00.0: CSR_GPIO_IN: 0X
> [  455.611097] iwlwifi :04:00.0:   CSR_RESET: 0X
> [  455.611149] iwlwifi :04:00.0:CSR_GP_CNTRL: 0X080403c5
> [  455.611200] iwlwifi :04:00.0:  CSR_HW_REV: 0X0210
> [  455.611251] iwlwifi :04:00.0:  CSR_EEPROM_REG: 0Xd5d5
> [  455.611302] iwlwifi :04:00.0:   CSR_EEPROM_GP: 0X
> [  455.611353] iwlwifi :04:00.0:  CSR_OTP_GP_REG: 0Xd5d5
> [  455.611404] iwlwifi :04:00.0: CSR_GIO_REG: 0X00080042
> [  455.611455] iwlwifi :04:00.0:CSR_GP_UCODE_REG: 0X
> [  455.611506] iwlwifi :04:00.0:   CSR_GP_DRIVER_REG: 0X
> [  455.611557] iwlwifi :04:00.0:   CSR_UCODE_DRV_GP1: 0X
> [  455.611608] iwlwifi :04:00.0:   CSR_UCODE_DRV_GP2: 0X
> [  455.611660] iwlwifi :04:00.0: CSR_LED_REG: 0X0018
> [  455.611711] iwlwifi :04:00.0:CSR_DRAM_INT_TBL_REG:
> 0X881288b0
> [  455.611762] iwlwifi :04:00.0:CSR_GIO_CHICKEN_BITS: 0X27800200
> [  455.611813] iwlwifi :04:00.0: CSR_ANA_PLL_CFG: 0Xd5d5
> [  455.611867] iwlwifi :04:00.0:  CSR_MONITOR_STATUS_REG:
> 0Xd3b7ff77
> [  455.611921] iwlwifi :04:00.0:   CSR_HW_REV_WA_REG: 0X0001001a
> [  455.611971] iwlwifi :04:00.0:CSR_DBG_HPET_MEM_REG:
> 0X
> [  455.611973] iwlwifi :04:00.0: FH register values:
> [  455.612035] iwlwifi :04:00.0:
> FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0b357d00
> [  455.612047] iwlwifi :04:00.0:
> FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00b2de60
> [  455.612058] iwlwifi :04:00.0:
> FH_RSCSR_CHNL0_WPTR: 0X
> [  455.612070] iwlwifi :04:00.0:
> FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
> [  455.612082] iwlwifi :04:00.0:
> FH_MEM_RSSR_SHARED_CTRL_REG: 0X00fc
> [  455.612093] iwlwifi :04:00.0:
> FH_MEM_RSSR_RX_STATUS_REG: 0X0303
> [  455.612105] iwlwifi :04:00.0:
> FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X
> [  455.612117] iwlwifi :04:00.0:
> FH_TSSR_TX_STATUS_REG: 0X07ff0001
> [  455.612128] iwlwifi :04:00.0:
> FH_TSSR_TX_ERROR_REG: 0X
> [  455.612237] iwlwifi :04:00.0: Start IWL Error Log Dump:
> [  455.612239] iwlwifi :04:00.0: Status: 0x, count: 6
> [  455.612240] iwlwifi :04:00.0: Loaded firmware version: 21.361477.0
> [  455.612242] iwlwifi :04:00.0: 0x0034 | NMI_INTERRUPT_WDG
> 
> [  455.612243] iwlwifi :04:00.0: 0x02F0 | trm_hw_status0
> [  455.612245] iwlwifi :04:00.0: 0x | trm_hw_status1
> [  455.612246] iwlwifi :04:00.0: 0x000401CE | branchlink2
> [  455.612247] iwlwifi :04:00.0: 0x0004446C | interruptlink1
> [  455.612249] iwlwifi :04:00.0: 0x5C9A | interruptlink2
> [  455.612250] iwlwifi :04:00.0: 0x | data1
> [  455.612251] iwlwifi :04:00.0: 0x0002 | data2
> [  455.612252] iwlwifi :04:00.0: 0x0703 | data3
> [  455.612254] iwlwifi :04:00.0: 0x003CB2E5 | beacon time
> [  455.612255] iwlwifi :04:00.0: 0x00034D19 | tsf low
> [  455.612256] iwlwifi :04:00.0: 0x | tsf hi
> [  455.612257] iwlwifi :04:00.0: 0x | time gp1
> [  455.612259] iwlwifi :04:00.0: 0x00034D1A | time gp2
> [  455.612260] iwlwifi :04:00.0: 0x | uCode revision 

Re: Problem: iwlwifi: Microcode SW error detected. Restarting 0x2000000

2016-07-10 Thread Niklas Sombert
Emmanuel Grumbach wrote:
> In that case, please try -21.ucode and send me again the output of the 
> firmware error.

$ dmesg | grep iwlwifi
[   14.858440] iwlwifi :04:00.0: Unsupported splx structure
[   14.863591] iwlwifi :04:00.0: loaded firmware version 21.361477.0
op_mode iwlmvm
[   14.891553] iwlwifi :04:00.0: Detected Intel(R) Dual Band
Wireless AC 7265, REV=0x210
[   14.893883] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
[   14.894346] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
[   24.346547] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
[   24.347232] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
[   24.413520] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
[   24.414081] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
[  455.386139] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
[  455.386709] iwlwifi :04:00.0: L1 Enabled - LTR Enabled
[  455.610758] iwlwifi :04:00.0: Microcode SW error detected.
Restarting 0x200.
[  455.610761] iwlwifi :04:00.0: CSR values:
[  455.610763] iwlwifi :04:00.0: (2nd byte of CSR_INT_COALESCING is
CSR_INT_PERIODIC_REG)
[  455.610787] iwlwifi :04:00.0:CSR_HW_IF_CONFIG_REG: 0X00c89200
[  455.610842] iwlwifi :04:00.0:  CSR_INT_COALESCING: 0X0040
[  455.610893] iwlwifi :04:00.0: CSR_INT: 0X
[  455.610944] iwlwifi :04:00.0:CSR_INT_MASK: 0X
[  455.610995] iwlwifi :04:00.0:   CSR_FH_INT_STATUS: 0X
[  455.611046] iwlwifi :04:00.0: CSR_GPIO_IN: 0X
[  455.611097] iwlwifi :04:00.0:   CSR_RESET: 0X
[  455.611149] iwlwifi :04:00.0:CSR_GP_CNTRL: 0X080403c5
[  455.611200] iwlwifi :04:00.0:  CSR_HW_REV: 0X0210
[  455.611251] iwlwifi :04:00.0:  CSR_EEPROM_REG: 0Xd5d5
[  455.611302] iwlwifi :04:00.0:   CSR_EEPROM_GP: 0X
[  455.611353] iwlwifi :04:00.0:  CSR_OTP_GP_REG: 0Xd5d5
[  455.611404] iwlwifi :04:00.0: CSR_GIO_REG: 0X00080042
[  455.611455] iwlwifi :04:00.0:CSR_GP_UCODE_REG: 0X
[  455.611506] iwlwifi :04:00.0:   CSR_GP_DRIVER_REG: 0X
[  455.611557] iwlwifi :04:00.0:   CSR_UCODE_DRV_GP1: 0X
[  455.611608] iwlwifi :04:00.0:   CSR_UCODE_DRV_GP2: 0X
[  455.611660] iwlwifi :04:00.0: CSR_LED_REG: 0X0018
[  455.611711] iwlwifi :04:00.0:CSR_DRAM_INT_TBL_REG: 0X881288b0
[  455.611762] iwlwifi :04:00.0:CSR_GIO_CHICKEN_BITS: 0X27800200
[  455.611813] iwlwifi :04:00.0: CSR_ANA_PLL_CFG: 0Xd5d5
[  455.611867] iwlwifi :04:00.0:  CSR_MONITOR_STATUS_REG: 0Xd3b7ff77
[  455.611921] iwlwifi :04:00.0:   CSR_HW_REV_WA_REG: 0X0001001a
[  455.611971] iwlwifi :04:00.0:CSR_DBG_HPET_MEM_REG: 0X
[  455.611973] iwlwifi :04:00.0: FH register values:
[  455.612035] iwlwifi :04:00.0:
FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X0b357d00
[  455.612047] iwlwifi :04:00.0:
FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X00b2de60
[  455.612058] iwlwifi :04:00.0:
FH_RSCSR_CHNL0_WPTR: 0X
[  455.612070] iwlwifi :04:00.0:
FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X00801114
[  455.612082] iwlwifi :04:00.0:
FH_MEM_RSSR_SHARED_CTRL_REG: 0X00fc
[  455.612093] iwlwifi :04:00.0:
FH_MEM_RSSR_RX_STATUS_REG: 0X0303
[  455.612105] iwlwifi :04:00.0:
FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X
[  455.612117] iwlwifi :04:00.0:
FH_TSSR_TX_STATUS_REG: 0X07ff0001
[  455.612128] iwlwifi :04:00.0:
FH_TSSR_TX_ERROR_REG: 0X
[  455.612237] iwlwifi :04:00.0: Start IWL Error Log Dump:
[  455.612239] iwlwifi :04:00.0: Status: 0x, count: 6
[  455.612240] iwlwifi :04:00.0: Loaded firmware version: 21.361477.0
[  455.612242] iwlwifi :04:00.0: 0x0034 | NMI_INTERRUPT_WDG

[  455.612243] iwlwifi :04:00.0: 0x02F0 | trm_hw_status0
[  455.612245] iwlwifi :04:00.0: 0x | trm_hw_status1
[  455.612246] iwlwifi :04:00.0: 0x000401CE | branchlink2
[  455.612247] iwlwifi :04:00.0: 0x0004446C | interruptlink1
[  455.612249] iwlwifi :04:00.0: 0x5C9A | interruptlink2
[  455.612250] iwlwifi :04:00.0: 0x | data1
[  455.612251] iwlwifi :04:00.0: 0x0002 | data2
[  455.612252] iwlwifi :04:00.0: 0x0703 | data3
[  455.612254] iwlwifi :04:00.0: 0x003CB2E5 | beacon time
[  455.612255] iwlwifi :04:00.0: 0x00034D19 | tsf low
[  455.612256] iwlwifi :04:00.0: 0x | tsf hi
[  455.612257] iwlwifi :04:00.0: 0x | time gp1
[  455.612259] iwlwifi :04:00.0: 0x00034D1A | time gp2
[  455.612260] iwlwifi :04:00.0: 0x | uCode revision type
[  455.612261] iwlwifi :04:00.0: 0x0015 | uCode version major
[  455.612263] iwlwifi :04:00.0: 0x00058405 | uCode version minor
[  455.612264] iwlwifi 

RE: Problem: iwlwifi: Microcode SW error detected. Restarting 0x2000000

2016-07-10 Thread Grumbach, Emmanuel
> 
> Emmanuel Grumbach wrote:
> > Can you please try the newest firmware?
> > https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-
> firmware.git/commit/?id=72266846faa78b939a864842a2aa6ecd8fe6989b
> 
> Yes, I've tried the newest firmware. The problem still persists.
> 
> > You should pick up the -17.ucode version.
> > Note that I can't know if your device is 7265 or 7265D. In able to 
> > determine,
> please check:
> >
> https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#and_7265_support
> 
> Yes, it's a 7265D.

In that case, please try -21.ucode and send me again the output of the firmware 
error.


> 
> > Thank you!
> 
> Thank you.



Re: Problem: iwlwifi: Microcode SW error detected. Restarting 0x2000000

2016-07-10 Thread Niklas Sombert
Emmanuel Grumbach wrote:
> Can you please try the newest firmware?
> https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/commit/?id=72266846faa78b939a864842a2aa6ecd8fe6989b

Yes, I've tried the newest firmware. The problem still persists.

> You should pick up the -17.ucode version.
> Note that I can't know if your device is 7265 or 7265D. In able to determine, 
> please check:
> https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#and_7265_support

Yes, it's a 7265D.

> Thank you!

Thank you.



signature.asc
Description: OpenPGP digital signature


RE: Problem: iwlwifi: Microcode SW error detected. Restarting 0x2000000

2016-07-10 Thread Grumbach, Emmanuel
> 
> With a current kernel my wifi won't work after suspending and resuming
> my laptop (a ThinkPadd 11e).
> This has worked in 4.0.0 and below, so this is a regression.
> The commit that introduced this issue is
> 8d193ca26cc28019e760b77830295a0c349d90dc.
> 
> How to reproduce:
>  1. Boot.
>  2. Make sure that you are connected to wifi.
>  3. Suspend.
>  4. Wait a bit of time.
>  5. Resume.
>  6. See that the wifi is no longer functional.

This is very strange. I don't really see how the commit you mentioned can cause
this issue.

Can you please try the newest firmware?
https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/commit/?id=72266846faa78b939a864842a2aa6ecd8fe6989b
You should pick up the -17.ucode version.
Note that I can't know if your device is 7265 or 7265D. In able to determine, 
please check:
https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi#and_7265_support


Thank you!