iwlwifi: Crash after resume from sleep

Bug #2088337 reported by Lastique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-signed-lowlatency (Ubuntu)
New
Undecided
Unassigned

Bug Description

Sometimes, shortly after resuming from sleep (after a few seconds) WiFi
becomes non-operational - no network traffic can be sent or received.
After a minute or so, WiFi connection becomes disabled and then re-
established, but network connectivity does not restore.

In syslog, I can see repeated messages such as these:

2024-11-16T14:42:59.069086+03:00 lastique-n550jv kernel: iwlwifi 0000:04:00.0: Hardware error detected. Restarting.
2024-11-16T14:42:59.069102+03:00 lastique-n550jv kernel: iwlwifi 0000:04:00.0: Loaded firmware version: 17.3216344376.0 7260-17.ucode

...

2024-11-16T14:42:59.070053+03:00 lastique-n550jv kernel: ieee80211 phy0: Hardware restart was requested
2024-11-16T14:43:00.835102+03:00 lastique-n550jv kernel: iwlwifi 0000:04:00.0: Failing on timeout while stopping DMA channel 8 [0xa5a5a5a2]
2024-11-16T14:43:01.110060+03:00 lastique-n550jv kernel: wlp4s0: HW problem - can not stop rx aggregation for 34:97:f6:22:c0:3c tid 0
2024-11-16T14:43:01.110073+03:00 lastique-n550jv kernel: wlp4s0: HW problem - can not stop rx aggregation for 34:97:f6:22:c0:3c tid 1
2024-11-16T14:43:01.880131+03:00 lastique-n550jv kernel: iwlwifi 0000:04:00.0: Hardware error detected. Restarting.
2024-11-16T14:43:01.880144+03:00 lastique-n550jv kernel: iwlwifi 0000:04:00.0: Loaded firmware version: 17.3216344376.0 7260-17.ucode

...

2024-11-16T14:43:39.608098+03:00 lastique-n550jv kernel: ------------[ cut here ]------------
2024-11-16T14:43:39.608112+03:00 lastique-n550jv kernel: iwl_pcie_cmdq_reclaim: Read index for DMA queue txq id (0), index 6 is out of range [0-256] 81 81.
2024-11-16T14:43:39.608113+03:00 lastique-n550jv kernel: WARNING: CPU: 7 PID: 519 at drivers/net/wireless/intel/iwlwifi/pcie/tx.c:664 iwl_pcie_cmdq_reclaim+0x1cd/0x1f0 [iwlwifi]
2024-11-16T14:43:39.608118+03:00 lastique-n550jv kernel: Modules linked in: cmac ccm snd_seq_dummy snd_hrtimer qrtr zram nvidia_uvm(POE) nvidia_drm(POE) nvidia_modeset(POE) ip6t_REJECT nf_reject_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog xt_comment xt_multiport nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel nf_tables snd_hda_codec_hdmi snd_hda_codec_realtek binfmt_misc libcrc32c kvm snd_hda_codec_generic irqbypass iwlmvm crct10dif_pclmul polyval_clmulni polyval_generic ghash_clmulni_intel aesni_intel crypto_simd cryptd nls_iso8859_1 nvidia(POE) rapl i915 snd_hda_intel snd_intel_dspcfg snd_intel_sdw_acpi mac80211 snd_hda_codec snd_hda_core snd_hwdep uvcvideo snd_pcm videobuf2_vmalloc uvc videobuf2_memops libarc4 spi_nor snd_seq_midi videobuf2_v4l2 snd_seq_midi_event mtd snd_rawmidi at24 videodev btusb iwlwifi btrtl btintel drm_buddy snd_seq rtsx_usb_ms ttm videobuf2_common btbcm
2024-11-16T14:43:39.608123+03:00 lastique-n550jv kernel: spi_intel_platform btmtk i2c_i801 spi_intel mei_hdcp mei_pxp memstick mxm_wmi intel_cstate mfd_aaeon mc drm_display_helper snd_seq_device cfg80211 i2c_smbus snd_timer bluetooth lpc_ich cec mei_me ecdh_generic rc_core snd ecc i2c_algo_bit mei soundcore asus_wireless joydev input_leds serio_raw mac_hid sch_fq tcp_yeah tcp_vegas coda asus_nb_wmi asus_wmi ledtrig_audio sparse_keymap platform_profile sha256_ssse3 sha1_ssse3 msr parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables autofs4 rtsx_usb_sdmmc rtsx_usb crc32_pclmul psmouse ahci r8169 libahci realtek xhci_pci xhci_pci_renesas video wmi
2024-11-16T14:43:39.608124+03:00 lastique-n550jv kernel: CPU: 7 PID: 519 Comm: irq/42-iwlwifi Tainted: P OE 6.8.0-47-lowlatency #47.1-Ubuntu
2024-11-16T14:43:39.608125+03:00 lastique-n550jv kernel: Hardware name: ASUSTeK COMPUTER INC. N550JV/N550JV, BIOS N550JV.208 11/19/2013
2024-11-16T14:43:39.608126+03:00 lastique-n550jv kernel: RIP: 0010:iwl_pcie_cmdq_reclaim+0x1cd/0x1f0 [iwlwifi]
2024-11-16T14:43:39.608127+03:00 lastique-n550jv kernel: Code: ea c6 05 09 a9 03 00 01 48 c7 c6 f0 1f ce c0 48 c7 c7 f0 1a cf c0 48 8b 00 44 8b 40 0c 41 8b 86 a4 00 00 00 50 e8 53 48 28 e4 <0f> 0b 58 e9 78 ff ff ff 48 c7 c7 60 fd ca c0 48 89 75 d0 e8 db 3d
2024-11-16T14:43:39.608128+03:00 lastique-n550jv kernel: RSP: 0018:ffffb645c02cccd8 EFLAGS: 00010246
2024-11-16T14:43:39.608129+03:00 lastique-n550jv kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
2024-11-16T14:43:39.608129+03:00 lastique-n550jv kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
2024-11-16T14:43:39.608141+03:00 lastique-n550jv kernel: RBP: ffffb645c02ccd10 R08: 0000000000000000 R09: 0000000000000000
2024-11-16T14:43:39.608142+03:00 lastique-n550jv kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffff92c659cd0028
2024-11-16T14:43:39.608143+03:00 lastique-n550jv kernel: R13: 0000000000000000 R14: ffff92c65bc62000 R15: 0000000000000006
2024-11-16T14:43:39.608144+03:00 lastique-n550jv kernel: FS: 0000000000000000(0000) GS:ffff92c95ed80000(0000) knlGS:0000000000000000
2024-11-16T14:43:39.608145+03:00 lastique-n550jv kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
2024-11-16T14:43:39.608146+03:00 lastique-n550jv kernel: CR2: 0000710728011b00 CR3: 0000000155e3c002 CR4: 00000000001706f0
2024-11-16T14:43:39.608147+03:00 lastique-n550jv kernel: Call Trace:
2024-11-16T14:43:39.608148+03:00 lastique-n550jv kernel: <IRQ>
2024-11-16T14:43:39.608149+03:00 lastique-n550jv kernel: ? show_regs+0x6d/0x80
2024-11-16T14:43:39.608150+03:00 lastique-n550jv kernel: ? __warn+0x89/0x160
2024-11-16T14:43:39.608151+03:00 lastique-n550jv kernel: ? iwl_pcie_cmdq_reclaim+0x1cd/0x1f0 [iwlwifi]
2024-11-16T14:43:39.608151+03:00 lastique-n550jv kernel: ? report_bug+0x17e/0x1b0
2024-11-16T14:43:39.608152+03:00 lastique-n550jv kernel: ? handle_bug+0x51/0xa0
2024-11-16T14:43:39.608153+03:00 lastique-n550jv kernel: ? exc_invalid_op+0x18/0x80
2024-11-16T14:43:39.608154+03:00 lastique-n550jv kernel: ? asm_exc_invalid_op+0x1b/0x20
2024-11-16T14:43:39.608155+03:00 lastique-n550jv kernel: ? iwl_pcie_cmdq_reclaim+0x1cd/0x1f0 [iwlwifi]
2024-11-16T14:43:39.608156+03:00 lastique-n550jv kernel: ? iwl_pcie_cmdq_reclaim+0x1cd/0x1f0 [iwlwifi]
2024-11-16T14:43:39.608159+03:00 lastique-n550jv kernel: iwl_pcie_hcmd_complete+0xf0/0x2e0 [iwlwifi]
2024-11-16T14:43:39.608160+03:00 lastique-n550jv kernel: iwl_pcie_rx_handle_rb.isra.0+0x35a/0x490 [iwlwifi]
2024-11-16T14:43:39.608161+03:00 lastique-n550jv kernel: iwl_pcie_rx_handle+0x21c/0x640 [iwlwifi]
2024-11-16T14:43:39.608162+03:00 lastique-n550jv kernel: iwl_pcie_napi_poll+0x2e/0x150 [iwlwifi]
2024-11-16T14:43:39.608162+03:00 lastique-n550jv kernel: __napi_poll+0x33/0x200
2024-11-16T14:43:39.608163+03:00 lastique-n550jv kernel: net_rx_action+0x181/0x2e0
2024-11-16T14:43:39.608164+03:00 lastique-n550jv kernel: handle_softirqs+0xdb/0x340
2024-11-16T14:43:39.608165+03:00 lastique-n550jv kernel: ? handle_irq_event+0x52/0x80
2024-11-16T14:43:39.608166+03:00 lastique-n550jv kernel: __do_softirq+0x10/0x18
2024-11-16T14:43:39.608167+03:00 lastique-n550jv kernel: do_softirq.part.0+0x41/0x80
2024-11-16T14:43:39.608168+03:00 lastique-n550jv kernel: </IRQ>
2024-11-16T14:43:39.608169+03:00 lastique-n550jv kernel: <TASK>
2024-11-16T14:43:39.608170+03:00 lastique-n550jv kernel: __local_bh_enable_ip+0x72/0x80
2024-11-16T14:43:39.608171+03:00 lastique-n550jv kernel: iwl_pcie_irq_handler+0x4df/0xb70 [iwlwifi]
2024-11-16T14:43:39.608171+03:00 lastique-n550jv kernel: ? __pfx_irq_thread_fn+0x10/0x10
2024-11-16T14:43:39.608172+03:00 lastique-n550jv kernel: irq_thread_fn+0x24/0x70
2024-11-16T14:43:39.608173+03:00 lastique-n550jv kernel: irq_thread+0xfb/0x1c0
2024-11-16T14:43:39.608174+03:00 lastique-n550jv kernel: ? __pfx_irq_thread_dtor+0x10/0x10
2024-11-16T14:43:39.608175+03:00 lastique-n550jv kernel: ? __pfx_irq_thread+0x10/0x10
2024-11-16T14:43:39.608176+03:00 lastique-n550jv kernel: kthread+0xf2/0x120
2024-11-16T14:43:39.608177+03:00 lastique-n550jv kernel: ? __pfx_kthread+0x10/0x10
2024-11-16T14:43:39.608177+03:00 lastique-n550jv kernel: ret_from_fork+0x47/0x70
2024-11-16T14:43:39.608178+03:00 lastique-n550jv kernel: ? __pfx_kthread+0x10/0x10
2024-11-16T14:43:39.608179+03:00 lastique-n550jv kernel: ret_from_fork_asm+0x1b/0x30
2024-11-16T14:43:39.608180+03:00 lastique-n550jv kernel: </TASK>
2024-11-16T14:43:39.608181+03:00 lastique-n550jv kernel: ---[ end trace 0000000000000000 ]---

The only way to restore network connectivity is to reboot the system.

This is a regression in Kubuntu 24.04, this did not happen with Kubuntu
22.04 on the same system. The system is an ASUS N550JV laptop with Intel
Wireless-AC 7260 WiFi adapter.

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: linux-image-6.8.0-47-lowlatency 6.8.0-47.47.1
ProcVersionSignature: Ubuntu 6.8.0-47.47.1-lowlatency 6.8.12
Uname: Linux 6.8.0-47-lowlatency x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Sat Nov 16 14:46:40 2024
InstallationDate: Installed on 2013-10-11 (4054 days ago)
InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
SourcePackage: linux-signed-lowlatency
UpgradeStatus: Upgraded to noble on 2024-09-04 (73 days ago)
modified.conffile..etc.init.d.apport: [modified]
mtime.conffile..etc.init.d.apport: 2024-07-22T17:59:07

Revision history for this message
Lastique (andysem) wrote :
Revision history for this message
Lastique (andysem) wrote :
Revision history for this message
Lastique (andysem) wrote :
Revision history for this message
Lastique (andysem) wrote :
Revision history for this message
Lastique (andysem) wrote :
Revision history for this message
Lastique (andysem) wrote :

I cannot test mainline kernel builds because:

- Kernel versions past 6.10.10 are not built for amd64.
- Kernel versions 6.10.10 and 6.9.12 (the latest available that are newer than 6.8 branch) are incompatible with DKMS, and building Nvidia driver fails with errors like this:

cc: error: unrecognized command-line option ‘-fmin-function-alignment=16’; did you mean ‘-flimit-function-alignment’?
make[3]: *** [scripts/Makefile.build:244: /var/lib/dkms/nvidia/470.256.02/build/nvidia/nv.o] Error 1

description: updated
tags: removed: amd64 apport-bug noble
Changed in linux-signed-lowlatency (Ubuntu):
status: New → Invalid
summary: - iwlwifi: Crash after resume from sleep
+ s
information type: Public → Private
Lastique (andysem)
information type: Private → Public
Changed in linux-signed-lowlatency (Ubuntu):
status: Invalid → New
summary: - s
+ iwlwifi: Crash after resume from sleep
description: updated
tags: added: amd64 apport-bug noble
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.