我有一台 Dell 5510,上面安装了相当新版的 Xubuntu,安装后我进行了 dist-upgrade,但我认为从挂起状态恢复一直都不太好用。如果我在插入电源的情况下挂起并恢复,那么它总是可以正常工作,但是如果我在插入电源的情况下挂起然后拔掉电源,或者在未插入电源的情况下挂起然后插入电源,或者根本没有电源,那么它在唤醒时总是会重新启动。我试过:
- 根据 dell.com/support/home/us/en/04/product-support/product/precision-m5510-workstation/drivers 将 bios 更新至 1.4
- 尝试将 /etc/default/grub 更改为 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_sleep=nonvs"
- 从这里尝试了 fixbacklight 脚本:askubuntu.com/questions/820955/blank-screen-after-resume-dell-m5510-ubuntu-16-04
- 尝试确保在暂停之前亮度一直调高
- 尝试过 nvidia 和英特尔微码
- 最初安装了 displaylink,后来彻底删除了它
以下是系统进入睡眠状态时在 /var/log/syslogd 中看到的一些问题:
(我认为这并不重要,因为它遍布整个日志)
Oct 19 18:23:20 dusseldorf org.gtk.vfs.Daemon[1463]: ** (process:7800): WARNING **: Couldn't create directory monitor on smb://x-gnome-default-workgroup/. Error: The specified location is not mounted
(我不认为这会破坏暂停)
Oct 19 18:23:25 dusseldorf dhclient[10861]: receive_packet failed on enxd481d7504b08: Network is down
(也许?) 10 月 19 日 18:23:25 杜塞尔多夫内核:[8281.352711] xhci_hcd 0000:3e:00.0:主机停止失败,-19 10 月 19 日 18:23:25 杜塞尔多夫内核:[8281.352740] xhci_hcd 0000:3e:00.0:主机无法访问,重置失败。
Oct 19 18:23:25 dusseldorf NetworkManager[891]: <error> [1508451805.5517] platform-linux: do-change-link[4]: failure changing link: failure 19 (No such device)
Oct 19 18:23:25 dusseldorf NetworkManager[891]: <warn> [1508451805.5518] device (enxd481d7504b08): failed to disable userspace IPv6LL address handling
Oct 19 18:23:30 dusseldorf systemd-sleep[11638]: /lib/systemd/system-sleep/wpasupplicant failed with error code 254.
以下是我尝试恢复时在日志中看到的一些问题:
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/lib/udev/rules.d/71-nvidia.rules: No such file or directory
...
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/lib/systemd/system/nvidia-persistenced.service: No such file or directory
...
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/lib/modules/4.10.0-37-generic/updates/dkms/nvidia_375_modeset.ko: No such file or directory
Oct 20 10:21:04 dusseldorf rsyslogd-2039: Could not open output pipe '/dev/xconsole':: No such file or directory [v8.16.0 try http://www.rsyslog.com/e/2039 ]
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/lib/modules/4.10.0-37-generic/updates/dkms/nvidia_375.ko: No such file or directory
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/lib/modules/4.10.0-37-generic/updates/dkms/nvidia_375_drm.ko: No such file or directory
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/lib/modules/4.10.0-37-generic/updates/dkms/nvidia_375_uvm.ko: No such file or directory
...
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/sbin/create-uvm-dev-node: No such file or directory
Oct 20 10:21:04 dusseldorf rsyslogd-2007: action 'action 10' suspended, next retry is Fri Oct 20 10:21:34 2017 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/etc/apparmor.d/usr.sbin.ntpd: No such file or directory
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/etc/apparmor.d/tunables/ntpd: No such file or directory
Oct 20 10:21:04 dusseldorf ureadahead[299]: ureadahead:/etc/apparmor.d/local/usr.sbin.ntpd: No such file or directory
Oct 20 10:21:04 dusseldorf systemd[1]: Created slice system-systemd\x2dbacklight.slice.
重新启动之前的最后一行是:
Oct 20 10:21:04 dusseldorf systemd[1]: Starting Load/Save Screen Backlight Brightness of backlight:intel_backlight...
如果您对尝试什么方法以及如何解决此问题有任何建议,请告诉我。谢谢。
答案1
我也遇到了同样的问题。根据Dell XPS 15(9550)挂起后重新启动,我尝试完全关闭并重新启动。之后问题似乎消失了。