public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* Error: The kernel configuration is incomplete for loongarch64
@ 2026-10-20  3:23 Vincent Li
  0 siblings, 0 replies; only message in thread
From: Vincent Li @ 2026-10-20  3:23 UTC (permalink / raw)
  To: development; +Cc: michael.tremer

[-- 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-20  3:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20  3:23 Error: The kernel configuration is incomplete for loongarch64 Vincent Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox