From: Vincent Li <vincent.mc.li@gmail.com>
To: development@lists.ipfire.org
Cc: michael.tremer@ipfire.org
Subject: Error: The kernel configuration is incomplete for loongarch64
Date: Tue, 20 Oct 2026 03:23:02 +0000 (UTC) [thread overview]
Message-ID: <ca91be33-c255-1cb5-ed8f-db17a09458cd@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3009 bytes --]
Hi Michael,
While testing build the next branch on my Loongarch machine, kernel
6.18.54 builds fine, but if I upgrade the kernel to say 7.1.1. it errors
out with:
cd /usr/src/linux-7.1.1 && cp -vf /usr/src/config/kernel/ipfire_logo.ppm \
drivers/video/logo/logo_linux_clut224.ppm
'/usr/src/config/kernel/ipfire_logo.ppm' ->
'drivers/video/logo/logo_linux_clut224.ppm'
# Fetch the configuration
/bin/sh /usr/src/src/kernel/configure --kernel-dir="/usr/src/linux-7.1.1"
merge \
"loongarch64" "generic" "/usr/src/linux-7.1.1/.config"
# Fail if the configuration does not answer all questions
cd /usr/src/linux-7.1.1 && if make -s listnewconfig | grep "^CONFIG_";
then \
echo "The kernel configuration is incomplete for loongarch64" >&2;
\
exit 1; \
fi
.config:6522:warning: symbol value 'n' invalid for
BOOTPARAM_SOFTLOCKUP_PANIC
CONFIG_CMDLINE_LOG_WRAP_IDEAL_LEN=1021
CONFIG_RSEQ_SLICE_EXTENSION=n
CONFIG_RSEQ_DEBUG_DEFAULT_ENABLE=n
CONFIG_32BIT=n
CONFIG_4KB_2LEVEL=n
CONFIG_ACPI_FPDT=n
CONFIG_BALLOON_MIGRATION=y
CONFIG_NUMA_MIGRATION=y
…
CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC=0
CONFIG_DEBUG_ATOMIC=n
CONFIG_FUNCTION_SELF_TRACING=n
CONFIG_TRACE_SYSCALL_BUF_SIZE_DEFAULT=63
CONFIG_TRACE_REMOTE_TEST=n
The kernel configuration is incomplete for loongarch64
make: *** [linux:162: /usr/src/log/linux-7.1.1] Error 1
It is probably kernel 7.1.1 has new CONFIG that make -s listnewconfig does
not like. If I put make oldconfig before make -s listnewconfig, it
resolves thie issue
diff --git a/lfs/linux b/lfs/linux
index c596acd18..977e75104 100644
--- a/lfs/linux
+++ b/lfs/linux
@@ -24,7 +24,7 @@
include Config
-VER = 6.18.54
+VER = 7.1.1
THISAPP = linux-$(VER)
DL_FILE = linux-$(VER).tar.xz
@@ -75,7 +75,7 @@ objects = \
$(DL_FILE) = $(URL_IPFIRE)/$(DL_FILE)
-$(DL_FILE)_BLAKE2 =
8b86b9130a4847bb1188b0181922713afe367717560ad9faebc327feb911285a11a79309aaaebd705fac6eab7671986ac6726ec8aa44a11c686a2fdece638f3c
+$(DL_FILE)_BLAKE2 =
b0131b7a69bcf808322f4c48493faec7169fd8e3dbdb0974e61814d27c4af93ccf889af89d44e29463e416393b1bd36a8f5c0916f122d109a0a0c62b27038af8
install : $(TARGET)
@@ -173,16 +173,16 @@ else
$(SHELL) $(DIR_SRC)/src/kernel/configure --kernel-dir="$(DIR_APP)"
merge \
"$(BUILD_ARCH)" "generic" "$(DIR_APP)/.config"
+ # Cleanup kernel source
+ cd $(DIR_APP) && make oldconfig
+ cd $(DIR_APP) && make clean
+
# Fail if the configuration does not answer all questions
cd $(DIR_APP) && if make -s listnewconfig | grep "^CONFIG_"; then
\
echo "The kernel configuration is incomplete for
$(BUILD_ARCH)" >&2; \
exit 1; \
fi
- # Cleanup kernel source
- cd $(DIR_APP) && make oldconfig
- cd $(DIR_APP) && make clean
-
# Copy Module signing key configuration
cp -f $(DIR_SRC)/config/kernel/x509.genkey
$(DIR_APP)/certs/x509.genkey
What do you think?
Best regards,
Vincent
reply other threads:[~2026-10-20 3:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ca91be33-c255-1cb5-ed8f-db17a09458cd@gmail.com \
--to=vincent.mc.li@gmail.com \
--cc=development@lists.ipfire.org \
--cc=michael.tremer@ipfire.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox