Device or resource busy ao desligar

perguntadas 2017-03-23 07:46:52 -0500

imagem do gravatar de lhsm

Eu estou tendo um problema com meu Fedora 25 workstation no meu laptop (Dell Vostro 5480 topo de linha com SSD com LVM e Luks). Esse problema ocorre frequentemente, mas não todas as vezes, e quando ocorre, eu tenho que desligar manualmente a máquina forçando o botão de desligar.

Problem

Eu nunca descobri qual o problema, mas ele já ocorria antes no Debian, Ubuntu e no Arch. Eu suspeito que seja um problema na hora de parar os serviços, tipo o postgresql e o bumblebee com drivers proprietários, mas nunca consegui confirmar, pois não sei ver os logs do service pra ver se todos estão sendo desligados corretamente...

Eu tenho esse log do ultimo desligamento, talvez seja util:

mar 22 23:12:23 laptop systemd-journald[767]: Journal stopped
mar 22 23:12:23 laptop systemd-shutdown[1]: Sending SIGTERM to remaining processes...
mar 22 23:12:23 laptop systemd[1]: Shutting down.
mar 22 23:12:23 laptop systemd[1]: Starting Power-Off...
mar 22 23:12:23 laptop systemd[1]: Reached target Final Step.
mar 22 23:12:23 laptop systemd[1]: Reached target Shutdown.
mar 22 23:12:23 laptop systemd[1]: Removed slice system-systemd\x2dcryptsetup.slice.
mar 22 23:12:23 laptop kernel: audit: type=1130 audit(1490235143.176:803): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-cryptsetup@luks\x2daa1f1230\x2d001e\x2d41e
mar 22 23:12:23 laptop kernel: audit_printk_skb: 30 callbacks suppressed
mar 22 23:12:23 laptop systemd[1]: Reached target Unmount All Filesystems.
mar 22 23:12:23 laptop systemd[1]: systemd-cryptsetup@luks\x2daa1f1230\x2d001e\x2d41e7\x2d94c1\x2de2ba60844095.service: Failed with result 'exit-code'.
mar 22 23:12:23 laptop systemd[1]: systemd-cryptsetup@luks\x2daa1f1230\x2d001e\x2d41e7\x2d94c1\x2de2ba60844095.service: Unit entered failed state.
mar 22 23:12:23 laptop audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-cryptsetup@luks\x2daa1f1230\x2d001e\x2d41e7\x2d94c1\x2de2ba60844095 co
mar 22 23:12:23 laptop systemd[1]: Stopped Cryptography Setup for luks-aa1f1230-001e-41e7-94c1-e2ba60844095.
mar 22 23:12:23 laptop systemd[1]: systemd-cryptsetup@luks\x2daa1f1230\x2d001e\x2d41e7\x2d94c1\x2de2ba60844095.service: Control process exited, code=exited status=1
mar 22 23:12:23 laptop systemd-cryptsetup[12325]: Failed to deactivate: Device or resource busy
mar 22 23:12:20 laptop systemd[1]: Received SIGRTMIN+20 from PID 12230 (plymouthd).
mar 22 23:12:20 laptop kernel: device-mapper: ioctl: unable to remove open device luks-aa1f1230-001e-41e7-94c1-e2ba60844095
mar 22 23:12:19 laptop kernel: device-mapper: ioctl: unable to remove open device luks-aa1f1230-001e-41e7-94c1-e2ba60844095
mar 22 23:12:19 laptop kernel: device-mapper: ioctl: unable to remove open device luks-aa1f1230-001e-41e7-94c1-e2ba60844095
mar 22 23:12:19 laptop kernel: device-mapper: ioctl: unable to remove open device luks-aa1f1230-001e-41e7-94c1-e2ba60844095
mar 22 23:12:19 laptop kernel: device-mapper: ioctl: unable to remove open device luks-aa1f1230-001e-41e7-94c1-e2ba60844095
mar 22 23:12:19 laptop kernel: device-mapper: ioctl: unable to remove open device luks-aa1f1230-001e-41e7-94c1-e2ba60844095
mar 22 23:12:18 laptop kernel: device-mapper: ioctl: unable to remove open device luks-aa1f1230-001e-41e7-94c1-e2ba60844095
mar 22 23 ...
(more)
editar alterar tag assinalar como ofensivo fechar mesclar Excluir