这是使用 HP Pavillion 笔记本电脑,使用 Ubuntu 与 Windows 双启动。
具体来说,适配器仅在我进行硬重启时才工作 - 即我关闭计算机,然后按住电源按钮约 30 秒,直到新启动开始并几乎立即停止。之后我必须再次按下电源按钮才能启动并找到/工作 wifi 适配器。如果我的笔记本电脑进入睡眠模式,就会出现类似的问题,即偶尔会找到 wifi 适配器(并非总是如此,有时会像上述情况一样消失),但随后找不到任何网络。
我已在 Windows 中禁用快速启动。f12 下有一个飞行模式按钮,但在 bios 中没有禁用它的选项 - 我看不到其他硬件 wifi 开关/按钮。我已检查iwlwifi
我的适配器 (7265D) 是否正在运行最新固件 (-29.ucode),基于https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi。
我附加了 wifi 出现故障时的完整 dmesg 输出 - 有一行特别可疑(暂时忽略文件底部的内核模块故障)是[Sun Jan 7 18:03:21 2024] iwlwifi 0000:04:00.0: Unable to change power state from D3hot to D0, device inaccessible
。
我尝试在 Google 上搜索该消息(以及 iwlwifi 内核模块故障的消息),但没有什么收获。如能得到任何帮助,我将不胜感激。
dmesg | grep wifi
失败时 - 由于字符限制和堆栈跟踪的数量,仅输出部分输出
[Sun Jan 7 15:56:17 2024] iwlwifi 0000:04:00.0: Found debug configuration: 0
[Sun Jan 7 15:56:17 2024] iwlwifi 0000:04:00.0: loaded firmware version 29.4063824552.0 7265D-29.ucode op_mode iwlmvm
[Sun Jan 7 15:56:17 2024] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 7265, REV=0x210
[Sun Jan 7 15:56:17 2024] iwlwifi 0000:04:00.0: Applying debug destination EXTERNAL_DRAM
[Sun Jan 7 15:56:17 2024] iwlwifi 0000:04:00.0: Allocated 0x00400000 bytes for firmware monitor.
[Sun Jan 7 15:56:17 2024] iwlwifi 0000:04:00.0: base HW address: c8:21:58:3c:8d:db, OTP minor version: 0x0
[Sun Jan 7 15:56:18 2024] iwlwifi 0000:04:00.0 wlo1: renamed from wlan0
[Sun Jan 7 15:56:20 2024] iwlwifi 0000:04:00.0: Applying debug destination EXTERNAL_DRAM
[Sun Jan 7 15:56:20 2024] iwlwifi 0000:04:00.0: Applying debug destination EXTERNAL_DRAM
[Sun Jan 7 15:56:20 2024] iwlwifi 0000:04:00.0: FW already configured (0) - re-configuring
[Sun Jan 7 18:03:21 2024] iwlwifi 0000:04:00.0: Unable to change power state from D3hot to D0, device inaccessible
[Sun Jan 7 18:03:24 2024] WARNING: CPU: 7 PID: 900 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2170 __iwl_trans_pcie_grab_nic_access+0x18e/0x1a0 [iwlwifi]
[Sun Jan 7 18:03:24 2024] Modules linked in: rfcomm nf_tables libcrc32c nfnetlink ccm cmac algif_hash algif_skcipher af_alg bnep snd_ctl_led snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio binfmt_misc snd_soc_avs snd_soc_hda_codec snd_hda_ext_core snd_soc_core snd_hda_codec_hdmi snd_compress ac97_bus snd_pcm_dmaengine intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp snd_hda_intel coretemp iwlmvm kvm_intel snd_intel_dspcfg snd_intel_sdw_acpi mei_hdcp mei_pxp intel_rapl_msr nls_iso8859_1 snd_hda_codec mac80211 uvcvideo snd_hda_core snd_hwdep nouveau kvm i915 snd_pcm libarc4 irqbypass videobuf2_vmalloc snd_seq_midi crct10dif_pclmul mxm_wmi polyval_clmulni polyval_generic drm_ttm_helper ghash_clmulni_intel btusb drm_buddy sha512_ssse3 snd_seq_midi_event videobuf2_memops snd_rawmidi ttm aesni_intel videobuf2_v4l2 hp_wmi btrtl snd_seq crypto_simd iwlwifi btbcm cryptd videodev btintel processor_thermal_device_pci_legacy drm_display_helper sparse_keymap rapl btmtk processor_thermal_device
[Sun Jan 7 18:03:24 2024] RIP: 0010:__iwl_trans_pcie_grab_nic_access+0x18e/0x1a0 [iwlwifi]
[Sun Jan 7 18:03:24 2024] ? __iwl_trans_pcie_grab_nic_access+0x18e/0x1a0 [iwlwifi]
[Sun Jan 7 18:03:24 2024] ? __iwl_trans_pcie_grab_nic_access+0x18e/0x1a0 [iwlwifi]
[Sun Jan 7 18:03:24 2024] ? __iwl_trans_pcie_grab_nic_access+0x18e/0x1a0 [iwlwifi]
[Sun Jan 7 18:03:24 2024] iwl_trans_pcie_grab_nic_access+0x1b/0x50 [iwlwifi]
[Sun Jan 7 18:03:24 2024] iwl_write_prph_delay+0x28/0x80 [iwlwifi]
[Sun Jan 7 18:03:24 2024] iwl_pcie_apm_init+0x148/0x1e0 [iwlwifi]
[Sun Jan 7 18:03:24 2024] iwl_trans_pcie_start_hw+0xa4/0x310 [iwlwifi]
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: iwlwifi transaction failed, dumping registers
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: iwlwifi device config registers:
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000040: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000060: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000080: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 000000a0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 000000c0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 000000e0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000100: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000120: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000140: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: iwlwifi device memory mapped registers:
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:04:00.0: iwlwifi parent port (0000:00:1c.5) config registers:
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000040: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000060: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000080: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 000000a0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 000000c0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 000000e0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000100: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000120: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000140: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000160: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000180: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 000001a0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 000001c0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 000001e0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:24 2024] iwlwifi 0000:00:1c.5: 00000200: ffffffff ffffffff ffffffff
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: Could not load the [0] uCode section
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: Failed to start INIT ucode: -5
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: Failed to run INIT ucode: -5
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: Failed to start RT ucode: -5
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: Collecting data: trigger 16 fired.
[Sun Jan 7 18:03:25 2024] WARNING: CPU: 3 PID: 900 at drivers/net/wireless/intel/iwlwifi/iwl-trans.h:1418 iwl_fwrt_dump_lmac_error_log+0x501/0x590 [iwlwifi]
[Sun Jan 7 18:03:25 2024] Modules linked in: rfcomm nf_tables libcrc32c nfnetlink ccm cmac algif_hash algif_skcipher af_alg bnep snd_ctl_led snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio binfmt_misc snd_soc_avs snd_soc_hda_codec snd_hda_ext_core snd_soc_core snd_hda_codec_hdmi snd_compress ac97_bus snd_pcm_dmaengine intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp snd_hda_intel coretemp iwlmvm kvm_intel snd_intel_dspcfg snd_intel_sdw_acpi mei_hdcp mei_pxp intel_rapl_msr nls_iso8859_1 snd_hda_codec mac80211 uvcvideo snd_hda_core snd_hwdep nouveau kvm i915 snd_pcm libarc4 irqbypass videobuf2_vmalloc snd_seq_midi crct10dif_pclmul mxm_wmi polyval_clmulni polyval_generic drm_ttm_helper ghash_clmulni_intel btusb drm_buddy sha512_ssse3 snd_seq_midi_event videobuf2_memops snd_rawmidi ttm aesni_intel videobuf2_v4l2 hp_wmi btrtl snd_seq crypto_simd iwlwifi btbcm cryptd videodev btintel processor_thermal_device_pci_legacy drm_display_helper sparse_keymap rapl btmtk processor_thermal_device
[Sun Jan 7 18:03:25 2024] RIP: 0010:iwl_fwrt_dump_lmac_error_log+0x501/0x590 [iwlwifi]
[Sun Jan 7 18:03:25 2024] ? iwl_fwrt_dump_lmac_error_log+0x501/0x590 [iwlwifi]
[Sun Jan 7 18:03:25 2024] ? iwl_fwrt_dump_lmac_error_log+0x501/0x590 [iwlwifi]
[Sun Jan 7 18:03:25 2024] ? iwl_fwrt_dump_lmac_error_log+0x501/0x590 [iwlwifi]
[Sun Jan 7 18:03:25 2024] ? iwl_fwrt_dump_lmac_error_log+0xec/0x590 [iwlwifi]
[Sun Jan 7 18:03:25 2024] iwl_fwrt_dump_error_logs+0x29/0x220 [iwlwifi]
[Sun Jan 7 18:03:25 2024] iwl_trans_sync_nmi_with_addr+0xa6/0x140 [iwlwifi]
[Sun Jan 7 18:03:25 2024] iwl_trans_pcie_sync_nmi+0x68/0x80 [iwlwifi]
[Sun Jan 7 18:03:25 2024] iwl_fw_dbg_error_collect+0x60/0xe0 [iwlwifi]
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: HW error, resetting before reading
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: Loaded firmware version: 29.4063824552.0 7265D-29.ucode
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | ADVANCED_SYSASSERT
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | trm_hw_status0
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | trm_hw_status1
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | branchlink2
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink1
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | interruptlink2
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | data1
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | data2
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | data3
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | beacon time
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | tsf low
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | tsf hi
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | time gp1
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | time gp2
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | uCode revision type
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | uCode version major
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | uCode version minor
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | hw version
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | board version
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | hcmd
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | isr0
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | isr1
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | isr2
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | isr3
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | isr4
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | last cmd Id
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | wait_event
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | l2p_control
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | l2p_duration
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | l2p_mhvalid
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | l2p_addr_match
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | lmpm_pmg_sel
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | timestamp
[Sun Jan 7 18:03:25 2024] iwlwifi 0000:04:00.0: 0x00000000 | flow_handler
[Sun Jan 7 18:03:27 2024] iwlwifi 0000:04:00.0: mac start retry 0
编辑:uname -a
输出
Linux toaster 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
编辑2:
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
编辑 3:uname -a
更新后的输出
Linux smakson-toaster 6.5.0-14-generic #14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Nov 20 18:15:30 UTC 2 x86_64 x86_64 x86_64 GNU/Linux