[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#949020: shutdown-issues on Thinpad T460 with kernel 5.10 and 6.0 on Bullseye



I was having (probably) related Issues on a Thinkpad T460. On a fresh install with encrypted LVM I could not cleanly shut down. After running "systemctl poweroff" the system showed me the usual systemd-logs on a console, but would not power off, showing 

systemd-shutdown[1]: Could not detach DM /dev/dm-0: Device or resource busy.
systemd-shutdown[1]: Failed to finalize DM devices, ignoring.
pmouse serio2: Failed to disable mouse on synaptics-pc/serio0.
reboot: Power down.

>From journalctl from a corresponding boot:
Mar 12 18:11:48 debian systemd-cryptsetup[1966]: Device sda3_crypt is still in use.Mar 12 18:11:48 debian systemd-cryptsetup[1966]: Failed to deactivate: Device or resource busyMar 12 18:11:48 debian systemd[1]: systemd-cryptsetup@sda3_crypt.service: Control process exited, code=exited, status=1/FAILUREMar 12 18:11:48 debian systemd[1]: systemd-cryptsetup@sda3_crypt.service: Failed with result 'exit-code'.Mar 12 18:11:48 debian systemd[1]: Stopped Cryptography Setup for sda3_crypt.

I then installed a newer kernel (6.0.0) from Backports. Booting into the newer kernel I could now shut down and the machine would actually power off, but I had trouble powering it on again. I had to repeatedly press the power-button, and it would sometimes, seemingly randomly, react to that, and sometimes not. Neither being connected to a power-supply, a socket, having the removable battery removed or not, nor the state of charge of the batteries seemed to have an impact.

Switching to TPM 1.2 solved both problems (not powering off with 5.10 and not powering on with 6.0).
-- 
Sent with Tutanota, enjoy secure & ad-free emails. 


Reply to: