WiFi случайно? отключается до перезагрузки в Ubuntu 20.04

Недавно я столкнулся с ошибкой, из-за которой мой WiFi отключался, и я не мог найти сеть, пока не перезагрузил компьютер. Я запускаю только Lubuntu, и у меня не было этой проблемы в течение нескольких месяцев использования. У меня не было возможности проверить, существует ли такая же проблема при проводном соединении.

Единственное временное решение этой проблемы, которое я нашел, — это перезагрузить компьютер, но даже в этом случае он снова начинает работать только примерно в 75% случаев. Когда Wi-Fi работает, он обычно длится около 0-15 минут, прежде чем отключится.Я заметил, что когда я оставляю компьютер включенным, но не открываю Chrome/Firefox, он обычно работает дольше, прежде чем произойдет сбой.

Когда я отключаюсь, я получаю такое уведомление на панели задач. 23.10.21 10:59 - NetworkManager(nm-tray): соединение потеряно

Мне удалось отследить проблему только до того, что мой сетевой контроллер стал невостребованным и мой компьютер не удалось распознать мое беспроводное устройство, phy0. Но очевидно, что это не так просто.

Это видно при сравнении sudo lshw -C network и rfkill list до и после отключения WiFi.

sudo lshw -C сеть до сбоя

*-network                 
   description: Wireless interface
   product: Wireless 8265 / 8275
   vendor: Intel Corporation
   physical id: 0
   bus info: pci@0000:3f:00.0
   logical name: wlp63s0
   version: 78
   serial: ac:ed:5c:d9:2a:06
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
   configuration: broadcast=yes driver=iwlwifi driverversion=5.11.0-38-generic firmware=36.77d01142.0 8265-36.ucode ip=10.10.79.178 latency=0 link=yes multicast=yes wireless=IEEE 802.11
   resources: irq:135 memory:8a200000-8a201fff

sudo lshw -C сеть после сбоя

*-network UNCLAIMED       
   description: Network controller
   product: Wireless 8265 / 8275
   vendor: Intel Corporation
   physical id: 0
   bus info: pci@0000:3f:00.0
   version: 78
   width: 64 bits
   clock: 33MHz
   capabilities: pm msi pciexpress cap_list
   configuration: latency=0
   resources: memory:8a200000-8a201fff

список rfkill до сбоя

0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: ideapad_bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no
3: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no

список rfkill после сбоя

0: ideapad_wlan: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: ideapad_bluetooth: Bluetooth
        Soft blocked: no
        Hard blocked: no
2: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

Что Я пробовал

Я пробовал слишком много случайных решений, чтобы их отслеживать, но вот некоторые из недавних, которые я с уверенностью могу описать:

  1. Переустановил свежую копию Lubuntu 21.10. Проблема сохранялась до внесения каких-либо изменений в систему.

  2. Переустановил свежую копию Lubuntu 20.04.3 LTS. Проблема сохранялась до внесения каких-либо изменений в систему.

  3. Отключение управления питанием Wi-Fi, как показано здесь. Я не заметил никаких улучшений, поэтому я отменил это изменение.

  4. Удаление и повторная установка модуля Wi-Fi с помощью sudo modprobe -r iwlwifi и sudo modprobe iwlwifi

  5. Остановка/отключение/запуск/включение NetworkManager.service и сетевой менеджер.service


sudo systemctl stop NetworkManager.service
sudo systemctl disable NetworkManager.service
sudo systemctl start NetworkManager.service
sudo systemctl enable NetworkManager.service

sudo systemctl stop network-manager.service
sudo systemctl disable network-manager.service
sudo systemctl start network-manager.service
sudo systemctl enable network-manager.service

Если это проблема с драйвером, которая будет решена путем удаления/установки других драйверов, я боюсь, что что-нибудь сломаю и вообще не смогу подключиться. Тот факт, что я даже получаю несколько минут связи, вселяет в меня надежду.

Некоторая дополнительная, надеюсь, актуальная информация

lspci -k

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
        Subsystem: Lenovo Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers
        Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
        Subsystem: Lenovo HD Graphics 620                                                                                                                                                    
        Kernel driver in use: i915                                                                                                                                                           
        Kernel modules: i915                                                                                                                                                                 
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/                                                                                                                     E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)                                                                                                                                 
        Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Proces                                                                                                                     sor Thermal Subsystem                                                                                                                                                                        
        Kernel driver in use: proc_thermal
        Kernel modules: processor_thermal_device
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
        Subsystem: Lenovo Sunrise Point-LP USB 3.0 xHCI Controller
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-LP Thermal subsystem (rev 21)
        Subsystem: Lenovo Sunrise Point-LP Thermal subsystem
        Kernel driver in use: intel_pch_thermal
        Kernel modules: intel_pch_thermal
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
        Subsystem: Lenovo Sunrise Point-LP Serial IO I2C Controller
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
        Subsystem: Lenovo Sunrise Point-LP Serial IO I2C Controller
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:15.2 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #2 (rev 21)
        Subsystem: Lenovo Sunrise Point-LP Serial IO I2C Controller
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
        Subsystem: Lenovo Sunrise Point-LP CSME HECI
        Kernel driver in use: mei_me
        Kernel modules: mei_me
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
        Kernel driver in use: pcieport
00:1c.2 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #3 (rev f1)
        Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
        Kernel driver in use: pcieport
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
        Kernel driver in use: pcieport
00:1e.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO UART Controller #0 (rev 21)
        Subsystem: Lenovo Sunrise Point-LP Serial IO UART Controller
        Kernel driver in use: intel-lpss
        Kernel modules: intel_lpss_pci
00:1f.0 ISA bridge: Intel Corporation Sunrise Point LPC Controller/eSPI Controller (rev 21)
        Subsystem: Lenovo Sunrise Point LPC Controller/eSPI Controller
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
        Subsystem: Lenovo Sunrise Point-LP PMC
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
        Subsystem: Lenovo Sunrise Point-LP HD Audio
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel, snd_soc_skl
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
        Subsystem: Lenovo Sunrise Point-LP SMBus
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801
3f:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
        Subsystem: Intel Corporation Dual Band Wireless-AC 8265
        Kernel modules: iwlwifi
40:00.0 Non-Volatile memory controller: Intel Corporation SSD 600P Series (rev 03)
        Subsystem: Intel Corporation SSD 600P Series
        Kernel driver in use: nvme
        Kernel modules: nvme

ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever

lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

uname -sr

Linux 5.11.0-38-generic

Большое спасибо за любую помощь или идеи. Я сделаю все возможное, чтобы быть отзывчивым и предоставить любую запрошенную информацию/и т.д.

Вывод запрошенной команды

inxi -n до сбоя

Network:   Device-1: Intel Wireless 8265 / 8275 driver: iwlwifi 
           IF: wlp63s0 state: up mac: ac:ed:5c:d9:2a:06 

inxi -n после сбоя

Network:   Device-1: Intel Wireless 8265 / 8275 driver: N/A

sudo dmesg | grep iwl перед сбоем

[    5.140125] iwlwifi 0000:3f:00.0: Found debug destination: EXTERNAL_DRAM
[    5.140130] iwlwifi 0000:3f:00.0: Found debug configuration: 0
[    5.140744] iwlwifi 0000:3f:00.0: loaded firmware version 36.77d01142.0 8265-36.ucode op_mode iwlmvm
[    5.184742] iwlwifi 0000:3f:00.0: Detected Intel(R) Dual Band Wireless AC 8265, REV=0x230
[    5.193588] iwlwifi 0000:3f:00.0: Applying debug destination EXTERNAL_DRAM
[    5.194155] iwlwifi 0000:3f:00.0: Allocated 0x00400000 bytes for firmware monitor.
[    5.250297] iwlwifi 0000:3f:00.0: base HW address: ac:ed:5c:d9:2a:06
[    5.325343] ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
[    5.340260] iwlwifi 0000:3f:00.0 wlp63s0: renamed from wlan0
[    5.861219] iwlwifi 0000:3f:00.0: Applying debug destination EXTERNAL_DRAM
[    5.994119] iwlwifi 0000:3f:00.0: Applying debug destination EXTERNAL_DRAM
[    6.061098] iwlwifi 0000:3f:00.0: FW already configured (0) - re-configuring

sudo dmesg | grep iwl после сбоя

[    6.141845] iwlwifi 0000:3f:00.0: FW already configured (0) - re-configuring
[  162.126250] iwlwifi 0000:3f:00.0: Error sending STATISTICS_CMD: time out after 2000ms.
[  162.126266] iwlwifi 0000:3f:00.0: Current CMD queue read_ptr 1 write_ptr 2
[  162.143880] WARNING: CPU: 2 PID: 549 at drivers/net/wireless/intel/iwlwifi/pcie/trans.c:2013 iwl_trans_pcie_grab_nic_access+0x1ab/0x1e0 [iwlwifi]
[  162.143896] Modules linked in: ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_soc_skl snd_soc_hdac_hda snd_hda_ext_core snd_soc_sst_ipc snd_soc_sst_dsp snd_soc_acpi_intel_match snd_soc_acpi snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec snd_hda_core snd_hwdep soundwire_bus snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_pcm snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq nls_iso8859_1 mei_hdcp iwlmvm mac80211 libarc4 intel_rapl_msr iwlwifi snd_seq_device snd_timer input_leds uvcvideo x86_pkg_temp_thermal hid_sensor_als intel_powerclamp videobuf2_vmalloc videobuf2_memops coretemp hid_sensor_accel_3d hid_sensor_trigger videobuf2_v4l2 rapl industrialio_triggered_buffer kfifo_buf intel_cstate snd wmi_bmof serio_raw videobuf2_common intel_wmi_thunderbolt hid_sensor_iio_common efi_pstore btusb btrtl cfg80211 industrialio btbcm
[  162.143987] RIP: 0010:iwl_trans_pcie_grab_nic_access+0x1ab/0x1e0 [iwlwifi]
[  162.144014]  iwl_write_prph_delay+0x41/0xb0 [iwlwifi]
[  162.144023]  iwl_force_nmi+0x59/0x60 [iwlwifi]
[  162.144030]  iwl_trans_pcie_sync_nmi+0x1f8/0x270 [iwlwifi]
[  162.144040]  iwl_pcie_send_hcmd_sync+0x2f0/0x390 [iwlwifi]
[  162.144051]  iwl_trans_pcie_send_hcmd+0x34/0xf0 [iwlwifi]
[  162.144060]  iwl_trans_send_cmd+0x55/0xc0 [iwlwifi]
[  162.144071]  iwl_mvm_send_cmd+0x1f/0x40 [iwlmvm]
[  162.144081]  iwl_mvm_request_statistics+0x72/0xd0 [iwlmvm]
[  162.144090]  iwl_mvm_mac_sta_statistics+0x17d/0x3c0 [iwlmvm]

[  162.144277] iwlwifi 0000:3f:00.0: iwlwifi transaction failed, dumping registers

[  162.162022] WARNING: CPU: 2 PID: 549 at drivers/net/wireless/intel/iwlwifi/mvm/../iwl-trans.h:1342 iwl_mvm_dump_lmac_error_log+0x4f7/0x550 [iwlmvm]
[  162.162118] RIP: 0010:iwl_mvm_dump_lmac_error_log+0x4f7/0x550 [iwlmvm]
[  162.162142]  iwl_mvm_dump_nic_error_log+0x28/0x130 [iwlmvm]
[  162.162150]  iwl_mvm_nic_error+0x35/0x40 [iwlmvm]
[  162.162158]  iwl_trans_pcie_sync_nmi+0xbf/0x270 [iwlwifi]
[  162.162170]  iwl_pcie_send_hcmd_sync+0x2f0/0x390 [iwlwifi]
[  162.162182]  iwl_trans_pcie_send_hcmd+0x34/0xf0 [iwlwifi]
[  162.162191]  iwl_trans_send_cmd+0x55/0xc0 [iwlwifi]
[  162.162201]  iwl_mvm_send_cmd+0x1f/0x40 [iwlmvm]
[  162.162209]  iwl_mvm_request_statistics+0x72/0xd0 [iwlmvm]
[  162.162217]  iwl_mvm_mac_sta_statistics+0x17d/0x3c0 [iwlmvm]

[  162.162394] iwlwifi 0000:3f:00.0: HW error, resetting before reading
[  162.220661] iwlwifi 0000:3f:00.0: Collecting data: trigger 2 fired.
[  164.833034] iwlwifi 0000:3f:00.0: Applying debug destination EXTERNAL_DRAM
[  164.937153] iwlwifi 0000:3f:00.0: Could not load the [0] uCode section
[  164.937159] iwlwifi 0000:3f:00.0: Failed to start INIT ucode: -5
[  164.937161] iwlwifi 0000:3f:00.0: Failed to run INIT ucode: -5
[  164.937163] iwlwifi 0000:3f:00.0: Failed to start RT ucode: -5
[  164.937174] iwlwifi 0000:3f:00.0: Collecting data: trigger 16 fired.

[  164.971939] WARNING: CPU: 2 PID: 39 at drivers/net/wireless/intel/iwlwifi/mvm/../iwl-trans.h:1342 iwl_mvm_dump_lmac_error_log+0x4f7/0x550 [iwlmvm]
[  164.972072] RIP: 0010:iwl_mvm_dump_lmac_error_log+0x4f7/0x550 [iwlmvm]
[  164.972099]  iwl_mvm_dump_nic_error_log+0x28/0x130 [iwlmvm]
[  164.972108]  iwl_mvm_nic_error+0x35/0x40 [iwlmvm]
[  164.972116]  iwl_trans_pcie_sync_nmi+0xbf/0x270 [iwlwifi]
[  164.972128]  ? iwl_fw_dbg_collect_desc+0xde/0x190 [iwlwifi]
[  164.972140]  iwl_fw_dbg_error_collect+0x59/0xc0 [iwlwifi]
[  164.972151]  iwl_mvm_up+0xf0/0xca0 [iwlmvm]
[  164.972185]  __iwl_mvm_mac_start+0x2b/0x180 [iwlmvm]
[  164.972193]  iwl_mvm_mac_start+0x2a/0x40 [iwlmvm]

[  165.030282] iwlwifi 0000:3f:00.0: Firmware error during reconfiguration - reprobe!

[  167.142128] iwlwifi 0000:3f:00.0: enabling device (0000 -> 0002)
[  167.142251] iwlwifi 0000:3f:00.0: HW_REV=0xFFFFFFFF, PCI issues?
[  167.142318] iwlwifi: probe of 0000:3f:00.0 failed with error -5

sudo journalctl -b 0 -u NetworkManager после сбоя

Oct 24 14:24:39 sanguine NetworkManager[542]: <info>  [1635099879.8878] ifupdown: management mode: unmanaged
Oct 24 14:24:39 sanguine NetworkManager[542]: <warn>  [1635099879.8880] ifupdown: interfaces file /etc/network/interfaces doesn't exist

Oct 24 14:24:39 sanguine NetworkManager[542]: <info>  [1635099879.8920] device (wlp63s0): driver supports Access Point (AP) mode
Oct 24 14:24:39 sanguine NetworkManager[542]: <info>  [1635099879.8927] manager: (wlp63s0): new 802.11 Wi-Fi device (/org/freedesktop/NetworkManager/Devices/2)
Oct 24 14:24:39 sanguine NetworkManager[542]: <info>  [1635099879.8964] device (wlp63s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 24 14:24:40 sanguine NetworkManager[542]: <warn>  [1635099880.1283] Error: failed to open /run/network/ifstate

Oct 24 14:24:40 sanguine NetworkManager[542]: <info>  [1635099880.2347] Wi-Fi P2P device controlled by interface wlp63s0 created
Oct 24 14:24:40 sanguine NetworkManager[542]: <info>  [1635099880.2353] manager: (p2p-dev-wlp63s0): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/3)
Oct 24 14:24:40 sanguine NetworkManager[542]: <info>  [1635099880.2362] device (p2p-dev-wlp63s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Oct 24 14:24:40 sanguine NetworkManager[542]: <info>  [1635099880.2381] device (p2p-dev-wlp63s0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Oct 24 14:24:40 sanguine NetworkManager[542]: <info>  [1635099880.2389] device (wlp63s0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Oct 24 14:24:40 sanguine NetworkManager[542]: <warn>  [1635099880.2437] sup-iface: failed to cancel p2p connect: P2P cancel failed
Oct 24 14:24:43 sanguine NetworkManager[542]: <info>  [1635099883.6603] policy: auto-activating connection 'Bard-secure' (836a0586-f3f8-4fea-8951-9373634d6567)
Oct 24 14:24:43 sanguine NetworkManager[542]: <info>  [1635099883.6608] device (wlp63s0): Activation: starting connection 'Bard-secure' (836a0586-f3f8-4fea-8951-9373634d6567)
Oct 24 14:24:43 sanguine NetworkManager[542]: <info>  [1635099883.6610] device (wlp63s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')

Oct 24 14:36:14 sanguine NetworkManager[542]: <warn>  [1635100574.8515] sup-iface[0x55611c431120,wlp63s0]: connection disconnected (reason -3)
Oct 24 14:36:14 sanguine NetworkManager[542]: <info>  [1635100574.8534] device (wlp63s0): state change: activated -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Oct 24 14:36:14 sanguine NetworkManager[542]: <info>  [1635100574.8851] dhcp4 (wlp63s0): canceled DHCP transaction
Oct 24 14:36:14 sanguine NetworkManager[542]: <info>  [1635100574.8852] dhcp4 (wlp63s0): state changed bound -> done
Oct 24 14:36:14 sanguine NetworkManager[542]: <info>  [1635100574.8948] manager: NetworkManager state is now DISCONNECTED
Oct 24 14:36:14 sanguine NetworkManager[542]: <info>  [1635100574.9042] device (p2p-dev-wlp63s0): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Oct 24 14:36:14 sanguine NetworkManager[542]: <info>  [1635100574.9068] radio killswitch /sys/devices/pci0000:00/0000:00:1c.5/0000:3f:00.0/ieee80211/phy0/rfkill3 disappeared
Oct 24 14:36:14 sanguine NetworkManager[542]: <warn>  [1635100574.9071] dns-sd-resolved[4cf74bac7d90a488]: send-updates failed to update systemd-resolved: GDBus.Error:org.freedesktop.resolve1.NoSuchLink: Link 2 not known
1
задан 23 October 2021 в 21:06

0 ответов

Другие вопросы по тегам:

Похожие вопросы: