我知道还有其他类似的问题,但是我将提供有关该问题的更多详细信息。
当我尝试关闭/重新启动时,系统将永远挂起。这适用于Ubuntu 16.04 64位。它适用于升级后的Kubuntu(14.04»16.04)上的同一台计算机上,新安装的Lubuntu 16.04上的同一台计算机上,以及活动CD上的事件(从带有grml-rescue的硬盘引导的iso)上。
如果我是从桌面环境关闭/重新启动,还是从终端上重新启动,它就会显示出来。
在同一硬盘上安装的Ubuntu 14.04上未出现此问题。
磁盘
我尝试在分区上运行fdisk,但未发现任何错误。
irqpoll
我尝试将irqpoll
参数添加到系统引导中
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c50c612d-813b-4e76-a6d0-92e697658b7a ro irqpoll $vt_handoff
BIOS USB3
有人通过关闭BIOS上的USB3旧支持解决了问题,但是我的主板很旧,我没有BIOS上的USB3支持。
systemctl和交换
这个答案/ubuntu//a/769953/23130 谈到了2个可能的问题:systemctl和swap
sudo swapoff
sudo systemctl reboot
但没有主题作品
关机调试
先前的答案指向了一个有趣的Launchpad讨论 https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917
在介绍性文字中显示:
如果遇到挂起挂起,请提交单独的错误报告,并按照/usr/share/doc/systemd/README.Debian.gz的“调试启动/关闭问题”部分中描述的调试说明进行检查。关闭时所有挂起的作业。在救援外壳中捕获“ journalctl -b”的屏幕照片可能很有启发。
因此,调试说明说
sudo systemctl enable debug-shell
sudo halt
那么当关闭挂起时CTRL+ALT+F9,您可以在VT9 上拥有一个控制台
systemctl
寻找活跃状态的单位
systemctl list-jobs
列出所有的工作都是与国家的等待,唯一一个状态运行是upower.service
这是大胆的。
所以我关闭了PC的电源,然后再次启动,现在在终端中
sudo systemctl list-jobs
输出是
JOB UNIT TYPE STATE
1341 upower.service start running
1 jobs listed.
所以我试图关闭它并在以后禁用它
sudo systemctl stop upower.service
sudo systemctl disable upower.service
sudo systemctl mask upower.service
然后,我再次尝试使用调试控制台进行击落
sudo systemctl enable debug-shell
sudo halt
但是关机照常冻结,再加上现在我什至无法访问调试外壳。
在没有安静的启动 grub选项的情况下启动,我可以看到关闭在输出行上挂起
Reached target Shutdown
这些是有关关机的系统日志行
Aug 5 11:45:12 pc-dev udisksd[2930]: Mounted /dev/sdc1 at /media/luca/TOSHIBA EXT on behalf of uid 1000
Aug 5 11:45:12 pc-dev ntfs-3g[3141]: Version 2015.3.14AR.1 integrated FUSE 28
Aug 5 11:45:12 pc-dev ntfs-3g[3141]: Mounted /dev/sdc1 (Read-Write, label "TOSHIBA EXT", NTFS 3.1)
Aug 5 11:45:12 pc-dev ntfs-3g[3141]: Cmdline options: rw,nodev,nosuid,uid=1000,gid=1000,uhelper=udisks2
Aug 5 11:45:12 pc-dev ntfs-3g[3141]: Mount options: rw,nodev,nosuid,uhelper=udisks2,allow_other,nonempty,relatime,default_permissions,fsname=/dev/sdc1,blkdev,blksize=4096
Aug 5 11:45:12 pc-dev ntfs-3g[3141]: Global ownership and permissions enforced, configuration type 7
Aug 5 11:45:16 pc-dev com.canonical.indicator.application[2749]: (process:3129): indicator-application-service-WARNING **: Application already exists, re-requesting properties.
Aug 5 11:45:19 pc-dev systemd[1]: Started Daemon for generating UUIDs.
Aug 5 11:45:28 pc-dev spideroak_inotify[3253]: Program started
Aug 5 11:45:36 pc-dev systemd[1]: Starting Stop ureadahead data collection...
Aug 5 11:45:36 pc-dev systemd[1]: Stopped Read required files in advance.
Aug 5 11:45:36 pc-dev systemd[1]: Started Stop ureadahead data collection.
Aug 5 11:45:40 pc-dev systemd[1]: Started Early root shell on /dev/tty9 FOR DEBUGGING ONLY.
Aug 5 11:45:53 pc-dev systemd[1]: Stopped target Sound Card.
Aug 5 11:45:53 pc-dev systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Aug 5 11:45:53 pc-dev systemd[1]: Stopped target Timers.
Aug 5 11:45:53 pc-dev systemd[1]: Stopped Daily apt activities.
Aug 5 11:45:53 pc-dev systemd[1]: Stopped Daily Cleanup of Temporary Directories.
Aug 5 11:45:53 pc-dev systemd[1]: Stopped Stop ureadahead data collection 45s after completed startup.
Aug 5 11:45:53 pc-dev systemd[1]: Stopped target Graphical Interface.
Aug 5 11:45:53 pc-dev org.freedesktop.Notifications[2749]: xfce4-notifyd: Fatal IO error 11 (Risorsa temporaneamente non disponibile) on X server :0.
Aug 5 11:45:53 pc-dev systemd[1]: Stopping Light Display Manager...
Aug 5 11:45:53 pc-dev systemd[1]: Stopping Accounts Service...
Aug 5 11:45:53 pc-dev ntfs-3g[3141]: Unmounting /dev/sdc1 (TOSHIBA EXT)
Aug 5 11:45:53 pc-dev systemd[1]: Stopping Disk Manager...
Aug 5 11:45:53 pc-dev ModemManager[2245]: <info> Caught signal, shutting down...
Aug 5 11:45:53 pc-dev systemd[1]: Stopping Daemon for power management...
Aug 5 11:45:53 pc-dev systemd[1]: Stopped target System Time Synchronized.
Aug 5 11:45:53 pc-dev dbus[2266]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkitd.service'
Aug 5 11:45:53 pc-dev systemd[1]: Stopping User Manager for UID 1000...
Aug 5 11:45:53 pc-dev rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="2228" x-info="http://www.rsyslog.com"] exiting on signal 15.
Aug 5 11:48:26 pc-dev rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="2232" x-info="http://www.rsyslog.com"] start
Aug 5 11:48:26 pc-dev rsyslogd-2222: command 'KLogPermitNonKernelFacility' is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try http://www.rsyslog.com/e/2222 ]
Aug 5 11:48:26 pc-dev rsyslogd: rsyslogd's groupid changed to 108
Aug 5 11:48:26 pc-dev rsyslogd: rsyslogd's userid changed to 104
Aug 5 11:48:26 pc-dev loadkeys[764]: Caricamento di /etc/console-setup/cached.kmap.gz
Aug 5 11:48:26 pc-dev systemd[1]: Started Set console keymap.
Aug 5 11:48:26 pc-dev systemd[1]: Started Create Static Device Nodes in /dev.
Aug 5 11:48:26 pc-dev systemd[1]: Starting udev Kernel Device Manager...
Aug 5 11:48:26 pc-dev systemd[1]: Started Uncomplicated firewall.
Aug 5 11:48:26 pc-dev systemd[1]: Started udev Kernel Device Manager.
Aug 5 11:48:26 pc-dev systemd[1]: Starting Remount Root and Kernel File Systems...
Aug 5 11:48:26 pc-dev systemd[1]: Started Remount Root and Kernel File Systems.
Aug 5 11:48:26 pc-dev systemd[1]: Starting Flush Journal to Persistent Storage...
Aug 5 11:48:26 pc-dev systemd[1]: Reached target Local File Systems (Pre).
Aug 5 11:48:26 pc-dev systemd[1]: Reached target Local File Systems.
Aug 5 11:48:26 pc-dev systemd[1]: Starting Tell Plymouth To Write Out Runtime Data...
Aug 5 11:48:26 pc-dev systemd[1]: Starting LSB: AppArmor initialization...
Aug 5 11:48:26 pc-dev systemd[1]: Starting Set console font and keymap...
Aug 5 11:48:26 pc-dev systemd[1]: Starting udev Coldplug all Devices...
Aug 5 11:48:26 pc-dev systemd[1]: Starting Load/Save Random Seed...
Aug 5 11:48:26 pc-dev systemd[1]: Started Tell Plymouth To Write Out Runtime Data.
Aug 5 11:48:26 pc-dev systemd[1]: Started Load/Save Random Seed.
Aug 5 11:48:26 pc-dev systemd[1]: Started Flush Journal to Persistent Storage.
Aug 5 11:48:26 pc-dev systemd[1]: Starting Create Volatile Files and Directories...
Aug 5 11:48:26 pc-dev systemd-tmpfiles[958]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
Aug 5 11:48:26 pc-dev systemd[1]: Started udev Coldplug all Devices.
Aug 5 11:48:26 pc-dev systemd[1]: Starting Show Plymouth Boot Screen...
Aug 5 11:48:26 pc-dev kernel: [ 0.000000] Initializing cgroup subsys cpuset
Aug 5 11:48:26 pc-dev apparmor[943]: * Starting AppArmor profiles
Aug 5 11:48:26 pc-dev kernel: [ 0.000000] Initializing cgroup subsys cpu
Aug 5 11:48:26 pc-dev kernel: [ 0.000000] Initializing cgroup subsys cpuacct
这是我的lshw输出
有人能帮我吗?在我看来,如此严重的错误会影响LTS。
nomodeset
。您可以添加sudo lshw -sanitize
问题以提供给我们完整的硬件。
nomodeset
它引导,但是不幸的是它没有帮助。我已经附上我lshw
的问题了