He is using linux-6.6, which is the same version as guix's linux-lts.

This is probably because older kernels don't support the KEXEC_FILE_DEBUG flag 
that is passed to kexec-load-file unconditionally.
To fix, remove the use of KEXEC_FILE_DEBUG in 
guix/scripts/system/reconfigure.scm
I didn't test it, but it makes sense.


proof flag doesn't exist

https://kernel.org/
latest longterm tarball
wget "https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.6.69.tar.xz";
tar xf ./linux-6.6.69.tar.xz
grep -r "KEXEC_FILE_DEBUG" ./linux-6.6.69

observe the absence of results.
repeat with the latest stable kernel and observe that it exists.
there is a check on flag validity in /kernel/kexec_file.c using KEXEC_FILE_FLAGS



Reply via email to