From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id MOv4BMNtLGSdQAAASxT56A (envelope-from ) for ; Tue, 04 Apr 2023 20:34:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2KbqBMNtLGQdFgEAauVa8A (envelope-from ) for ; Tue, 04 Apr 2023 20:34:43 +0200 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 74A1A402EE for ; Tue, 4 Apr 2023 20:34:42 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pjlTw-0006Nb-Nj; Tue, 04 Apr 2023 14:34:12 -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 1pjlTv-0006NS-Dh for help-guix@gnu.org; Tue, 04 Apr 2023 14:34:11 -0400 Received: from tilde.team ([198.50.210.248]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pjlTt-0005vY-Cr for help-guix@gnu.org; Tue, 04 Apr 2023 14:34:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tilde.team; s=mail; t=1680633247; bh=AO3fUQreCK/1n4bdaMekJv6fpXFDKJnkWpRmGTGRARc=; h=Date:From:Subject:To:In-Reply-To:References:From; b=EUUbclqZvuImFUrITfksXh7jiuq2UNK/gPupF/eWh30F7zLOaY3h/IUhl27t5l6ZL BtbdgSjj27696rN5aYUQGWoRPv2QJCan8clBDPbuNwPFEugCopCYbhkrb6zw3u3zfS on91KaWo0mZ/QV6QyLo3g6VwPZ+j9UQTP55FOqMk= Received: from mail.tilde.team (localhost [127.0.0.1]) by tilde.team (Postfix) with ESMTPSA id 8DF524C0507; Tue, 4 Apr 2023 18:34:07 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 04 Apr 2023 18:34:07 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: SnappyMail/2.27.2 From: eisbaer@tilde.team Message-ID: TLS-Required: No Subject: Re: Custom kernel config is not taken by guix To: "Guillaume Le Vaillant" , help-guix@gnu.org In-Reply-To: <871qkzbura.fsf@kitej> References: <871qkzbura.fsf@kitej> <87ilefddmy.fsf@kitej> <0d7a624a51833534bc78b6ee1603175731632eb6@tilde.team> <5d0a15e9ab3f8ce31577650959327c950d215fec@tilde.team> Received-SPF: pass client-ip=198.50.210.248; envelope-from=eisbaer@tilde.team; helo=tilde.team 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1680633282; a=rsa-sha256; cv=none; b=Lq/6JNRF/DpsrF8dFCfhdUpcuGZ+ZBWiw5c6wtPfTwOSkvhcSYMZoWSGqCW0Z5GLjzhP67 CDunOCmbFoHGNf3+5rseJ9u2DJHVnoxi5tC/ATX/1UrRLIQYpZAzUWlrUxXmBgxCzyra91 IUKShbYzZAdXEBlIIuCk7pL3ThnJxK5YoXadkbSvoP9n2wNe0y6XoIM5Hh2tO2fS5KlzAU Fft+HUUe0HxgwmD+oXjv9QrNG3euG484QVwCRLmDvNkKmdeapQGFDIU6ghY8+Lpif6n0+G TFJKilL2RqyRqIN6T/DrCbif6XvtdsIylRDQbc7ezZgja95NJJABeaspvHfOcA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tilde.team header.s=mail header.b=EUUbclqZ; dmarc=pass (policy=reject) header.from=tilde.team; 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=1680633282; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=IzT+b0dHo4p9iVvN+5GYwBGS8tHi3cSAT7Pw5WIQTrg=; b=GOkReWY6P5R2TNUHIY6nFNMOpflwUK7J0vc9opNL8lsXVuwr8dIUrJSyYGYZF/YB1keq8N 6hwPVqASTWex3UnQMycWG0baf0Hf29O4XIyyCC81KavHHDBNmhJMql4BJl+S3PYHiDDyBs 3twfXrNpAQvDi5Cf9mkBjlWV2rNswpLM+IzdxQexhSHqsqcAJBGawCro7uvjH1Q28wPATl 70pH0+9yOZQai2Srt63hC67Hkl1VhvGn2eYUdmBr99VJvbXlr1Fi7M6VNdzAmKMUz7+wO6 aKIHoBYY+tge1YPTRKMjhCMycRBa1jIVPDQGftnwWbShNwtPHrnHi01InzTtng== X-Migadu-Spam-Score: -4.84 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tilde.team header.s=mail header.b=EUUbclqZ; dmarc=pass (policy=reject) header.from=tilde.team; 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" X-Spam-Score: -4.84 X-Migadu-Queue-Id: 74A1A402EE X-TUID: rmMRPjgyQ3xB Am 4. April 2023 um 15:54 schrieb "Guillaume Le Vaillant" : >=20 >=20skribis: > eisbaer@tilde.team >=20 >=20>=20 >=20> Thanks a lot for your reply. Your example did not work on my machin= e. I adjusted my config.scm as you said but the guix systemc reconfigure = did not run through...=20 >=20>=20 >=20> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > >=20 >=20> error in /var/log/guix/drvs/jr/88fpnzh0kc7w7vwjz78b501sdy2jcg-linu= x-libre-6.1.15.drv.gz > >=20 >=20> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > >=20 >=20> [...] > >=20 >=20> error: in phase 'configure': uncaught exception: > >=20 >=20> misc-error #f "~A ~S" ("Mismatching configurations in .config and = arch/x86/configs/guix_defconfig" (("CONFIG_DEBUG_INFO" (#f "y")))) #f=20 >=20>=20 >=20> phase `configure' failed after 14.2 seconds > >=20 >=20> Backtrace: > >=20 >=20> 8 (primitive-load "/gnu/store/a2kzfabrb2qrj85xq5z8fnkg9z5=E2=80=A6= ") > >=20 >=20> In guix/build/gnu-build-system.scm: > >=20 >=20> 906:2 7 (gnu-build #:source _ #:outputs _ #:inputs _ #:phases . #) > >=20 >=20> In ice-9/boot-9.scm: > >=20 >=20> 1752:10 6 (with-exception-handler _ _ #:unwind? _ # _) > >=20 >=20> In srfi/srfi-1.scm: > >=20 >=20> 634:9 5 (for-each # =E2=80=A6) > >=20 >=20> In ice-9/boot-9.scm: > >=20 >=20> 1752:10 4 (with-exception-handler _ _ #:unwind? _ # _) > >=20 >=20> In guix/build/gnu-build-system.scm: > >=20 >=20> 927:23 3 (_) > >=20 >=20> In guix/build/kconfig.scm: > >=20 >=20> 174:6 2 (verify-config ".config" "arch/x86/configs/guix_defconf=E2= =80=A6") > >=20 >=20> In ice-9/boot-9.scm: > >=20 >=20> 1685:16 1 (raise-exception _ #:continuable? _) > >=20 >=20> 1685:16 0 (raise-exception _ #:continuable? _) > >=20 >=20> ice-9/boot-9.scm:1685:16: In procedure raise-exception: > >=20 >=20> Mismatching configurations in .config and arch/x86/configs/guix_de= fconfig (("CONFIG_DEBUG_INFO" (#f "y"))) > >=20 >=20 > Hi. >=20 >=20Using the 'customize-linux' function with the '#:configs' keyword jus= t >=20 >=20adds the specified options to the config file. In this case it >=20 >=20looks like there are other options in the config file that are not >=20 >=20compatible with the added CONFIG_DEBUG_INFO option. >=20 >=20So I think you will have to make a kernel config file with the option= s >=20 >=20you want using a regular kernel configurator (e.g. "make menuconfig", >=20 >=20"make xconfig" etc in the kernel source tree). Then you should be abl= e >=20 >=20to use this custom config file with the '#:defconfig' keyword: >=20 >=20--8<---------------cut here---------------start------------->8--- >=20 >=20(define linux-libre-debug >=20 >=20 (customize-linux #:linux linux-libre >=20 >=20 #:defconfig (local-file "/path/to/custom/config"))) >=20 >=20(operating-system >=20 >=20 (kernel linux-libre-debug) >=20 >=20 ...) >=20 >=20--8<---------------cut here---------------end--------------->8--- > Ok. Thank you! That worked. At least it compiles now... However I happen = to get the following error during the compilation process: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D zcat /var/log/guix/drvs/1l/3q5c3d89fv3dibynv55v3jqa4cdmxl-linux-libre-6.2= .9.drv.gz =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D AR arch/x86/pci/built-in.a CC arch/x86/power/cpu.o CC arch/x86/power/hibernate_64.o AS arch/x86/power/hibernate_asm_64.o CC arch/x86/power/hibernate.o AR arch/x86/power/built-in.a AR built-in.a AR vmlinux.a LD vmlinux.o make[1]: *** [scripts/Makefile.vmlinux_o:61: vmlinux.o] Error 137 make[1]: *** Deleting file 'vmlinux.o' make: *** [Makefile:1245: vmlinux_o] Error 2 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "1") exit-sta= tus: 2 term-signal: #f stop-signal: #f>=20 phase=20`build' failed after 1951.1 seconds command "make" "-j" "1" failed with status=202