使用 Kubuntu 16.04 系统后,我不再能够暂停到 RAM。这个功能以前一直有效,但几周前就停止了。非常烦人。我猜是某个更新搞砸了。
更新:即使从头开始安装 18.04.1,问题仍然存在。仍然无法暂停。
尝试通过 KDE 菜单暂停,KDE 停止,我永远看到鼠标指针停留在黑屏上。切换到控制台,系统日志告诉我
- NetworkManager 进入睡眠状态,
- 出现了 whoopsie,但无法访问 daisy.ubuntu.com。
- systemd 达到目标睡眠并开始挂起,达到计时器、路径、套接字、基本系统和默认。
- 内核尝试同步文件系统,这导致
- nfs 服务器没有响应。
- ksmserver 抱怨被阻塞了超过 120 秒。
有人能帮我吗?如果我遗漏了什么,系统日志会跟进。
avahi-daemon[972]: Withdrawing address record for 192.168.2.30 on enp3s0.
avahi-daemon[972]: Leaving mDNS multicast group on interface enp3s0.IPv4 with address 192.168.2.30.
avahi-daemon[972]: Interface enp3s0.IPv4 no longer relevant for mDNS.
dnsmasq[1091]: vorgelagerte Server von DBus gesetzt
dbus[956]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher
.service'
NetworkManager[961]: <info> [1532090369.8150] device (enp3s0): state change: disconnected -> unmanaged (reason 'sleeping') [30 1
0 37]
systemd[1]: Starting Network Manager Script Dispatcher Service...
dbus[956]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
systemd[1]: Started Network Manager Script Dispatcher Service.
nm-dispatcher: req:1 'down' [enp3s0]: new request (1 scripts)
nm-dispatcher: req:1 'down' [enp3s0]: start running ordered scripts...
NetworkManager[961]: <info> [1532090369.8403] device (enp3s0): link disconnected
whoopsie[1250]: [14:39:34] Cannot reach: https://daisy.ubuntu.com
whoopsie[1250]: [14:39:34] Cannot reach: https://daisy.ubuntu.com
acpid: client 1386[0:0] has disconnected
systemd[1]: Reached target Sleep.
systemd[1]: Starting Suspend...
systemd-sleep[9497]: Failed to connect to non-global ctrl_ifname: (nil) error: No such file or directory
systemd-sleep[9498]: /lib/systemd/system-sleep/wpasupplicant failed with error code 255.
systemd-sleep[9497]: Suspending system...
kernel: [17527.365778] PM: suspend entry (deep)
org.kde.KScreen[2039]: kscreen: Primary output changed from KScreen::Output(Id: 448 , Name: "HDMI-0" ) ( "HDMI-0" ) to KScreen::O
org.kde.KScreen[2039]: kscreen: Primary output changed from KScreen::Output(Id: 448 , Name: "HDMI-0" ) ( "HDMI-0" ) to KScreen::Output(Id: 448 , Name: "HDMI-0" ) ( "HDMI-0" )
org.kde.KScreen[2039]: message repeated 3 times: [ kscreen: Primary output changed from KScreen::Output(Id: 448 , Name: "HDMI-0" ) ( "HDMI-0" ) to KScreen::Output(Id: 448 , Name: "HDMI-0" ) ( "HDMI-0" )]
systemd[9560]: Reached target Timers.
systemd[9560]: Reached target Paths.
systemd[9560]: Reached target Sockets.
systemd[9560]: Reached target Basic System.
systemd[9560]: Reached target Default.
systemd[9560]: Startup finished in 16ms.
systemd[1]: Requested transaction contradicts existing jobs: Transaction is destructive.
kernel: [17527.365780] PM: Syncing filesystems ...
kernel: [17704.242663] nfs: server centaurus not responding, still trying
答案1
不管是什么问题,在过去 8 个月内部署更新后,问题就消失了。问题不再存在。