Bug 204785 - iwlwifi: AX200: WARNING: UMAC scan UID 1 status was not cleaned
Summary: iwlwifi: AX200: WARNING: UMAC scan UID 1 status was not cleaned
Status: CLOSED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless-intel (show other bugs)
Hardware: Intel Linux
: P1 normal
Assignee: DO NOT USE - assign "network-wireless-intel" component instead
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-05 18:06 UTC by Laurent Bonnaud
Modified: 2021-12-26 22:03 UTC (History)
3 users (show)

See Also:
Kernel Version: 5.9.8
Subsystem:
Regression: No
Bisected commit-id:


Attachments
Full dmesg for 4.8 kernel (137.86 KB, text/plain)
2020-01-09 10:48 UTC, Laurent Bonnaud
Details

Description Laurent Bonnaud 2019-09-05 18:06:59 UTC
Hi,

I used Wi-Fi for some time then disabled Wi-Fi with NetworkManager.

Here is my Wi-Fi adapter:

$ lspci
[...]
02:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)

This caused the following WARNING in the kernel logs:

[24004.175187] wlan0: deauthenticating from 18:8b:9d:39:72:cf by local choice (Reason: 3=DEAUTH_LEAVING)
[24004.202438] ------------[ cut here ]------------
[24004.202442] UMAC scan UID 1 status was not cleaned
[24004.202527] WARNING: CPU: 2 PID: 1063 at drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:1434 __iwl_mvm_mac_stop+0x129/0x130 [iwlmvm]
[24004.202529] Modules linked in: usbhid ccm xt_conntrack xt_MASQUERADE iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_CHECKSUM iptable_mangle xt_tcpudp iptable_filter bpfilter bridge stp llc dummy overlay bnep binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic mei_hdcp dell_rbtn snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_skl_ipc snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_hda_codec intel_rapl snd_hda_core x86_pkg_temp_thermal nls_iso8859_1 snd_hwdep intel_powerclamp coretemp kvm_intel kvm irqbypass snd_pcm arc4 i915 snd_seq_midi snd_seq_midi_event crct10dif_pclmul crc32_pclmul ghash_clmulni_intel dell_laptop ledtrig_audio joydev dell_smm_hwmon aesni_intel snd_rawmidi iwlmvm drm_kms_helper snd_seq mac80211 aes_x86_64 crypto_simd cryptd glue_helper intel_cstate intel_rapl_perf uvcvideo dell_wmi videobuf2_vmalloc input_leds dell_smbios
[24004.202580]  videobuf2_memops snd_seq_device videobuf2_v4l2 intel_wmi_thunderbolt serio_raw iwlwifi dcdbas snd_timer wmi_bmof dell_wmi_descriptor videobuf2_common drm btusb btrtl snd btbcm videodev btintel cfg80211 bluetooth i2c_algo_bit fb_sys_fops soundcore mei_me syscopyarea ecdh_generic sysfillrect media mei hid_multitouch sysimgblt ecc idma64 virt_dma intel_pch_thermal intel_xhci_usb_role_switch roles ucsi_acpi typec_ucsi rtsx_pci_ms processor_thermal_device memstick intel_soc_dts_iosf typec dell_smo8800 int3403_thermal acpi_pad mac_hid int340x_thermal_zone int3400_thermal intel_hid acpi_thermal_rel sparse_keymap sch_fq_codel nf_tables parport_pc nfnetlink ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c hid_generic rtsx_pci_sdmmc nvme e1000e i2c_i801 nvme_core ahci rtsx_pci intel_lpss_pci libahci intel_lpss i2c_hid wmi hid video
[24004.202648] CPU: 2 PID: 1063 Comm: NetworkManager Not tainted 5.2.11-050211-generic #201908290731
[24004.202650] Hardware name: Dell Inc. Latitude 5590/0VYDFF, BIOS 1.10.1 07/19/2019
[24004.202668] RIP: 0010:__iwl_mvm_mac_stop+0x129/0x130 [iwlmvm]
[24004.202672] Code: 8c 04 00 00 74 0e 42 c7 84 a3 b4 1b 00 00 00 00 00 00 eb c0 44 89 e6 48 c7 c7 70 0e e7 c0 c6 05 4d 8c 04 00 01 e8 93 a8 a6 d4 <0f> 0b eb d8 0f 1f 00 0f 1f 44 00 00 55 48 89 e5 41 56 41 55 41 54
[24004.202675] RSP: 0018:ffffb381c2acbc30 EFLAGS: 00010286
[24004.202678] RAX: 0000000000000000 RBX: ffff8b3f194a1628 RCX: 0000000000000006
[24004.202680] RDX: 0000000000000007 RSI: 0000000000000096 RDI: ffff8b3f1e317440
[24004.202682] RBP: ffffb381c2acbc40 R08: 00000000000005ea R09: 0000000000000004
[24004.202684] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001
[24004.202686] R13: ffff8b3f194a1690 R14: ffff8b3f194a1628 R15: ffff8b3f194a0f88
[24004.202689] FS:  00007f1d2ae16bc0(0000) GS:ffff8b3f1e300000(0000) knlGS:0000000000000000
[24004.202692] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[24004.202694] CR2: 00007f281dc98000 CR3: 00000003fef50002 CR4: 00000000003606e0
[24004.202696] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[24004.202698] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[24004.202700] Call Trace:
[24004.202720]  iwl_mvm_mac_stop+0xe2/0x100 [iwlmvm]
[24004.202759]  drv_stop+0x39/0x100 [mac80211]
[24004.202805]  ieee80211_stop_device+0x46/0x50 [mac80211]
[24004.202840]  ieee80211_do_stop+0x583/0x810 [mac80211]
[24004.202872]  ieee80211_stop+0x1a/0x20 [mac80211]
[24004.202878]  __dev_close_many+0xa5/0x120
[24004.202882]  dev_close_many+0x91/0x150
[24004.202887]  dev_close.part.0+0x4a/0x70
[24004.202890]  dev_close+0x18/0x20
[24004.202928]  cfg80211_shutdown_all_interfaces+0x77/0xd0 [cfg80211]
[24004.202951]  cfg80211_rfkill_set_block+0x26/0x30 [cfg80211]
[24004.202956]  rfkill_set_block+0x9b/0x150
[24004.202960]  rfkill_fop_write+0x136/0x1e0
[24004.202967]  __vfs_write+0x1b/0x40
[24004.202971]  vfs_write+0xb9/0x1a0
[24004.202974]  ksys_write+0xb1/0xe0
[24004.202978]  __x64_sys_write+0x1a/0x20
[24004.202984]  do_syscall_64+0x5a/0x140
[24004.202990]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[24004.202993] RIP: 0033:0x7f1d2c59bcf7
[24004.202998] Code: 44 00 00 41 54 49 89 d4 55 48 89 f5 53 89 fb 48 83 ec 10 e8 fb fc ff ff 4c 89 e2 48 89 ee 89 df 41 89 c0 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 48 89 44 24 08 e8 34 fd ff ff 48
[24004.203000] RSP: 002b:00007ffe04ae4ad0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
[24004.203003] RAX: ffffffffffffffda RBX: 000000000000001a RCX: 00007f1d2c59bcf7
[24004.203005] RDX: 0000000000000008 RSI: 00007ffe04ae4b08 RDI: 000000000000001a
[24004.203007] RBP: 00007ffe04ae4b08 R08: 0000000000000000 R09: 0000000000000001
[24004.203009] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000000008
[24004.203010] R13: 0000000000000000 R14: 000055694a9bea75 R15: 00007ffe04ae4d80
[24004.203015] ---[ end trace 6d5ca85e106fb1c8 ]---
[24004.258324] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[24004.258325] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
Comment 1 Laurent Bonnaud 2019-09-05 18:09:27 UTC
Here are kernel messages from the driver during boot:

$ dmesg | grep iwl
[    3.987964] iwlwifi 0000:02:00.0: enabling device (0000 -> 0002)
[    4.017657] iwlwifi 0000:02:00.0: Found debug destination: EXTERNAL_DRAM
[    4.017658] iwlwifi 0000:02:00.0: Found debug configuration: 0
[    4.017792] iwlwifi 0000:02:00.0: loaded firmware version 48.954cff6d.0 op_mode iwlmvm
[    4.059436] iwlwifi 0000:02:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[    4.072037] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[    4.072328] iwlwifi 0000:02:00.0: Allocated 0x00400000 bytes for firmware monitor.
[    4.242320] iwlwifi 0000:02:00.0: base HW address: 50:e0:85:9c:9a:c3
[    4.965528] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[    4.965529] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[   64.359594] iwlwifi 0000:02:00.0: RF_KILL bit toggled to enable radio.
[   64.359596] iwlwifi 0000:02:00.0: reporting RF_KILL (radio enabled)
[   64.378815] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[   64.548315] iwlwifi 0000:02:00.0: FW already configured (0) - re-configuring
[ 6121.626721] iwlwifi 0000:02:00.0: Applying debug destination EXTERNAL_DRAM
[ 6121.797664] iwlwifi 0000:02:00.0: FW already configured (0) - re-configuring
Comment 2 Luca Coelho 2019-12-16 19:48:37 UTC
Sorry for the delay in handling this.

Now 5.2 is not maintained anymore, can you please test with v5.4.3 (latest stable) or v5.3.16, whichever is easier for you?
Comment 3 Laurent Bonnaud 2020-01-09 10:47:28 UTC
A similar WARNING occurred on my system with the 5.4.8 kernel:

[197381.258666] wlan0: deauthenticating from e4:aa:5d:e0:e5:60 by local choice (Reason: 3=DEAUTH_LEAVING)
[197381.271296] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[197381.271301] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[197381.306489] ------------[ cut here ]------------
[197381.306495] UMAC scan UID 0 status was not cleaned
[197381.306696] WARNING: CPU: 3 PID: 1589 at drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:1221 __iwl_mvm_mac_stop+0x14f/0x160 [iwlmvm]
[197381.306700] Modules linked in: ccm md4 cmac nls_utf8 fscache libdes snd_usb_audio snd_usbmidi_lib uas usb_storage xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6table_filter ip6_tables iptable_filter bpfilter bridge stp llc overlay bnep binfmt_misc nls_iso8859_1 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_skl snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_intel_nhlt snd_hda_codec snd_hda_core snd_hwdep dell_rbtn snd_pcm snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal intel_powerclamp coretemp snd_rawmidi mei_hdcp intel_rapl_msr snd_seq crct10dif_pclmul crc32_pclmul iwlmvm snd_seq_device mac80211 snd_timer ghash_clmulni_intel libarc4 iwlwifi dell_laptop dell_wmi joydev btusb ledtrig_audio uvcvideo btrtl
[197381.306777]  videobuf2_vmalloc aesni_intel btbcm videobuf2_memops btintel videobuf2_v4l2 i915 dell_smm_hwmon crypto_simd videobuf2_common cryptd dell_smbios glue_helper dcdbas input_leds snd intel_cstate videodev serio_raw wmi_bmof intel_rapl_perf soundcore mc cfg80211 bluetooth drm_kms_helper rtsx_pci_ms intel_wmi_thunderbolt dell_wmi_descriptor memstick drm mei_me hid_multitouch mei i2c_algo_bit fb_sys_fops syscopyarea ecdh_generic sysfillrect ucsi_acpi processor_thermal_device typec_ucsi intel_xhci_usb_role_switch intel_rapl_common ecc intel_pch_thermal roles sysimgblt intel_soc_dts_iosf typec dell_smo8800 int3403_thermal int340x_thermal_zone int3400_thermal acpi_pad intel_hid acpi_thermal_rel sparse_keymap mac_hid sch_fq_codel kvm_intel nf_tables kvm irqbypass nfnetlink parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c usbhid hid_generic nvme rtsx_pci_sdmmc e1000e i2c_i801 nvme_core rtsx_pci intel_lpss_pci ahci intel_lpss libahci idma64
[197381.306892]  virt_dma wmi i2c_hid hid video [last unloaded: cifs]
[197381.306909] CPU: 3 PID: 1589 Comm: NetworkManager Not tainted 5.4.8-050408-generic #202001041436
[197381.306912] Hardware name: Dell Inc. Latitude 5590/0VYDFF, BIOS 1.11.1 09/19/2019
[197381.306937] RIP: 0010:__iwl_mvm_mac_stop+0x14f/0x160 [iwlmvm]
[197381.306942] Code: 5f 04 00 00 74 0e 42 c7 84 a3 c4 1d 00 00 00 00 00 00 eb be 44 89 e6 48 c7 c7 b8 f7 cb c0 c6 05 cb 5f 04 00 01 e8 9c 99 a1 e9 <0f> 0b eb d8 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00
[197381.306945] RSP: 0018:ffffb163008ffc20 EFLAGS: 00010282
[197381.306949] RAX: 0000000000000000 RBX: ffff96d014d69e48 RCX: 0000000000000006
[197381.306951] RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffff96d01e397440
[197381.306953] RBP: ffffb163008ffc38 R08: 00000000000007bc R09: 0000000000000004
[197381.306955] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[197381.306957] R13: ffff96d014d6acc8 R14: ffff96d014d69e48 R15: ffff96d014d68f98
[197381.306961] FS:  00007ff0aa087bc0(0000) GS:ffff96d01e380000(0000) knlGS:0000000000000000
[197381.306964] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[197381.306966] CR2: 00007f3a744321ec CR3: 00000003fbc5a005 CR4: 00000000003606e0
[197381.306968] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[197381.306970] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[197381.306972] Call Trace:
[197381.307003]  iwl_mvm_mac_stop+0xbb/0xe0 [iwlmvm]
[197381.307130]  drv_stop+0x39/0x110 [mac80211]
[197381.307190]  ieee80211_stop_device+0x46/0x50 [mac80211]
[197381.307235]  ieee80211_do_stop+0x58e/0x830 [mac80211]
[197381.307292]  ieee80211_stop+0x1a/0x20 [mac80211]
[197381.307307]  __dev_close_many+0xa5/0x120
[197381.307313]  dev_close_many+0x91/0x150
[197381.307320]  dev_close.part.0+0x4a/0x70
[197381.307326]  dev_close+0x18/0x20
[197381.307438]  cfg80211_shutdown_all_interfaces+0x77/0xd0 [cfg80211]
[197381.307478]  cfg80211_rfkill_set_block+0x26/0x30 [cfg80211]
[197381.307494]  rfkill_set_block+0x9b/0x150
[197381.307501]  rfkill_fop_write+0x136/0x1e0
[197381.307513]  __vfs_write+0x1b/0x40
[197381.307520]  vfs_write+0xb9/0x1a0
[197381.307526]  ksys_write+0xb1/0xe0
[197381.307533]  __x64_sys_write+0x1a/0x20
[197381.307545]  do_syscall_64+0x57/0x190
[197381.307561]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[197381.307568] RIP: 0033:0x7ff0ab6c027f
[197381.307575] Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 19 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2d 44 89 c7 48 89 44 24 08 e8 4c fd ff ff 48
[197381.307578] RSP: 002b:00007ffe9ba963a0 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
[197381.307583] RAX: ffffffffffffffda RBX: 0000563468408f85 RCX: 00007ff0ab6c027f
[197381.307585] RDX: 0000000000000008 RSI: 00007ffe9ba963d8 RDI: 000000000000001b
[197381.307587] RBP: 000000000000001b R08: 0000000000000000 R09: 0000000000000001
[197381.307590] R10: 0000000000000000 R11: 0000000000000293 R12: 000056346a518020
[197381.307591] R13: 0000000000000000 R14: 0000000000000000 R15: 000056346a524a10
[197381.307601] ---[ end trace 5e11734125da294e ]---
Comment 4 Laurent Bonnaud 2020-01-09 10:48:10 UTC
Created attachment 286711 [details]
Full dmesg for 4.8 kernel
Comment 5 Luca Coelho 2020-01-09 10:54:15 UTC
Thanks for testing on the new kernel and adding new logs.  We'll take a look at it now.
Comment 6 Laurent Bonnaud 2020-03-03 18:21:49 UTC
This bug still exists in the 5.5.7 kernel:

[106491.771242] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[106491.771247] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[106491.771342] wlan0: deauthenticating from e4:aa:5d:e0:e5:60 by local choice (Reason: 3=DEAUTH_LEAVING)
[106491.791040] ------------[ cut here ]------------
[106491.791042] UMAC scan UID 0 status was not cleaned
[106491.791069] WARNING: CPU: 0 PID: 1588 at drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:1236 __iwl_mvm_mac_stop+0x14f/0x160 [iwlmvm]
[106491.791069] Modules linked in: ccm iwlmvm mac80211 libarc4 iwlwifi rfcomm bnep btusb btrtl btbcm btintel bluetooth ecdh_generic ecc uas usb_storage xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6table_filter ip6_tables iptable_filter bpfilter bridge stp llc overlay binfmt_misc snd_hda_codec_hdmi nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic joydev mei_hdcp intel_rapl_msr dell_rbtn x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_seq_midi snd_seq_midi_event crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_rawmidi snd_seq snd_seq_device snd_timer dell_laptop ledtrig_audio dell_smm_hwmon uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common i915 videodev aesni_intel crypto_simd mc cryptd input_leds glue_helper serio_raw dell_wmi hid_multitouch
[106491.791094]  intel_wmi_thunderbolt cfg80211 intel_cstate dell_smbios intel_rapl_perf dcdbas drm_kms_helper dell_wmi_descriptor wmi_bmof snd drm mei_me processor_thermal_device i2c_algo_bit fb_sys_fops ucsi_acpi intel_rapl_common syscopyarea soundcore sysfillrect intel_xhci_usb_role_switch typec_ucsi mei sysimgblt intel_soc_dts_iosf roles intel_pch_thermal typec int3400_thermal mac_hid acpi_thermal_rel intel_hid dell_smo8800 acpi_pad int3403_thermal sparse_keymap int340x_thermal_zone sch_fq_codel nf_tables nfnetlink kvm_intel kvm parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c usbhid hid_generic rtsx_pci_sdmmc nvme e1000e i2c_i801 ahci nvme_core rtsx_pci intel_lpss_pci libahci intel_lpss idma64 virt_dma wmi i2c_hid hid video [last unloaded: iwlwifi]
[106491.791119] CPU: 0 PID: 1588 Comm: NetworkManager Not tainted 5.5.7-050507-generic #202002281805
[106491.791120] Hardware name: Dell Inc. Latitude 5590/0VYDFF, BIOS 1.11.1 09/19/2019
[106491.791126] RIP: 0010:__iwl_mvm_mac_stop+0x14f/0x160 [iwlmvm]
[106491.791128] Code: 71 04 00 00 74 0e 42 c7 84 a3 0c 18 00 00 00 00 00 00 eb be 44 89 e6 48 c7 c7 f8 a7 48 c1 c6 05 57 71 04 00 01 e8 86 5a a5 df <0f> 0b eb d8 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00
[106491.791129] RSP: 0018:ffffadc28161fc20 EFLAGS: 00010282
[106491.791130] RAX: 0000000000000000 RBX: ffff8f3255719e88 RCX: 0000000000000007
[106491.791131] RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffff8f325e419c80
[106491.791131] RBP: ffffadc28161fc38 R08: 0000000000000d35 R09: 0000000000000004
[106491.791132] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[106491.791133] R13: ffff8f325571ad08 R14: ffff8f3255719e88 R15: ffff8f3255718fe0
[106491.791134] FS:  00007ffa630b2bc0(0000) GS:ffff8f325e400000(0000) knlGS:0000000000000000
[106491.791135] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[106491.791136] CR2: 000055de033475a8 CR3: 00000001c7078003 CR4: 00000000003606f0
[106491.791137] Call Trace:
[106491.791144]  iwl_mvm_mac_stop+0xbb/0xe0 [iwlmvm]
[106491.791160]  drv_stop+0x39/0x110 [mac80211]
[106491.791177]  ieee80211_stop_device+0x46/0x50 [mac80211]
[106491.791190]  ieee80211_do_stop+0x58e/0x830 [mac80211]
[106491.791202]  ieee80211_stop+0x1a/0x20 [mac80211]
[106491.791205]  __dev_close_many+0xa2/0x110
[106491.791207]  dev_close_many+0x85/0x130
[106491.791209]  dev_close.part.0+0x44/0x70
[106491.791211]  dev_close+0x18/0x20
[106491.791225]  cfg80211_shutdown_all_interfaces+0x77/0xd0 [cfg80211]
[106491.791233]  cfg80211_rfkill_set_block+0x26/0x30 [cfg80211]
[106491.791235]  rfkill_set_block+0x9b/0x150
[106491.791237]  rfkill_fop_write+0x136/0x1e0
[106491.791240]  __vfs_write+0x1b/0x40
[106491.791241]  vfs_write+0xb9/0x1a0
[106491.791243]  ksys_write+0xb1/0xe0
[106491.791245]  __x64_sys_write+0x1a/0x20
[106491.791247]  do_syscall_64+0x57/0x1b0
[106491.791250]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[106491.791251] RIP: 0033:0x7ffa646eb27f
[106491.791253] Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 19 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2d 44 89 c7 48 89 44 24 08 e8 4c fd ff ff 48
[106491.791254] RSP: 002b:00007fff183ea710 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
[106491.791255] RAX: ffffffffffffffda RBX: 000055dcc05fdf85 RCX: 00007ffa646eb27f
[106491.791255] RDX: 0000000000000008 RSI: 00007fff183ea748 RDI: 0000000000000018
[106491.791256] RBP: 0000000000000018 R08: 0000000000000000 R09: 0000000000000001
[106491.791257] R10: 0000000000000000 R11: 0000000000000293 R12: 000055dcc0f34070
[106491.791257] R13: 0000000000000000 R14: 0000000000000000 R15: 000055dcc0f29c30
[106491.791260] ---[ end trace fbf6b9f69ff9e6f1 ]---
Comment 7 Laurent Bonnaud 2020-09-08 10:31:42 UTC
This bug still exists in the 5.8.7 kernel:

[ 8947.646422] ------------[ cut here ]------------
[ 8947.646427] UMAC scan UID 0 status was not cleaned
[ 8947.646508] WARNING: CPU: 3 PID: 1233 at drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:1238 __iwl_mvm_mac_s
top+0x14a/0x150 [iwlmvm]
[ 8947.646510] Modules linked in: ccm usbhid xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_t
cpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6table_filter ip6_tables iptable_filter bpfilter bridge stp llc overlay bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc nls_iso8859_1 snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep snd_pcm mei_hdcp dell_rbtn intel_rapl_msr snd_seq_midi snd_seq_midi_event snd_rawmidi dell_laptop ledtrig_audio dell_smm_hwmon uvcvideo btusb btrtl videobuf2_vmalloc videobuf2_memops snd_seq btbcm btintel x86_pkg_temp_thermal intel_powerclamp snd_seq_device coretemp snd_timer iwlmvm videobuf2_v4l2 kvm_intel kvm crct10dif_pclmul ghash_clmulni_intel dell_wmi aesni_intel crypto_simd cryptd glue_helper rapl intel_cstate dell_smbios i915 mac80211 joydev libarc4 videobuf2_common dcdbas bluetooth videodev mc iwlwifi efi_pstore snd mei_me
[ 8947.646569]  input_leds serio_raw cfg80211 intel_wmi_thunderbolt ucsi_acpi wmi_bmof ecdh_generic ee1004 dell_wmi_descriptor ecc typec_ucsi drm_kms_helper hid_multitouch soundcore cec mei rc_core i2c_algo_bit fb_sys_fops syscopyarea sysfillrect intel_xhci_usb_role_switch processor_thermal_device intel_rapl_common sysimgblt roles intel_soc_dts_iosf intel_pch_thermal typec dell_smo8800 int3403_thermal int340x_thermal_zone acpi_pad int3400_thermal acpi_thermal_rel intel_hid mac_hid sparse_keymap sch_fq_codel parport_pc ppdev nf_tables nfnetlink lp parport drm ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq libcrc32c hid_generic rtsx_pci_sdmmc crc32_pclmul e1000e i2c_i801 ahci nvme i2c_smbus libahci nvme_core intel_lpss_pci intel_lpss rtsx_pci idma64 virt_dma xhci_pci xhci_pci_renesas i2c_hid wmi hid video
[ 8947.646632] CPU: 3 PID: 1233 Comm: NetworkManager Not tainted 5.8.7-050807-lowlatency #202009051031
[ 8947.646634] Hardware name: Dell Inc. Latitude 5590/0VYDFF, BIOS 1.13.1 03/13/2020
[ 8947.646654] RIP: 0010:__iwl_mvm_mac_stop+0x14a/0x150 [iwlmvm]
[ 8947.646659] Code: 9b 04 00 00 74 0e 42 c7 84 a3 fc 17 00 00 00 00 00 00 eb be 44 89 e6 48 c7 c7 68 fa ff c0 c6 05 94 9b 04 00 01 e8 bb cc ce d3 <0f> 0b eb d8 66 90 0f 1f 44 00 00 55 48 89 e5 41 56 41 55 41 54 4c
[ 8947.646662] RSP: 0018:ffffb19680c33c40 EFLAGS: 00010286
[ 8947.646666] RAX: 0000000000000000 RBX: ffff9fef58b61e88 RCX: ffff9fef5e598cd8
[ 8947.646668] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff9fef5e598cd0
[ 8947.646670] RBP: ffffb19680c33c58 R08: 0000000000000001 R09: 00000000000004d8
[ 8947.646672] R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
[ 8947.646674] R13: ffff9fef58b62d08 R14: ffff9fef58b61e88 R15: ffff9fef58b60fe0
[ 8947.646678] FS:  00007f3b19981240(0000) GS:ffff9fef5e580000(0000) knlGS:0000000000000000
[ 8947.646680] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 8947.646683] CR2: 000055c5ee0d97c0 CR3: 00000003f8be8001 CR4: 00000000003606e0
[ 8947.646685] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 8947.646687] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 8947.646689] Call Trace:
[ 8947.646712]  iwl_mvm_mac_stop+0x6a/0x90 [iwlmvm]
[ 8947.646762]  drv_stop+0x34/0x130 [mac80211]
[ 8947.646811]  ieee80211_stop_device+0x46/0x50 [mac80211]
[ 8947.646851]  ieee80211_do_stop+0x546/0x860 [mac80211]
[ 8947.646862]  ? _raw_spin_unlock_bh+0x1e/0x20
[ 8947.646898]  ieee80211_stop+0x1a/0x20 [mac80211]
[ 8947.646906]  __dev_close_many+0x9d/0x110
[ 8947.646912]  dev_close_many+0x85/0x130
[ 8947.646919]  dev_close+0x5e/0x80
[ 8947.646968]  cfg80211_shutdown_all_interfaces+0x77/0xd0 [cfg80211]
[ 8947.646994]  cfg80211_rfkill_set_block+0x26/0x40 [cfg80211]
[ 8947.647000]  rfkill_set_block+0x9b/0x170
[ 8947.647005]  rfkill_fop_write+0x136/0x1e0
[ 8947.647011]  vfs_write+0xc9/0x200
[ 8947.647015]  ksys_write+0xb1/0xe0
[ 8947.647020]  __x64_sys_write+0x1a/0x20
[ 8947.647025]  do_syscall_64+0x52/0xc0
[ 8947.647030]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[ 8947.647069] RIP: 0033:0x7f3b1adf32cf
[ 8947.647075] Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 29 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2d 44 89 c7 48 89 44 24 08 e8 5c fd ff ff 48
[ 8947.647077] RSP: 002b:00007ffea2567f20 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
[ 8947.647081] RAX: ffffffffffffffda RBX: 000055a6dbb7a5c5 RCX: 00007f3b1adf32cf
[ 8947.647083] RDX: 0000000000000008 RSI: 00007ffea2567f58 RDI: 0000000000000020
[ 8947.647085] RBP: 0000000000000020 R08: 0000000000000000 R09: 0000000000000001
[ 8947.647087] R10: 0000000000000000 R11: 0000000000000293 R12: 000055a6dc86d030
[ 8947.647089] R13: 0000000000000000 R14: 0000000000000000 R15: 000055a6dc868820
[ 8947.647097] ---[ end trace 2e88ba49c240cbfe ]---
Comment 8 Laurent Bonnaud 2020-10-23 15:15:32 UTC
This bug still exists in kernel 5.9.1:

[    0.000000] Linux version 5.9.1-050901-lowlatency (kernel@kathleen) (gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0, GNU ld (GNU Binutils for Ubuntu) 2.35.1) #202010170731 SMP PREEMPT Sat Oct 17 07:46:09 UTC 2020
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-5.9.1-050901-lowlatency root=/dev/mapper/MonVolume2-UbuntuRacine ro vsyscall=none security=apparmor quiet splash vt.handoff=7
[...]
[108952.184116] wlan0: deauthenticating from e4:aa:5d:e0:e5:6f by local choice (Reason: 3=DEAUTH_LEAVING)
[108952.200769] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[108952.200772] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[108952.227260] ------------[ cut here ]------------
[108952.227262] UMAC scan UID 0 status was not cleaned
[108952.227289] WARNING: CPU: 2 PID: 57499 at drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:1246 __iwl_mvm_mac_stop+0x14a/0x150 [iwlmvm]
[108952.227290] Modules linked in: md4 cmac nls_utf8 fscache libdes ccm iwlmvm snd_usb_audio snd_usbmidi_lib pktcdvd uas usb_storage xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6table_filter ip6_tables iptable_filter bpfilter bridge stp llc overlay bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic binfmt_misc nls_iso8859_1 snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep mei_hdcp intel_rapl_msr dell_rbtn snd_pcm snd_seq_midi snd_seq_midi_event x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm dell_laptop ledtrig_audio crct10dif_pclmul dell_smm_hwmon uvcvideo snd_rawmidi ghash_clmulni_intel videobuf2_vmalloc videobuf2_memops aesni_intel videobuf2_v4l2 videobuf2_common crypto_simd cryptd glue_helper rapl joydev snd_seq intel_cstate videodev mc btusb btrtl snd_seq_device btbcm btintel input_leds efi_pstore
[108952.227319]  mac80211 snd_timer bluetooth i915 ecdh_generic ecc intel_wmi_thunderbolt serio_raw dell_wmi libarc4 dell_smbios drm_kms_helper dcdbas snd cec iwlwifi mei_me dell_wmi_descriptor wmi_bmof soundcore cfg80211 ee1004 rc_core hid_multitouch i2c_algo_bit mei processor_thermal_device fb_sys_fops intel_rapl_common syscopyarea ucsi_acpi sysfillrect intel_xhci_usb_role_switch intel_soc_dts_iosf roles sysimgblt typec_ucsi intel_pch_thermal typec int3403_thermal int340x_thermal_zone intel_hid sparse_keymap mac_hid dell_smo8800 acpi_pad int3400_thermal acpi_thermal_rel sch_fq_codel parport_pc nf_tables nfnetlink ppdev lp parport drm ip_tables x_tables autofs4 usbhid btrfs blake2b_generic xor raid6_pq libcrc32c hid_generic rtsx_pci_sdmmc xhci_pci crc32_pclmul e1000e nvme ahci nvme_core libahci i2c_i801 intel_lpss_pci i2c_smbus intel_lpss idma64 virt_dma xhci_pci_renesas rtsx_pci i2c_hid wmi hid video [last unloaded: cifs]
[108952.227351] CPU: 2 PID: 57499 Comm: NetworkManager Not tainted 5.9.1-050901-lowlatency #202010170731
[108952.227352] Hardware name: Dell Inc. Latitude 5590/0VYDFF, BIOS 1.14.0 07/15/2020
[108952.227361] RIP: 0010:__iwl_mvm_mac_stop+0x14a/0x150 [iwlmvm]
[108952.227363] Code: 9b 04 00 00 74 0e 42 c7 84 a3 fc 17 00 00 00 00 00 00 eb be 44 89 e6 48 c7 c7 88 fa cd c0 c6 05 0c 9b 04 00 01 e8 eb b2 60 c8 <0f> 0b eb d8 66 90 0f 1f 44 00 00 55 48 89 e5 41 56 41 55 41 54 4c
[108952.227364] RSP: 0018:ffffb19a8091bc48 EFLAGS: 00010286
[108952.227366] RAX: 0000000000000000 RBX: ffff99ca968e9ec8 RCX: ffff99ca9e518cc8
[108952.227367] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffff99ca9e518cc0
[108952.227368] RBP: ffffb19a8091bc60 R08: 0000000000000001 R09: 000000000000097b
[108952.227368] R10: 0000000000000004 R11: 0000000000000000 R12: 0000000000000000
[108952.227369] R13: ffff99ca968ead48 R14: ffff99ca968e9ec8 R15: ffff99ca968e8ff0
[108952.227371] FS:  00007f00e457f380(0000) GS:ffff99ca9e500000(0000) knlGS:0000000000000000
[108952.227372] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[108952.227373] CR2: 0000556d6a6d9008 CR3: 00000003ef53e002 CR4: 00000000003706e0
[108952.227374] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[108952.227375] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[108952.227375] Call Trace:
[108952.227386]  iwl_mvm_mac_stop+0x6a/0x90 [iwlmvm]
[108952.227409]  drv_stop+0x34/0x130 [mac80211]
[108952.227433]  ieee80211_stop_device+0x46/0x50 [mac80211]
[108952.227453]  ieee80211_do_stop+0x551/0x860 [mac80211]
[108952.227457]  ? _raw_spin_unlock_bh+0x1e/0x20
[108952.227476]  ieee80211_stop+0x1a/0x20 [mac80211]
[108952.227479]  __dev_close_many+0x9d/0x110
[108952.227481]  dev_close_many+0x85/0x130
[108952.227483]  dev_close+0x5e/0x80
[108952.227502]  cfg80211_shutdown_all_interfaces+0x77/0xd0 [cfg80211]
[108952.227517]  cfg80211_rfkill_set_block+0x26/0x40 [cfg80211]
[108952.227520]  rfkill_set_block+0x9b/0x170
[108952.227523]  rfkill_fop_write+0x136/0x1e0
[108952.227526]  vfs_write+0xcd/0x210
[108952.227528]  ksys_write+0xb1/0xe0
[108952.227530]  __x64_sys_write+0x1a/0x20
[108952.227533]  do_syscall_64+0x38/0x90
[108952.227535]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[108952.227536] RIP: 0033:0x7f00e59f02cf
[108952.227538] Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 29 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2d 44 89 c7 48 89 44 24 08 e8 5c fd ff ff 48
[108952.227539] RSP: 002b:00007ffd14ee7700 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
[108952.227541] RAX: ffffffffffffffda RBX: 000055e2121815c5 RCX: 00007f00e59f02cf
[108952.227542] RDX: 0000000000000008 RSI: 00007ffd14ee7738 RDI: 0000000000000035
[108952.227542] RBP: 0000000000000035 R08: 0000000000000000 R09: 0000000000000001
[108952.227543] R10: 0000000000000000 R11: 0000000000000293 R12: 000055e212e13010
[108952.227544] R13: 0000000000000000 R14: 0000000000000000 R15: 000055e212df8820
[108952.227547] ---[ end trace 4a531882d7fac91e ]---
Comment 9 Laurent Bonnaud 2020-11-18 10:32:21 UTC
This bug still exists in kernel 5.9.8:

[67065.670557] wlan0: deauthenticating from e4:aa:5d:e0:e5:60 by local choice (Reason: 3=DEAUTH_LEAVING)
[67065.684606] iwlwifi 0000:02:00.0: RF_KILL bit toggled to disable radio.
[67065.684608] iwlwifi 0000:02:00.0: reporting RF_KILL (radio disabled)
[67065.684620] iwlwifi 0000:02:00.0: HCMD_ACTIVE already clear for command MAC_PM_POWER_TABLE
[67065.698120] ------------[ cut here ]------------
[67065.698122] UMAC scan UID 0 status was not cleaned
[67065.698160] WARNING: CPU: 3 PID: 43706 at drivers/net/wireless/intel/iwlwifi/mvm/mac80211.c:1246 __iwl_mvm_mac_stop+0x14f/0x160 [iwlmvm]
[67065.698161] Modules linked in: ccm md4 cmac nls_utf8 fscache libdes snd_usb_audio snd_usbmidi_lib snd_seq_dummy snd_hrtimer xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_counter nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge stp llc bnep overlay binfmt_misc snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic snd_soc_skl snd_soc_sst_ipc dell_rbtn snd_soc_sst_dsp snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core mei_hdcp nls_iso8859_1 intel_rapl_msr snd_compress ac97_bus dell_laptop ledtrig_audio x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel snd_pcm_dmaengine dell_smm_hwmon i915 snd_hda_intel kvm snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep crct10dif_pclmul ghash_clmulni_intel snd_pcm snd_seq_midi snd_seq_midi_event joydev snd_rawmidi aesni_intel crypto_simd cryptd glue_helper drm_kms_helper snd_seq iwlmvm uvcvideo rapl videobuf2_vmalloc mac80211 videobuf2_memops
[67065.698181]  videobuf2_v4l2 intel_wmi_thunderbolt intel_cstate libarc4 btusb snd_seq_device btrtl dell_wmi snd_timer btbcm dell_smbios dcdbas efi_pstore btintel input_leds wmi_bmof serio_raw dell_wmi_descriptor iwlwifi bluetooth mousedev cec videobuf2_common rc_core i2c_algo_bit videodev ecdh_generic fb_sys_fops ecc snd syscopyarea ee1004 sysfillrect mc hid_multitouch sysimgblt cfg80211 intel_pch_thermal soundcore mei_me mei processor_thermal_device intel_rapl_common intel_soc_dts_iosf intel_xhci_usb_role_switch roles ucsi_acpi typec_ucsi typec int3400_thermal dell_smo8800 acpi_thermal_rel int3403_thermal intel_hid int340x_thermal_zone sparse_keymap acpi_pad mac_hid nf_tables sch_fq_codel nfnetlink parport_pc ppdev lp parport drm ip_tables x_tables autofs4 usbhid btrfs blake2b_generic xor raid6_pq libcrc32c hid_generic i2c_designware_platform rtsx_pci_sdmmc i2c_designware_core nvme crc32_pclmul e1000e i2c_i801 i2c_smbus rtsx_pci nvme_core ahci libahci intel_lpss_pci intel_lpss idma64
[67065.698209]  xhci_pci virt_dma xhci_pci_renesas wmi i2c_hid hid video backlight [last unloaded: cifs]
[67065.698214] CPU: 3 PID: 43706 Comm: NetworkManager Not tainted 5.9.8-050908-generic #202011101634
[67065.698215] Hardware name: Dell Inc. Latitude 5590/0VYDFF, BIOS 1.14.0 07/15/2020
[67065.698223] RIP: 0010:__iwl_mvm_mac_stop+0x14f/0x160 [iwlmvm]
[67065.698224] Code: aa 04 00 00 74 0e 42 c7 84 a3 fc 17 00 00 00 00 00 00 eb be 44 89 e6 48 c7 c7 90 7a e3 c0 c6 05 77 aa 04 00 01 e8 54 86 b7 c3 <0f> 0b eb d8 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 00
[67065.698225] RSP: 0018:ffffc282018cbc48 EFLAGS: 00010286
[67065.698227] RAX: 0000000000000000 RBX: ffffa0048f0f1ec8 RCX: ffffa004ae598cc8
[67065.698227] RDX: 00000000ffffffd8 RSI: 0000000000000027 RDI: ffffa004ae598cc0
[67065.698228] RBP: ffffc282018cbc60 R08: 0000000000000004 R09: 0000000000000533
[67065.698229] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
[67065.698229] R13: ffffa0048f0f2d48 R14: ffffa0048f0f1ec8 R15: ffffa0048f0f0ff0
[67065.698231] FS:  00007fe5b0430bc0(0000) GS:ffffa004ae580000(0000) knlGS:0000000000000000
[67065.698232] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[67065.698232] CR2: 000055ab7e76f230 CR3: 0000000417fec005 CR4: 00000000003706e0
[67065.698233] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[67065.698234] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[67065.698235] Call Trace:
[67065.698244]  iwl_mvm_mac_stop+0x6a/0x90 [iwlmvm]
[67065.698264]  drv_stop+0x39/0x110 [mac80211]
[67065.698283]  ieee80211_stop_device+0x46/0x50 [mac80211]
[67065.698300]  ieee80211_do_stop+0x551/0x860 [mac80211]
[67065.698303]  ? _raw_spin_unlock_bh+0x1e/0x20
[67065.698319]  ieee80211_stop+0x1a/0x20 [mac80211]
[67065.698322]  __dev_close_many+0xa2/0x110
[67065.698324]  dev_close_many+0x85/0x130
[67065.698325]  dev_close+0x5e/0x80
[67065.698343]  cfg80211_shutdown_all_interfaces+0x77/0xd0 [cfg80211]
[67065.698355]  cfg80211_rfkill_set_block+0x26/0x40 [cfg80211]
[67065.698357]  rfkill_set_block+0x9b/0x170
[67065.698359]  rfkill_fop_write+0x136/0x1e0
[67065.698361]  vfs_write+0xcd/0x210
[67065.698363]  ksys_write+0xb1/0xe0
[67065.698365]  ? exit_to_user_mode_prepare+0x3b/0xd0
[67065.698367]  __x64_sys_write+0x1a/0x20
[67065.698369]  do_syscall_64+0x38/0x90
[67065.698370]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[67065.698372] RIP: 0033:0x7fe5b19a6aaf
[67065.698374] Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 fc ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c fd ff ff 48
[67065.698375] RSP: 002b:00007ffd7e2b1940 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
[67065.698376] RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fe5b19a6aaf
[67065.698377] RDX: 0000000000000008 RSI: 00007ffd7e2b1978 RDI: 000000000000001c
[67065.698378] RBP: 000000000000001c R08: 0000000000000000 R09: 0000000000000001
[67065.698378] R10: 0000000000000000 R11: 0000000000000293 R12: 0000559e0da07010
[67065.698379] R13: 0000000000000000 R14: 0000559e0c5be4bd R15: 0000000000000006
[67065.698381] ---[ end trace 705b81fd8f39cd63 ]---
Comment 10 Golan Ben Ami 2021-12-23 08:29:44 UTC
Hi,

What WIFI FW are you using?
dmesg should have it on load.
can you take latest from here: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git
?
and update if still reproduces?
Comment 11 Laurent Bonnaud 2021-12-25 22:05:56 UTC
> What WIFI FW are you using?

From the full dmesg output attached to this bug:

[    3.886071] iwlwifi 0000:02:00.0: loaded firmware version 50.3e391d3e.0 op_mode iwlmvm
Comment 12 Laurent Bonnaud 2021-12-25 22:11:37 UTC
> can you take latest [firmware] and update if still reproduces?

This bug is quite old, and I do not see this exact WARNING anymore.

What I see on my system today is the following error.  I am going to open another bug report...

[246584.350533] iwlwifi 0000:36:00.0: Microcode SW error detected. Restarting 0x0.
[246584.350657] iwlwifi 0000:36:00.0: Start IWL Error Log Dump:
[246584.350660] iwlwifi 0000:36:00.0: Transport status: 0x0000004A, valid: 6
[246584.350665] iwlwifi 0000:36:00.0: Loaded firmware version: 63.c04f3485.0 cc-a0-63.ucode
[246584.350668] iwlwifi 0000:36:00.0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL    
[246584.350672] iwlwifi 0000:36:00.0: 0x000022F0 | trm_hw_status0
[246584.350675] iwlwifi 0000:36:00.0: 0x00000000 | trm_hw_status1
[246584.350677] iwlwifi 0000:36:00.0: 0x004FAA7E | branchlink2
[246584.350680] iwlwifi 0000:36:00.0: 0x00013218 | interruptlink1
[246584.350683] iwlwifi 0000:36:00.0: 0x00013218 | interruptlink2
[246584.350685] iwlwifi 0000:36:00.0: 0x000128F2 | data1
[246584.350687] iwlwifi 0000:36:00.0: 0x00001000 | data2
[246584.350690] iwlwifi 0000:36:00.0: 0x00000000 | data3
[246584.350692] iwlwifi 0000:36:00.0: 0x3F80002C | beacon time
[246584.350695] iwlwifi 0000:36:00.0: 0x3092FFDE | tsf low
[246584.350697] iwlwifi 0000:36:00.0: 0x00000041 | tsf hi
[246584.350700] iwlwifi 0000:36:00.0: 0x00000000 | time gp1
[246584.350702] iwlwifi 0000:36:00.0: 0x98CA1CFD | time gp2
[246584.350705] iwlwifi 0000:36:00.0: 0x00000001 | uCode revision type
[246584.350707] iwlwifi 0000:36:00.0: 0x0000003F | uCode version major
[246584.350710] iwlwifi 0000:36:00.0: 0xC04F3485 | uCode version minor
[246584.350712] iwlwifi 0000:36:00.0: 0x00000340 | hw version
[246584.350714] iwlwifi 0000:36:00.0: 0x00C89000 | board version
[246584.350717] iwlwifi 0000:36:00.0: 0x800DFC0F | hcmd
[246584.350719] iwlwifi 0000:36:00.0: 0x00020000 | isr0
[246584.350722] iwlwifi 0000:36:00.0: 0x00400000 | isr1
[246584.350724] iwlwifi 0000:36:00.0: 0x08F04002 | isr2
[246584.350727] iwlwifi 0000:36:00.0: 0x00C37FCD | isr3
[246584.350729] iwlwifi 0000:36:00.0: 0x00000000 | isr4
[246584.350731] iwlwifi 0000:36:00.0: 0x0569001C | last cmd Id
[246584.350734] iwlwifi 0000:36:00.0: 0x000128F2 | wait_event
[246584.350736] iwlwifi 0000:36:00.0: 0x00000000 | l2p_control
[246584.350738] iwlwifi 0000:36:00.0: 0x00000020 | l2p_duration
[246584.350741] iwlwifi 0000:36:00.0: 0x0000003F | l2p_mhvalid
[246584.350743] iwlwifi 0000:36:00.0: 0x000000CE | l2p_addr_match
[246584.350746] iwlwifi 0000:36:00.0: 0x00000009 | lmpm_pmg_sel
[246584.350748] iwlwifi 0000:36:00.0: 0x00000000 | timestamp
[246584.350751] iwlwifi 0000:36:00.0: 0x000020AC | flow_handler
[246584.350795] iwlwifi 0000:36:00.0: Start IWL Error Log Dump:
[246584.350798] iwlwifi 0000:36:00.0: Transport status: 0x0000004A, valid: 7
[246584.350801] iwlwifi 0000:36:00.0: 0x20003523 | ADVANCED_SYSASSERT
[246584.350804] iwlwifi 0000:36:00.0: 0x00000000 | umac branchlink1
[246584.350806] iwlwifi 0000:36:00.0: 0x8045541A | umac branchlink2
[246584.350808] iwlwifi 0000:36:00.0: 0xC00845BC | umac interruptlink1
[246584.350811] iwlwifi 0000:36:00.0: 0x00000000 | umac interruptlink2
[246584.350813] iwlwifi 0000:36:00.0: 0x00000000 | umac data1
[246584.350816] iwlwifi 0000:36:00.0: 0x98CA1CD7 | umac data2
[246584.350818] iwlwifi 0000:36:00.0: 0x98CA1CF1 | umac data3
[246584.350820] iwlwifi 0000:36:00.0: 0x0000003F | umac major
[246584.350823] iwlwifi 0000:36:00.0: 0xC04F3485 | umac minor
[246584.350825] iwlwifi 0000:36:00.0: 0x98CA1CF8 | frame pointer
[246584.350827] iwlwifi 0000:36:00.0: 0xC0885E3C | stack pointer
[246584.350830] iwlwifi 0000:36:00.0: 0x00AB019C | last host cmd
[246584.350832] iwlwifi 0000:36:00.0: 0x00000000 | isr status reg
[246584.350847] iwlwifi 0000:36:00.0: IML/ROM dump:
[246584.350849] iwlwifi 0000:36:00.0: 0x00000003 | IML/ROM error/state
[246584.350863] iwlwifi 0000:36:00.0: 0x00005963 | IML/ROM data1
[246584.350876] iwlwifi 0000:36:00.0: 0x00000080 | IML/ROM WFPM_AUTH_KEY_0
[246584.350885] iwlwifi 0000:36:00.0: Fseq Registers:
[246584.350890] iwlwifi 0000:36:00.0: 0x60000000 | FSEQ_ERROR_CODE
[246584.350895] iwlwifi 0000:36:00.0: 0x80290021 | FSEQ_TOP_INIT_VERSION
[246584.350901] iwlwifi 0000:36:00.0: 0x00050008 | FSEQ_CNVIO_INIT_VERSION
[246584.350906] iwlwifi 0000:36:00.0: 0x0000A503 | FSEQ_OTP_VERSION
[246584.350912] iwlwifi 0000:36:00.0: 0x80000003 | FSEQ_TOP_CONTENT_VERSION
[246584.350917] iwlwifi 0000:36:00.0: 0x4552414E | FSEQ_ALIVE_TOKEN
[246584.350922] iwlwifi 0000:36:00.0: 0x00100530 | FSEQ_CNVI_ID
[246584.350927] iwlwifi 0000:36:00.0: 0x00000532 | FSEQ_CNVR_ID
[246584.350933] iwlwifi 0000:36:00.0: 0x00100530 | CNVI_AUX_MISC_CHIP
[246584.350940] iwlwifi 0000:36:00.0: 0x00000532 | CNVR_AUX_MISC_CHIP
[246584.350948] iwlwifi 0000:36:00.0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
[246584.350955] iwlwifi 0000:36:00.0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
[246584.351119] iwlwifi 0000:36:00.0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
[246584.351128] ieee80211 phy0: Hardware restart was requested
Comment 13 Golan Ben Ami 2021-12-26 06:22:07 UTC
Hi,
1. The sha1 you added doesn't tell the FW file. The full dmesg does show, but I can't find it.
2. This is a different bug. we have a fix for it on FW API 69 which will be part of 5.17. 

If this bug doesn't repro please close it.
Comment 14 Laurent Bonnaud 2021-12-26 22:03:25 UTC
This bug no longer exists.

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