在经历了随机系统冻结之后,我认为问题已经缩小到 Wi-Fi 网络。每次我的机器启动并运行超过 24 小时后,它似乎都会崩溃,最后的日志条目表明它与网络有关。当我手动更改 Wi-Fi 网络时也会发生这种情况。冻结会停止一切 - 鼠标不动,外部驱动器停止加载数据,我无法ctrl+alt+f2
或ctrl+alt+backspace
重新订阅在系统上。主板是华硕 X99-PRO安装了最新的 BIOS 3301。
尾巴kern.log
:
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3002] dhcp4 (wlp5s0): state changed unknown -> bound
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3020] device (wlp5s0): state change: ip-config -> ip-check (reason 'none') [70 80 0]
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3025] device (wlp5s0): state change: ip-check -> secondaries (reason 'none') [80 90 0]
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3031] device (wlp5s0): state change: secondaries -> activated (reason 'none') [90 100 0]
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3033] manager: NetworkManager state is now CONNECTED_LOCAL
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3224] manager: NetworkManager state is now CONNECTED_GLOBAL
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3225] policy: set 'my_network' (wlp5s0) as default for IPv4 routing and DNS
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3392] DNS: starting dnsmasq...
Sep 5 21:42:37 nnx NetworkManager[30306]: <warn> [1473104557.3403] dnsmasq[0x1f7a840]: dnsmasq not found on the bus. The nameserver update will be sent when dnsmasq appears
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3403] dns-mgr: Writing DNS information to /sbin/resolvconf
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3876] device (wlp5s0): Activation: successful, device activated.
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3880] manager: startup complete
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3924] dnsmasq[0x1f7a840]: dnsmasq appeared as :1.162
Sep 5 21:42:37 nnx NetworkManager[30306]: <info> [1473104557.3925] dns-mgr: Writing DNS information to /sbin/resolvconf
Sep 5 21:42:42 nnx NetworkManager[30306]: <info> [1473104562.2120] WiFi hardware radio set enabled
Sep 5 21:42:42 nnx NetworkManager[30306]: <info> [1473104562.2120] WWAN hardware radio set enabled
以下是来自的同一部分(按时间)syslog
:
Sep 5 21:42:37 nnx whoopsie[4298]: [21:42:37] Not a paid data plan: /org/freedesktop/NetworkManager/ActiveConnection/1
Sep 5 21:42:37 nnx whoopsie[4298]: [21:42:37] Found usable connection: /org/freedesktop/NetworkManager/ActiveConnection/1
Sep 5 21:42:37 nnx systemd[1]: Reloading OpenBSD Secure Shell server.
Sep 5 21:42:37 nnx systemd[1]: Reloaded OpenBSD Secure Shell server.
Sep 5 21:42:37 nnx systemd[1]: Reloading OpenBSD Secure Shell server.
Sep 5 21:42:37 nnx systemd[1]: Reloaded OpenBSD Secure Shell server.
Sep 5 21:42:38 nnx gnome-session[5363]: (deja-dup-monitor:6110): GLib-CRITICAL **: Source ID 233 was not found when attempting to remove it
Sep 5 21:42:38 nnx whoopsie[4298]: [21:42:38] online
Sep 5 21:42:38 nnx avahi-daemon[4267]: Joining mDNS multicast group on interface wlp5s0.IPv6 with address xxx::xxx:aaa:aaa:bbb.
Sep 5 21:42:38 nnx avahi-daemon[4267]: New relevant interface wlp5s0.IPv6 for mDNS.
Sep 5 21:42:38 nnx avahi-daemon[4267]: Registering new address record for fe80::62da:f2c5:93bc:298f on wlp5s0.*.
Sep 5 21:42:42 nnx NetworkManager[30306]: <info> [1473104562.2120] WiFi hardware radio set enabled
Sep 5 21:42:42 nnx NetworkManager[30306]: <info> [1473104562.2120] WWAN hardware radio set enabled
目前dmesg
是空的。我还进行了内存检查,没有任何错误。我还重新安装了 16.04,并确保一切都是最新的。
我最近尝试关闭服务sudo service network-manager stop
,然后系统运行正常。大约 30 分钟后,我再次打开它,它崩溃了,并报告了上述情况。
问题:除了获得 USB-WiFi 加密狗之外,还有什么想法为什么会发生这种情况吗?是我遗漏了什么吗,还是这是 X99-PRO 附带的板载 Wi-Fi 的一个错误?
答案1
几个月来我一直在努力解决死机问题。尝试了各种方法。其他内核。nvidea 的一些功能。安装 WICD 等等。
一天前,我在一篇文章中看到一条小评论:
删除 modemmanager
sudo apt remove modemmanager
这对我来说很有效。
我正在使用 MacBookPro 2012。
希望它也能帮助其他人。
来源:[NetworkManager 守护进程挂起计算机。][1]
答案2
我在使用 BIOS 版本 3502 的华硕 X99-E WS 主板时遇到了几乎相同的问题。崩溃与 kern.log 尾部描述的完全相同。我通过以下方式禁用 Networkmanager:
sudo systemctl stop NetworkManager.service
到目前为止一切正常(4 天)