Created attachment 255373 [details] dmesg log of a couple errors in sequence [377647.209615] iwlwifi 0000:04:00.0: Microcode SW error detected. Restarting 0x2000000. [377647.209618] iwlwifi 0000:04:00.0: CSR values: [377647.209619] iwlwifi 0000:04:00.0: (2nd byte of CSR_INT_COALESCING is CSR_INT_PERIODIC_REG) [377647.209663] iwlwifi 0000:04:00.0: CSR_HW_IF_CONFIG_REG: 0X00489200 [377647.209714] iwlwifi 0000:04:00.0: CSR_INT_COALESCING: 0X00000040 [377647.209718] iwlwifi 0000:04:00.0: CSR_INT: 0X00000000 [377647.209721] iwlwifi 0000:04:00.0: CSR_INT_MASK: 0X00000000 [377647.209724] iwlwifi 0000:04:00.0: CSR_FH_INT_STATUS: 0X00000000 [377647.209727] iwlwifi 0000:04:00.0: CSR_GPIO_IN: 0X00000000 [377647.209730] iwlwifi 0000:04:00.0: CSR_RESET: 0X00000000 [377647.209734] iwlwifi 0000:04:00.0: CSR_GP_CNTRL: 0X080403cd [377647.209744] iwlwifi 0000:04:00.0: CSR_HW_REV: 0X00000210 [377647.209893] iwlwifi 0000:04:00.0: CSR_EEPROM_REG: 0Xd55555d5 [377647.209943] iwlwifi 0000:04:00.0: CSR_EEPROM_GP: 0X00000000 [377647.209946] iwlwifi 0000:04:00.0: CSR_OTP_GP_REG: 0Xd55555d5 [377647.209949] iwlwifi 0000:04:00.0: CSR_GIO_REG: 0X001f0042 [377647.209952] iwlwifi 0000:04:00.0: CSR_GP_UCODE_REG: 0X00000000 [377647.209956] iwlwifi 0000:04:00.0: CSR_GP_DRIVER_REG: 0X00000000 [377647.209959] iwlwifi 0000:04:00.0: CSR_UCODE_DRV_GP1: 0X00000000 [377647.209962] iwlwifi 0000:04:00.0: CSR_UCODE_DRV_GP2: 0X00000000 [377647.209965] iwlwifi 0000:04:00.0: CSR_LED_REG: 0X00000060 [377647.209968] iwlwifi 0000:04:00.0: CSR_DRAM_INT_TBL_REG: 0X882213e0 [377647.209971] iwlwifi 0000:04:00.0: CSR_GIO_CHICKEN_BITS: 0X27800200 [377647.209974] iwlwifi 0000:04:00.0: CSR_ANA_PLL_CFG: 0Xd55555d5 [377647.209978] iwlwifi 0000:04:00.0: CSR_MONITOR_STATUS_REG: 0Xebb7fff7 [377647.209981] iwlwifi 0000:04:00.0: CSR_HW_REV_WA_REG: 0X0001001a [377647.209984] iwlwifi 0000:04:00.0: CSR_DBG_HPET_MEM_REG: 0Xffff0010 [377647.209985] iwlwifi 0000:04:00.0: FH register values: [377647.210040] iwlwifi 0000:04:00.0: FH_RSCSR_CHNL0_STTS_WPTR_REG: 0X2173d300 [377647.210090] iwlwifi 0000:04:00.0: FH_RSCSR_CHNL0_RBDCB_BASE_REG: 0X02173f00 [377647.210140] iwlwifi 0000:04:00.0: FH_RSCSR_CHNL0_WPTR: 0X00000038 [377647.210190] iwlwifi 0000:04:00.0: FH_MEM_RCSR_CHNL0_CONFIG_REG: 0X80801114 [377647.210194] iwlwifi 0000:04:00.0: FH_MEM_RSSR_SHARED_CTRL_REG: 0X000000fc [377647.210197] iwlwifi 0000:04:00.0: FH_MEM_RSSR_RX_STATUS_REG: 0X07030000 [377647.210201] iwlwifi 0000:04:00.0: FH_MEM_RSSR_RX_ENABLE_ERR_IRQ2DRV: 0X00000000 [377647.210204] iwlwifi 0000:04:00.0: FH_TSSR_TX_STATUS_REG: 0X07ff0001 [377647.210208] iwlwifi 0000:04:00.0: FH_TSSR_TX_ERROR_REG: 0X00000000 [377647.210351] iwlwifi 0000:04:00.0: Start IWL Error Log Dump: [377647.210352] iwlwifi 0000:04:00.0: Status: 0x00000000, count: 6 [377647.210353] iwlwifi 0000:04:00.0: Loaded firmware version: 22.361476.0 [377647.210354] iwlwifi 0000:04:00.0: 0x000019C2 | ADVANCED_SYSASSERT [377647.210355] iwlwifi 0000:04:00.0: 0x002002B2 | trm_hw_status0 [377647.210356] iwlwifi 0000:04:00.0: 0x00000000 | trm_hw_status1 [377647.210357] iwlwifi 0000:04:00.0: 0x00043850 | branchlink2 [377647.210358] iwlwifi 0000:04:00.0: 0x0004A5E8 | interruptlink1 [377647.210359] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2 [377647.210360] iwlwifi 0000:04:00.0: 0xDEADBEEF | data1 [377647.210361] iwlwifi 0000:04:00.0: 0xDEADBEEF | data2 [377647.210362] iwlwifi 0000:04:00.0: 0xDEADBEEF | data3 [377647.210363] iwlwifi 0000:04:00.0: 0x72410C2C | beacon time [377647.210364] iwlwifi 0000:04:00.0: 0xB5CFEAFA | tsf low [377647.210365] iwlwifi 0000:04:00.0: 0x00000274 | tsf hi [377647.210365] iwlwifi 0000:04:00.0: 0x00000000 | time gp1 [377647.210366] iwlwifi 0000:04:00.0: 0x2B72742D | time gp2 [377647.210367] iwlwifi 0000:04:00.0: 0x00000000 | uCode revision type [377647.210368] iwlwifi 0000:04:00.0: 0x00000016 | uCode version major [377647.210369] iwlwifi 0000:04:00.0: 0x00058404 | uCode version minor [377647.210370] iwlwifi 0000:04:00.0: 0x00000210 | hw version [377647.210371] iwlwifi 0000:04:00.0: 0x00489200 | board version [377647.210372] iwlwifi 0000:04:00.0: 0x09060129 | hcmd [377647.210373] iwlwifi 0000:04:00.0: 0x22F22080 | isr0 [377647.210374] iwlwifi 0000:04:00.0: 0x00004000 | isr1 [377647.210375] iwlwifi 0000:04:00.0: 0x0000000A | isr2 [377647.210376] iwlwifi 0000:04:00.0: 0x00414080 | isr3 [377647.210376] iwlwifi 0000:04:00.0: 0x00000000 | isr4 [377647.210377] iwlwifi 0000:04:00.0: 0x01000112 | last cmd Id [377647.210378] iwlwifi 0000:04:00.0: 0x00000000 | wait_event [377647.210379] iwlwifi 0000:04:00.0: 0x00000080 | l2p_control [377647.210380] iwlwifi 0000:04:00.0: 0x00011422 | l2p_duration [377647.210381] iwlwifi 0000:04:00.0: 0x0000003F | l2p_mhvalid [377647.210382] iwlwifi 0000:04:00.0: 0x00000000 | l2p_addr_match [377647.210383] iwlwifi 0000:04:00.0: 0x00000005 | lmpm_pmg_sel [377647.210384] iwlwifi 0000:04:00.0: 0x03071928 | timestamp [377647.210384] iwlwifi 0000:04:00.0: 0x00003848 | flow_handler [377647.210387] ieee80211 phy0: Hardware restart was requested [377647.210401] iwlwifi 0000:04:00.0: FW error in SYNC CMD TIME_EVENT_CMD
What device do you have? Please test our Core24 firmware from https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release You'll need 4.11 to use it. You can use our backport tree as well.
Intel Corporation Wireless 7265 8086:095b (rev 59)
Fedora 25 apparently only has iwlwifi-7265D-22.ucode so far.
I see in dmesg: Mar 23 00:45:55 localhost.localdomain kernel: iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-26.ucode failed with error -2 Mar 23 00:45:55 localhost.localdomain kernel: iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-25.ucode failed with error -2 Mar 23 00:45:55 localhost.localdomain kernel: iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-24.ucode failed with error -2 Mar 23 00:45:55 localhost.localdomain kernel: iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-7265D-23.ucode failed with error -2 Mar 23 00:45:55 localhost.localdomain kernel: iwlwifi 0000:04:00.0: loaded firmware version 22.361476.0 op_mode iwlmvm so maybe we just don't have an up-to-date-enough linux-firmware package or something?
Name : linux-firmware Version : 20161205 Release : 69.git91ddce49.fc25
The iwl7265 files actually come from: Name : iwl7260-firmware Epoch : 1 Version : 25.30.13.0 Release : 69.fc25
I haven't seen this error again, so I'll patiently wait until the Fedora crew updates to the 4.10/.11 kernel and the new iwl7260 firmware RPMs (which as of this writing is iwlwifi-7265D-27.ucode but not yet released to Fedora users)
As I said, you'll need to install our backport driver to load this new firmware. You can get the firmware and the backport based driver from the trees that are mentioned in the link from comment 1. Do you know when Fedora will ship 4.11?
This seems to be similar bug 153381. We have made a fix and delivered a new firmware for 7260 to solve that. I'll check whether the same fix applies to 7265D and, if that's the case, whether we released it for 7265D as well. In the meantime, can you make sure you have the lastest iwlwifi-7265D-22.ucode? (i.e. not the -27 one but the latest -22 that works with your kernel)
In bug 195865 we saw this assert on Core24 firmware.
Dan, can you please test the firmware from https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git/commit/?id=560a2a46b7080dc1e854eeb8c92628c0b55c0ea6 ? I don't expect the bug to be fixed there, but I want to confirm. It does included a related bug fix. Thanks.
Since we just released -29.ucode, let's go for that one :)
So I actually haven't gotten this error since March 3. As of Apr 6 I was running FW 22.391740.0 (as reported by a different SYSASSERT) and kernel 4.10.8. If you want to, feel free to close as fixed?
There is another user who got this assert. I'll check with him.