unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: nathan via Bug reports for GNU Guix <bug-guix@gnu.org>
To: 75211@debbugs.gnu.org
Cc: contact@simendsjo.me
Subject: bug#75211: guix system: error: kexec-load-file: Invalid argument
Date: Sat, 4 Jan 2025 16:31:50 +0000	[thread overview]
Message-ID: <b90c451e-a31d-4bec-baad-327a313c9aed@nborghese.com> (raw)
In-Reply-To: <875xn1q7s6.fsf@simendsjo.me>

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	other threads:[~2025-01-04 16:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-30 19:40 bug#75211: guix system: error: kexec-load-file: Invalid argument Simen Endsjø
2025-01-04 16:31 ` nathan via Bug reports for GNU Guix [this message]
2025-01-06 10:35   ` Ludovic Courtès
2025-01-06 13:19     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b90c451e-a31d-4bec-baad-327a313c9aed@nborghese.com \
    --to=bug-guix@gnu.org \
    --cc=75211@debbugs.gnu.org \
    --cc=contact@simendsjo.me \
    --cc=nathan_mail@nborghese.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).