On 10/21/2025 4:08 PM, Pascal Ernster wrote:
[2025-10-21 22:45] Mario Limonciello (AMD) (kernel.org):
Are you cleaning your tree between builds?
Yes.
I'm building custom kernel packages in a clean chroot for my private package repo. The kernel config and the PKGBUILD can be found here:
https://remotehost.online/linux-6.17.4/debug2/config https://remotehost.online/linux-6.17.4/debug2/PKGBUILD
Here's a tarball that contains the PKGBUILD, the config, and all source files that I used:
https://remotehost.online/linux-6.17.4/debug2/linux-hardened-6.17.4.hardened...
Here's a log of stdout and stderr of the build process:
https://remotehost.online/linux-6.17.4/debug2/stdout_stderr_combined.log
Here's a fixed PKGBUILD that I used successfully to build my kernel packages:
https://remotehost.online/linux-6.17.4/debug2/PKGBUILD.fixed
The only difference is that I've commented out the two patches from your patch set, and removed the corresponding sha256 sums.
Regards Pascal
It looks to me that you have CONFIG_HIBERNATE_CALLBACKS set but not CONFIG_HIBERNATION set.
How does this happen? HIBERNATE_CALLBACKS is hidden, and it's only selected by CONFIG_HIBERNATE.
The fix for now for you is to either turn off CONFIG_HIBERNATE_CALLBACKS or turn on CONFIG_HIBERNATION.