Bug 196411

Summary: iwlwifi: 8265: Error sending STATISTICS_CMD: time out after 2000ms
Product: Drivers Reporter: Patrik Kullman (patrik.kullman)
Component: network-wirelessAssignee: DO NOT USE - assign "network-wireless-intel" component instead (linuxwifi)
Status: CLOSED WILL_NOT_FIX    
Severity: normal CC: jeremy.william.murphy, linuxwifi, luca, lukas.redlinger
Priority: P1    
Hardware: Intel   
OS: Linux   
Kernel Version: 4.13-rc1 Subsystem:
Regression: No Bisected commit-id:
Attachments: Complete dmesg
dmesg with ucode 31
kernel config
Core28 with uSniffer
dmesg with custom ucode
dmesg crash and restart
crash on boot
crash after microcode update
hard crash after microcode update
iwlwifi.ko
dmesg debian buster
iwlwifi dump after hw restart

Description Patrik Kullman 2017-07-18 13:10:42 UTC
Created attachment 257581 [details]
Complete dmesg

Suddenly wireless stopped working completely and I found this in my dmesg:

[  458.943250] wlp60s0: disconnect from AP 08:60:6e:cb:73:18 for new auth to 08:60:6e:cb:73:1c
[  458.954058] wlp60s0: authenticate with 08:60:6e:cb:73:1c
[  458.962615] wlp60s0: send auth to 08:60:6e:cb:73:1c (try 1/3)
[  458.968931] wlp60s0: authenticated
[  458.971512] wlp60s0: associate with 08:60:6e:cb:73:1c (try 1/3)
[  458.972499] wlp60s0: RX AssocResp from 08:60:6e:cb:73:1c (capab=0x11 status=0 aid=2)
[  458.974238] wlp60s0: associated
[  458.993580] wlp60s0: Limiting TX power to 23 (23 - 0) dBm as advertised by 08:60:6e:cb:73:1c
[  542.015275] iwlwifi 0000:3c:00.0: Error sending STATISTICS_CMD: time out after 2000ms.
[  542.015285] iwlwifi 0000:3c:00.0: Current CMD queue read_ptr 37 write_ptr 38
[  542.015473] iwlwifi 0000:3c:00.0: Microcode SW error detected.  Restarting 0x2000000.
[  542.015566] iwlwifi 0000:3c:00.0: Start IWL Error Log Dump:
[  542.015571] iwlwifi 0000:3c:00.0: Status: 0x00000100, count: 6
[  542.015576] iwlwifi 0000:3c:00.0: Loaded firmware version: 27.455470.0
[  542.015581] iwlwifi 0000:3c:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[  542.015585] iwlwifi 0000:3c:00.0: 0x000002F2 | trm_hw_status0
[  542.015588] iwlwifi 0000:3c:00.0: 0x00000000 | trm_hw_status1
[  542.015592] iwlwifi 0000:3c:00.0: 0x00024358 | branchlink2
[  542.015596] iwlwifi 0000:3c:00.0: 0x00039176 | interruptlink1
[  542.015599] iwlwifi 0000:3c:00.0: 0x0002B0F0 | interruptlink2
[  542.015603] iwlwifi 0000:3c:00.0: 0x00000000 | data1
[  542.015606] iwlwifi 0000:3c:00.0: 0x00000080 | data2
[  542.015610] iwlwifi 0000:3c:00.0: 0x07830000 | data3
[  542.015614] iwlwifi 0000:3c:00.0: 0xCAC0561B | beacon time
[  542.015617] iwlwifi 0000:3c:00.0: 0x677559E6 | tsf low
[  542.015621] iwlwifi 0000:3c:00.0: 0x00000004 | tsf hi
[  542.015625] iwlwifi 0000:3c:00.0: 0x00000000 | time gp1
[  542.015629] iwlwifi 0000:3c:00.0: 0x1FD36800 | time gp2
[  542.015632] iwlwifi 0000:3c:00.0: 0x00000001 | uCode revision type
[  542.015636] iwlwifi 0000:3c:00.0: 0x0000001B | uCode version major
[  542.015640] iwlwifi 0000:3c:00.0: 0x0006F32E | uCode version minor
[  542.015644] iwlwifi 0000:3c:00.0: 0x00000230 | hw version
[  542.015647] iwlwifi 0000:3c:00.0: 0x00489000 | board version
[  542.015652] iwlwifi 0000:3c:00.0: 0x0000001C | hcmd
[  542.015656] iwlwifi 0000:3c:00.0: 0x02322082 | isr0
[  542.015660] iwlwifi 0000:3c:00.0: 0x00800000 | isr1
[  542.015664] iwlwifi 0000:3c:00.0: 0x08200802 | isr2
[  542.015667] iwlwifi 0000:3c:00.0: 0x004000C0 | isr3
[  542.015671] iwlwifi 0000:3c:00.0: 0x00000000 | isr4
[  542.015675] iwlwifi 0000:3c:00.0: 0x0A1F001C | last cmd Id
[  542.015679] iwlwifi 0000:3c:00.0: 0x00000000 | wait_event
[  542.015683] iwlwifi 0000:3c:00.0: 0x00002EAE | l2p_control
[  542.015687] iwlwifi 0000:3c:00.0: 0x00000020 | l2p_duration
[  542.015690] iwlwifi 0000:3c:00.0: 0x00000000 | l2p_mhvalid
[  542.015694] iwlwifi 0000:3c:00.0: 0x000000A0 | l2p_addr_match
[  542.015698] iwlwifi 0000:3c:00.0: 0x0000000D | lmpm_pmg_sel
[  542.015702] iwlwifi 0000:3c:00.0: 0x04012314 | timestamp
[  542.015705] iwlwifi 0000:3c:00.0: 0x0034D8E8 | flow_handler
[  542.015882] iwlwifi 0000:3c:00.0: 0x00000000 | ADVANCED_SYSASSERT
[  542.015886] iwlwifi 0000:3c:00.0: 0x00000000 | umac branchlink1
[  542.015890] iwlwifi 0000:3c:00.0: 0x00000000 | umac branchlink2
[  542.015894] iwlwifi 0000:3c:00.0: 0x00000000 | umac interruptlink1
[  542.015898] iwlwifi 0000:3c:00.0: 0x00000000 | umac interruptlink2
[  542.015901] iwlwifi 0000:3c:00.0: 0x00000000 | umac data1
[  542.015905] iwlwifi 0000:3c:00.0: 0x00000000 | umac data2
[  542.015908] iwlwifi 0000:3c:00.0: 0x00000000 | umac data3
[  542.015911] iwlwifi 0000:3c:00.0: 0x00000000 | umac major
[  542.015915] iwlwifi 0000:3c:00.0: 0x00000000 | umac minor
[  542.015918] iwlwifi 0000:3c:00.0: 0x00000000 | frame pointer
[  542.015922] iwlwifi 0000:3c:00.0: 0x00000000 | stack pointer
[  542.015926] iwlwifi 0000:3c:00.0: 0x00000000 | last host cmd
[  542.015930] iwlwifi 0000:3c:00.0: 0x00000000 | isr status reg
[  542.015937] ieee80211 phy0: Hardware restart was requested
[  542.620279] iwlwifi 0000:3c:00.0: Failing on timeout while stopping DMA channel 8 [0x07fd0001]
[  542.848819] iwlwifi 0000:3c:00.0: Microcode SW error detected.  Restarting 0x2000000.
[  542.848994] iwlwifi 0000:3c:00.0: Start IWL Error Log Dump:
[  542.848999] iwlwifi 0000:3c:00.0: Status: 0x00000108, count: 6
[  542.849003] iwlwifi 0000:3c:00.0: Loaded firmware version: 27.455470.0
[  542.849007] iwlwifi 0000:3c:00.0: 0x00000110 | ADVANCED_SYSASSERT          
[  542.849011] iwlwifi 0000:3c:00.0: 0x00A002F1 | trm_hw_status0
[  542.849014] iwlwifi 0000:3c:00.0: 0x00000000 | trm_hw_status1
[  542.849018] iwlwifi 0000:3c:00.0: 0x00024358 | branchlink2
[  542.849021] iwlwifi 0000:3c:00.0: 0x00039176 | interruptlink1
[  542.849024] iwlwifi 0000:3c:00.0: 0x00000000 | interruptlink2
[  542.849027] iwlwifi 0000:3c:00.0: 0x07800004 | data1
[  542.849030] iwlwifi 0000:3c:00.0: 0xDEADBEEF | data2
[  542.849033] iwlwifi 0000:3c:00.0: 0xDEADBEEF | data3
[  542.849036] iwlwifi 0000:3c:00.0: 0x003F6ED0 | beacon time
[  542.849039] iwlwifi 0000:3c:00.0: 0x0000912E | tsf low
[  542.849043] iwlwifi 0000:3c:00.0: 0x00000000 | tsf hi
[  542.849046] iwlwifi 0000:3c:00.0: 0x00000000 | time gp1
[  542.849049] iwlwifi 0000:3c:00.0: 0x0000912F | time gp2
[  542.849052] iwlwifi 0000:3c:00.0: 0x00000001 | uCode revision type
[  542.849055] iwlwifi 0000:3c:00.0: 0x0000001B | uCode version major
[  542.849059] iwlwifi 0000:3c:00.0: 0x0006F32E | uCode version minor
[  542.849062] iwlwifi 0000:3c:00.0: 0x00000230 | hw version
[  542.849065] iwlwifi 0000:3c:00.0: 0x00489000 | board version
[  542.849068] iwlwifi 0000:3c:00.0: 0x00260128 | hcmd
[  542.849072] iwlwifi 0000:3c:00.0: 0x00122080 | isr0
[  542.849074] iwlwifi 0000:3c:00.0: 0x00000000 | isr1
[  542.849077] iwlwifi 0000:3c:00.0: 0x08201802 | isr2
[  542.849080] iwlwifi 0000:3c:00.0: 0x004000C0 | isr3
[  542.849083] iwlwifi 0000:3c:00.0: 0x00000000 | isr4
[  542.849086] iwlwifi 0000:3c:00.0: 0x002501D2 | last cmd Id
[  542.849089] iwlwifi 0000:3c:00.0: 0x00000000 | wait_event
[  542.849092] iwlwifi 0000:3c:00.0: 0x00002EAE | l2p_control
[  542.849095] iwlwifi 0000:3c:00.0: 0x00000820 | l2p_duration
[  542.849098] iwlwifi 0000:3c:00.0: 0x00000000 | l2p_mhvalid
[  542.849101] iwlwifi 0000:3c:00.0: 0x00000000 | l2p_addr_match
[  542.849104] iwlwifi 0000:3c:00.0: 0x0000000D | lmpm_pmg_sel
[  542.849107] iwlwifi 0000:3c:00.0: 0x04012314 | timestamp
[  542.849110] iwlwifi 0000:3c:00.0: 0x00002030 | flow_handler
[  542.849285] iwlwifi 0000:3c:00.0: Start IWL Error Log Dump:
[  542.849289] iwlwifi 0000:3c:00.0: Status: 0x00000108, count: 7
[  542.849293] iwlwifi 0000:3c:00.0: 0x00000070 | ADVANCED_SYSASSERT
[  542.849296] iwlwifi 0000:3c:00.0: 0x00000000 | umac branchlink1
[  542.849299] iwlwifi 0000:3c:00.0: 0xC0085C58 | umac branchlink2
[  542.849303] iwlwifi 0000:3c:00.0: 0xC0083438 | umac interruptlink1
[  542.849306] iwlwifi 0000:3c:00.0: 0xC0083438 | umac interruptlink2
[  542.849309] iwlwifi 0000:3c:00.0: 0x00000800 | umac data1
[  542.849312] iwlwifi 0000:3c:00.0: 0xC0083438 | umac data2
[  542.849316] iwlwifi 0000:3c:00.0: 0xDEADBEEF | umac data3
[  542.849319] iwlwifi 0000:3c:00.0: 0x0000001B | umac major
[  542.849322] iwlwifi 0000:3c:00.0: 0x0006F32E | umac minor
[  542.849325] iwlwifi 0000:3c:00.0: 0xC088627C | frame pointer
[  542.849328] iwlwifi 0000:3c:00.0: 0xC088627C | stack pointer
[  542.849332] iwlwifi 0000:3c:00.0: 0x00260128 | last host cmd
[  542.849335] iwlwifi 0000:3c:00.0: 0x00000000 | isr status reg
[  542.849340] iwlwifi 0000:3c:00.0: Firmware error during reconfiguration - reprobe!
[  542.849617] iwlwifi 0000:3c:00.0: FW error in SYNC CMD MAC_CONTEXT_CMD
[  542.849624] CPU: 2 PID: 172 Comm: kworker/u8:3 Tainted: G         C      4.13.0-041300rc1-generic #201707151931
[  542.849626] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.849665] Workqueue: phy0 ieee80211_iface_work [mac80211]
[  542.849668] Call Trace:
[  542.849677]  dump_stack+0x63/0x8b
[  542.849693]  iwl_trans_pcie_send_hcmd+0x459/0x550 [iwlwifi]
[  542.849699]  ? wait_woken+0x80/0x80
[  542.849714]  iwl_trans_send_cmd+0x4e/0xd0 [iwlwifi]
[  542.849732]  iwl_mvm_send_cmd+0x32/0x90 [iwlmvm]
[  542.849746]  iwl_mvm_send_cmd_pdu+0x58/0x80 [iwlmvm]
[  542.849761]  iwl_mvm_mac_ctxt_send_cmd+0x2a/0x60 [iwlmvm]
[  542.849774]  ? iwl_mvm_mac_ctxt_send_cmd+0x2a/0x60 [iwlmvm]
[  542.849787]  iwl_mvm_mac_ctxt_cmd_sta+0x140/0x1e0 [iwlmvm]
[  542.849801]  iwl_mvm_mac_ctx_send+0x2d/0x60 [iwlmvm]
[  542.849813]  iwl_mvm_mac_ctxt_changed+0x33/0x90 [iwlmvm]
[  542.849826]  iwl_mvm_bss_info_changed+0x1c3/0x700 [iwlmvm]
[  542.849855]  ieee80211_bss_info_change_notify+0xaa/0x170 [mac80211]
[  542.849891]  ieee80211_recalc_ps_vif+0x2d/0x30 [mac80211]
[  542.849923]  ieee80211_set_disassoc+0x80/0x3b0 [mac80211]
[  542.849954]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[  542.849984]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[  542.849990]  ? __switch_to+0x23c/0x480
[  542.850020]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[  542.850026]  process_one_work+0x1e9/0x410
[  542.850030]  worker_thread+0x4b/0x410
[  542.850034]  kthread+0x109/0x140
[  542.850038]  ? process_one_work+0x410/0x410
[  542.850041]  ? kthread_create_on_node+0x70/0x70
[  542.850045]  ret_from_fork+0x25/0x30
[  542.850052] iwlwifi 0000:3c:00.0: Failed to send MAC context (action:2): -5
[  542.850058] iwlwifi 0000:3c:00.0: failed to update MAC f8:63:3f:12:56:33
[  542.850066] iwlwifi 0000:3c:00.0: failed to update power mode
[  542.850090] iwlwifi 0000:3c:00.0: Failed to send MAC context (action:1): -5
[  542.850125] ------------[ cut here ]------------
[  542.850166] WARNING: CPU: 1 PID: 2703 at /home/kernel/COD/linux/net/mac80211/util.c:1902 ieee80211_reconfig+0x4cf/0xf10 [mac80211]
[  542.850167] Modules linked in: ccm rfcomm snd_hda_codec_hdmi bnep arc4 hid_multitouch nls_iso8859_1 wacom iwlmvm snd_soc_skl mac80211 snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core iwlwifi snd_compress ac97_bus snd_pcm_dmaengine rtsx_pci_ms memstick cfg80211 snd_hda_intel snd_hda_codec intel_rapl x86_pkg_temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq snd_seq_device snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd joydev input_leds dell_wmi serio_raw uvcvideo dell_smbios wmi_bmof dcdbas videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core
[  542.850231]  btusb btrtl idma64 virt_dma mei_me mei shpchp intel_lpss_pci hid_sensor_rotation processor_thermal_device intel_pch_thermal hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_magn_3d intel_soc_dts_iosf hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart btbcm serdev btqca btintel acpi_als ov5693(C) int3403_thermal kfifo_buf int340x_thermal_zone intel_vbtn soc_button_array industrialio bluetooth v4l2_common videodev ecdh_generic media intel_lpss_acpi int3400_thermal intel_lpss tpm_crb acpi_thermal_rel intel_hid sparse_keymap acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt nvme fb_sys_fops
[  542.850294]  intel_ish_ipc psmouse rtsx_pci nvme_core drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[  542.850309] CPU: 1 PID: 2703 Comm: kworker/1:0 Tainted: G         C      4.13.0-041300rc1-generic #201707151931
[  542.850311] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.850340] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[  542.850343] task: ffff9efe29fbc680 task.stack: ffffc2a784054000
[  542.850377] RIP: 0010:ieee80211_reconfig+0x4cf/0xf10 [mac80211]
[  542.850379] RSP: 0000:ffffc2a784057de0 EFLAGS: 00010282
[  542.850382] RAX: 00000000fffffffb RBX: ffff9efe509c0780 RCX: 0000000000000000
[  542.850384] RDX: ffff9efe29fbc680 RSI: 0000000000000009 RDI: ffff9efe509c1568
[  542.850386] RBP: ffffc2a784057e28 R08: 00000000000cf8aa R09: 0000000000000411
[  542.850387] R10: ffffc2a784057c40 R11: ffffffff9b53e5ad R12: ffff9efe50ae3000
[  542.850389] R13: ffff9efe50ae3000 R14: 00000000fffffffb R15: ffff9efe509c0fb8
[  542.850392] FS:  0000000000000000(0000) GS:ffff9efe5dc80000(0000) knlGS:0000000000000000
[  542.850394] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  542.850396] CR2: 00007fc33c2d0010 CR3: 00000001cfad4000 CR4: 00000000003406e0
[  542.850399] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  542.850400] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  542.850402] Call Trace:
[  542.850430]  ieee80211_restart_work+0x9a/0xd0 [mac80211]
[  542.850436]  process_one_work+0x1e9/0x410
[  542.850440]  worker_thread+0x4b/0x410
[  542.850444]  kthread+0x109/0x140
[  542.850448]  ? process_one_work+0x410/0x410
[  542.850451]  ? kthread_create_on_node+0x70/0x70
[  542.850455]  ret_from_fork+0x25/0x30
[  542.850458] Code: 8d 00 0b 00 00 83 e1 fd 83 f9 04 74 e1 49 8b 8d 18 04 00 00 83 e1 01 74 d5 4c 89 ee 48 89 df e8 48 aa fc ff 85 c0 74 c6 41 89 c6 <0f> ff 4d 89 fc 4d 8b 6d 08 4d 39 ec 75 12 e9 a2 fb ff ff 4d 8b 
[  542.850517] ---[ end trace c6184f40f0ecffbf ]---
[  542.850605] iwlwifi 0000:3c:00.0: Failed to remove MAC context: -5
[  542.858590] p2p-dev-wlp60s0:  Failed check-sdata-in-driver check, flags: 0x0
[  542.858620] ------------[ cut here ]------------
[  542.858654] WARNING: CPU: 1 PID: 2703 at /home/kernel/COD/linux/net/mac80211/driver-ops.h:17 drv_remove_interface+0xf5/0x100 [mac80211]
[  542.858656] Modules linked in: ccm rfcomm snd_hda_codec_hdmi bnep arc4 hid_multitouch nls_iso8859_1 wacom iwlmvm snd_soc_skl mac80211 snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core iwlwifi snd_compress ac97_bus snd_pcm_dmaengine rtsx_pci_ms memstick cfg80211 snd_hda_intel snd_hda_codec intel_rapl x86_pkg_temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq snd_seq_device snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd joydev input_leds dell_wmi serio_raw uvcvideo dell_smbios wmi_bmof dcdbas videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core
[  542.858720]  btusb btrtl idma64 virt_dma mei_me mei shpchp intel_lpss_pci hid_sensor_rotation processor_thermal_device intel_pch_thermal hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_magn_3d intel_soc_dts_iosf hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart btbcm serdev btqca btintel acpi_als ov5693(C) int3403_thermal kfifo_buf int340x_thermal_zone intel_vbtn soc_button_array industrialio bluetooth v4l2_common videodev ecdh_generic media intel_lpss_acpi int3400_thermal intel_lpss tpm_crb acpi_thermal_rel intel_hid sparse_keymap acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt nvme fb_sys_fops
[  542.858783]  intel_ish_ipc psmouse rtsx_pci nvme_core drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[  542.858801] CPU: 1 PID: 2703 Comm: kworker/1:0 Tainted: G        WC      4.13.0-041300rc1-generic #201707151931
[  542.858805] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.858835] Workqueue: events_freezable ieee80211_restart_work [mac80211]
[  542.858838] task: ffff9efe29fbc680 task.stack: ffffc2a784054000
[  542.858865] RIP: 0010:drv_remove_interface+0xf5/0x100 [mac80211]
[  542.858867] RSP: 0000:ffffc2a784057c98 EFLAGS: 00010282
[  542.858870] RAX: 0000000000000040 RBX: ffff9efe50ae3000 RCX: 0000000000000000
[  542.858871] RDX: 0000000000000000 RSI: ffff9efe5dc8dc78 RDI: ffff9efe5dc8dc78
[  542.858873] RBP: ffffc2a784057cb0 R08: 0000000000000001 R09: 0000000000000432
[  542.858875] R10: 0000000000000126 R11: 0000000000000432 R12: ffff9efe50ae3420
[  542.858877] R13: ffff9efe509c0780 R14: ffff9efe509c0780 R15: ffff9efe50ae3b00
[  542.858880] FS:  0000000000000000(0000) GS:ffff9efe5dc80000(0000) knlGS:0000000000000000
[  542.858882] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  542.858883] CR2: 00003ce0e30ab488 CR3: 00000002451d8000 CR4: 00000000003406e0
[  542.858886] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  542.858887] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  542.858889] Call Trace:
[  542.858924]  ieee80211_do_stop+0x508/0x810 [mac80211]
[  542.858956]  ieee80211_sdata_stop+0x1e/0x30 [mac80211]
[  542.858986]  ieee80211_stop_p2p_device+0x12/0x20 [mac80211]
[  542.859013]  cfg80211_stop_p2p_device+0x6c/0x170 [cfg80211]
[  542.859035]  cfg80211_shutdown_all_interfaces+0x96/0xc0 [cfg80211]
[  542.859069]  ieee80211_handle_reconfig_failure+0x98/0xb0 [mac80211]
[  542.859101]  ieee80211_reconfig+0x8c/0xf10 [mac80211]
[  542.859127]  ieee80211_restart_work+0x9a/0xd0 [mac80211]
[  542.859133]  process_one_work+0x1e9/0x410
[  542.859137]  worker_thread+0x4b/0x410
[  542.859141]  kthread+0x109/0x140
[  542.859144]  ? process_one_work+0x410/0x410
[  542.859147]  ? kthread_create_on_node+0x70/0x70
[  542.859151]  ret_from_fork+0x25/0x30
[  542.859154] Code: 75 eb 5b 41 5c 41 5d 5d c3 49 8b b4 24 00 04 00 00 49 81 c4 20 04 00 00 48 c7 c7 38 49 ab c0 48 85 f6 49 0f 44 f4 e8 9c 75 8a d9 <0f> ff 5b 41 5c 41 5d 5d c3 66 90 0f 1f 44 00 00 55 48 89 e5 41 
[  542.859211] ---[ end trace c6184f40f0ecffc0 ]---
[  542.859275] wlp60s0:  Failed check-sdata-in-driver check, flags: 0x0
[  542.859302] ------------[ cut here ]------------
[  542.859341] WARNING: CPU: 3 PID: 172 at /home/kernel/COD/linux/net/mac80211/driver-ops.h:17 drv_ampdu_action+0x14e/0x170 [mac80211]
[  542.859344] Modules linked in: ccm rfcomm snd_hda_codec_hdmi bnep arc4 hid_multitouch nls_iso8859_1 wacom iwlmvm snd_soc_skl mac80211 snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core iwlwifi snd_compress ac97_bus snd_pcm_dmaengine rtsx_pci_ms memstick cfg80211 snd_hda_intel snd_hda_codec intel_rapl x86_pkg_temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq snd_seq_device snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd joydev input_leds dell_wmi serio_raw uvcvideo dell_smbios wmi_bmof dcdbas videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core
[  542.859415]  btusb btrtl idma64 virt_dma mei_me mei shpchp intel_lpss_pci hid_sensor_rotation processor_thermal_device intel_pch_thermal hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_magn_3d intel_soc_dts_iosf hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart btbcm serdev btqca btintel acpi_als ov5693(C) int3403_thermal kfifo_buf int340x_thermal_zone intel_vbtn soc_button_array industrialio bluetooth v4l2_common videodev ecdh_generic media intel_lpss_acpi int3400_thermal intel_lpss tpm_crb acpi_thermal_rel intel_hid sparse_keymap acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt nvme fb_sys_fops
[  542.859473]  intel_ish_ipc psmouse rtsx_pci nvme_core drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[  542.859487] CPU: 3 PID: 172 Comm: kworker/u8:3 Tainted: G        WC      4.13.0-041300rc1-generic #201707151931
[  542.859489] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.859519] Workqueue: phy0 ieee80211_iface_work [mac80211]
[  542.859521] task: ffff9efe4b6faf00 task.stack: ffffc2a78128c000
[  542.859546] RIP: 0010:drv_ampdu_action+0x14e/0x170 [mac80211]
[  542.859548] RSP: 0000:ffffc2a78128fb78 EFLAGS: 00010286
[  542.859551] RAX: 0000000000000038 RBX: ffff9efe4d498000 RCX: 0000000000000000
[  542.859552] RDX: 0000000000000000 RSI: ffff9efe5dd8dc78 RDI: ffff9efe5dd8dc78
[  542.859554] RBP: ffffc2a78128fba0 R08: 0000000000000001 R09: 0000000000000459
[  542.859555] R10: ffff9efe5dd83c58 R11: 0000000000000459 R12: ffff9efe4aac08c0
[  542.859557] R13: ffff9efe509c0780 R14: ffff9efe4d4980c4 R15: ffffc2a78128fbc0
[  542.859560] FS:  0000000000000000(0000) GS:ffff9efe5dd80000(0000) knlGS:0000000000000000
[  542.859562] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  542.859563] CR2: 00007fe3b5be0478 CR3: 000000028d5c2000 CR4: 00000000003406e0
[  542.859565] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  542.859567] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  542.859568] Call Trace:
[  542.859595]  ___ieee80211_stop_tx_ba_session+0x136/0x200 [mac80211]
[  542.859622]  __ieee80211_stop_tx_ba_session+0x35/0x50 [mac80211]
[  542.859646]  ieee80211_sta_tear_down_BA_sessions+0x32/0x70 [mac80211]
[  542.859670]  __sta_info_destroy_part1+0x4f/0x570 [mac80211]
[  542.859692]  __sta_info_flush+0x143/0x190 [mac80211]
[  542.859723]  ieee80211_set_disassoc+0xb7/0x3b0 [mac80211]
[  542.859751]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[  542.859781]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[  542.859787]  ? __switch_to+0x23c/0x480
[  542.859817]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[  542.859821]  process_one_work+0x1e9/0x410
[  542.859825]  worker_thread+0x4b/0x410
[  542.859832]  kthread+0x109/0x140
[  542.859838]  ? process_one_work+0x410/0x410
[  542.859843]  ? kthread_create_on_node+0x70/0x70
[  542.859850]  ret_from_fork+0x25/0x30
[  542.859855] Code: c2 20 0f 85 15 ff ff ff 49 8b 84 24 00 04 00 00 49 8d b4 24 20 04 00 00 48 c7 c7 38 49 ab c0 48 85 c0 48 0f 45 f0 e8 33 67 8a d9 <0f> ff 41 be fb ff ff ff 5b 44 89 f0 41 5c 41 5d 41 5e 41 5f 5d 
[  542.859944] ---[ end trace c6184f40f0ecffc1 ]---
[  542.859962] ------------[ cut here ]------------
[  542.859990] WARNING: CPU: 3 PID: 172 at /home/kernel/COD/linux/net/mac80211/agg-tx.c:396 ___ieee80211_stop_tx_ba_session+0x1d9/0x200 [mac80211]
[  542.859991] Modules linked in: ccm rfcomm snd_hda_codec_hdmi bnep arc4 hid_multitouch nls_iso8859_1 wacom iwlmvm snd_soc_skl mac80211 snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core iwlwifi snd_compress ac97_bus snd_pcm_dmaengine rtsx_pci_ms memstick cfg80211 snd_hda_intel snd_hda_codec intel_rapl x86_pkg_temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq snd_seq_device snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd joydev input_leds dell_wmi serio_raw uvcvideo dell_smbios wmi_bmof dcdbas videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core
[  542.860048]  btusb btrtl idma64 virt_dma mei_me mei shpchp intel_lpss_pci hid_sensor_rotation processor_thermal_device intel_pch_thermal hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_magn_3d intel_soc_dts_iosf hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart btbcm serdev btqca btintel acpi_als ov5693(C) int3403_thermal kfifo_buf int340x_thermal_zone intel_vbtn soc_button_array industrialio bluetooth v4l2_common videodev ecdh_generic media intel_lpss_acpi int3400_thermal intel_lpss tpm_crb acpi_thermal_rel intel_hid sparse_keymap acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt nvme fb_sys_fops
[  542.860103]  intel_ish_ipc psmouse rtsx_pci nvme_core drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[  542.860116] CPU: 3 PID: 172 Comm: kworker/u8:3 Tainted: G        WC      4.13.0-041300rc1-generic #201707151931
[  542.860118] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.860148] Workqueue: phy0 ieee80211_iface_work [mac80211]
[  542.860151] task: ffff9efe4b6faf00 task.stack: ffffc2a78128c000
[  542.860180] RIP: 0010:___ieee80211_stop_tx_ba_session+0x1d9/0x200 [mac80211]
[  542.860184] RSP: 0000:ffffc2a78128fbb0 EFLAGS: 00010282
[  542.860187] RAX: 00000000fffffffb RBX: ffff9efe4d498000 RCX: 0000000000000000
[  542.860189] RDX: 0000000000000000 RSI: ffff9efe5dd8dc78 RDI: ffff9efe5dd8dc78
[  542.860190] RBP: ffffc2a78128fc08 R08: 0000000000000001 R09: 0000000000000459
[  542.860191] R10: ffff9efe5dd83c58 R11: 0000000000000459 R12: 0000000000000000
[  542.860193] R13: 0000000000000003 R14: ffff9efe4d4980c4 R15: ffff9efe4b721780
[  542.860195] FS:  0000000000000000(0000) GS:ffff9efe5dd80000(0000) knlGS:0000000000000000
[  542.860197] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  542.860198] CR2: 00007fe3b5be0478 CR3: 000000028d5c2000 CR4: 00000000003406e0
[  542.860200] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  542.860202] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  542.860203] Call Trace:
[  542.860228]  __ieee80211_stop_tx_ba_session+0x35/0x50 [mac80211]
[  542.860255]  ieee80211_sta_tear_down_BA_sessions+0x32/0x70 [mac80211]
[  542.860282]  __sta_info_destroy_part1+0x4f/0x570 [mac80211]
[  542.860309]  __sta_info_flush+0x143/0x190 [mac80211]
[  542.860341]  ieee80211_set_disassoc+0xb7/0x3b0 [mac80211]
[  542.860368]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[  542.860395]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[  542.860399]  ? __switch_to+0x23c/0x480
[  542.860425]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[  542.860430]  process_one_work+0x1e9/0x410
[  542.860436]  worker_thread+0x4b/0x410
[  542.860440]  kthread+0x109/0x140
[  542.860443]  ? process_one_work+0x410/0x410
[  542.860445]  ? kthread_create_on_node+0x70/0x70
[  542.860449]  ret_from_fork+0x25/0x30
[  542.860451] Code: b7 6d ae 4c 89 f7 4a 8d 94 eb 40 06 00 00 48 c7 02 00 00 00 00 e8 88 7c 0b da 31 f6 4c 89 ff e8 ae a8 8a d9 31 c0 e9 70 ff ff ff <0f> ff 31 c0 e9 67 ff ff ff 4c 89 f7 e8 66 7c 0b da b8 fe ff ff 
[  542.860503] ---[ end trace c6184f40f0ecffc2 ]---
[  542.860507] wlp60s0:  Failed check-sdata-in-driver check, flags: 0x0
[  542.860525] ------------[ cut here ]------------
[  542.860550] WARNING: CPU: 3 PID: 172 at /home/kernel/COD/linux/net/mac80211/driver-ops.h:17 drv_ampdu_action+0x14e/0x170 [mac80211]
[  542.860551] Modules linked in: ccm rfcomm snd_hda_codec_hdmi bnep arc4 hid_multitouch nls_iso8859_1 wacom iwlmvm snd_soc_skl mac80211 snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core iwlwifi snd_compress ac97_bus snd_pcm_dmaengine rtsx_pci_ms memstick cfg80211 snd_hda_intel snd_hda_codec intel_rapl x86_pkg_temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq snd_seq_device snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd joydev input_leds dell_wmi serio_raw uvcvideo dell_smbios wmi_bmof dcdbas videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core
[  542.860603]  btusb btrtl idma64 virt_dma mei_me mei shpchp intel_lpss_pci hid_sensor_rotation processor_thermal_device intel_pch_thermal hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_magn_3d intel_soc_dts_iosf hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart btbcm serdev btqca btintel acpi_als ov5693(C) int3403_thermal kfifo_buf int340x_thermal_zone intel_vbtn soc_button_array industrialio bluetooth v4l2_common videodev ecdh_generic media intel_lpss_acpi int3400_thermal intel_lpss tpm_crb acpi_thermal_rel intel_hid sparse_keymap acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt nvme fb_sys_fops
[  542.860654]  intel_ish_ipc psmouse rtsx_pci nvme_core drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[  542.860666] CPU: 3 PID: 172 Comm: kworker/u8:3 Tainted: G        WC      4.13.0-041300rc1-generic #201707151931
[  542.860667] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.860693] Workqueue: phy0 ieee80211_iface_work [mac80211]
[  542.860697] task: ffff9efe4b6faf00 task.stack: ffffc2a78128c000
[  542.860719] RIP: 0010:drv_ampdu_action+0x14e/0x170 [mac80211]
[  542.860723] RSP: 0000:ffffc2a78128fb58 EFLAGS: 00010282
[  542.860725] RAX: 0000000000000038 RBX: ffff9efe4d498000 RCX: 0000000000000006
[  542.860727] RDX: 0000000000000000 RSI: 0000000000000086 RDI: ffff9efe5dd8dc70
[  542.860728] RBP: ffffc2a78128fb80 R08: 0000000000000001 R09: 00000000000004a9
[  542.860730] R10: ffff9efe5dd83c58 R11: 00000000000004a9 R12: ffff9efe4aac08c0
[  542.860731] R13: ffff9efe509c0780 R14: 0000000000000000 R15: ffffc2a78128fbb0
[  542.860734] FS:  0000000000000000(0000) GS:ffff9efe5dd80000(0000) knlGS:0000000000000000
[  542.860735] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  542.860737] CR2: 00007fe3b5be0478 CR3: 000000028d5c2000 CR4: 00000000003406e0
[  542.860739] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  542.860740] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  542.860741] Call Trace:
[  542.860768]  ___ieee80211_stop_rx_ba_session+0xeb/0x1f0 [mac80211]
[  542.860793]  __ieee80211_stop_rx_ba_session+0x4f/0x70 [mac80211]
[  542.860819]  ieee80211_sta_tear_down_BA_sessions+0x49/0x70 [mac80211]
[  542.860842]  __sta_info_destroy_part1+0x4f/0x570 [mac80211]
[  542.860867]  __sta_info_flush+0x143/0x190 [mac80211]
[  542.860898]  ieee80211_set_disassoc+0xb7/0x3b0 [mac80211]
[  542.860928]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[  542.860959]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[  542.860964]  ? __switch_to+0x23c/0x480
[  542.860993]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[  542.860998]  process_one_work+0x1e9/0x410
[  542.861002]  worker_thread+0x4b/0x410
[  542.861005]  kthread+0x109/0x140
[  542.861009]  ? process_one_work+0x410/0x410
[  542.861011]  ? kthread_create_on_node+0x70/0x70
[  542.861015]  ret_from_fork+0x25/0x30
[  542.861018] Code: c2 20 0f 85 15 ff ff ff 49 8b 84 24 00 04 00 00 49 8d b4 24 20 04 00 00 48 c7 c7 38 49 ab c0 48 85 c0 48 0f 45 f0 e8 33 67 8a d9 <0f> ff 41 be fb ff ff ff 5b 44 89 f0 41 5c 41 5d 41 5e 41 5f 5d 
[  542.861078] ---[ end trace c6184f40f0ecffc3 ]---
[  542.861082] wlp60s0: HW problem - can not stop rx aggregation for 08:60:6e:cb:73:1c tid 0
[  542.861092] wlp60s0:  Failed check-sdata-in-driver check, flags: 0x0
[  542.861109] ------------[ cut here ]------------
[  542.861134] WARNING: CPU: 3 PID: 172 at /home/kernel/COD/linux/net/mac80211/driver-ops.h:17 __sta_info_destroy_part1+0x4a3/0x570 [mac80211]
[  542.861135] Modules linked in: ccm rfcomm snd_hda_codec_hdmi bnep arc4 hid_multitouch nls_iso8859_1 wacom iwlmvm snd_soc_skl mac80211 snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core iwlwifi snd_compress ac97_bus snd_pcm_dmaengine rtsx_pci_ms memstick cfg80211 snd_hda_intel snd_hda_codec intel_rapl x86_pkg_temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq snd_seq_device snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd joydev input_leds dell_wmi serio_raw uvcvideo dell_smbios wmi_bmof dcdbas videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core
[  542.861186]  btusb btrtl idma64 virt_dma mei_me mei shpchp intel_lpss_pci hid_sensor_rotation processor_thermal_device intel_pch_thermal hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_magn_3d intel_soc_dts_iosf hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart btbcm serdev btqca btintel acpi_als ov5693(C) int3403_thermal kfifo_buf int340x_thermal_zone intel_vbtn soc_button_array industrialio bluetooth v4l2_common videodev ecdh_generic media intel_lpss_acpi int3400_thermal intel_lpss tpm_crb acpi_thermal_rel intel_hid sparse_keymap acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt nvme fb_sys_fops
[  542.861241]  intel_ish_ipc psmouse rtsx_pci nvme_core drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[  542.861255] CPU: 3 PID: 172 Comm: kworker/u8:3 Tainted: G        WC      4.13.0-041300rc1-generic #201707151931
[  542.861257] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.861283] Workqueue: phy0 ieee80211_iface_work [mac80211]
[  542.861286] task: ffff9efe4b6faf00 task.stack: ffffc2a78128c000
[  542.861310] RIP: 0010:__sta_info_destroy_part1+0x4a3/0x570 [mac80211]
[  542.861312] RSP: 0000:ffffc2a78128fc78 EFLAGS: 00010286
[  542.861314] RAX: 0000000000000038 RBX: ffff9efe509c0780 RCX: 0000000000000006
[  542.861316] RDX: 0000000000000000 RSI: 0000000000000082 RDI: ffff9efe5dd8dc70
[  542.861317] RBP: ffffc2a78128fcb0 R08: 0000000000000001 R09: 00000000000004d3
[  542.861319] R10: 0000000000000040 R11: 00000000000004d3 R12: 0000000000000000
[  542.861321] R13: ffff9efe4aac08c0 R14: ffff9efe50f45fc0 R15: ffff9efe4d498030
[  542.861323] FS:  0000000000000000(0000) GS:ffff9efe5dd80000(0000) knlGS:0000000000000000
[  542.861324] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  542.861326] CR2: 00007fe3b5be0478 CR3: 000000028d5c2000 CR4: 00000000003406e0
[  542.861327] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  542.861329] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  542.861330] Call Trace:
[  542.861354]  __sta_info_flush+0x143/0x190 [mac80211]
[  542.861380]  ieee80211_set_disassoc+0xb7/0x3b0 [mac80211]
[  542.861404]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[  542.861430]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[  542.861434]  ? __switch_to+0x23c/0x480
[  542.861461]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[  542.861466]  process_one_work+0x1e9/0x410
[  542.861470]  worker_thread+0x4b/0x410
[  542.861476]  kthread+0x109/0x140
[  542.861479]  ? process_one_work+0x410/0x410
[  542.861481]  ? kthread_create_on_node+0x70/0x70
[  542.861484]  ret_from_fork+0x25/0x30
[  542.861486] Code: ed 40 07 00 00 e9 29 fd ff ff 49 8b 85 00 04 00 00 49 8d b5 20 04 00 00 48 c7 c7 28 4a ab c0 48 85 c0 48 0f 45 f0 e8 4e 49 8a d9 <0f> ff e9 48 fd ff ff 65 8b 05 57 a9 5c 3f 89 c0 48 0f a3 05 05 
[  542.861536] ---[ end trace c6184f40f0ecffc4 ]---
[  542.861607] wlp60s0:  Failed check-sdata-in-driver check, flags: 0x0
[  542.861627] ------------[ cut here ]------------
[  542.861660] WARNING: CPU: 3 PID: 172 at /home/kernel/COD/linux/net/mac80211/driver-ops.h:17 __ieee80211_key_destroy+0x2b7/0x2d0 [mac80211]
[  542.861661] Modules linked in: ccm rfcomm snd_hda_codec_hdmi bnep arc4 hid_multitouch nls_iso8859_1 wacom iwlmvm snd_soc_skl mac80211 snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core iwlwifi snd_compress ac97_bus snd_pcm_dmaengine rtsx_pci_ms memstick cfg80211 snd_hda_intel snd_hda_codec intel_rapl x86_pkg_temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq snd_seq_device snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd joydev input_leds dell_wmi serio_raw uvcvideo dell_smbios wmi_bmof dcdbas videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core
[  542.861712]  btusb btrtl idma64 virt_dma mei_me mei shpchp intel_lpss_pci hid_sensor_rotation processor_thermal_device intel_pch_thermal hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_magn_3d intel_soc_dts_iosf hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart btbcm serdev btqca btintel acpi_als ov5693(C) int3403_thermal kfifo_buf int340x_thermal_zone intel_vbtn soc_button_array industrialio bluetooth v4l2_common videodev ecdh_generic media intel_lpss_acpi int3400_thermal intel_lpss tpm_crb acpi_thermal_rel intel_hid sparse_keymap acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt nvme fb_sys_fops
[  542.861760]  intel_ish_ipc psmouse rtsx_pci nvme_core drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[  542.861772] CPU: 3 PID: 172 Comm: kworker/u8:3 Tainted: G        WC      4.13.0-041300rc1-generic #201707151931
[  542.861774] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.861800] Workqueue: phy0 ieee80211_iface_work [mac80211]
[  542.861803] task: ffff9efe4b6faf00 task.stack: ffffc2a78128c000
[  542.861835] RIP: 0010:__ieee80211_key_destroy+0x2b7/0x2d0 [mac80211]
[  542.861836] RSP: 0000:ffffc2a78128fbf0 EFLAGS: 00010286
[  542.861838] RAX: 0000000000000038 RBX: ffff9efe201d6000 RCX: 0000000000000006
[  542.861840] RDX: 0000000000000000 RSI: 0000000000000096 RDI: ffff9efe5dd8dc70
[  542.861841] RBP: ffffc2a78128fc48 R08: 0000000000000001 R09: 00000000000004f8
[  542.861842] R10: 00000000000000ae R11: 00000000000004f8 R12: ffff9efe509c0780
[  542.861844] R13: ffff9efe4aac0ce0 R14: ffff9efe4d498830 R15: 0000000000000001
[  542.861846] FS:  0000000000000000(0000) GS:ffff9efe5dd80000(0000) knlGS:0000000000000000
[  542.861847] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  542.861849] CR2: 00007fe3b5be0478 CR3: 000000028d5c2000 CR4: 00000000003406e0
[  542.861850] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  542.861851] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  542.861852] Call Trace:
[  542.861882]  ieee80211_free_sta_keys+0xb1/0xd0 [mac80211]
[  542.861907]  __sta_info_destroy_part2+0x2b/0x170 [mac80211]
[  542.861935]  __sta_info_flush+0xf5/0x190 [mac80211]
[  542.861967]  ieee80211_set_disassoc+0xb7/0x3b0 [mac80211]
[  542.861994]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[  542.862021]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[  542.862025]  ? __switch_to+0x23c/0x480
[  542.862052]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[  542.862056]  process_one_work+0x1e9/0x410
[  542.862060]  worker_thread+0x4b/0x410
[  542.862063]  kthread+0x109/0x140
[  542.862066]  ? process_one_work+0x410/0x410
[  542.862068]  ? kthread_create_on_node+0x70/0x70
[  542.862072]  ret_from_fork+0x25/0x30
[  542.862074] Code: 25 00 00 00 00 e9 74 fe ff ff 49 8b b5 00 04 00 00 49 81 c5 20 04 00 00 48 c7 c7 a8 6e ab c0 48 85 f6 49 0f 44 f5 e8 ba 69 87 d9 <0f> ff 41 bd fb ff ff ff e9 6f ff ff ff 66 90 66 2e 0f 1f 84 00 
[  542.862127] ---[ end trace c6184f40f0ecffc5 ]---
[  542.862130] wlp60s0: failed to remove key (0, 08:60:6e:cb:73:1c) from hardware (-5)
[  542.862200] wlp60s0:  Failed check-sdata-in-driver check, flags: 0x0
[  542.862220] ------------[ cut here ]------------
[  542.862246] WARNING: CPU: 3 PID: 172 at /home/kernel/COD/linux/net/mac80211/driver-ops.h:17 drv_sta_state+0x169/0x3f0 [mac80211]
[  542.862247] Modules linked in: ccm rfcomm snd_hda_codec_hdmi bnep arc4 hid_multitouch nls_iso8859_1 wacom iwlmvm snd_soc_skl mac80211 snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core iwlwifi snd_compress ac97_bus snd_pcm_dmaengine rtsx_pci_ms memstick cfg80211 snd_hda_intel snd_hda_codec intel_rapl x86_pkg_temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq snd_seq_device snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd joydev input_leds dell_wmi serio_raw uvcvideo dell_smbios wmi_bmof dcdbas videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core
[  542.862301]  btusb btrtl idma64 virt_dma mei_me mei shpchp intel_lpss_pci hid_sensor_rotation processor_thermal_device intel_pch_thermal hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_magn_3d intel_soc_dts_iosf hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart btbcm serdev btqca btintel acpi_als ov5693(C) int3403_thermal kfifo_buf int340x_thermal_zone intel_vbtn soc_button_array industrialio bluetooth v4l2_common videodev ecdh_generic media intel_lpss_acpi int3400_thermal intel_lpss tpm_crb acpi_thermal_rel intel_hid sparse_keymap acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt nvme fb_sys_fops
[  542.862351]  intel_ish_ipc psmouse rtsx_pci nvme_core drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[  542.862363] CPU: 3 PID: 172 Comm: kworker/u8:3 Tainted: G        WC      4.13.0-041300rc1-generic #201707151931
[  542.862364] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.862392] Workqueue: phy0 ieee80211_iface_work [mac80211]
[  542.862394] task: ffff9efe4b6faf00 task.stack: ffffc2a78128c000
[  542.862417] RIP: 0010:drv_sta_state+0x169/0x3f0 [mac80211]
[  542.862419] RSP: 0000:ffffc2a78128fc28 EFLAGS: 00010282
[  542.862421] RAX: 0000000000000038 RBX: ffff9efe4aac08c0 RCX: 0000000000000006
[  542.862423] RDX: 0000000000000000 RSI: 0000000000000086 RDI: ffff9efe5dd8dc70
[  542.862424] RBP: ffffc2a78128fc60 R08: 0000000000000001 R09: 0000000000000520
[  542.862425] R10: ffffc2a78128fb98 R11: 0000000000000520 R12: ffff9efe509c0780
[  542.862426] R13: 0000000000000004 R14: 0000000000000003 R15: ffff9efe509c0cd0
[  542.862429] FS:  0000000000000000(0000) GS:ffff9efe5dd80000(0000) knlGS:0000000000000000
[  542.862430] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  542.862432] CR2: 00007fe3b5be0478 CR3: 000000028d5c2000 CR4: 00000000003406e0
[  542.862433] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  542.862435] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  542.862435] Call Trace:
[  542.862457]  sta_info_move_state+0x289/0x330 [mac80211]
[  542.862477]  __sta_info_destroy_part2+0x5e/0x170 [mac80211]
[  542.862496]  __sta_info_flush+0xf5/0x190 [mac80211]
[  542.862519]  ieee80211_set_disassoc+0xb7/0x3b0 [mac80211]
[  542.862543]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[  542.862565]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[  542.862570]  ? __switch_to+0x23c/0x480
[  542.862596]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[  542.862600]  process_one_work+0x1e9/0x410
[  542.862604]  worker_thread+0x4b/0x410
[  542.862607]  kthread+0x109/0x140
[  542.862610]  ? process_one_work+0x410/0x410
[  542.862612]  ? kthread_create_on_node+0x70/0x70
[  542.862616]  ret_from_fork+0x25/0x30
[  542.862618] Code: 00 f6 c2 20 0f 85 ff fe ff ff 48 8b 83 00 04 00 00 48 8d b3 20 04 00 00 48 c7 c7 38 49 ab c0 48 85 c0 48 0f 45 f0 e8 28 74 8a d9 <0f> ff 41 bd fb ff ff ff e9 1a ff ff ff 41 83 fd 02 75 06 41 83 
[  542.862681] ---[ end trace c6184f40f0ecffc6 ]---
[  542.862716] BUG: unable to handle kernel paging request at ffffffffc0abd248
[  542.862802] IP: report_bug+0x94/0x120
[  542.862840] PGD 5a80c067 
[  542.862841] P4D 5a80c067 
[  542.862862] PUD 5a80e067 
[  542.862885] PMD 2925f0067 
[  542.862906] PTE 8000000292a11161

[  542.862973] Oops: 0003 [#1] SMP
[  542.863002] Modules linked in: ccm rfcomm snd_hda_codec_hdmi bnep arc4 hid_multitouch nls_iso8859_1 wacom iwlmvm snd_soc_skl mac80211 snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_sst_match snd_hda_codec_realtek snd_hda_codec_generic snd_soc_core iwlwifi snd_compress ac97_bus snd_pcm_dmaengine rtsx_pci_ms memstick cfg80211 snd_hda_intel snd_hda_codec intel_rapl x86_pkg_temp_thermal snd_hda_core intel_powerclamp snd_hwdep coretemp snd_pcm kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq snd_seq_device snd_timer aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate intel_rapl_perf snd joydev input_leds dell_wmi serio_raw uvcvideo dell_smbios wmi_bmof dcdbas videobuf2_vmalloc soundcore videobuf2_memops videobuf2_v4l2 videobuf2_core
[  542.863626]  btusb btrtl idma64 virt_dma mei_me mei shpchp intel_lpss_pci hid_sensor_rotation processor_thermal_device intel_pch_thermal hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_magn_3d intel_soc_dts_iosf hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart btbcm serdev btqca btintel acpi_als ov5693(C) int3403_thermal kfifo_buf int340x_thermal_zone intel_vbtn soc_button_array industrialio bluetooth v4l2_common videodev ecdh_generic media intel_lpss_acpi int3400_thermal intel_lpss tpm_crb acpi_thermal_rel intel_hid sparse_keymap acpi_pad mac_hid parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 i2c_algo_bit drm_kms_helper syscopyarea sysfillrect rtsx_pci_sdmmc sysimgblt nvme fb_sys_fops
[  542.864235]  intel_ish_ipc psmouse rtsx_pci nvme_core drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[  542.864354] CPU: 3 PID: 172 Comm: kworker/u8:3 Tainted: G        WC      4.13.0-041300rc1-generic #201707151931
[  542.864414] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 01.00.14 04/11/2017
[  542.864485] Workqueue: phy0 ieee80211_iface_work [mac80211]
[  542.864519] task: ffff9efe4b6faf00 task.stack: ffffc2a78128c000
[  542.864558] RIP: 0010:report_bug+0x94/0x120
[  542.864588] RSP: 0000:ffffc2a78128fa78 EFLAGS: 00010202
[  542.864619] RAX: 0000000000000907 RBX: ffffc2a78128fbe8 RCX: ffffffffc0abd23e
[  542.864664] RDX: 0000000000000001 RSI: 00000000000003c7 RDI: 0000000000000001
[  542.864704] RBP: ffffc2a78128fa98 R08: ffffc2a781290000 R09: 0000000000000382
[  542.864744] R10: ffffffff9b006a80 R11: 0000000000000520 R12: ffffffffc0a420d9
[  542.864784] R13: ffffffffc0ab49d0 R14: 0000000000000006 R15: 0000000000000004
[  542.864826] FS:  0000000000000000(0000) GS:ffff9efe5dd80000(0000) knlGS:0000000000000000
[  542.864871] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  542.864904] CR2: ffffffffc0abd248 CR3: 000000028d5c2000 CR4: 00000000003406e0
[  542.864946] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  542.864986] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  542.865041] Call Trace:
[  542.865091]  ? __sta_info_destroy_part2+0x139/0x170 [mac80211]
[  542.865131]  fixup_bug+0x2c/0x50
[  542.865154]  do_trap+0xa4/0x170
[  542.865176]  do_error_trap+0x89/0x110
[  542.865216]  ? __sta_info_destroy_part2+0x139/0x170 [mac80211]
[  542.865252]  ? do_invalid_op+0x20/0x30
[  542.865278]  ? invalid_op+0x1e/0x30
[  542.865302]  do_invalid_op+0x20/0x30
[  542.865326]  invalid_op+0x1e/0x30
[  542.865363] RIP: 0010:__sta_info_destroy_part2+0x139/0x170 [mac80211]
[  542.865400] RSP: 0000:ffffc2a78128fc90 EFLAGS: 00010282
[  542.865431] RAX: 00000000fffffffb RBX: ffff9efe4d498000 RCX: 0000000000000006
[  542.865471] RDX: 0000000000000000 RSI: 0000000000000086 RDI: ffff9efe5dd8dc70
[  542.865511] RBP: ffffc2a78128fcb0 R08: 0000000000000001 R09: 0000000000000520
[  542.865551] R10: ffffc2a78128fb98 R11: 0000000000000520 R12: ffff9efe509c0780
[  542.865591] R13: ffff9efe4aac08c0 R14: ffff9efe4aac08c0 R15: ffff9efe509c0cd0
[  542.865650]  __sta_info_flush+0xf5/0x190 [mac80211]
[  542.865702]  ieee80211_set_disassoc+0xb7/0x3b0 [mac80211]
[  542.865754]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[  542.865815]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[  542.865848]  ? __switch_to+0x23c/0x480
[  542.865890]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[  542.865923]  process_one_work+0x1e9/0x410
[  542.865949]  worker_thread+0x4b/0x410
[  542.865973]  kthread+0x109/0x140
[  542.865995]  ? process_one_work+0x410/0x410
[  542.866021]  ? kthread_create_on_node+0x70/0x70
[  542.866051]  ret_from_fork+0x25/0x30
[  542.866073] Code: 74 59 0f b7 41 0a 4c 63 69 04 0f b7 71 08 89 c7 49 01 cd 83 e7 01 a8 02 74 15 66 85 ff 74 10 a8 04 ba 01 00 00 00 75 26 83 c8 04 <66> 89 41 0a 66 85 ff 74 49 0f b6 49 0b 4c 89 e2 45 31 c9 49 89 
[  542.866218] RIP: report_bug+0x94/0x120 RSP: ffffc2a78128fa78
[  542.866251] CR2: ffffffffc0abd248
[  542.886233] ---[ end trace c6184f40f0ecffc7 ]---
Comment 1 Emmanuel Grumbach 2017-07-18 14:12:03 UTC
Please try with 31.ucode.

You can get it here

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/core_release
Comment 2 Patrik Kullman 2017-07-18 15:20:49 UTC
Created attachment 257583 [details]
dmesg with ucode 31

Still happens
Comment 3 Emmanuel Grumbach 2017-07-18 15:24:15 UTC
Have you enabled run time pm for iwlwifi?
Comment 4 Patrik Kullman 2017-07-18 15:27:40 UTC
Not intentionally.. should I do that? How do I check?
Comment 5 Emmanuel Grumbach 2017-07-18 15:29:31 UTC
Please attach you kernel config file.
Comment 6 Patrik Kullman 2017-07-18 15:31:36 UTC
Created attachment 257585 [details]
kernel config

Ubuntu kernel config
Comment 7 Patrik Kullman 2017-07-18 15:33:09 UTC
FYI, the reason I'm running 4.13-rc1 in the first place is because of https://bugzilla.kernel.org/show_bug.cgi?id=192591 which is PM-related (suspend/resume) related
Comment 8 Emmanuel Grumbach 2017-07-18 16:59:43 UTC
Created attachment 257587 [details]
Core28 with uSniffer

Please use the firmware attached. It will collect debug data.
You can refer to https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging#firmware_debugging

to see how to collect the data we need.

Please take the time to read the privacy notice here:
https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging#privacy_aspects


Thanks
Comment 9 Patrik Kullman 2017-07-18 21:49:32 UTC
I see that you made the comment non-private but I can't access the attachment.
Comment 10 Luca Coelho 2017-07-20 09:42:26 UTC
Patrik, I just checked and I can see (and download) the attachment[1] even when I'm not logged in.  Can you check again?

And it seems that we still have some bad code (causing the OOPS) in the recovery flows... :(


[1] https://bugzilla.kernel.org/attachment.cgi?id=257587
Comment 11 Patrik Kullman 2017-07-20 16:53:20 UTC
The attachment was made public a some hours after my comment and I've run the modified ucode since then but haven't been able to reproduce yet.
Comment 12 Patrik Kullman 2017-07-20 20:55:56 UTC
Created attachment 257625 [details]
dmesg with custom ucode

I experienced it once but didn't have any root terminal (and can't achieve root after it has happened), but here's the dmesg.
Comment 13 Patrik Kullman 2017-07-20 21:02:37 UTC
Created attachment 257627 [details]
dmesg crash and restart

A new type of crash where it managed to recover.

But I couldn't make a dump of this.
I've added the udev rule.
I expect these crashes to auto-dump, but I ran the first command and got:

[ 5945.073512] iwlwifi 0000:3c:00.0: Collecting data: trigger 1 fired.

But I don't have /sys/devices/virtual/devcoredump so I suspect this kernel doesn't have CONFIG_ALLOW_DEV_COREDUMP even though the config says so?
In that case I'll have to wait until 4-13.rc2 comes out and hopefully has the patch I'm running.
Comment 14 Emmanuel Grumbach 2017-07-20 21:04:39 UTC
You don't to do any command to create the dump. They should be created automatically when the firmware crashes.
Comment 15 Patrik Kullman 2017-07-20 21:23:09 UTC
But where? /sys/devices/virtual/devcoredump according to the wiki but it doesn't exist.
Comment 16 Emmanuel Grumbach 2017-07-20 21:29:28 UTC
It will stay there for a few minutes until some user space agent (udev rule or manual operation) collects. After a few minutes, it will be released by the kernel.
Comment 17 Patrik Kullman 2017-07-20 21:42:29 UTC
Yes well it doesn't exist so the udev rule or me can't collect it.
Comment 18 Patrik Kullman 2017-07-20 21:43:43 UTC
Created attachment 257629 [details]
crash on boot

I updated to later intel-microcode due to warning in dmesg (not sure if related) and got this when I rebooted.
Comment 19 Patrik Kullman 2017-07-21 11:25:54 UTC
Created attachment 257633 [details]
crash after microcode update

This intel-microcode update seems to have made a difference, the driver doesn't crash as hard anymore.
Comment 20 Emmanuel Grumbach 2017-07-21 13:34:21 UTC
I won't be able to do much without a firmware dump.
Comment 21 Emmanuel Grumbach 2017-07-21 13:35:07 UTC
(In reply to Emmanuel Grumbach from comment #20)
> I won't be able to do much without a firmware dump.

Please try to create a dump manually with the fw_dbg_collect command.
Then check what you have in the devcoredump directory.

thanks.
Comment 22 Patrik Kullman 2017-07-21 16:22:16 UTC
I don't have a devcoredump directory before or after running the command.

Going to see if I can have the kernel rebuilt, it probably lacks the feature.
Comment 23 Patrik Kullman 2017-07-21 19:04:26 UTC
Kernel has the feature, not sure why the devcoredump directory is missing.
Comment 24 Patrik Kullman 2017-07-21 19:10:57 UTC
I have /sys/class/devcoredump with the file "disabled" in it and the value 0.

# find /sys -name "*dump*"
/sys/kernel/debug/dri/0/i915_dump_lrc
/sys/kernel/debug/dri/0/i915_guc_load_err_log_dump
/sys/kernel/debug/dri/0/i915_guc_log_dump
/sys/kernel/debug/clk/clk_orphan_dump
/sys/kernel/debug/clk/clk_dump
/sys/kernel/debug/tracing/events/cfg80211/rdev_dump_station
/sys/kernel/debug/tracing/events/cfg80211/rdev_dump_mpath
/sys/kernel/debug/tracing/events/cfg80211/rdev_dump_mpp
/sys/kernel/debug/tracing/events/cfg80211/rdev_dump_survey
/sys/kernel/debug/tracing/events/intel_ish/ishtp_dump
/sys/class/devcoredump
/sys/module/snd_hda_codec/parameters/dump_coef
/sys/module/rcutree/parameters/dump_tree
/sys/module/printk/parameters/always_kmsg_dump
/sys/module/wmi/parameters/debug_dump_wdg
Comment 25 Patrik Kullman 2017-07-24 20:31:40 UTC
Created attachment 257693 [details]
hard crash after microcode update

So the microcode update actually didn't lessen the crash, experienced two harder crashes after.

Not sure how to proceed since the kernel has devcoredump support but the relevant directories and files are not present.

Anything else to check?
Comment 26 Emmanuel Grumbach 2017-07-24 20:38:56 UTC
The Oops is something that we can analyse and fix.

I don't have any issues with the devcoredump and everything seems to be configured properly on your end.

You can try to check what udev says while you trigger a dump (with fw_dbg_collect) with:

udevadm monitor.

I'll let Luca handle the Oops part, open an internal bug etc...
Comment 27 Patrik Kullman 2017-07-24 21:07:10 UTC
udevadm monitor:

KERNEL[3637.969539] add      /devices/virtual/devcoredump/devcd1 (devcoredump)
KERNEL[3637.976602] remove   /devices/virtual/devcoredump/devcd1 (devcoredump)
UDEV  [3637.980325] add      /devices/virtual/devcoredump/devcd1 (devcoredump)
UDEV  [3637.980738] remove   /devices/virtual/devcoredump/devcd1 (devcoredump)

So the kernel removes the dump before udev gets to handle it?
Comment 28 Emmanuel Grumbach 2017-07-24 21:15:12 UTC
Have you installed the udev rule?

Do you see anything under /var/log/ that looks like a firmware dump?

Btw, please send the iwlwifi.ko that you work with for the Oops analysis.
Comment 29 Patrik Kullman 2017-07-24 21:30:20 UTC
Created attachment 257695 [details]
iwlwifi.ko

Yes, udev rule is in place but nothing is being created in /var/log

Ubuntu seems to be using "apport" to intercept crashes and put in /var/crash but nothing there either.

Been trying to enable the functionality somehow but no success so far..
Comment 30 Patrik Kullman 2017-08-04 11:05:14 UTC
Haven't been able to produce a device coredump yet, but has also not yet experienced this on 4.13-rc3.

The only errors I'm getting now are:

[115788.594117] PM: Finishing wakeup.
[115788.594119] OOM killer enabled.
[115788.594120] Restarting tasks ... 
[115788.620591] [drm] RC6 on
[115788.680422] done.
[115788.787823] thermal thermal_zone11: failed to read out thermal zone (-5)
[115788.916134] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115788.930963] iwlwifi 0000:3c:00.0: Applying debug destination EXTERNAL_DRAM
[115789.075633] iwlwifi 0000:3c:00.0: Applying debug destination EXTERNAL_DRAM
[115789.140561] iwlwifi 0000:3c:00.0: FW already configured (0) - re-configuring
[115789.162353] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115789.187647] iwlwifi 0000:3c:00.0: Applying debug destination EXTERNAL_DRAM
[115789.316618] iwlwifi 0000:3c:00.0: Applying debug destination EXTERNAL_DRAM
[115789.381223] iwlwifi 0000:3c:00.0: FW already configured (0) - re-configuring
[115789.398684] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115789.468885] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115793.023225] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115793.040279] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115793.048962] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115793.076259] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115794.686141] wlp60s0: authenticate with 08:60:6e:cb:73:1c
[115794.694184] wlp60s0: send auth to 08:60:6e:cb:73:1c (try 1/3)
[115794.699331] wlp60s0: authenticated
[115795.308462] iwlwifi 0000:3c:00.0: No association and the time event is over already...
[115795.308497] wlp60s0: Connection to AP 08:60:6e:cb:73:1c lost
[115799.694491] wlp60s0: aborting authentication with 08:60:6e:cb:73:1c by local choice (Reason: 3=DEAUTH_LEAVING)
[115799.834541] wlp60s0: authenticate with 08:60:6e:cb:73:18
[115799.843771] wlp60s0: send auth to 08:60:6e:cb:73:18 (try 1/3)
[115799.860011] wlp60s0: authenticated
[115800.457851] iwlwifi 0000:3c:00.0: No association and the time event is over already...
[115800.457894] wlp60s0: Connection to AP 08:60:6e:cb:73:18 lost
[115804.846815] wlp60s0: aborting authentication with 08:60:6e:cb:73:18 by local choice (Reason: 3=DEAUTH_LEAVING)
[115806.401860] wlp60s0: authenticate with 08:60:6e:cb:73:18
[115806.410559] wlp60s0: send auth to 08:60:6e:cb:73:18 (try 1/3)
[115806.413237] wlp60s0: authenticated
[115807.024826] iwlwifi 0000:3c:00.0: No association and the time event is over already...
[115807.024886] wlp60s0: Connection to AP 08:60:6e:cb:73:18 lost
[115811.412743] wlp60s0: aborting authentication with 08:60:6e:cb:73:18 by local choice (Reason: 3=DEAUTH_LEAVING)
[115812.444941] wlp60s0: authenticate with 08:60:6e:cb:73:1c
[115812.454077] wlp60s0: send auth to 08:60:6e:cb:73:1c (try 1/3)
[115812.455501] wlp60s0: authenticated
[115813.068875] iwlwifi 0000:3c:00.0: No association and the time event is over already...
[115813.068912] wlp60s0: Connection to AP 08:60:6e:cb:73:1c lost
[115817.459542] wlp60s0: aborting authentication with 08:60:6e:cb:73:1c by local choice (Reason: 3=DEAUTH_LEAVING)
[115817.971365] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115817.981126] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115818.033733] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[115821.477467] wlp60s0: authenticate with 08:60:6e:cb:73:1c
[115821.485522] wlp60s0: send auth to 08:60:6e:cb:73:1c (try 1/3)
[115821.487213] wlp60s0: authenticated
[115821.492573] wlp60s0: associate with 08:60:6e:cb:73:1c (try 1/3)
[115821.493568] wlp60s0: RX AssocResp from 08:60:6e:cb:73:1c (capab=0x11 status=0 aid=2)
[115821.496071] wlp60s0: associated
[115821.496183] IPv6: ADDRCONF(NETDEV_CHANGE): wlp60s0: link becomes ready
[115821.575924] wlp60s0: Limiting TX power to 23 (23 - 0) dBm as advertised by 08:60:6e:cb:73:1c
[115852.774267] wlp60s0: disconnect from AP 08:60:6e:cb:73:1c for new auth to 08:60:6e:cb:73:18
[115852.783462] wlp60s0: authenticate with 08:60:6e:cb:73:18
[115852.791619] wlp60s0: send auth to 08:60:6e:cb:73:18 (try 1/3)
[115852.794280] wlp60s0: authenticated
[115852.796062] wlp60s0: associate with 08:60:6e:cb:73:18 (try 1/3)
[115852.799906] wlp60s0: RX AssocResp from 08:60:6e:cb:73:18 (capab=0x411 status=0 aid=8)
[115852.802012] wlp60s0: associated
[116785.748598] wlp60s0: deauthenticating from 08:60:6e:cb:73:18 by local choice (Reason: 3=DEAUTH_LEAVING)
[116785.759436] wlp60s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-22)
[116785.773319] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
[116786.092422] ACPI Error: Thread 2549362560 cannot release Mutex [PATM] acquired by thread 239054720 (20170531/exmutex-416)
[116786.092435] ACPI Error: Method parse/execution failed \_SB.PCI0.LPCB.ECDV._Q66, AE_AML_NOT_OWNER (20170531/psparse-550)
[116787.219153] PM: Syncing filesystems ... done.
[116787.224048] PM: Preparing system for sleep (freeze)


I guess that the spamming of 
[115793.023225] IPv6: ADDRCONF(NETDEV_UP): wlp60s0: link is not ready
is to be expected even though it isn't that nice.


[115795.308462] iwlwifi 0000:3c:00.0: No association and the time event is over already...
doesn't happen often but isn't it weird that first association try isn't starting after auth is finished?

Finally,
[116785.748598] wlp60s0: deauthenticating from 08:60:6e:cb:73:18 by local choice (Reason: 3=DEAUTH_LEAVING)
[116785.759436] wlp60s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-22)
happens at least once when suspending, sometimes two times and occasionally about half a minute after resume.


What of this should be made into new bugs?
Comment 31 Patrik Kullman 2017-08-16 16:58:51 UTC
Actually problem is still present in rc5:

[27289.972796] wlp60s0: authenticate with 08:60:6e:cb:73:1c
[27289.982144] wlp60s0: send auth to 08:60:6e:cb:73:1c (try 1/3)
[27289.990677] wlp60s0: authenticated
[27289.994328] wlp60s0: associate with 08:60:6e:cb:73:1c (try 1/3)
[27289.996253] wlp60s0: RX AssocResp from 08:60:6e:cb:73:1c (capab=0x11 status=0 aid=1)
[27289.997346] wlp60s0: associated
[27290.089118] wlp60s0: Limiting TX power to 23 (23 - 0) dBm as advertised by 08:60:6e:cb:73:1c
[27303.807116] iwlwifi 0000:3c:00.0: Error sending MAC_CONTEXT_CMD: time out after 2000ms.
[27303.807120] iwlwifi 0000:3c:00.0: Current CMD queue read_ptr 17 write_ptr 18
[27303.807260] iwlwifi 0000:3c:00.0: Microcode SW error detected.  Restarting 0x2000000.
[27303.807353] iwlwifi 0000:3c:00.0: Start IWL Error Log Dump:
[27303.807355] iwlwifi 0000:3c:00.0: Status: 0x00000200, count: 6
[27303.807357] iwlwifi 0000:3c:00.0: Loaded firmware version: 31.554669.0
[27303.807359] iwlwifi 0000:3c:00.0: 0x00000084 | NMI_INTERRUPT_UNKNOWN       
[27303.807360] iwlwifi 0000:3c:00.0: 0x200002F2 | trm_hw_status0
[27303.807362] iwlwifi 0000:3c:00.0: 0x00000000 | trm_hw_status1
[27303.807363] iwlwifi 0000:3c:00.0: 0x00024854 | branchlink2
[27303.807365] iwlwifi 0000:3c:00.0: 0x00039376 | interruptlink1
[27303.807366] iwlwifi 0000:3c:00.0: 0x00015CC2 | interruptlink2
[27303.807368] iwlwifi 0000:3c:00.0: 0x00000000 | data1
[27303.807369] iwlwifi 0000:3c:00.0: 0x00000080 | data2
[27303.807371] iwlwifi 0000:3c:00.0: 0x07830000 | data3
[27303.807372] iwlwifi 0000:3c:00.0: 0x21800863 | beacon time
[27303.807373] iwlwifi 0000:3c:00.0: 0x1C1827A2 | tsf low
[27303.807375] iwlwifi 0000:3c:00.0: 0x00000000 | tsf hi
[27303.807376] iwlwifi 0000:3c:00.0: 0x00000000 | time gp1
[27303.807378] iwlwifi 0000:3c:00.0: 0x03216CC8 | time gp2
[27303.807379] iwlwifi 0000:3c:00.0: 0x00000001 | uCode revision type
[27303.807381] iwlwifi 0000:3c:00.0: 0x0000001F | uCode version major
[27303.807382] iwlwifi 0000:3c:00.0: 0x000876AD | uCode version minor
[27303.807383] iwlwifi 0000:3c:00.0: 0x00000230 | hw version
[27303.807385] iwlwifi 0000:3c:00.0: 0x00489000 | board version
[27303.807386] iwlwifi 0000:3c:00.0: 0x0000001C | hcmd
[27303.807388] iwlwifi 0000:3c:00.0: 0x02322088 | isr0
[27303.807389] iwlwifi 0000:3c:00.0: 0x00800000 | isr1
[27303.807391] iwlwifi 0000:3c:00.0: 0x08200802 | isr2
[27303.807392] iwlwifi 0000:3c:00.0: 0x004000C0 | isr3
[27303.807393] iwlwifi 0000:3c:00.0: 0x00000000 | isr4
[27303.807395] iwlwifi 0000:3c:00.0: 0x00100400 | last cmd Id
[27303.807396] iwlwifi 0000:3c:00.0: 0x00000000 | wait_event
[27303.807398] iwlwifi 0000:3c:00.0: 0x000027AA | l2p_control
[27303.807399] iwlwifi 0000:3c:00.0: 0x00001420 | l2p_duration
[27303.807400] iwlwifi 0000:3c:00.0: 0x00000000 | l2p_mhvalid
[27303.807402] iwlwifi 0000:3c:00.0: 0x000000F0 | l2p_addr_match
[27303.807403] iwlwifi 0000:3c:00.0: 0x0000000D | lmpm_pmg_sel
[27303.807405] iwlwifi 0000:3c:00.0: 0x18071814 | timestamp
[27303.807406] iwlwifi 0000:3c:00.0: 0x003498A0 | flow_handler
[27303.807581] iwlwifi 0000:3c:00.0: 0x00000000 | ADVANCED_SYSASSERT
[27303.807583] iwlwifi 0000:3c:00.0: 0x00000000 | umac branchlink1
[27303.807584] iwlwifi 0000:3c:00.0: 0x00000000 | umac branchlink2
[27303.807585] iwlwifi 0000:3c:00.0: 0x00000000 | umac interruptlink1
[27303.807587] iwlwifi 0000:3c:00.0: 0x00000000 | umac interruptlink2
[27303.807588] iwlwifi 0000:3c:00.0: 0x00000000 | umac data1
[27303.807589] iwlwifi 0000:3c:00.0: 0x00000000 | umac data2
[27303.807591] iwlwifi 0000:3c:00.0: 0x00000000 | umac data3
[27303.807592] iwlwifi 0000:3c:00.0: 0x00000000 | umac major
[27303.807594] iwlwifi 0000:3c:00.0: 0x00000000 | umac minor
[27303.807595] iwlwifi 0000:3c:00.0: 0x00000000 | frame pointer
[27303.807597] iwlwifi 0000:3c:00.0: 0x00000000 | stack pointer
[27303.807598] iwlwifi 0000:3c:00.0: 0x00000000 | last host cmd
[27303.807599] iwlwifi 0000:3c:00.0: 0x00000000 | isr status reg
[27303.807603] ieee80211 phy0: Hardware restart was requested
[27303.807609] iwlwifi 0000:3c:00.0: Failed to send MAC context (action:2): -110
[27303.807612] iwlwifi 0000:3c:00.0: failed to update MAC f8:63:3f:12:56:33
[27303.807616] iwlwifi 0000:3c:00.0: failed to update power mode
[27303.814231] iwlwifi 0000:3c:00.0: Failed to send flush command (-5)
[27303.814235] iwlwifi 0000:3c:00.0: Couldn't flush the AGG queue
[27303.814240] wlp60s0: HW problem - can not stop rx aggregation for 08:60:6e:cb:73:1c tid 0
[27303.814264] wlp60s0: failed to remove key (0, 08:60:6e:cb:73:1c) from hardware (-5)
[27303.814326] ------------[ cut here ]------------
[27303.814336] WARNING: CPU: 0 PID: 5993 at /home/patrik/dev/kernel/linux-4.13-rc5/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:2726 iwl_mvm_mac_sta_state+0x4af/0x5b0 [iwlmvm]
[27303.814336] Modules linked in: ccm rfcomm bnep hid_multitouch intel_rapl x86_pkg_temp_thermal intel_powerclamp wacom nls_iso8859_1 coretemp kvm_intel snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp kvm snd_hda_ext_core snd_soc_sst_match irqbypass arc4 snd_hda_codec_hdmi crct10dif_pclmul snd_hda_codec_realtek snd_soc_core snd_hda_codec_generic crc32_pclmul ghash_clmulni_intel snd_compress ac97_bus pcbc snd_pcm_dmaengine snd_hda_intel iwlmvm snd_hda_codec snd_hda_core mac80211 snd_hwdep aesni_intel aes_x86_64 crypto_simd snd_pcm glue_helper iwlwifi cryptd intel_cstate cfg80211 intel_rapl_perf rtsx_pci_ms snd_seq memstick input_leds joydev snd_seq_device snd_timer serio_raw dell_wmi dell_smbios uvcvideo dcdbas wmi_bmof videobuf2_vmalloc mei_me videobuf2_memops snd videobuf2_v4l2 soundcore
[27303.814372]  mei videobuf2_core idma64 btusb virt_dma shpchp btrtl intel_lpss_pci hid_sensor_magn_3d hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_rotation hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart processor_thermal_device btbcm intel_soc_dts_iosf intel_pch_thermal serdev btqca btintel intel_vbtn soc_button_array acpi_als int3403_thermal int340x_thermal_zone ov5693(C) kfifo_buf intel_hid bluetooth industrialio v4l2_common sparse_keymap videodev intel_lpss_acpi media ecdh_generic intel_lpss mac_hid acpi_pad tpm_crb int3400_thermal acpi_thermal_rel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper nvme syscopyarea sysfillrect psmouse intel_ish_ipc
[27303.814413]  sysimgblt fb_sys_fops nvme_core rtsx_pci drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[27303.814422] CPU: 0 PID: 5993 Comm: kworker/u8:25 Tainted: G         C      4.13.0-041300rc4-generic #201708062231
[27303.814423] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 1.0.17 06/08/2017
[27303.814442] Workqueue: phy0 ieee80211_iface_work [mac80211]
[27303.814444] task: ffff95ec5667af80 task.stack: ffffb4fcc33b4000
[27303.814451] RIP: 0010:iwl_mvm_mac_sta_state+0x4af/0x5b0 [iwlmvm]
[27303.814452] RSP: 0018:ffffb4fcc33b7bb8 EFLAGS: 00010282
[27303.814453] RAX: 00000000fffffffb RBX: ffff95ec90fbd560 RCX: 0000000000000040
[27303.814454] RDX: 0000000000000000 RSI: 0000000000000017 RDI: ffff95ec90fbd568
[27303.814455] RBP: ffffb4fcc33b7c18 R08: ffffb4fcc33b7b54 R09: ffff95ec90fbd568
[27303.814456] R10: ffffb4fcc33b7b28 R11: 0000000000000100 R12: ffff95ec90fbd598
[27303.814456] R13: 0000000000000003 R14: ffff95ec5ebc2830 R15: ffff95ec8f03d510
[27303.814457] FS:  0000000000000000(0000) GS:ffff95ec9dc00000(0000) knlGS:0000000000000000
[27303.814458] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[27303.814459] CR2: 00007f28a75b6018 CR3: 0000000293281000 CR4: 00000000003406f0
[27303.814460] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[27303.814461] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[27303.814461] Call Trace:
[27303.814466]  ? kzfree+0x2d/0x40
[27303.814480]  drv_sta_state+0x88/0x3f0 [mac80211]
[27303.814492]  sta_info_move_state+0x289/0x330 [mac80211]
[27303.814503]  __sta_info_destroy_part2+0x5e/0x170 [mac80211]
[27303.814515]  __sta_info_flush+0xf5/0x190 [mac80211]
[27303.814530]  ieee80211_set_disassoc+0xb7/0x3b0 [mac80211]
[27303.814544]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[27303.814557]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[27303.814560]  ? __switch_to+0x23c/0x480
[27303.814573]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[27303.814576]  process_one_work+0x1e9/0x410
[27303.814577]  worker_thread+0x4b/0x410
[27303.814579]  kthread+0x109/0x140
[27303.814580]  ? process_one_work+0x410/0x410
[27303.814581]  ? kthread_create_on_node+0x70/0x70
[27303.814584]  ret_from_fork+0x25/0x30
[27303.814585] Code: ef fe ff ff 48 8b 45 c8 83 88 38 01 00 00 04 e9 ea fe ff ff 48 8b 75 c8 48 8b 7d c0 31 d2 e8 49 4b 02 00 85 c0 0f 84 d3 fe ff ff <0f> ff e9 cc fe ff ff 84 c0 74 08 84 c9 0f 85 c0 fe ff ff 80 7d 
[27303.814609] ---[ end trace 0f890baadf564964 ]---
[27303.814628] ------------[ cut here ]------------
[27303.814643] WARNING: CPU: 0 PID: 5993 at /home/patrik/dev/kernel/linux-4.13-rc5/net/mac80211/sta_info.c:975 __sta_info_destroy_part2+0x166/0x170 [mac80211]
[27303.814644] Modules linked in: ccm rfcomm bnep hid_multitouch intel_rapl x86_pkg_temp_thermal intel_powerclamp wacom nls_iso8859_1 coretemp kvm_intel snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp kvm snd_hda_ext_core snd_soc_sst_match irqbypass arc4 snd_hda_codec_hdmi crct10dif_pclmul snd_hda_codec_realtek snd_soc_core snd_hda_codec_generic crc32_pclmul ghash_clmulni_intel snd_compress ac97_bus pcbc snd_pcm_dmaengine snd_hda_intel iwlmvm snd_hda_codec snd_hda_core mac80211 snd_hwdep aesni_intel aes_x86_64 crypto_simd snd_pcm glue_helper iwlwifi cryptd intel_cstate cfg80211 intel_rapl_perf rtsx_pci_ms snd_seq memstick input_leds joydev snd_seq_device snd_timer serio_raw dell_wmi dell_smbios uvcvideo dcdbas wmi_bmof videobuf2_vmalloc mei_me videobuf2_memops snd videobuf2_v4l2 soundcore
[27303.814671]  mei videobuf2_core idma64 btusb virt_dma shpchp btrtl intel_lpss_pci hid_sensor_magn_3d hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_rotation hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart processor_thermal_device btbcm intel_soc_dts_iosf intel_pch_thermal serdev btqca btintel intel_vbtn soc_button_array acpi_als int3403_thermal int340x_thermal_zone ov5693(C) kfifo_buf intel_hid bluetooth industrialio v4l2_common sparse_keymap videodev intel_lpss_acpi media ecdh_generic intel_lpss mac_hid acpi_pad tpm_crb int3400_thermal acpi_thermal_rel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper nvme syscopyarea sysfillrect psmouse intel_ish_ipc
[27303.814700]  sysimgblt fb_sys_fops nvme_core rtsx_pci drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[27303.814707] CPU: 0 PID: 5993 Comm: kworker/u8:25 Tainted: G        WC      4.13.0-041300rc4-generic #201708062231
[27303.814707] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 1.0.17 06/08/2017
[27303.814722] Workqueue: phy0 ieee80211_iface_work [mac80211]
[27303.814723] task: ffff95ec5667af80 task.stack: ffffb4fcc33b4000
[27303.814735] RIP: 0010:__sta_info_destroy_part2+0x166/0x170 [mac80211]
[27303.814735] RSP: 0018:ffffb4fcc33b7c90 EFLAGS: 00010282
[27303.814737] RAX: 00000000fffffffb RBX: ffff95ec5ebc2000 RCX: 0000000000000000
[27303.814737] RDX: ffff95ec5667af80 RSI: ffffb4fcc33b7ab0 RDI: ffff95ec90fbd598
[27303.814738] RBP: ffffb4fcc33b7cb0 R08: ffffb4fcc33b7b24 R09: 00000000fffffffb
[27303.814739] R10: ffffb4fcc33b7b18 R11: ffff95ec94c02dc8 R12: ffff95ec90fbc780
[27303.814740] R13: ffff95ec8f03c8c0 R14: ffff95ec8f03c8c0 R15: ffff95ec90fbccd0
[27303.814740] FS:  0000000000000000(0000) GS:ffff95ec9dc00000(0000) knlGS:0000000000000000
[27303.814741] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[27303.814742] CR2: 00007f28a75b6018 CR3: 0000000293281000 CR4: 00000000003406f0
[27303.814743] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[27303.814743] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[27303.814744] Call Trace:
[27303.814754]  __sta_info_flush+0xf5/0x190 [mac80211]
[27303.814768]  ieee80211_set_disassoc+0xb7/0x3b0 [mac80211]
[27303.814780]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[27303.814792]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[27303.814794]  ? __switch_to+0x23c/0x480
[27303.814806]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[27303.814808]  process_one_work+0x1e9/0x410
[27303.814810]  worker_thread+0x4b/0x410
[27303.814811]  kthread+0x109/0x140
[27303.814813]  ? process_one_work+0x410/0x410
[27303.814814]  ? kthread_create_on_node+0x70/0x70
[27303.814815]  ret_from_fork+0x25/0x30
[27303.814816] Code: 80 bb 0c 01 00 00 00 0f 84 36 ff ff ff 45 31 c0 b9 01 00 00 00 48 89 da 4c 89 ee 4c 89 e7 e8 82 aa ff ff 85 c0 0f 84 18 ff ff ff <0f> ff e9 11 ff ff ff 0f 1f 00 0f 1f 44 00 00 55 48 89 e5 53 48 
[27303.814840] ---[ end trace 0f890baadf564965 ]---
[27303.814951] iwlwifi 0000:3c:00.0: Failed to send MAC context (action:2): -5
[27303.814954] iwlwifi 0000:3c:00.0: failed to update MAC f8:63:3f:12:56:33
[27303.814957] Failed to update SF upon disassociation
[27303.814971] ------------[ cut here ]------------
[27303.814979] WARNING: CPU: 0 PID: 5993 at /home/patrik/dev/kernel/linux-4.13-rc5/drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:1995 iwl_mvm_bss_info_changed+0x6cb/0x700 [iwlmvm]
[27303.814980] Modules linked in: ccm rfcomm bnep hid_multitouch intel_rapl x86_pkg_temp_thermal intel_powerclamp wacom nls_iso8859_1 coretemp kvm_intel snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp kvm snd_hda_ext_core snd_soc_sst_match irqbypass arc4 snd_hda_codec_hdmi crct10dif_pclmul snd_hda_codec_realtek snd_soc_core snd_hda_codec_generic crc32_pclmul ghash_clmulni_intel snd_compress ac97_bus pcbc snd_pcm_dmaengine snd_hda_intel iwlmvm snd_hda_codec snd_hda_core mac80211 snd_hwdep aesni_intel aes_x86_64 crypto_simd snd_pcm glue_helper iwlwifi cryptd intel_cstate cfg80211 intel_rapl_perf rtsx_pci_ms snd_seq memstick input_leds joydev snd_seq_device snd_timer serio_raw dell_wmi dell_smbios uvcvideo dcdbas wmi_bmof videobuf2_vmalloc mei_me videobuf2_memops snd videobuf2_v4l2 soundcore
[27303.815007]  mei videobuf2_core idma64 btusb virt_dma shpchp btrtl intel_lpss_pci hid_sensor_magn_3d hid_sensor_incl_3d hid_sensor_accel_3d hid_sensor_rotation hid_sensor_gyro_3d hid_sensor_trigger industrialio_triggered_buffer hid_sensor_iio_common hci_uart processor_thermal_device btbcm intel_soc_dts_iosf intel_pch_thermal serdev btqca btintel intel_vbtn soc_button_array acpi_als int3403_thermal int340x_thermal_zone ov5693(C) kfifo_buf intel_hid bluetooth industrialio v4l2_common sparse_keymap videodev intel_lpss_acpi media ecdh_generic intel_lpss mac_hid acpi_pad tpm_crb int3400_thermal acpi_thermal_rel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_sensor_custom hid_sensor_hub intel_ishtp_hid i915 rtsx_pci_sdmmc i2c_algo_bit drm_kms_helper nvme syscopyarea sysfillrect psmouse intel_ish_ipc
[27303.815035]  sysimgblt fb_sys_fops nvme_core rtsx_pci drm intel_ishtp wmi i2c_hid hid pinctrl_sunrisepoint video pinctrl_intel
[27303.815042] CPU: 0 PID: 5993 Comm: kworker/u8:25 Tainted: G        WC      4.13.0-041300rc4-generic #201708062231
[27303.815042] Hardware name: Dell Inc. XPS 13 9365/03WW2T, BIOS 1.0.17 06/08/2017
[27303.815059] Workqueue: phy0 ieee80211_iface_work [mac80211]
[27303.815060] task: ffff95ec5667af80 task.stack: ffffb4fcc33b4000
[27303.815067] RIP: 0010:iwl_mvm_bss_info_changed+0x6cb/0x700 [iwlmvm]
[27303.815068] RSP: 0018:ffffb4fcc33b7c98 EFLAGS: 00010282
[27303.815069] RAX: 0000000000000027 RBX: ffff95ec90fbd568 RCX: 0000000000000006
[27303.815070] RDX: 0000000000000000 RSI: 0000000000000086 RDI: ffff95ec9dc0dc70
[27303.815071] RBP: ffffb4fcc33b7ce0 R08: 0000000000000001 R09: 00000000000005cd
[27303.815072] R10: ffffb4fcc33b7bc0 R11: 00000000000005cd R12: ffff95ec90fbd560
[27303.815073] R13: 000000000080309f R14: ffff95ec8f03d3c0 R15: ffff95ec8f03d3c8
[27303.815074] FS:  0000000000000000(0000) GS:ffff95ec9dc00000(0000) knlGS:0000000000000000
[27303.815075] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[27303.815076] CR2: 00007f28a75b6018 CR3: 0000000292c83000 CR4: 00000000003406f0
[27303.815077] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[27303.815077] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[27303.815078] Call Trace:
[27303.815091]  ieee80211_bss_info_change_notify+0xaa/0x170 [mac80211]
[27303.815105]  ieee80211_set_disassoc+0x21d/0x3b0 [mac80211]
[27303.815133]  ieee80211_sta_connection_lost.constprop.22+0x39/0x70 [mac80211]
[27303.815147]  ieee80211_sta_work+0x5bd/0x770 [mac80211]
[27303.815149]  ? __switch_to+0x23c/0x480
[27303.815163]  ieee80211_iface_work+0x2ff/0x330 [mac80211]
[27303.815165]  process_one_work+0x1e9/0x410
[27303.815167]  worker_thread+0x4b/0x410
[27303.815169]  kthread+0x109/0x140
[27303.815171]  ? process_one_work+0x410/0x410
[27303.815172]  ? kthread_create_on_node+0x70/0x70
[27303.815174]  ret_from_fork+0x25/0x30
[27303.815175] Code: f6 e8 ea 9f e1 ff e9 fc f9 ff ff 80 3d c7 9c 04 00 00 0f 85 69 fb ff ff 48 c7 c7 18 11 c9 c0 c6 05 b3 9c 04 00 01 e8 46 11 69 db <0f> ff e9 4f fb ff ff 49 8b 7c 24 08 48 c7 c1 18 68 c9 c0 31 d2 
[27303.815202] ---[ end trace 0f890baadf564966 ]---
[27303.815205] iwlwifi 0000:3c:00.0: Failed to remove station. Id=0
[27303.815207] iwlwifi 0000:3c:00.0: failed to remove AP station
[27303.815210] iwlwifi 0000:3c:00.0: Failed to send quota: -5
[27303.815212] iwlwifi 0000:3c:00.0: failed to update quotas
[27303.815214] iwlwifi 0000:3c:00.0: Failed to send MAC context (action:2): -5
[27303.815216] iwlwifi 0000:3c:00.0: failed to update MAC f8:63:3f:12:56:33 (clear after unassoc)
[27303.815222] iwlwifi 0000:3c:00.0: failed to update power mode
[27303.815225] iwlwifi 0000:3c:00.0: Failed to send quota: -5
[27303.815228] iwlwifi 0000:3c:00.0: Failed to send binding (action:3): -5
[27303.815231] iwlwifi 0000:3c:00.0: Failed to send MAC context (action:2): -5
[27303.815233] iwlwifi 0000:3c:00.0: failed to update MAC f8:63:3f:12:56:33
[27303.815981] wlp60s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-22)
[27304.408694] iwlwifi 0000:3c:00.0: Applying debug destination EXTERNAL_DRAM
[27304.538626] iwlwifi 0000:3c:00.0: Applying debug destination EXTERNAL_DRAM
[27304.603934] iwlwifi 0000:3c:00.0: FW already configured (0) - re-configuring
[27304.659720] wlp60s0: authenticate with 08:60:6e:cb:73:18
[27304.662199] wlp60s0: send auth to 08:60:6e:cb:73:18 (try 1/3)
[27304.676096] wlp60s0: authenticated
[27304.683249] wlp60s0: associate with 08:60:6e:cb:73:18 (try 1/3)
[27304.687195] wlp60s0: RX AssocResp from 08:60:6e:cb:73:18 (capab=0x411 status=0 aid=8)
[27304.693563] wlp60s0: associated
Comment 32 Luca Coelho 2017-09-01 19:36:12 UTC
Any luck with the dump?
Comment 33 Jeremy Murphy 2017-09-02 16:22:35 UTC
I'm experiencing much the same symptoms but with an older model, the Ultimate-N 6300. Should I join this bug or open a new one specifically for that model?
Here is the tail end of dmesg, with the symptomatic output:

[196983.635737] iwlwifi 0000:24:00.0: Error sending REPLY_ADD_STA: time out after 2000ms.
[196983.635743] iwlwifi 0000:24:00.0: Current CMD queue read_ptr 196 write_ptr 200
[196983.635875] iwlwifi 0000:24:00.0: Loaded firmware version: 9.221.4.1 build 25532
[196983.637255] iwlwifi 0000:24:00.0: Start IWL Error Log Dump:
[196983.637257] iwlwifi 0000:24:00.0: Status: 0x0000004C, count: -1515870814
[196983.637258] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | ADVANCED_SYSASSERT          
[196983.637259] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | uPc
[196983.637260] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | branchlink1
[196983.637260] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | branchlink2
[196983.637261] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | interruptlink1
[196983.637262] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | interruptlink2
[196983.637262] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | data1
[196983.637263] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | data2
[196983.637264] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | line
[196983.637265] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | beacon time
[196983.637266] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | tsf low
[196983.637266] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | tsf hi
[196983.637267] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | time gp1
[196983.637268] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | time gp2
[196983.637268] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | time gp3
[196983.637269] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | uCode version
[196983.637270] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | hw version
[196983.637271] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | board version
[196983.637271] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | hcmd
[196983.637272] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | isr0
[196983.637273] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | isr1
[196983.637274] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | isr2
[196983.637275] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | isr3
[196983.637276] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | isr4
[196983.637277] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | isr_pref
[196983.637278] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | wait_event
[196983.637279] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | l2p_control
[196983.637280] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | l2p_duration
[196983.637281] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | l2p_mhvalid
[196983.637282] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | l2p_addr_match
[196983.637282] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | lmpm_pmg_sel
[196983.637283] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | timestamp
[196983.637284] iwlwifi 0000:24:00.0: 0xA5A5A5A2 | flow_handler
[196983.637623] iwlwifi 0000:24:00.0: Log capacity -1515870814 is bogus, limit to 512 entries
[196983.637624] iwlwifi 0000:24:00.0: Log write index -1515870814 is bogus, limit to 512
[196983.637626] iwlwifi 0000:24:00.0: Start IWL Event Log Dump: display last 20 entries
[196983.637792] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.637928] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.638042] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.638167] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.638282] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.638396] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.638510] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.638624] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.638739] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.638853] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.638967] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.639082] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.639195] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.639310] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.639424] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.639538] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.639653] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.639767] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.639889] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.640005] iwlwifi 0000:24:00.0: EVT_LOGT:2779096482:0xa5a5a5a2:2779096482
[196983.640056] wlo1: failed to remove key (0, 00:60:64:f7:20:08) from hardware (-110)
[196983.665343] iwlwifi 0000:24:00.0: Failing on timeout while stopping DMA channel 8 [0xa5a5a5a2]
[196983.669787] ieee80211 phy0: Hardware restart was requested
[196983.669893] BUG: unable to handle kernel paging request at ffffffffa0085737
[196983.669928] IP: report_bug+0x8f/0x120
[196983.669937] PGD 1e0a067 
[196983.669938] P4D 1e0a067 
[196983.669944] PUD 1e0b063 
[196983.669949] PMD 42760a067 
[196983.669955] PTE 8000000427793161

[196983.669972] Oops: 0003 [#1] SMP
[196983.669980] Modules linked in: ccm zram x86_pkg_temp_thermal uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core cdc_acm psmouse iwldvm mac80211 iwlwifi sdhci_pci sdhci mmc_core cfg80211
[196983.670043] CPU: 2 PID: 25844 Comm: kworker/u8:3 Not tainted 4.12.5-gentoo #2
[196983.670063] Hardware name: Hewlett-Packard HP EliteBook 2560p/162B, BIOS 68SSU Ver. F.60 03/13/2015
[196983.670098] Workqueue: phy0 ieee80211_iface_work [mac80211]
[196983.670113] task: ffff88040f71ee40 task.stack: ffffc90001a68000
[196983.670131] RIP: 0010:report_bug+0x8f/0x120
[196983.670142] RSP: 0018:ffffc90001a6ba90 EFLAGS: 00010202
[196983.670156] RAX: 0000000000000907 RBX: ffffc90001a6bbb8 RCX: ffffffffa008572d
[196983.670176] RDX: 0000000000000001 RSI: ffffffffa0086040 RDI: 0000000000000001
[196983.670196] RBP: ffffffffa007210e R08: 0000000000000000 R09: 0000000000000066
[196983.670216] R10: ffffffffa007210e R11: 0000000000000001 R12: ffffffffa00847f0
[196983.670236] R13: 00000000000004b1 R14: ffff88040f71ee40 R15: 0000000000000000
[196983.670256] FS:  0000000000000000(0000) GS:ffff88043dd00000(0000) knlGS:0000000000000000
[196983.670279] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[196983.670294] CR2: ffffffffa0085737 CR3: 0000000001e09000 CR4: 00000000000406e0
[196983.670314] Call Trace:
[196983.670321]  ? fixup_bug.part.13+0x13/0x30
[196983.670332]  ? do_trap+0xa8/0x130
[196983.670341]  ? do_error_trap+0x6b/0xc0
[196983.670352]  ? iwlagn_mac_flush+0x9e/0xc0 [iwldvm]
[196983.670366]  ? invalid_op+0x18/0x20
[196983.670376]  ? iwlagn_mac_flush+0x9e/0xc0 [iwldvm]
[196983.670394]  ? __ieee80211_flush_queues+0xaa/0x1b0 [mac80211]
[196983.670414]  ? __ieee80211_recalc_idle+0xcd/0x100 [mac80211]
[196983.670433]  ? ieee80211_recalc_idle+0xb/0x20 [mac80211]
[196983.670452]  ? ieee80211_free_chanctx+0x88/0xc0 [mac80211]
[196983.670471]  ? __ieee80211_vif_release_channel+0xee/0x140 [mac80211]
[196983.670492]  ? ieee80211_vif_release_channel+0x35/0x50 [mac80211]
[196983.670513]  ? ieee80211_set_disassoc+0x266/0x360 [mac80211]
[196983.670533]  ? ieee80211_sta_connection_lost+0x20/0x50 [mac80211]
[196983.670554]  ? ieee80211_sta_work+0x20e/0x1350 [mac80211]
[196983.670571]  ? pick_next_task_fair+0x3d5/0x430
[196983.670585]  ? skb_dequeue+0x4d/0x60
[196983.670597]  ? ieee80211_iface_work+0xb7/0x3b0 [mac80211]
[196983.670614]  ? process_one_work+0x12e/0x3f0
[196983.670625]  ? worker_thread+0x42/0x3c0
[196983.670640]  ? __schedule+0x1f0/0x6a0
[196983.670653]  ? kthread+0xf7/0x130
[196983.671464]  ? create_worker+0x170/0x170
[196983.671465]  ? kthread_create_on_node+0x40/0x40
[196983.671467]  ? ret_from_fork+0x22/0x30
[196983.671467] Code: 5f 0f b7 41 0a 4c 63 61 04 44 0f b7 69 08 89 c7 49 01 cc 83 e7 01 a8 02 74 15 66 85 ff 74 10 a8 04 ba 01 00 00 00 75 2a 83 c8 04 <66> 89 41 0a 66 85 ff 74 56 0f b6 49 0b 48 89 ea 41 0f b7 f5 45 
[196983.671481] RIP: report_bug+0x8f/0x120 RSP: ffffc90001a6ba90
[196983.671482] CR2: ffffffffa0085737
[196983.676649] ---[ end trace 7204585f27eea5a7 ]---
Comment 34 Luca Coelho 2017-09-02 17:22:17 UTC
Jeremy, even though it may look the same at first sight, the issue you are experiencing is different.

Looking at all the A5A5A5... values you are getting, this looks like an issue with the PCIe bus.  We can't contact the device anymore.

If you want to continue investigating this, please file a separate bug.  But unfortunately I really don't think there is anything we can do about it at this stage...
Comment 35 Jeremy Murphy 2017-09-03 06:54:39 UTC
Thanks, Luca.
Comment 36 Luca Coelho 2017-09-14 07:40:54 UTC
Patrik, is this still happening for you? Did you manage to get the FW dump?
Comment 37 Patrik Kullman 2017-09-15 06:16:21 UTC
It is happening *a lot* less, but it still has happened with newer kernels.

No luck on the FW dump.
Comment 38 Emmanuel Grumbach 2017-09-17 20:36:58 UTC
We can't make any progress on this bug. Closing for now. You can reopen in case the firmware dump can be provided.

We will still be notified about any update you'll make on this bug.
Comment 39 lukas.redlinger 2019-06-03 11:06:05 UTC
Created attachment 283045 [details]
dmesg debian buster
Comment 40 lukas.redlinger 2019-06-03 11:06:32 UTC
Created attachment 283047 [details]
iwlwifi dump after hw restart
Comment 41 lukas.redlinger 2019-06-03 11:12:39 UTC
Sorry - me again.

Still in trouble with the Intel 8265. Crashing quite often at a EAP-PEAP Infrastructure.

"aggressive" bgscan setting active (something like 10:-70:60"), but IMHO the card may ignore my scan request, but should not crash (if bgscan is the reason...).

>> bssid=bc:26:c7:xx:xx:xx
>> freq=5805
>> ssid=xxxxxxxx
>> id=0
>> mode=station
>> pairwise_cipher=CCMP
>> group_cipher=CCMP
>> key_mgmt=WPA2/IEEE 802.1X/EAP
>> wpa_state=COMPLETED
>> ip_address=10.191.40.18
>> p2p_device_address=d8:f2:ca:xx:xx:xx
>> address=d8:f2:ca:df:a5:20
>> Supplicant PAE state=AUTHENTICATED
>> suppPortStatus=Authorized
>> EAP state=SUCCESS
>> selectedMethod=25 (EAP-PEAP)
>> eap_tls_version=TLSv1.2
>> EAP TLS cipher=ECDHE-RSA-AES256-GCM-SHA384
>> tls_session_reused=0
>> EAP-PEAPv1 Phase2 method=MSCHAPV2

Tried using swcrypto as it saved me at another project, but no success this time :-(


Also other commands time out:
- Error sending SCAN_REQ_UMAC: time out after 2000ms


This is somewhere in between in dmesg:

[Mon Jun  3 10:28:02 2019] WARNING: CPU: 3 PID: 25810 at net/mac80211/scan.c:376 __ieee80211_scan_completed+0x2dc/0x3b0 [mac80211]
[Mon Jun  3 10:28:02 2019] Modules linked in: iwlmvm iwlwifi ctr ccm cmac xt_state xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c xt_tcpudp nft_compat nft_counter nf_tables nfnetlink bnep btusb btrtl btbcm btintel bluetooth snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel arc4 snd_soc_skl snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi kvm snd_soc_core snd_compress snd_hda_intel rtl8192cu rtl_usb rtl8192c_common rtlwifi mei_wdt drbg evdev irqbypass mac80211 intel_cstate snd_hda_codec i915 snd_hda_core uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 intel_uncore qmi_wwan videobuf2_common snd_hwdep cdc_wdm ansi_cprng intel_rapl_perf snd_pcm qcserial videodev ftdi_sio cfg80211 usbnet usb_wwan sg drm_kms_helper mii idma64 ecdh_generic media usbserial pcspkr snd_timer drm rfkill iTCO_wdt snd iTCO_vendor_support soundcore mei_me mei
[Mon Jun  3 10:28:02 2019]  intel_pch_thermal pcc_cpufreq button acpi_pad ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic fscrypto ecb algif_skcipher af_alg dm_crypt dm_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 crypto_simd cryptd glue_helper igb ahci i2c_algo_bit i2c_i801 dca intel_lpss_pci intel_lpss libahci xhci_pci libata xhci_hcd e1000e scsi_mod usbcore usb_common fan thermal wmi video [last unloaded: iwlwifi]
[Mon Jun  3 10:28:02 2019] CPU: 3 PID: 25810 Comm: kworker/u8:0 Not tainted 5.0.0-trunk-amd64 #1 Debian 5.0.2-1~exp1
[Mon Jun  3 10:28:02 2019] Hardware name: CINCOZE DI-1000/DI-1000, BIOS 5.11 01/23/2018
[Mon Jun  3 10:28:02 2019] Workqueue: phy2 ieee80211_scan_work [mac80211]
[Mon Jun  3 10:28:02 2019] RIP: 0010:__ieee80211_scan_completed+0x2dc/0x3b0 [mac80211]
[Mon Jun  3 10:28:02 2019] Code: 1d 81 b9 09 00 48 85 db 74 1b 48 8b 03 48 8b 7b 08 48 83 c3 18 48 89 ee e8 51 23 51 ec 48 8b 03 48 85 c0 75 e8 e9 df fe ff ff <0f> 0b 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e 41 5f c3 65 8b 05 4c 08
[Mon Jun  3 10:28:02 2019] RSP: 0018:ffffaf5f03eb7e08 EFLAGS: 00010246
[Mon Jun  3 10:28:02 2019] RAX: 0000000000000000 RBX: 0000000000000001 RCX: ffffa0ec2540cc20
[Mon Jun  3 10:28:02 2019] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffa0ebcdd287a0
[Mon Jun  3 10:28:02 2019] RBP: ffffa0ebcdd287a0 R08: 0000000000000000 R09: 0000000032796870
[Mon Jun  3 10:28:02 2019] R10: 8080808080808080 R11: ffffa0ec25ba0be4 R12: 0000000000000000
[Mon Jun  3 10:28:02 2019] R13: 0000000000000000 R14: ffffa0ebcdd287a0 R15: 0000000000000000
[Mon Jun  3 10:28:02 2019] FS:  0000000000000000(0000) GS:ffffa0ec25b80000(0000) knlGS:0000000000000000
[Mon Jun  3 10:28:02 2019] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Mon Jun  3 10:28:02 2019] CR2: 00007feeea43f740 CR3: 000000025f128001 CR4: 00000000003606e0
[Mon Jun  3 10:28:02 2019] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[Mon Jun  3 10:28:02 2019] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[Mon Jun  3 10:28:02 2019] Call Trace:
[Mon Jun  3 10:28:02 2019]  ? __switch_to_asm+0x40/0x70
[Mon Jun  3 10:28:02 2019]  ieee80211_scan_work+0xf7/0x4d0 [mac80211]
[Mon Jun  3 10:28:02 2019]  process_one_work+0x1a7/0x3b0
[Mon Jun  3 10:28:02 2019]  worker_thread+0x30/0x390
[Mon Jun  3 10:28:02 2019]  ? create_worker+0x1a0/0x1a0
[Mon Jun  3 10:28:02 2019]  kthread+0x112/0x130
[Mon Jun  3 10:28:02 2019]  ? __kthread_parkme+0x70/0x70
[Mon Jun  3 10:28:02 2019]  ret_from_fork+0x35/0x40
[Mon Jun  3 10:28:02 2019] ---[ end trace 42fc18c55a6652fe ]---
Comment 42 lukas.redlinger 2019-06-04 07:53:57 UTC
The customer changed encryption to [WPA2-PSK-CCMP][ESS].
I changed bgscan to 20:-70:60.

But it still crashes regularly w/

iwlwifi 0000:01:00.0: Error sending STATISTICS_CMD: time out after 2000ms.

>> bssid=00:ea:bd:xx:xx:xx
>> freq=5500
>> ssid=xxxxxxxx
>> id=0
>> mode=station
>> pairwise_cipher=CCMP
>> group_cipher=CCMP
>> key_mgmt=WPA2-PSK
>> wpa_state=COMPLETED
>> ip_address=10.191.40.19
>> p2p_device_address=d0:c6:37:xx:xx:xx
>> address=d0:c6:37:xx:xx:xx
>> ieee80211ac=1
Comment 43 Emmanuel Grumbach 2019-06-04 08:25:06 UTC
This bug is really messy. I don't understand what we are discussing.
We started with one thing, and now we are discussing something else.

I'll close this, please open a new bug with tracing of the failing flow: timeout on command (the 2000 ms thing):

https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi/debugging#tracing