Bug 194951 - iwlwifi: 7265: ASSERT 19C2
Summary: iwlwifi: 7265: ASSERT 19C2
Status: CLOSED UNREPRODUCIBLE
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: DO NOT USE - assign "network-wireless-intel" component instead
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-20 22:31 UTC by Dan Williams
Modified: 2017-06-29 20:07 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.9.12-200.fc25.x86_64
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg log of a couple errors in sequence (65.52 KB, text/plain)
2017-03-20 22:31 UTC, Dan Williams
Details

Description Dan Williams 2017-03-20 22:31:35 UTC
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
Comment 1 Emmanuel Grumbach 2017-03-28 16:49:21 UTC
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.
Comment 2 Dan Williams 2017-03-28 17:09:46 UTC
Intel Corporation Wireless 7265
8086:095b (rev 59)
Comment 3 Dan Williams 2017-03-28 17:11:02 UTC
Fedora 25 apparently only has iwlwifi-7265D-22.ucode so far.
Comment 4 Dan Williams 2017-03-28 17:12:02 UTC
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?
Comment 5 Dan Williams 2017-03-28 17:12:36 UTC
Name        : linux-firmware
Version     : 20161205
Release     : 69.git91ddce49.fc25
Comment 6 Dan Williams 2017-03-28 17:14:21 UTC
The iwl7265 files actually come from:

Name        : iwl7260-firmware
Epoch       : 1
Version     : 25.30.13.0
Release     : 69.fc25
Comment 7 Dan Williams 2017-03-28 17:24:20 UTC
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)
Comment 8 Emmanuel Grumbach 2017-03-28 17:47:36 UTC
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?
Comment 9 Luca Coelho 2017-03-29 05:12:34 UTC
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)
Comment 10 Emmanuel Grumbach 2017-06-14 06:08:08 UTC
In bug 195865 we saw this assert on Core24 firmware.
Comment 11 Emmanuel Grumbach 2017-06-16 07:26:45 UTC
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.
Comment 12 Emmanuel Grumbach 2017-06-18 06:11:13 UTC
Since we just released -29.ucode, let's go for that one :)
Comment 13 Dan Williams 2017-06-19 15:49:33 UTC
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?
Comment 14 Emmanuel Grumbach 2017-06-19 16:20:54 UTC
There is another user who got this assert. I'll check with him.

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