Re: [REGRESSION] Kernel booted via kexec fails to resume from hibernation
From: Roberto Ricci
Date: Thu Apr 03 2025 - 18:01:19 EST
On 2025-03-31 11:22 +0800, Dave Young wrote:
> > With v4.9.337, kexec (via kexec_load) + hibernation works.
> > With v5.4.291 it doesn't.
> > I'm not sure how bisection could be done in this case.
I just found out that 5.0 is not what comes after 4.9 [facepalm].
With v4.14.336 kexec_load + hibernation doesn't work either.
I'm still having a bit of trouble finding the commits which fixed
various build and boot issues and cherry-picking them. But now at least
I have fewer bisection steps.
> Not confident, but maybe you can try latest mainline kernel see if the
> below commit helps:
> https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a2498e5c453b3d8d054d77751487cd593332f8c2
>
> I noticed the e820 export is different for v4.9.337 and v5.4.291
Unfortunately, this commit doesn't fix my issue. Latest mainline works
when using kexec_file_load (but not kexec_load) because it contains
https://lore.kernel.org/all/20250214090651.3331663-1-rppt@xxxxxxxxxx/