Previously, I had Debian 12 with kernel 6.1 installed, and pressing the power button would shut down the PC as usual.
I updated to Debian 13 with kernel 6.12.74, and now pressing the power button causes the PC to freeze completely.
I see that systemd doesn't even begin to shut down. It freezes immediately after pressing the button. There's no error message in console. There's no error message in the logs either. Netconsole doesn't report any errors, and the kernel doesn't panic. It just freezes completely.
I checked that Live CD with Debian 12 continue to shut down normally, but Live CD with Debian 13 freeze.
I tried updating and resetting the BIOS. I tried various kernel parameters related to ACPI settings. I also tried kernels 6.18 and 6.19. Nothing fixed the problem.
If I unload the "button" module, the system doesn't freeze, but it also doesn't shut down.
I built "button" module by rolling back its version to commit
1a20d40, which corresponds to kernel version 6.1. This module does not freeze, but does not turn off the PC either.
I've found that the freezes have been occurring since commit
0d51157.
Unfortunately, my skills are not enough to understand the reason for the freeze.
I'm attaching dmesg and lspci logs.
----
Sincerely, Evgeny Sagatov