Ubintu 20.04 中的内核升级后 Hibernate 不起作用

Ubintu 20.04 中的内核升级后 Hibernate 不起作用

当我更新到内核 5.8.0-41 时,休眠功能停止工作,但它在内核 5.8.0-29 上可以工作。

这是我在内核 5.8.0-41 上的系统日志

Feb 11 15:18:44 carbo-pc systemd[1]: Starting Hibernate...
Feb 11 15:18:44 carbo-pc kernel: [   88.990922] PM: Image not found (code -22)
Feb 11 15:18:44 carbo-pc kernel: [   89.045594] PM: hibernation: hibernation entry
Feb 11 15:18:44 carbo-pc systemd-sleep[3532]: Suspending system...

为什么说图像未找到,它在内核 5.8.0-29 上运行良好

这是我在内核 5.8.0-29 上的系统日志

Feb 11 15:12:49 carbo-pc systemd[1]: Starting Hibernate...
Feb 11 15:12:49 carbo-pc systemd-sleep[3640]: Suspending system...
Feb 11 15:12:49 carbo-pc kernel: [  361.135459] PM: hibernation: hibernation entry
Feb 11 15:13:32 carbo-pc kernel: [  361.150677] Filesystems sync: 0.014 seconds
Feb 11 15:13:32 carbo-pc kernel: [  361.150679] Freezing user space processes ... (elapsed 0.002 seconds) done.

请帮助我,我需要随身携带笔记本电脑,休眠功能非常有用。提前致谢。

我的 grub 文件

 If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 5.8.0-29-generic"
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash mem_sleep_default=deep resume=UUID=1de75adf-4505-4beb-a421-d720f3c0d52d resume_offset=12320768"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"

# uncomment to keep grub from finding other oses
GRUB_DISABLE_OS_PROBER=true

答案1

更新我的 BIOS 固件对我有用!

相关内容