Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

iwlwifi PCI timeout

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
robinelvin
n00b
n00b
Posts: 23
Joined: Thu Jul 03, 2025 9:03 am
Location: Warrington, UK

iwlwifi PCI timeout

  • Quote

Post by robinelvin » Tue Sep 09, 2025 8:07 am

My laptop has an Intel wireless device onboard and it has been problematic with any Linux distro I have tried. It works for a short time after a power cycle but then stops working.

After moving over to Gentoo I have dug a little deeper and it appears to be suffering from the power-saving issue where it disappears from the PCI bus and the iwlwifi driver cannot reconnect any more. I am using the current Distribution Kernel so no custom config.

Code: Select all

[  259.627375] ------------[ cut here ]------------
[  259.627385] Timeout waiting for hardware access (CSR_GP_CNTRL 0xffffffff)
[  259.627484] WARNING: CPU: 3 PID: 0 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2251 __iwl_trans_pcie_grab_nic_access+0x14c/0x150 [iwlwifi]
[  259.627554] Modules linked in: xt_conntrack xt_MASQUERADE bridge ip6table_nat ip6table_filter ip6_tables xt_set ip_set iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_addrtype iptable_filter ip_tables nfnetlink overlay amdgpu amdxcp gpu_sched drm_exec 8021q garp mrp stp llc vfat fat intel_rapl_msr intel_rapl_common x86_pkg_temp_thermal intel_powerclamp binfmt_misc coretemp iwlmvm mac80211 snd_ctl_led snd_hda_codec_realtek kvm_intel snd_hda_codec_generic libarc4 spi_nor i915 jc42 snd_hda_scodec_component mtd snd_hda_codec_hdmi iwlwifi uvcvideo btusb kvm btrtl uvc videobuf2_vmalloc at24 snd_hda_intel radeon btintel videobuf2_memops snd_intel_dspcfg videobuf2_v4l2 spi_intel_platform ppdev iTCO_wdt btbcm intel_pmc_bxt snd_intel_sdw_acpi btmtk videobuf2_common irqbypass mei_hdcp mei_wdt spi_intel mei_pxp videodev cfg80211 rapl iTCO_vendor_support hp_wmi snd_hda_codec bluetooth sparse_keymap intel_cstate drm_suballoc_helper i2c_algo_bit platform_profile snd_hda_core drm_ttm_helper i2c_i801 wmi_bmof rfkill
[  259.627732]  intel_uncore mc joydev pcspkr ttm i2c_smbus snd_hwdep snd_pcm drm_display_helper parport_pc snd_timer parport snd cec mei_me drm_buddy e1000e hp_accel soundcore mei lpc_ich lis3lv02d wireless_hotkey tpm_infineon serio_raw rtsx_pci_sdmmc mmc_core crct10dif_pclmul crc32_pclmul crc32c_intel polyval_clmulni polyval_generic ghash_clmulni_intel sha512_ssse3 sha256_ssse3 sha1_ssse3 rtsx_pci video wmi
[  259.627815] CPU: 3 UID: 0 PID: 0 Comm: swapper/3 Not tainted 6.12.34-gentoo-dist #1
[  259.627824] Hardware name: Hewlett-Packard HP ZBook 15 G2/2253, BIOS M70 Ver. 01.12 09/23/2015
[  259.627829] RIP: 0010:__iwl_trans_pcie_grab_nic_access+0x14c/0x150 [iwlwifi]
[  259.627871] Code: 48 f8 31 c0 e9 7b ff ff ff 31 f6 48 89 df e8 9b fd ff ff eb e5 89 c6 48 c7 c7 e0 75 f4 c0 c6 05 2d 4e 02 00 01 e8 f4 9b 1f f7 <0f> 0b eb a3 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 0f
[  259.627878] RSP: 0018:ffffcefd40250ce8 EFLAGS: 00010282
[  259.627886] RAX: 0000000000000000 RBX: ffff8a3f45bf8028 RCX: 0000000000000027
[  259.627891] RDX: ffff8a42dfda18c8 RSI: 0000000000000001 RDI: ffff8a42dfda18c0
[  259.627896] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[  259.627900] R10: 667830204c52544e R11: 2966666666666666 R12: 00000000ffffffff
[  259.627904] R13: ffff8a3f45bf9c94 R14: 0000000000000001 R15: 0000000000000011
[  259.627910] FS:  0000000000000000(0000) GS:ffff8a42dfd80000(0000) knlGS:0000000000000000
[  259.627916] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  259.627921] CR2: 0000559a538f5d18 CR3: 000000045682c006 CR4: 00000000001726f0
[  259.627926] Call Trace:
[  259.627932]  <IRQ>
[  259.627938]  iwl_trans_pcie_grab_nic_access+0x1c/0x70 [iwlwifi]
[  259.627978]  iwl_read_prph+0x15/0x50 [iwlwifi]
[  259.628005]  iwl_txq_log_scd_error+0x143/0x290 [iwlwifi]
[  259.628040]  ? ttwu_do_activate+0x8a/0x270
[  259.628055]  iwl_txq_log_scd_error+0x271/0x290 [iwlwifi]
[  259.628089]  ? iwl_txq_log_scd_error+0x230/0x290 [iwlwifi]
[  259.628121]  ? iwl_txq_log_scd_error+0x230/0x290 [iwlwifi]
[  259.628152]  call_timer_fn+0x2a/0x120
[  259.628162]  __run_timers+0x1f1/0x280
[  259.628172]  timer_expire_remote+0x50/0x80
[  259.628182]  tmigr_handle_remote+0x3e6/0x4a0
[  259.628199]  handle_softirqs+0xf4/0x340
[  259.628210]  ? sched_clock_cpu+0xf/0x1f0
[  259.628223]  __irq_exit_rcu+0x97/0xb0
[  259.628233]  sysvec_apic_timer_interrupt+0x71/0x90
[  259.628245]  </IRQ>
[  259.628247]  <TASK>
[  259.628250]  asm_sysvec_apic_timer_interrupt+0x1a/0x20
[  259.628258] RIP: 0010:cpuidle_enter_state+0xd3/0x690
[  259.628270] Code: 00 00 e8 a0 70 e1 fe e8 6b ee ff ff 49 89 c6 0f 1f 44 00 00 31 ff e8 ac d6 df fe 45 84 ff 0f 85 13 02 00 00 fb 0f 1f 44 00 00 <45> 85 ed 0f 88 e3 01 00 00 4d 63 e5 49 83 fc 0a 0f 83 c8 04 00 00
[  259.628275] RSP: 0018:ffffcefd40123e68 EFLAGS: 00000246
[  259.628281] RAX: ffff8a42dfd80000 RBX: ffff8a42dfdc3bf8 RCX: 0000000000000000
[  259.628285] RDX: 0000003c71cfd569 RSI: 0000000033518eeb RDI: 0000000000000000
[  259.628290] RBP: ffffffffbab57920 R08: 00000000000a31ec R09: 000000000007a120
[  259.628294] R10: 0000000000000000 R11: 0000000000000006 R12: 0000000000000005
[  259.628298] R13: 0000000000000005 R14: 0000003c71cfd569 R15: 0000000000000000
[  259.628306]  ? cpuidle_enter_state+0xc4/0x690
[  259.628318]  cpuidle_enter+0x2d/0x40
[  259.628328]  do_idle+0x1b0/0x210
[  259.628340]  cpu_startup_entry+0x29/0x30
[  259.628351]  start_secondary+0x12d/0x160
[  259.628360]  common_startup_64+0x13e/0x141
[  259.628371]  </TASK>
[  259.628373] ---[ end trace 0000000000000000 ]---
There are no power-saving options in the BIOS and /sys/bus/pci/devices/0000:3d:00.0/power/control is already set to '1'. If there is anything else I can try please let me know. Alternatively I'd like to switch to using a USB WiFi adapter if there is a way to blacklist the onboard adapter.[/code]
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56084
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Tue Sep 09, 2025 11:04 am

robinelvin,

Code: Select all

$ grep -R -i module_p /usr/src/linux/drivers/net/wireless/intel/iwlwifi/*
/usr/src/linux/drivers/net/wireless/intel/iwlwifi/dvm/power.c:module_param(force_cam, bool, 0644);
/usr/src/linux/drivers/net/wireless/intel/iwlwifi/dvm/power.c:MODULE_PARM_DESC(force_cam, "force continuously aware mode (no power saving at all)");
The module has a no power saving knob. It needs to be set at module load time, whenever that is for you.

Code: Select all

iwlwifi.force_cam=1
on the kernel command line may work.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
robinelvin
n00b
n00b
Posts: 23
Joined: Thu Jul 03, 2025 9:03 am
Location: Warrington, UK

  • Quote

Post by robinelvin » Tue Sep 09, 2025 1:03 pm

Thank you NeddySeagoon - I didn't know there was a module option. I have set the option like this:

/etc/modules.d/iwlwifi.conf

Code: Select all

options iwlwifi force_cam=1
I've had it running for a couple of hours and it seems to have sorted the problem.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic