nvme disk and system shutdown problem
Hi, After installing Lexar 710 my system freezes after "Reached target Power Down". Suspend and reboot works ok. I do not use this disk in Arch, it is used for win10/win11. Power down from windows works without problems. I tried to blacklist nvme module - it did not help. I booted arch iso from pendrive and from there "poweroff -f" does not work either, so it looks it is related to kernel? My current kernel is: Linux archdevel 6.6.9-arch1-1, UEFI system (AMD b650m and Ryzen 7800x3d) I would be very grateful for any hints. Łukasz
Would probably be a good idea to try from an up to date system before looking into this further. Second suspicion would be weird UEFI behavior, although unlikely, so make sure UEFI is up to date. If it still persists on an up to date OS and FW * What does freezes mean, kernel dies - no num/caps lock on/off LED going off when changing state? * Magic SysRq works? * What's in dmesg on boot * Log from previous boot catches anything odd? Martin On Wed, Jan 17, 2024 at 4:31 PM Łukasz Michalski <lm@zork.pl> wrote:
Hi,
After installing Lexar 710 my system freezes after "Reached target Power Down".
Suspend and reboot works ok.
I do not use this disk in Arch, it is used for win10/win11. Power down from windows works without problems.
I tried to blacklist nvme module - it did not help.
I booted arch iso from pendrive and from there "poweroff -f" does not work either, so it looks it is related to kernel?
My current kernel is: Linux archdevel 6.6.9-arch1-1, UEFI system (AMD b650m and Ryzen 7800x3d)
I would be very grateful for any hints. Łukasz
Many thanks for your feedback. I forgot about Magic SysReq and this helped me a lot to resolve this issue: 1. First I set sysctl kernel.sysrq=1 to enable alt+sysrq 2. I've set kernel log level to 9 using alt+sysrq+9 3. Poweroff was way more verbose now. Last line on screen was: Preparing to enter system sleep state S5 Using google I found this: https://bbs.archlinux.org/viewtopic.php?pid=1014214#p1014214 Resume by PCI-E was enabled in bios. After disabling it my system can power off again. Thanks! Łukasz
Good job figuring it out. If updating UEFI(that's a UEFI board, not a BIOS one, though it's not much relevant here) and re-enabling the PCI-E resume still exhibits the issue, you should report a bug, presumably to the kernel. Might've already been fixed by now if the people from that 2011 thread did so. It's supremely odd that Wake Up settings are preventing the kernel from a poweroff. Martin On Wed, Jan 17, 2024 at 10:56 PM Łukasz Michalski <lm@zork.pl> wrote:
Many thanks for your feedback. I forgot about Magic SysReq and this helped me a lot to resolve this issue:
1. First I set sysctl kernel.sysrq=1 to enable alt+sysrq 2. I've set kernel log level to 9 using alt+sysrq+9 3. Poweroff was way more verbose now. Last line on screen was:
Preparing to enter system sleep state S5
Using google I found this: https://bbs.archlinux.org/viewtopic.php?pid=1014214#p1014214
Resume by PCI-E was enabled in bios. After disabling it my system can power off again.
Thanks! Łukasz
On 1/18/24 11:59, Martin Rys wrote:
Good job figuring it out.
If updating UEFI(that's a UEFI board, not a BIOS one, though it's not much relevant here) and re-enabling the PCI-E resume still exhibits the issue, you should report a bug, presumably to the kernel.
UEFI upgrade was the first thing I've done. It did not help, although it removed a lot of ACPI warnings about conflicting regions from dmesg. I am sure it is a kernel, broken "poweroff -f" do not interact with systemd AFAIK. Regards, Łukasz
participants (2)
-
Martin Rys
-
Łukasz Michalski