After installing and booting kernel 5.2.0-2 everything seems to be running OK
until I try to shutdown or suspend the machine, either via the UI's shutdown
options or via command-line. What happens then is:
- Trying to shutdown or reboot: the system enters the normal shutdown sequence,
closes all running programs and services normally, completes the shutdown
sequence and shows the message "Reached power-off" or "Reached reboot" and
stops there, never actually powering off nor rebooting the machine. In order to
complete the action, I need to press the power button for about 10 seconds
until the BIOS cuts the power and then press again to restart.
- Trying to suspend: The suspend sequence normally shows no progress messages,
and even if it did what I normally do is close the lid and Gnome triggers a
suspend to RAM. This laptop has a LED (a Lenovo thinklight) that shows the
power state. On previous kernels, a couple of seconds after ordering the
suspend action, this LED changes from solid on (which indicates the system is
running) to a slow blink, which indicates the machine is a suspended state.
With kernel 5.2.0 it seems that the suspend sequence is initiated, but instead
of the slow blink the LED start to flash rapidly (which indicates that the
system is entering hibernation state),and stays in that state. The machine does
not respond to wakeup events, and I need to force a shutdown via long-pressing
the power button.
This started happening with the first installation of a 5.x kernel. If I reboot
the system with a current 4.x kernel (4.19.0-5 as of now), everything works OK.
My guess is that the kernel is not issuing the correct orders to the BIOS in
order to complete those actions. Either the new 5.x kernel series has changed
the power management strategy in some way breaking those calls to the BIOS,
which would be an upstream error, or is relying in a new software package which
is not normally installed in a 4.x-based system such as buster to complete
those calls, which will lead to this problem when the user wants to upgrade to
testing/unstable or when 5.x reaches stable.