Ubuntu GNOME - Wifi 导致 shell(可能还有计算机)冻结

Ubuntu GNOME - Wifi 导致 shell(可能还有计算机)冻结

我在联想 ideapad 700 笔记本电脑上使用安装了 Ubuntu 16.04 和 gnome 桌面。

我学习的环境的 wifi 连接相当不稳定,这意味着它经常断线,但 10-20 秒后又可以重新连接。问题是,它并不总是能正确地重新连接,但重新启动 wifi 模块似乎可以解决这个问题,但它会冻结整个系统,直到重新启动完成。

系统日志中冻结期间没有相关的警告/错误,只有 wifi 驱动程序信息(连接/身份验证等),所以一切都应该正常,但是驱动程序锁定了系统,重新启动 NetworkManager 也有类似的效果,使计算机至少一分钟内无法使用。

这是wifi驱动程序问题,还是外壳问题,或者是其他问题?

编辑:这是冻结期间的尾随系统日志:

Apr  8 12:50:15 FeckaLaptop wpa_supplicant[1251]: wlp2s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1
Apr  8 12:51:19 FeckaLaptop wpa_supplicant[1251]: message repeated 64 times: [ wlp2s0: CTRL-EVENT-SCAN-FAILED ret=-16 retry=1]
Apr  8 12:51:19 FeckaLaptop NetworkManager[1007]: <info>  [1491648679.2346] device (wlp2s0): state change: activated -> deactivating (reason 'user-requested') [100 110 39]
Apr  8 12:51:19 FeckaLaptop NetworkManager[1007]: <info>  [1491648679.2349] manager: NetworkManager state is now CONNECTED_LOCAL
Apr  8 12:51:19 FeckaLaptop whoopsie[987]: [12:51:19] offline
Apr  8 12:51:19 FeckaLaptop NetworkManager[1007]: <info>  [1491648679.2465] audit: op="device-disconnect" interface="wlp2s0" ifindex=3 pid=6623 uid=1000 result="success"
Apr  8 12:51:19 FeckaLaptop NetworkManager[1007]: <info>  [1491648679.2496] device (wlp2s0): state change: deactivating -> disconnected (reason 'user-requested') [110 30 39]
Apr  8 12:51:19 FeckaLaptop avahi-daemon[1000]: Withdrawing address record for fe80::97d7:a95a:ff34:10d5 on wlp2s0.
Apr  8 12:51:19 FeckaLaptop avahi-daemon[1000]: Leaving mDNS multicast group on interface wlp2s0.IPv6 with address fe80::97d7:a95a:ff34:10d5.
Apr  8 12:51:19 FeckaLaptop avahi-daemon[1000]: Interface wlp2s0.IPv6 no longer relevant for mDNS.
Apr  8 12:51:19 FeckaLaptop NetworkManager[1007]: <info>  [1491648679.2877] dhcp4 (wlp2s0): canceled DHCP transaction, DHCP client pid 8652
Apr  8 12:51:19 FeckaLaptop NetworkManager[1007]: <info>  [1491648679.2878] dhcp4 (wlp2s0): state changed bound -> done
Apr  8 12:51:19 FeckaLaptop NetworkManager[1007]: <info>  [1491648679.2881] dhcp6 (wlp2s0): canceled DHCP transaction
Apr  8 12:51:19 FeckaLaptop avahi-daemon[1000]: Withdrawing address record for 192.168.1.74 on wlp2s0.
Apr  8 12:51:19 FeckaLaptop avahi-daemon[1000]: Leaving mDNS multicast group on interface wlp2s0.IPv4 with address 192.168.1.74.
Apr  8 12:51:19 FeckaLaptop kernel: [ 2791.203861] wlp2s0: deauthenticating from 00:0e:8f:40:7c:84 by local choice (Reason: 3=DEAUTH_LEAVING)
Apr  8 12:51:36 FeckaLaptop wpa_supplicant[1251]: wlp2s0: CTRL-EVENT-DISCONNECTED bssid=00:0e:8f:40:7c:84 reason=3 locally_generated=1
Apr  8 12:51:36 FeckaLaptop wpa_supplicant[1251]: wlp2s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Apr  8 12:51:36 FeckaLaptop NetworkManager[1007]: <info>  [1491648696.4422] dns-mgr: Writing DNS information to /sbin/resolvconf
Apr  8 12:51:36 FeckaLaptop dnsmasq[1687]: setting upstream servers from DBus
Apr  8 12:51:36 FeckaLaptop dnsmasq[1687]: using nameserver fe80::1%wlp2s0#53
Apr  8 12:51:36 FeckaLaptop avahi-daemon[1000]: Interface wlp2s0.IPv4 no longer relevant for mDNS.
Apr  8 12:51:36 FeckaLaptop gnome-session[6573]: (gnome-shell:6623): Gjs-WARNING **: JS ERROR: Gio.ResolverError: Error resolving 'openweathermap.org': Name or service not known
Apr  8 12:51:36 FeckaLaptop gnome-session[6573]: OpenweatherMenuButton<._asyncReadyCallback@/home/fecka/.local/share/gnome-shell/extensions/[email protected]/extension.js:521
Apr  8 12:51:36 FeckaLaptop gnome-session[6573]: wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Apr  8 12:51:36 FeckaLaptop dnsmasq[1142]: reading /etc/resolv.conf
Apr  8 12:51:36 FeckaLaptop dnsmasq[1142]: using nameserver 127.0.1.1#53
Apr  8 12:51:36 FeckaLaptop NetworkManager[1007]: <info>  [1491648696.4750] dns-mgr: Writing DNS information to /sbin/resolvconf
Apr  8 12:51:36 FeckaLaptop dnsmasq[1687]: setting upstream servers from DBus
Apr  8 12:51:36 FeckaLaptop dbus[956]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Apr  8 12:51:36 FeckaLaptop systemd[1]: Starting Network Manager Script Dispatcher Service...
Apr  8 12:51:36 FeckaLaptop dbus[956]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Apr  8 12:51:36 FeckaLaptop systemd[1]: Started Network Manager Script Dispatcher Service.
Apr  8 12:51:36 FeckaLaptop nm-dispatcher: req:1 'down' [wlp2s0]: new request (1 scripts)
Apr  8 12:51:36 FeckaLaptop nm-dispatcher: req:1 'down' [wlp2s0]: start running ordered scripts...
Apr  8 12:51:36 FeckaLaptop gnome-session[6573]: (gnome-shell:6623): Gjs-WARNING **: JS ERROR: Gio.ResolverError: Error resolving 'openweathermap.org': Name or service not known
Apr  8 12:51:36 FeckaLaptop gnome-session[6573]: OpenweatherMenuButton<._asyncReadyCallback@/home/fecka/.local/share/gnome-shell/extensions/[email protected]/extension.js:521
Apr  8 12:51:36 FeckaLaptop gnome-session[6573]: wrapper@resource:///org/gnome/gjs/modules/lang.js:178
Apr  8 12:51:36 FeckaLaptop NetworkManager[1007]: <warn>  [1491648696.5049] sup-iface[0x2184090,wlp2s0]: connection disconnected (reason -3)
Apr  8 12:51:36 FeckaLaptop NetworkManager[1007]: <info>  [1491648696.5051] device (wlp2s0): supplicant interface state: completed -> disconnected
Apr  8 12:51:39 FeckaLaptop whoopsie[987]: [12:51:39] Cannot reach: https://daisy.ubuntu.com
Apr  8 12:51:47 FeckaLaptop wpa_supplicant[1251]: wlp2s0: Reject scan trigger since one is already pending
Apr  8 12:51:47 FeckaLaptop whoopsie[987]: [12:51:47] Cannot reach: https://daisy.ubuntu.com
Apr  8 12:51:47 FeckaLaptop gnome-session[6573]: (gnome-shell:6623): Gjs-WARNING **: JS ERROR: Gio.ResolverError: Error resolving 'openweathermap.org': Name or service not known
Apr  8 12:51:47 FeckaLaptop gnome-session[6573]: OpenweatherMenuButton<._asyncReadyCallback@/home/fecka/.local/share/gnome-shell/extensions/[email protected]/extension.js:521
Apr  8 12:51:47 FeckaLaptop gnome-session[6573]: wrapper@resource:///org/gnome/gjs/modules/lang.js:178

根据要求,这里有更多信息:

02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
    Subsystem: Lenovo RTL8821AE 802.11ac PCIe Wireless Network Adapter [17aa:a814]
    Kernel driver in use: rtl8821ae

答案1

是原装驱动程序导致系统冻结,现在我正在使用 lwfinger 的驱动程序(https://github.com/lwfinger/rtlwifi_new),现在运行正常。

相关内容