Wifi 导致整个系统锁定

Wifi 导致整个系统锁定

不确定这是否是发布此内容的最佳位置,但任何帮助都将不胜感激。我在笔记本电脑上运行 Ubuntu 时遇到问题。系统配置为:

  • Ubuntu 18.04.2 LTS(64 位)
  • 通用 HP 笔记本电脑(酷睿 i3-6006U,配备 120 GB SSD)
  • Realtek rtl8723be 无线适配器(这可能相关)

我遇到的问题是我的计算机会定期(大约每隔几个小时)完全冻结,它会随机挂起并且一切都变得没有响应(鼠标和键盘输入也变得没有响应),而恢复的唯一方法是“养大象”并完全重新启动计算机。

通过查看系统日志并查看崩溃发生前的最后日志消息,我推断问题与 Wifi 适配器(或可能是其驱动程序)有关。以下是我强制重启前的最后几条消息:

Apr 16 00:24:21 khurram-HP-Notebook NetworkManager[767]: <info>  [1555356260.0280] connectivity: (wlo1) timed out
Apr 16 00:24:22 khurram-HP-Notebook NetworkManager[767]: <info>  [1555356260.4204] manager: NetworkManager state is now CONNECTED_SITE
Apr 16 00:24:23 khurram-HP-Notebook dbus-daemon[741]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.11' (uid=0 pid=767 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")
Apr 16 00:24:24 khurram-HP-Notebook whoopsie[1355]: [00:24:22] offline
Apr 16 00:24:31 khurram-HP-Notebook systemd[1]: Starting Network Manager Script Dispatcher Service...
Apr 16 00:24:43 khurram-HP-Notebook whoopsie[1355]: [00:24:42] Cannot reach: https://daisy.ubuntu.com
Apr 16 00:28:24 khurram-HP-Notebook org.gnome.Shell.desktop[1547]: [10461:10849:0416/002819.804731:ERROR:get_updates_processor.cc(243)] PostClientToServerMessage() failed during GetUpdates
Apr 16 00:28:31 khurram-HP-Notebook kernel: [27588.502173] rtlwifi: AP off, try to reconnect now
Apr 16 00:28:31 khurram-HP-Notebook kernel: [27588.502186] wlo1: Connection to AP 48:57:02:1c:f1:90 lost
Apr 16 00:28:39 khurram-HP-Notebook wpa_supplicant[754]: wlo1: CTRL-EVENT-DISCONNECTED bssid=48:57:02:1c:f1:90 reason=4 locally_generated=1
Apr 16 00:28:40 khurram-HP-Notebook NetworkManager[767]: <warn>  [1555356520.1564] sup-iface[0x5561743faa40,wlo1]: connection disconnected (reason -4)
Apr 16 00:28:41 khurram-HP-Notebook NetworkManager[767]: <info>  [1555356521.3787] device (wlo1): supplicant interface state: completed -> scanning
Apr 16 00:28:42 khurram-HP-Notebook wpa_supplicant[754]: wlo1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Apr 16 00:28:43 khurram-HP-Notebook systemd[1]: NetworkManager-dispatcher.service: Start operation timed out. Terminating.
Apr 16 00:28:44 khurram-HP-Notebook systemd[1]: NetworkManager-dispatcher.service: Failed with result 'timeout'.
Apr 16 00:28:48 khurram-HP-Notebook systemd[1]: Failed to start Network Manager Script Dispatcher Service.
Apr 16 00:29:42 khurram-HP-Notebook NetworkManager[767]: <info>  [1555356574.2820] connectivity: (wlo1) timed out
Apr 16 00:29:51 khurram-HP-Notebook wpa_supplicant[754]: wlo1: SME: Trying to authenticate with 48:57:02:1c:f1:90 (SSID='Khuram-SF' freq=2412 MHz)
Apr 16 00:29:53 khurram-HP-Notebook NetworkManager[767]: <info>  [1555356592.8511] device (wlo1): supplicant interface state: scanning -> authenticating
Apr 16 00:29:55 khurram-HP-Notebook NetworkManager[767]: <info>  [1555356594.8499] device (wlo1): supplicant interface state: authenticating -> disconnected
Apr 16 00:31:46 khurram-HP-Notebook wpa_supplicant[754]: wlo1: SME: Trying to authenticate with 48:57:02:1c:f1:90 (SSID='Khuram-SF' freq=2412 MHz)
Apr 16 00:33:25 khurram-HP-Notebook /usr/lib/gdm3/gdm-x-session[1387]: (EE) client bug: timer event3 tap: offset negative (-1897ms)
Apr 16 00:33:34 khurram-HP-Notebook kernel: [27891.449923] sysrq: SysRq : This sysrq operation is disabled.

系统锁定开始于 00:31:46 左右,此时出现了与尝试进行身份验证相关的消息。我认为最后两条消息与输入控制器死机和我输入 magic sysreq 命令有关。日志中的下一条消息是启动时显示的微代码。

我还确认了 wifi 控制器的确问题。禁用它并通过有线以太网连接后,所有问题都解决了。

以下是无线控制器的硬件信息:

  *-network        
       description: Ethernet interface
       product: RTL810xE PCI Express Fast Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:01:00.0
       logical name: enp1s0
       version: 07
       serial: 3c:52:82:b5:89:5d
       size: 100Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8106e-1_0.0.1 06/29/12 ip=192.168.18.18 latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       resources: irq:16 ioport:4000(size=256) memory:b1200000-b1200fff memory:b1000000-b1003fff
  *-network DISABLED
       description: Wireless interface
       product: RTL8723BE PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlo1
       version: 00
       serial: 3c:95:09:a1:f2:ed
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8723be driverversion=4.18.0-17-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:17 ioport:3000(size=256) memory:b1100000-b1103fff

lspci 的结果

00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers (rev 08)
00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 08)
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:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1c.5 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #6 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC 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)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 07)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter

我不确定还要看什么。谷歌搜索这个问题没有找到太多结果——显然这个无线适配器曾经出现过信号强度问题,而这些是我得到的唯一结果。任何帮助都将不胜感激

相关内容