GNU bug report logs - #75211
guix system: error: kexec-load-file: Invalid argument

Previous Next

Package: guix;

Reported by: Simen Endsjø <contact <at> simendsjo.me>

Date: Mon, 30 Dec 2024 19:41:01 UTC

Severity: important

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 75211 <at> debbugs.gnu.org (full text, mbox):

From: nathan <nathan_mail <at> nborghese.com>
To: 75211 <at> debbugs.gnu.org
Cc: contact <at> simendsjo.me
Subject: guix system: error: kexec-load-file: Invalid argument
Date: Sat, 4 Jan 2025 16:31:50 +0000
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




This bug report was last modified 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.