随机失去与 wifi 的连接,戴尔 XPS 15 9530 上的 Ubuntu 18.04 LTS

随机失去与 wifi 的连接,戴尔 XPS 15 9530 上的 Ubuntu 18.04 LTS

我的无线网卡一直有问题。这是我从 dmesg 得到的信息:

A@B:~$ dmesg | grep iwlwifi
[    4.410812] iwlwifi 0000:06:00.0: loaded firmware version 17.948900127.0 op_mode iwlmvm
[    4.461558] iwlwifi 0000:06:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
[    4.479921] iwlwifi 0000:06:00.0: base HW address: 90:2e:1c:4a:98:2c
[    4.695410] iwlwifi 0000:06:00.0 wlp6s0: renamed from wlan0
[  109.553413] iwlwifi 0000:06:00.0: iwlwifi transaction failed, dumping registers
[  109.553421] iwlwifi 0000:06:00.0: iwlwifi device config registers:
[  109.553482] iwlwifi 0000:06:00.0: 00000000: 08b18086 00100000 028000c3 00000000 00000004 00000000 00000000 00000000
[  109.553487] iwlwifi 0000:06:00.0: 00000020: 00000000 00000000 00000000 c0708086 00000000 000000c8 00000000 00000100
[  109.553491] iwlwifi 0000:06:00.0: iwlwifi device memory mapped registers:
[  109.553530] iwlwifi 0000:06:00.0: 00000000: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[  109.553534] iwlwifi 0000:06:00.0: 00000020: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff
[  109.553541] iwlwifi 0000:06:00.0: iwlwifi device AER capability structure:
[  109.553574] iwlwifi 0000:06:00.0: 00000000: 14010001 00100000 00000000 00462031 00002000 00002000 00000014 40000001
[  109.553577] iwlwifi 0000:06:00.0: 00000020: 0000000f f7900460 00000000
[  109.553581] iwlwifi 0000:06:00.0: iwlwifi parent port (0000:00:1c.2) config registers:
[  109.553614] iwlwifi 0000:00:1c.2: 00000000: 8c148086 00100407 060400d5 00810010 00000000 00000000 00060600 200000f0
[  109.553618] iwlwifi 0000:00:1c.2: 00000020: f790f790 0001fff1 00000000 00000000 00000000 00000040 00000000 00100303
[  109.553678] WARNING: CPU: 7 PID: 0 at /build/linux-60XibS/linux-4.15.0/drivers/net/wireless/intel/iwlwifi/pcie/trans.c:1973 iwl_trans_pcie_grab_nic_access+0xea/0xf0 [iwlwifi]
[  109.553679] Modules linked in: rfcomm ccm bnep arc4 pn544_mei mei_phy pn544 hci nfc joydev intel_rapl x86_pkg_temp_thermal iwlmvm intel_powerclamp coretemp dell_laptop kvm_intel dell_smbios_smm dcdbas mac80211 kvm irqbypass crct10dif_pclmul dell_wmi sparse_keymap crc32_pclmul ghash_clmulni_intel pcbc aesni_intel aes_x86_64 crypto_simd glue_helper cryptd intel_cstate dell_smbios_wmi intel_rapl_perf dell_smbios input_leds wmi_bmof dell_wmi_descriptor uvcvideo serio_raw videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 rtsx_pci_ms videobuf2_core videodev iwlwifi memstick hid_multitouch btusb media btrtl btbcm btintel snd_hda_codec_hdmi bluetooth cfg80211 snd_hda_codec_realtek ecdh_generic snd_hda_codec_generic snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm acpi_als kfifo_buf industrialio
[  109.553793] RIP: 0010:iwl_trans_pcie_grab_nic_access+0xea/0xf0 [iwlwifi]
[  109.553823]  iwl_read_prph+0x38/0x90 [iwlwifi]
[  109.553834]  iwl_trans_pcie_log_scd_error+0x125/0x1f0 [iwlwifi]
[  109.553848]  ? iwl_pcie_txq_build_tfd+0xe0/0xe0 [iwlwifi]
[  109.553856]  iwl_pcie_txq_stuck_timer+0x46/0x70 [iwlwifi]
[  109.608796] iwlwifi 0000:06:00.0: Queue 10 is active on fifo 2 and stuck for 10000 ms. SW [56, 65] HW [90, 90] FH TRB=0x05a5a5a5a

当我 grep lsmod 时,我得到了以下结果,

A@B:~$ lsmod | grep iwl
iwlmvm                364544  0
mac80211              778240  1 iwlmvm
iwlwifi               282624  1 iwlmvm
cfg80211              622592  3 iwlmvm,iwlwifi,mac80211

这是我运行 iwconfig 时得到的结果,

A@B:~$ iwconfig
enxd8eb97b0f784  no wireless extensions.

wlp6s0    IEEE 802.11  ESSID:"my_internet"  
      Mode:Managed  Frequency:5.745 GHz  Access Point:  3C:1E:04:DC:AA:9D   
      Bit Rate=650 Mb/s   Tx-Power=22 dBm   
      Retry short limit:7   RTS thr:off   Fragment thr:off
      Power Management:off
      Link Quality=59/70  Signal level=-51 dBm  
      Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
      Tx excessive retries:0  Invalid misc:44   Missed beacon:0

lo        no wireless extensions.

当我查看网络管理器状态时,我得到的结果如下,

A@B:~$ cat /var/lib/NetworkManager/NetworkManager.state 
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

最后,这是我查找以下内容时得到的结果,

A@B:~$ lspci | grep Network && uname -a
06:00.0 Network controller: Intel Corporation Wireless 7260 (rev c3)
Linux B 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

有关我的计算机的一些信息:我运行的是戴尔 XPS 15 9530,配备英特尔 i7 CPU,我猜还有英特尔无线 7260 卡。

我认为这里有一些重要的事情需要注意。通常当我的电脑与无线网卡断开连接时(至少我认为是这样),然后当我运行

dmesg | grep iwl、lsmod | grep iwl 和 iwconfig,我分别得到任何内容、任何内容和“lo no wireless extensionion”。

我尝试通过 modprobe 命令卸载并重新加载 iwlconfig,但没有帮助。此外,我尝试使用 linux 内核 4.15.24 来查看是否是当前内核的问题。这也没有帮助。

在类似这样的论坛上搜索让我尝试了所有这些不同的方法。但到目前为止我还没有成功。所以这是直接的求助。因为我依靠互联网来完成我的工作,所以无法工作真是令人沮丧。我可以得到一些帮助吗?是否需要更多信息来解决这个问题?

非常感谢!


更新(2018 年 8 月 8 日)


我的电脑遇到了一个全新的问题。这是我从 dmesg 得到的信息:

A@B:~$ dmesg --level=err
[   28.545162] iwlwifi 0000:06:00.0: Hardware error detected.  Restarting.
[   28.545249] iwlwifi 0000:06:00.0: HW error, resetting before reading
[   28.604079] iwlwifi 0000:06:00.0: iwlwifi transaction failed, dumping registers
[   28.604082] iwlwifi 0000:06:00.0: iwlwifi device config registers:
[   28.604137] iwlwifi 0000:06:00.0: 00000000: 08b18086 00100406 028000c3 00000000 f7900004 00000000 00000000 00000000
[   28.604140] iwlwifi 0000:06:00.0: 00000020: 00000000 00000000 00000000 c0708086 00000000 000000c8 00000000 00000100
[   28.604141] iwlwifi 0000:06:00.0: iwlwifi device memory mapped registers:
[   28.604187] iwlwifi 0000:06:00.0: 00000000: 40800000 80000000 00000000 00000000 00000000 00000000 00000000 00000000
[   28.604189] iwlwifi 0000:06:00.0: 00000020: 00000001 080003dc 00000144 00000000 80000000 803a0000 80008040 00080046
[   28.604194] iwlwifi 0000:06:00.0: iwlwifi device AER capability structure:
[   28.604222] iwlwifi 0000:06:00.0: 00000000: 14010001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
[   28.604224] iwlwifi 0000:06:00.0: 00000020: 00000000 00000000 00000000
[   28.604226] iwlwifi 0000:06:00.0: iwlwifi parent port (0000:00:1c.2) config registers:
[   28.604240] iwlwifi 0000:00:1c.2: 00000000: 8c148086 00100407 060400d5 00810010 00000000 00000000 00060600 200000f0
[   28.604242] iwlwifi 0000:00:1c.2: 00000020: f790f790 0001fff1 00000000 00000000 00000000 00000040 00000000 00100303
[   30.796567] iwlwifi 0000:06:00.0: Access time out - failed to enable LP XTAL
[   30.841730] iwlwifi 0000:06:00.0: Failed to init the card
[   30.843234] wlp6s0: failed to remove key (0, 3c:1e:04:dc:aa:9d) from hardware (-5)
[   30.847718] iwlwifi 0000:06:00.0: iwl_trans_wait_tx_queues_empty bad state = 0
[   30.848028] wlp6s0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-5)

相关内容