Linux 无法从 s2ram 恢复(X570、Zen3)

Linux 无法从 s2ram 恢复(X570、Zen3)

我在带有最新 BIOS 的 MSI X570 Tomahawk、AMD 5900X 机器上全新安装了 Gentoo Linux ( 7C84v163)。

5.10.27-gentoo-x86_64内核无法从挂起到 RAM 恢复。首先,s2ram抱怨未知机器:

Machine is unknown.
This machine can be identified by:
    sys_vendor   = ""
    sys_product  = ""
    sys_version  = ""
    bios_version = ""

s2ram我尝试了不同的参数组合-f,但没有任何效果。

我跟着官方指南调试它,得到以下输出:

[    0.950772] PM:   Magic number: 0:356:126
[    0.951563] input: HD-Audio Generic Front Mic as /devices/pci0000:00/0000:00:08.1/0000:2f:00.4/sound/card1/input9
[    0.951909] PM:   hash matches drivers/base/power/main.c:904
[    0.953107] input: HD-Audio Generic Rear Mic as /devices/pci0000:00/0000:00:08.1/0000:2f:00.4/sound/card1/input10
[    0.954349] acpi device:01: hash matches

没有其他比赛。尝试查找设备:

amd /usr/src/linux # ls -l /sys/bus/acpi/devices/device\:01/physical_node
lrwxrwxrwx 1 root root 0 May 16 21:42 /sys/bus/acpi/devices/device:01/physical_node -> ../../../../pci0000:00/0000:00:01.1
amd /usr/src/linux # lspci | grep "00:01.1"
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Starship/Matisse GPP Bridge

我想尝试S1/standby作为解决方法,但由于某种原因不支持:

amd ~ # cat /sys/power/state 
freeze mem disk
amd ~ # cat /sys/power/mem_sleep 
s2idle [deep]

有什么建议么?

谢谢

答案1

没有发现什么问题,s2ram但一个简单的echo mem > /sys/power/state作品

相关内容