Re: [REGRESSION] Kernel booted via kexec fails to resume from hibernation
From: Andrew Morton
Date: Mon Jan 13 2025 - 18:19:10 EST
On Mon, 13 Jan 2025 22:28:44 +0100 Roberto Ricci <io@xxxxxxxxxx> wrote:
> After rebooting the system via kexec, hibernating and rebooting the machine, this oops occurs:
>
> ...
>
> # kexec -l /boot/vmlinuz-6.13.0-rc7 --initrd=/boot/initramfs-6.13.0-rc7 --reuse-cmdline
> # reboot
> # printf reboot >/sys/power/disk
> # printf disk >/sys/power/state
> ```
>
> If kexec is not used, hibernation works fine.
>
> This started happening since the 6.8 series; 6.7 works fine.
> I performed a bisection and it pointed to
> 18d565ea95fe ("kexec_file: fix incorrect temp_start value in locate_mem_hole_top_down()").
>
> #regzbot introduced: 18d565ea95fe553f442c5bbc5050415bab3c3fa4
>
> I will send the kernel config and dmesg in replies to this email.
Thanks. Are you able to confirm that reverting 18d565ea95fe fixes things?