Wifi 卡工作正常,現在系統未檢測到
我的wifi一直都能用,但是這幾天一直連不上,因為找不到無線介面。
我有一個帶有 Intel Dual Band Wireless AC(2x2) 8265 的 Thinkpad T470。在 Debian 測試中,安裝了韌體-linux-nonfree 和韌體-iwlwifi(暫時沒有更新)。
lspci 輸出不顯示網路適配器
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02) 00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21) 00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21) 00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21) 00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21) 00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1) 00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21) 00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21) 00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21) 00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21) 00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (4) I219-LM (rev 21)
dmesg | grep iwl
是空的。rfkill
只顯示藍牙。由於根本沒有檢測到卡,lsmod 沒有載入無線模組。另一方面,藍牙功能齊全且工作正常。我使用 debian-live-10.10.0-amd64-xfce+nonfree.iso 啟動,一切正常,但再次沒有檢測到無線網卡。
因此,我對日誌進行了更多探勘。9 月 9 日,我的 wifi 工作正常,並且載入正確
Sep 9 13:26:50 jupiter kernel: [ 5.791176] Intel(R) Wireless WiFi driver for Linux Sep 9 13:26:50 jupiter kernel: [ 5.791529] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002) Sep 9 13:26:50 jupiter kernel: [ 5.801795] resource sanity check: requesting [mem 0xfed10000-0xfed15fff], which spans more than pnp 00:07 [mem 0xfed10000-0xfed13fff] Sep 9 13:26:50 jupiter kernel: [ 5.801804] caller snb_uncore_imc_init_box+0x78/0xc0 [intel_uncore] mapping multiple BARs Sep 9 13:26:50 jupiter kernel: [ 5.815752] iwlwifi 0000:04:00.0: firmware: direct-loading firmware iwlwifi-8265-36.ucode Sep 9 13:26:50 jupiter kernel: [ 5.816246] iwlwifi 0000:04:00.0: loaded firmware version 36.ad812ee0.0 8265-36.ucode op_mode iwlmvm Sep 9 13:26:50 jupiter kernel: [ 5.816877] iwlwifi 0000:04:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
最後一個錯誤顯然是無害的。
我暫停電腦幾次,直到第二天(9 月 10 日),當我恢復時,kern.log 有以下錯誤和(選定的)消息
: can't change power state from unknown to D0 (config space inaccessible) Sep 10 14:45:28 jupiter kernel: [63338.686918] pcieport 0000:00:1c.6: can't change power state from D3hot to D0 (config space inaccessible) Sep 10 14:45:28 jupiter kernel: [63338.703520] iwlwifi 0000:04:00.0: can't change power state from D3hot to D0 (config space inaccessible) ---------------- Sep 10 14:45:28 jupiter kernel: [63338.814434] iwlwifi 0000:04:00.0: iwlwifi transaction failed, dumping registers Sep 10 14:45:28 jupiter kernel: [63338.814441] iwlwifi 0000:04:00.0: iwlwifi device config registers: Sep 10 14:45:28 jupiter kernel: [63338.814808] iwlwifi 0000:04:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814817] iwlwifi 0000:04:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814826] iwlwifi 0000:04:00.0: 00000040: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814834] iwlwifi 0000:04:00.0: 00000060: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814842] iwlwifi 0000:04:00.0: 00000080: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814850] iwlwifi 0000:04:00.0: 000000a0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814858] iwlwifi 0000:04:00.0: 000000c0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814866] iwlwifi 0000:04:00.0: 000000e0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814874] iwlwifi 0000:04:00.0: 00000100: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814883] iwlwifi 0000:04:00.0: 00000120: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814891] iwlwifi 0000:04:00.0: 00000140: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814896] iwlwifi 0000:04:00.0: iwlwifi device memory mapped registers: Sep 10 14:45:28 jupiter kernel: [63338.814968] iwlwifi 0000:04:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.814976] iwlwifi 0000:04:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.816693] iwlwifi 0000:04:00.0: iwlwifi parent port (0000:00:1c.6) config registers: Sep 10 14:45:28 jupiter kernel: [63338.817206] iwlwifi 0000:00:1c.6: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817214] iwlwifi 0000:00:1c.6: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817223] iwlwifi 0000:00:1c.6: 00000040: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817230] iwlwifi 0000:00:1c.6: 00000060: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817238] iwlwifi 0000:00:1c.6: 00000080: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817246] iwlwifi 0000:00:1c.6: 000000a0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817254] iwlwifi 0000:00:1c.6: 000000c0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817262] iwlwifi 0000:00:1c.6: 000000e0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817270] iwlwifi 0000:00:1c.6: 00000100: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817279] iwlwifi 0000:00:1c.6: 00000120: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817287] iwlwifi 0000:00:1c.6: 00000140: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817295] iwlwifi 0000:00:1c.6: 00000160: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817303] iwlwifi 0000:00:1c.6: 00000180: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817311] iwlwifi 0000:00:1c.6: 000001a0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817319] iwlwifi 0000:00:1c.6: 000001c0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817341] iwlwifi 0000:00:1c.6: 000001e0: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff Sep 10 14:45:28 jupiter kernel: [63338.817346] iwlwifi 0000:00:1c.6: 00000200: ffffffff ffffffff ffffffff ---------- Sep 10 14:45:28 jupiter kernel: [63339.904678] iwlwifi 0000:04:00.0: Could not load the [0] uCode section Sep 10 14:45:28 jupiter kernel: [63339.904684] iwlwifi 0000:04:00.0: Failed to start INIT ucode: -5 Sep 10 14:45:28 jupiter kernel: [63339.904685] iwlwifi 0000:04:00.0: Failed to run INIT ucode: -5 Sep 10 14:45:28 jupiter kernel: [63339.904686] iwlwifi 0000:04:00.0: Failed to start RT ucode: -5 Sep 10 14:45:28 jupiter kernel: [63339.904687] iwlwifi 0000:04:00.0: Collecting data: trigger 16 fired. Sep 10 14:45:28 jupiter kernel: [63339.961017] ------------ Sep 10 14:45:28 jupiter kernel: [63339.961023] WARNING: CPU: 3 PID: 32706 at drivers/net/wireless/intel/iwlwifi/mvm/../iwl-trans.h:1391 iwl_mvm_dump_lmac_error_log+0x4eb/0x540 [iwlmvm] Sep 10 14:45:28 jupiter kernel: [63339.961023] Modules linked in: wacom hid_generic usbhid hid uinput acpi_call(OE) ctr ccm rfcomm cmac algif_hash algif_skcipher af_alg snd_seq_dummy snd_hrtimer snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device bnep btusb btrtl btbcm btintel bluetooth uvcvideo videobuf2_vmalloc jitterentropy_rng videobuf2_memops videobuf2_v4l2 drbg videobuf2_common videodev mc ansi_cprng ecdh_generic ecc nls_ascii nls_cp437 snd_hda_codec_hdmi vfat intel_rapl_msr snd_soc_skl intel_rapl_common fat snd_soc_hdac_hda intel_pmc_core_pltdrv snd_hda_codec_realtek intel_pmc_core snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_hda_codec_generic snd_soc_acpi_intel_match snd_soc_acpi x86_pkg_temp_thermal snd_hda_intel intel_powerclamp snd_intel_dspcfg coretemp mei_hdcp mei_wdt soundwire_intel soundwire_generic_allocation ghash_clmulni_intel snd_soc_core snd_compress aesni_intel iwlmvm soundwire_cadence libaes crypto_simd mac80211 snd_hda_codec cryptd glue_helper libarc4 snd_hda_core rapl Sep 10 14:45:28 jupiter kernel: [63339.961050] intel_cstate snd_hwdep soundwire_bus intel_uncore snd_pcm_oss joydev iwlwifi snd_mixer_oss efi_pstore serio_raw pcspkr snd_pcm iTCO_wdt intel_pmc_bxt iTCO_vendor_support wmi_bmof intel_wmi_thunderbolt watchdog snd_timer ee1004 cfg80211 mei_me ucsi_acpi intel_xhci_usb_role_switch sg typec_ucsi roles mei intel_pch_thermal typec thinkpad_acpi nvram ledtrig_audio snd soundcore tpm_crb ac evdev rfkill tpm_tis tpm_tis_core tpm rng_core acpi_pad parport_pc ppdev lp parport fuse configfs efivarfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic sd_mod t10_pi crc_t10dif crct10dif_generic uas usb_storage i915 i2c_algo_bit drm_kms_helper crct10dif_pclmul crct10dif_common xhci_pci crc32_pclmul e1000e cec ahci crc32c_intel libahci psmouse xhci_hcd libata drm ptp scsi_mod pps_core i2c_i801 usbcore i2c_smbus usb_common wmi battery video button -------------- Sep 10 14:45:28 jupiter kernel: [63339.961214] iwlwifi 0000:04:00.0: HW error, resetting before reading Sep 10 14:45:28 jupiter kernel: [63339.996772] iwlwifi 0000:04:00.0: Start IWL Error Log Dump: Sep 10 14:45:28 jupiter kernel: [63339.996774] iwlwifi 0000:04:00.0: Status: 0x00000000, count: 3072 Sep 10 14:45:28 jupiter kernel: [63339.996775] iwlwifi 0000:04:00.0: Loaded firmware version: 36.ad812ee0.0 8265-36.ucode ------------- Sep 10 14:45:30 jupiter kernel: [63344.915798] iwlwifi 0000:04:00.0: Could not load the [0] uCode section Sep 10 14:45:30 jupiter kernel: [63344.915814] iwlwifi 0000:04:00.0: Failed to start INIT ucode: -5 Sep 10 14:45:30 jupiter kernel: [63344.915815] iwlwifi 0000:04:00.0: Failed to run INIT ucode: -5 Sep 10 14:45:30 jupiter kernel: [63344.915816] iwlwifi 0000:04:00.0: Failed to start RT ucode: -5 Sep 10 14:45:30 jupiter kernel: [63344.915819] iwlwifi 0000:04:00.0: Collecting data: trigger 16 fired. ------------ Sep 10 14:45:34 jupiter kernel: [63348.625521] iwlwifi 0000:04:00.0: can't change power state from D3cold to D0 (config space inaccessible) Sep 10 14:45:34 jupiter kernel: [63348.625564] iwlwifi 0000:04:00.0: can't change power state from D3hot to D0 (config space inaccessible) Sep 10 14:45:34 jupiter kernel: [63348.625856] iwlwifi 0000:04:00.0: HW_REV=0xFFFFFFFF, PCI issues? Sep 10 14:45:34 jupiter kernel: [63348.635076] iwlwifi: probe of 0000:04:00.0 failed with error -5
重啟後 iwlwifi 不再出現在 kern.log 中
我猜這是硬體故障,但如果有人有辦法恢復我的卡,我將不勝感激。
我拔掉了電源,打開了我的筆記型電腦,取出了兩塊電池,完全取出了 wifi 卡。然後將其放回(和電池)。
wifi 現在又可以工作了。我想它只是需要一個超級硬重置。
lspci
04:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
“Config space inaccessible”表示硬體錯誤:PCIe config space包含有關PCIe卡的基本資訊,例如硬體寄存器所在的位置。如果這些突然消失,則意味著 WLAN 硬體根本沒有響應。
同樣,如果它沒有出現在 中
lspci
,則意味著所有 PCI 硬體實現的非常基本的硬體支持已經停止工作。我會第二次移除電池和電源,因為這將執行“真正的”冷啟動,盡可能重置硬體。
要尋找的另一件事是 BIOS/UEFI 設置,您可能可以啟用/禁用 WIFI 硬體,並且可能會出現“已禁用”的故障。
如果這兩個都沒有幫助,我會假設 WIFI 硬體已經死了。