[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1061390: iwlwifi: crash when disabling wifi



Control: forcemerge 1058887 -1

Hi Thomas,

On Tue, Jan 23, 2024 at 04:19:18PM +0100, Thomas Goirand wrote:
> Source: linux
> Version: 6.1.69-1
> Severity: important
> 
> Hi,
> 
> In some cases, when I disable wifi with the network manager GUI
> (ie: right click, "Enable Wifi" to disable it), my iwlwifi driver
> crashes, with the crash dump attached to this bug report.
> 
> When this happen, then my network stack is kind of completely
> broken, and I have to reboot.
> 
> Let me know what I can do to improve this bug report. Maybe
> install the debug kernel?
> 
> Cheers,
> 
> Thomas Goirand (zigo)

> [114704.251050] iwlwifi 0000:6f:00.0: RF_KILL bit toggled to disable radio.
> [114704.251053] iwlwifi 0000:6f:00.0: reporting RF_KILL (radio disabled)
> [114704.265509] wlp111s0: deauthenticating from f0:9f:c2:ff:9f:62 by local choice (Reason: 3=DEAUTH_LEAVING)
> [114706.269470] iwlwifi 0000:6f:00.0: fail to flush all tx fifo queues Q 5
> [114706.271154] iwlwifi 0000:6f:00.0: Queue 5 is active on fifo 3 and stuck for 10000 ms. SW [5, 6] HW [6, 6] FH TRB=0x080305005
> [114708.273433] iwlwifi 0000:6f:00.0: fail to flush all tx fifo queues Q 5
> [114708.274068] iwlwifi 0000:6f:00.0: Queue 5 is active on fifo 3 and stuck for 10000 ms. SW [5, 6] HW [6, 6] FH TRB=0x080305005
> [114708.274125] ------------[ cut here ]------------
> [114708.274127] WARNING: CPU: 0 PID: 80864 at net/mac80211/sta_info.c:1297 __sta_info_destroy_part2+0x12e/0x160 [mac80211]
> [114708.274291] Modules linked in: snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device tun ctr ccm rfcomm xt_conntrack xt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype iptable_filter br_netfilter bridge stp llc cpufreq_ondemand cpufreq_userspace cpufreq_conservative cpufreq_powersave scsi_transport_iscsi nvme_fabrics cmac algif_hash algif_skcipher af_alg overlay qrtr bnep snd_hda_codec_hdmi snd_sof_pci_intel_cnl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof_pci snd_sof_xtensa_dsp binfmt_misc snd_sof xfs snd_sof_utils nls_ascii soundwire_bus nls_cp437 snd_soc_skl vfat squashfs fat snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi iwlmvm snd_ctl_led snd_soc_core x86_pkg_temp_thermal snd_hda_codec_realtek intel_powerclamp btusb coretemp snd_hda_codec_generic btrtl snd_compress
> [114708.274367]  mac80211 btbcm snd_hda_intel btintel snd_intel_dspcfg kvm_intel btmtk snd_intel_sdw_acpi dell_rbtn bluetooth libarc4 snd_hda_codec kvm uvcvideo snd_hda_core jitterentropy_rng snd_hwdep videobuf2_vmalloc dell_laptop iwlwifi snd_pcm_oss irqbypass videobuf2_memops ledtrig_audio dell_wmi drbg snd_mixer_oss videobuf2_v4l2 processor_thermal_device_pci_legacy joydev mei_hdcp mei_wdt rapl processor_thermal_device dell_smbios intel_rapl_msr ansi_cprng dell_smm_hwmon snd_pcm videobuf2_common iTCO_wdt cfg80211 processor_thermal_rfim intel_cstate ucsi_acpi dcdbas dell_wmi_sysman ecdh_generic processor_thermal_mbox snd_timer intel_pmc_bxt intel_uncore videodev processor_thermal_rapl mei_me dell_wmi_descriptor typec_ucsi firmware_attributes_class pcspkr roles iTCO_vendor_support snd intel_rapl_common intel_wmi_thunderbolt wmi_bmof mc watchdog rfkill ee1004 soundcore mei ecc typec int3403_thermal intel_soc_dts_iosf int3400_thermal intel_hid intel_pch_thermal int340x_thermal_zone
> [114708.274434]  dell_smo8800 ac intel_pmc_core acpi_thermal_rel acpi_pad sparse_keymap hid_multitouch evdev serio_raw msr i2c_dev parport_pc ppdev lp parport fuse loop efi_pstore configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 btrfs blake2b_generic zstd_compress usbhid dm_crypt dm_mod efivarfs raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid1 raid0 multipath linear md_mod i915 crc32_pclmul drm_buddy crc32c_intel i2c_algo_bit nvme drm_display_helper ghash_clmulni_intel sha512_ssse3 nvme_core cec ahci sha512_generic hid_generic t10_pi rc_core rtsx_pci_sdmmc libahci sha256_ssse3 xhci_pci crc64_rocksoft_generic ttm sha1_ssse3 crc64_rocksoft xhci_hcd libata crc_t10dif mmc_core drm_kms_helper crct10dif_generic usbcore intel_lpss_pci i2c_hid_acpi aesni_intel scsi_mod i2c_i801 i2c_hid video crct10dif_pclmul crypto_simd intel_lpss crc64 cryptd drm e1000e i2c_smbus rtsx_pci crct10dif_common scsi_common idma64 usb_common
> [114708.274507]  hid battery wmi button
> [114708.274511] CPU: 0 PID: 80864 Comm: kworker/0:0 Tainted: G               X   6.1.0-17-amd64 #1  Debian 6.1.69-1
> [114708.274514] Hardware name: Dell Inc. Precision 7530/0C1D71, BIOS 1.29.1 07/05/2023
> [114708.274516] Workqueue: events cfg80211_rfkill_block_work [cfg80211]
> [114708.274576] RIP: 0010:__sta_info_destroy_part2+0x12e/0x160 [mac80211]
> [114708.274631] Code: bb d4 00 00 00 00 0f 84 71 ff ff ff 45 31 c0 b9 01 00 00 00 48 89 da 4c 89 e6 48 89 ef e8 2a 94 ff ff 85 c0 0f 84 53 ff ff ff <0f> 0b e9 4c ff ff ff be 03 00 00 00 48 89 df e8 be e9 ff ff 85 c0
> [114708.274634] RSP: 0018:ffffac53c6e879b8 EFLAGS: 00010282
> [114708.274636] RAX: 00000000ffffff92 RBX: ffff8fc4916fa000 RCX: 0000000000000000
> [114708.274638] RDX: 0000000000000000 RSI: ffff8fcbfc2203a0 RDI: ffff8fc4866f2078
> [114708.274640] RBP: ffff8fc4866f0900 R08: 0000000000000000 R09: ffffac53c6e874c8
> [114708.274641] R10: 0000000000000003 R11: ffffffffa5ed4428 R12: ffff8fc73eac4980
> [114708.274643] R13: ffff8fc73eac4980 R14: 0000000000000001 R15: ffff8fc4866f0f40
> [114708.274644] FS:  0000000000000000(0000) GS:ffff8fcbfc200000(0000) knlGS:0000000000000000
> [114708.274646] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [114708.274648] CR2: 00007f19b1d3a000 CR3: 00000003be210001 CR4: 00000000003706f0
> [114708.274650] Call Trace:
> [114708.274652]  <TASK>
> [114708.274655]  ? __warn+0x7d/0xc0
> [114708.274658]  ? __sta_info_destroy_part2+0x12e/0x160 [mac80211]
> [114708.274706]  ? report_bug+0xe2/0x150
> [114708.274712]  ? handle_bug+0x41/0x70
> [114708.274715]  ? exc_invalid_op+0x13/0x60
> [114708.274717]  ? asm_exc_invalid_op+0x16/0x20
> [114708.274721]  ? __sta_info_destroy_part2+0x12e/0x160 [mac80211]
> [114708.274768]  ? __sta_info_destroy_part2+0x126/0x160 [mac80211]
> [114708.274816]  __sta_info_flush+0x146/0x1a0 [mac80211]
> [114708.274877]  ieee80211_set_disassoc+0x16c/0x5f0 [mac80211]
> [114708.274931]  ieee80211_mgd_deauth.cold+0x4c/0x1f5 [mac80211]
> [114708.274986]  cfg80211_mlme_deauth+0xb6/0x1d0 [cfg80211]
> [114708.275048]  cfg80211_mlme_down+0x61/0x80 [cfg80211]
> [114708.275098]  cfg80211_disconnect+0x17c/0x1f0 [cfg80211]
> [114708.275148]  cfg80211_netdev_notifier_call+0x12e/0x4e0 [cfg80211]
> [114708.275194]  ? update_load_avg+0x7e/0x780
> [114708.275198]  ? psi_group_change+0x145/0x360
> [114708.275202]  ? psi_task_switch+0x11e/0x230
> [114708.275205]  ? __switch_to_asm+0x3a/0x60
> [114708.275207]  ? finish_task_switch.isra.0+0x90/0x2d0
> [114708.275210]  ? __iterate_interfaces+0xa4/0x110 [mac80211]
> [114708.275259]  ? iwl_mvm_nic_error+0xd0/0xd0 [iwlmvm]
> [114708.275273]  ? iwl_mvm_send_cmd+0x12/0x40 [iwlmvm]
> [114708.275286]  ? iwl_mvm_mc_iface_iterator+0xc9/0xf0 [iwlmvm]
> [114708.275299]  ? __iterate_interfaces+0xa4/0x110 [mac80211]
> [114708.275347]  ? iwl_mvm_cleanup_iterator+0x90/0x90 [iwlmvm]
> [114708.275359]  ? iwl_mvm_send_cmd_pdu+0x54/0x90 [iwlmvm]
> [114708.275373]  ? rtnl_is_locked+0x11/0x20
> [114708.275382]  ? inetdev_event+0x3a/0x630
> [114708.275386]  raw_notifier_call_chain+0x41/0x60
> [114708.275390]  __dev_close_many+0x5f/0x110
> [114708.275393]  dev_close_many+0x8b/0x140
> [114708.275396]  dev_close+0x7f/0xb0
> [114708.275400]  cfg80211_shutdown_all_interfaces+0x49/0xf0 [cfg80211]
> [114708.275447]  cfg80211_rfkill_block_work+0x1a/0x20 [cfg80211]
> [114708.275493]  process_one_work+0x1c4/0x380
> [114708.275497]  worker_thread+0x4d/0x380
> [114708.275500]  ? rescuer_thread+0x3a0/0x3a0
> [114708.275502]  kthread+0xd7/0x100
> [114708.275505]  ? kthread_complete_and_exit+0x20/0x20
> [114708.275507]  ret_from_fork+0x1f/0x30
> [114708.275511]  </TASK>
> [114708.275512] ---[ end trace 0000000000000000 ]---
> [114714.350523] iwlwifi 0000:6f:00.0: Queue 5 is active on fifo 3 and stuck for 10000 ms. SW [5, 6] HW [6, 6] FH TRB=0x080305005

This should be the same as #1058887 with pending resolution in the
next bookworm kernel update as well.

Regards,
Salvatore


Reply to: