From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id yL8CG+9tRmadXQEAqHPOHw:P1 (envelope-from ) for ; Thu, 16 May 2024 22:34:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id yL8CG+9tRmadXQEAqHPOHw (envelope-from ) for ; Thu, 16 May 2024 22:34:55 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=EB9v5ShM; dmarc=pass (policy=none) header.from=163.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715891695; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=wkc3uSvuTndItDtPxDB6iKL3jnarQQpKfA2BQYfONeo=; b=ZNtZPv8dO574/N7VFYr7mjmf/UkAhdTaCv5S2z7oDwlVYKhMaX1GbjqAcajal7q+goSIYU jOgOtRHMjjWhSky9xTqDseXhD0x3/VUkqs6v/VnOPJyCizrWqHDiz1Fwc6gVXTgtSNP68X wcsnIou/RklaMGEplrtSfaGIGXKCnQeAypM0yFPxLqPPiPQhVq16Uk9V/U5lI9dUMm6TTF ilMVlSUBelo+nF9pHQY0+FMsN33RVd7R/g8/zjMvagwZnW0713c16uQ++zwrmPFMd8OuOR 0nz6+tc9B/oHEDTBsJavbHgBmigCoZxmRVtJEitxG80WtnrvrSFwb70P2bYrFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715891695; a=rsa-sha256; cv=none; b=CYXEMk2mXd+ZvkSpGuz05KLdAFOM12Ll6t+o4DmOC0cjkgFaRi1QaKRYvMr+dgYsfFE2xd oPmck/Ze3rOLoWGX9CwV4gi+HmP+z4xYwUEUmRU5BHLJ0lNZazwNAtpkMVg/vLmYa9KngX pg06MS7lcn0MV3BlFjklewsS7crd+vyxML1XvUUyYsRdSCYEx5wSzCn1IBun8tWhEa1epK kZGlXHfL1aHl5e/u7JT5dw63Z0HGi2keTgFAtj9fBw3uD0IeLdY7K0/UGjJm+NVjiIZnq+ 7gRnVb7H4UEYY2Rp8BUWroCq7VVlKY9JyrGl7vctMMakfIfmijQBuBDtIGL/DQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=163.com header.s=s110527 header.b=EB9v5ShM; dmarc=pass (policy=none) header.from=163.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 74C4172ABA for ; Thu, 16 May 2024 22:34:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7ho7-0004RG-0B; Thu, 16 May 2024 16:34:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7Fe6-0005BQ-Gi for help-guix@gnu.org; Wed, 15 May 2024 10:30:18 -0400 Received: from m16.mail.163.com ([117.135.210.4]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7Fe2-0002eX-KI for help-guix@gnu.org; Wed, 15 May 2024 10:30:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:Message-Id:From:Subject:MIME-version: Content-type; bh=wkc3uSvuTndItDtPxDB6iKL3jnarQQpKfA2BQYfONeo=; b=EB9v5ShMFhdE4ToABZniR0yFB3K/VEtEj4ETggS9vT8bNzmOM9pIhbE3rZOczL HW2DsDEDPNoo3BiYQ3VYSLPk7Ktg3marrsAQ7P7m2YFBYDGCUTwFipOSSCLpfwHD K1w+kbjAXJSz1eV6uPEMftRVL8rvp3WtORRnfRkpsrFxU= Received: from guixdesktop (unknown [183.192.133.88]) by gzga-smtp-mta-g1-1 (Coremail) with SMTP id _____wCXvYrkxkRmfzd2Eg--.30982S3; Wed, 15 May 2024 22:29:57 +0800 (CST) Date: Wed, 15 May 2024 22:29:56 +0800 Message-Id: <875xvf407v.fsf@outlook.com> From: shaqtsui To: help-guix@gnu.org Subject: Error when Kernel configed with "CONFIG_DEBUG_INFO_BTF=y" MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-CM-TRANSID: _____wCXvYrkxkRmfzd2Eg--.30982S3 X-Coremail-Antispam: 1Uf129KBjvJXoWxtrW7WFykGF1fGrW5Jw1xuFg_yoW7uF18pF WUG3yDtrZ5J3WrJrs8AFWxGr1UCrs7ua45GrWUGryrtFWYkasayr92gFy7Zay2yrn7Xr4j v395WFy0g3WYya7anT9S1TB71UUUUU7qnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x0zRc6pdUUUUU= X-Originating-IP: [183.192.133.88] X-CM-SenderInfo: pvkd13xvxlqiywtou0bp/xtbBFQfflGXAlcky8gAAsg Received-SPF: pass client-ip=117.135.210.4; envelope-from=shaqtsui@163.com; helo=m16.mail.163.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_BL=0.001, RCVD_IN_MSPIKE_L4=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 16 May 2024 16:34:28 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -2.81 X-Spam-Score: -2.81 X-Migadu-Queue-Id: 74C4172ABA X-Migadu-Scanner: mx11.migadu.com X-TUID: JowQc+J277jL Hi Guix team, I am struggling on this error but can not get it resolved. Please kindly help. Config code snippet ``` (kernel (customize-linux #:linux linux-libre-with-bpf #:configs '( "CONFIG_DEBUG_INFO_BTF=y" ))) ``` Error log: ``` .config:12161:warning: override: reassigning to symbol VIRTIO_MMIO .config:12162:warning: override: reassigning to symbol FUSE_FS .config:12163:warning: override: reassigning to symbol CIFS .config:12164:warning: override: reassigning to symbol 9P_FS * * Restart config... * * * BPF subsystem * Enable bpf() system call (BPF_SYSCALL) [Y/?] y Enable BPF Just In Time compiler (BPF_JIT) [Y/n/?] y Permanently enable BPF JIT and remove BPF interpreter (BPF_JIT_ALWAYS_ON) [Y/n/?] y Disable unprivileged BPF by default (BPF_UNPRIV_DEFAULT_OFF) [Y/n/?] y Enable BPF LSM Instrumentation (BPF_LSM) [N/y/?] (NEW) Error in reading or end of file. * * Mitigations for speculative execution vulnerabilities * Mitigations for speculative execution vulnerabilities (SPECULATION_MITIGATIONS) [Y/n/?] y Remove the kernel mapping in user mode (PAGE_TABLE_ISOLATION) [Y/n/?] y Avoid speculative indirect branches in kernel (RETPOLINE) [Y/n/?] y Enable return-thunks (RETHUNK) [Y/n/?] y Enable UNRET on kernel entry (CPU_UNRET_ENTRY) [Y/n/?] y Mitigate RSB underflow with call depth tracking (CALL_DEPTH_TRACKING) [Y/n/?] y Enable call thunks and call depth tracking debugging (CALL_THUNKS_DEBUG) [N/y/?] n Enable IBPB on kernel entry (CPU_IBPB_ENTRY) [Y/n/?] y Enable IBRS on kernel entry (CPU_IBRS_ENTRY) [Y/n/?] y Mitigate speculative RAS overflow on AMD (CPU_SRSO) [Y/n/?] y Mitigate Straight-Line-Speculation (SLS) [Y/n/?] y Force GDS Mitigation (GDS_FORCE_MITIGATION) [N/y/?] n RFDS Mitigation (MITIGATION_RFDS) [Y/n/?] y Mitigate Spectre-BHB (Branch History Injection) (MITIGATION_SPECTRE_BHI) [Y/n/?] (NEW) Error in reading or end of file. * * Bootup logo * Bootup logo (LOGO) [Y/n/?] y Standard black and white Linux logo (LOGO_LINUX_MONO) [N/y/?] n Standard 16-color Linux logo (LOGO_LINUX_VGA16) [N/y/?] n Standard 224-color Linux logo (LOGO_LINUX_CLUT224) [N/y/?] n 224-color Linux-libre logo (LOGO_LIBRE_CLUT224) [Y/n/?] (NEW) Error in reading or end of file. * * Speakup console speech * Speakup core (SPEAKUP) [M/n/y/?] m Accent SA synthesizer support (SPEAKUP_SYNTH_ACNTSA) [N/m/?] (NEW) Error in reading or end of file. Apollo II synthesizer support (SPEAKUP_SYNTH_APOLLO) [N/m/?] (NEW) Error in reading or end of file. Audapter synthesizer support (SPEAKUP_SYNTH_AUDPTR) [N/m/?] (NEW) Error in reading or end of file. Braille 'n' Speak synthesizer support (SPEAKUP_SYNTH_BNS) [N/m/?] (NEW) Error in reading or end of file. DECtalk Express synthesizer support (SPEAKUP_SYNTH_DECTLK) [N/m/?] (NEW) Error in reading or end of file. DECtalk External (old) synthesizer support (SPEAKUP_SYNTH_DECEXT) [N/m/?] (NEW) Error in reading or end of file. DoubleTalk LT/LiteTalk synthesizer support (SPEAKUP_SYNTH_LTLK) [N/m/?] (NEW) Error in reading or end of file. Userspace software synthesizer support (SPEAKUP_SYNTH_SOFT) [M/n/?] m Speak Out synthesizer support (SPEAKUP_SYNTH_SPKOUT) [N/m/?] (NEW) Error in reading or end of file. Transport synthesizer support (SPEAKUP_SYNTH_TXPRT) [N/m/?] (NEW) Error in reading or end of file. Dummy synthesizer driver (for testing) (SPEAKUP_SYNTH_DUMMY) [N/m/?] (NEW) Error in reading or end of file. # # configuration written to .config # # # No change to .config # error: in phase 'configure': uncaught exception: misc-error #f "~A ~S" ("Mismatching configurations in .config and arch/x86/configs/guix_defconfig" (("CONFIG_DEBUG_INFO_BTF" (#f "y")))) #f phase `configure' failed after 23.3 seconds Backtrace: 8 (primitive-load "/gnu/store/gy3w005l9rm0m9i8cxz8b2pcz0x…") In guix/build/gnu-build-system.scm: 908:2 7 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) In ice-9/boot-9.scm: 1752:10 6 (with-exception-handler _ _ #:unwind? _ # _) In srfi/srfi-1.scm: 634:9 5 (for-each # …) In ice-9/boot-9.scm: 1752:10 4 (with-exception-handler _ _ #:unwind? _ # _) In guix/build/gnu-build-system.scm: 929:23 3 (_) In guix/build/kconfig.scm: 174:6 2 (verify-config ".config" "arch/x86/configs/guix_defconf…") In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Mismatching configurations in .config and arch/x86/configs/guix_defconfig (("CONFIG_DEBUG_INFO_BTF" (#f "y"))) ``` What I have invetigated/tried: Error is due to failure in verify-config(kconfig.scm). I understand that this is because can not find correspoding config in `.config`. So I try to do a manual kernel config via ``` guix system reconfig system.scm -K cd /tmp/guix-build-linux-libre-bpf-6.8.8.drv-0/top source environment-variables cd linux-6.8.8 make menuconfig ``` But `make menuconfig` raise error: ``` * * Unable to find the ncurses package. * Install ncurses (ncurses-devel or libncurses-dev * depending on your distribution). * * You may also need to install pkg-config to find the * ncurses installed in a non-default location. * make[2]: *** [scripts/kconfig/Makefile:232: scripts/kconfig/mconf-libs] Error 1 make[1]: *** [/tmp/guix-build-linux-libre-bpf-6.8.8.drv-0/top/linux-6.8.8/Makefile:689: menuconfig] Error 2 make: *** [Makefile:240: __sub-make] Error 2 ``` Then I installed ncurses, pkg-config. But still same error.