Sei que existem outras perguntas semelhantes, mas darei mais detalhes sobre o problema.
Quando tento desligar / reiniciar, o sistema trava para sempre. Isso ocorre no Ubuntu 16.04 64bit. Aparece na mesma máquina em um Kubuntu atualizado (14.04 »16.04), em um Lubuntu 16.04 instalado recentemente e em um evento em um CD ao vivo (iso inicializado do disco rígido com grml-rescue).
Ele será ativado se eu desligar / reiniciar a partir do ambiente da área de trabalho e se fizer isso a partir do terminal.
O problema não está aparecendo em um Ubuntu 14.04 instalado no mesmo disco rígido.
fdisk
Eu tentei executar um fdisk na partição, mas nenhum erro foi encontrado.
irqpoll
Eu tentei adicionar o irqpoll
parâmetro para a inicialização do sistema
linux /boot/vmlinuz-4.4.0-31-generic root=UUID=c50c612d-813b-4e76-a6d0-92e697658b7a ro irqpoll $vt_handoff
bios usb3
Alguém resolveu desativando o suporte a USB3 legado na BIOS, mas minha placa-mãe é muito antiga, não tenho suporte a USB3 na BIOS
systemctl e swap
Esta resposta /ubuntu//a/769953/23130 falou sobre 2 possíveis problemas: systemctl e swap
sudo swapoff
sudo systemctl reboot
mas nenhum dos trabalhos temáticos
depuração de desligamento
a resposta anterior apontou para uma discussão interessante no Launchpad https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1464917
onde há um texto introdutório que diz:
Se estiver com um desligamento interrompido, envie um relatório de erro separado e siga as instruções de depuração descritas na seção "Depurando problemas de inicialização / desligamento" em /usr/share/doc/systemd/README.Debian.gz para verificar se há quaisquer trabalhos suspensos no desligamento. Capturar uma foto da tela "journalctl -b" no shell de resgate pode ser esclarecedor.
Portanto, as instruções de depuração dizem para
sudo systemctl enable debug-shell
sudo halt
quando o desligamento for interrompido, você terá um console no VT9, CTRL+ALT+F9onde poderá
systemctl
encontrar unidades com o estado ativo
systemctl list-jobs
todos os trabalhos indicados são com o estado de espera , o único com o estado de funcionamento é upower.service
o que está em negrito.
Então, desliguei o PC e comecei novamente, agora em um terminal que fiz
sudo systemctl list-jobs
A saída é
JOB UNIT TYPE STATE
1341 upower.service start running
1 jobs listed.
então tentei desligá-lo e desativá-lo para o futuro
sudo systemctl stop upower.service
sudo systemctl disable upower.service
sudo systemctl mask upower.service
Eu tentei novamente derrubar, com o console de depuração
sudo systemctl enable debug-shell
sudo halt
mas o desligamento congela como de costume, e agora não consigo acessar o shell de depuração.
Inicializando sem as opções silenciosas do grub splash , posso ver que o desligamento está suspenso na linha de saída
Reached target Shutdown
Estas são as linhas do syslog sobre o desligamento
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
Esta é a minha saída lshw
Alguém pode me ajudar? Para mim, é inacreditável que um bug tão grave afete um LTS.
nomodeset
. Você pode adicionar sudo lshw -sanitize
à pergunta por nos fornecer todo o hardware envolvido.
nomodeset
mas infelizmente isso não ajuda. Anexei o meu lshw
sobre a questão