From unknown Sat Aug 09 05:06:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75808] [PATCH] [PATCH] gnu: system: Disable EFI pstore backend by default Resent-From: Roman Riabenko Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 24 Jan 2025 16:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75808 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75808@debbugs.gnu.org Cc: Roman Riabenko X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173773497730732 (code B ref -1); Fri, 24 Jan 2025 16:10:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jan 2025 16:09:37 +0000 Received: from localhost ([127.0.0.1]:46657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbMFU-0007zc-JK for submit@debbugs.gnu.org; Fri, 24 Jan 2025 11:09:37 -0500 Received: from lists.gnu.org ([2001:470:142::17]:36796) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbMFA-0007yF-5z for submit@debbugs.gnu.org; Fri, 24 Jan 2025 11:09:17 -0500 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 1tbMEs-0005E9-Hw for guix-patches@gnu.org; Fri, 24 Jan 2025 11:08:58 -0500 Received: from lab.riabenko.com ([185.143.146.30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tbMEo-0001Pp-88 for guix-patches@gnu.org; Fri, 24 Jan 2025 11:08:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=riabenko.com; s=selector; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kX6nvIctRt2PZ7t9Mm67exYo+A4qIAqE2K0Z1x/6R/M=; b=yKTPht49LOqxyhFVlkDZ1cXX5G eAHE5O1C9uIVVvg0ekzGBP4f6afpkDnpD9oaM3l71RCoYNTD7eNifm9+HLVaBKn5ZGOWOp6qF8tQQ rziJKEFTMMVElwWcme77lonZ9F4h0mCwZtIL5zwrsNzinsWWvyJ3voz4u5Cf4dar15fBNLiizRpT+ eWDAmkxXPS4jT7EJPa99p09jXH8KcceKQVZyJsaF7hbBkSI/g7GH5GSYXq31kVUAwvQ7KiQ4CjAAQ VweMc6ChE6Pg/ahhXHPC++HEXDQwqyiuGTKodhQIFYQlfFAtmapIEwmALtNaQwEX5D6nmOWHfNUvH 3x7x5s3A==; Received: from librecmc.lan ([192.168.10.1] helo=localhost.localdomain) by lab.riabenko.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tbMEg-000000000pv-0u00; Fri, 24 Jan 2025 18:08:46 +0200 From: Roman Riabenko Date: Fri, 24 Jan 2025 18:01:54 +0200 Message-ID: <20250124160840.3114-1-roman@riabenko.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.143.146.30; envelope-from=roman@riabenko.com; helo=lab.riabenko.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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/system.scm (%default-kernel-arguments): Add efi_pstore.pstore_disable=1. Change-Id: Id0294fa90ccbf3bacbb55a22aeb4f0a863efe22c --- This patch disables one of the backends for the persistent storage driver pstore in the Linux kernel, in particular the backend which allows it to save data to EFI variables storage in UEFI NVRAM, such as error log "dump" files. This reduces writes to UEFI to reduce the chances of it wearing out or malfunctioning for other reasons, as well as prevents situations when the efivar is full and cannot take new variables, which is known to cause "Could not prepare Boot variable: No space left on device" errors on computers with some UEFI implementations which are susceptible to such problems, typically on relatively older machines. The user is confronted by the issue at the later stages of guix system reconfiguration when the new boot entry is created. It may be difficult to recover from because the exact cause depends on UEFI. Sometimes it is enough to remove dumps from efivars. Disabling the EFI pstore backend is expected to reduce the chances of unaware users running into issues with UEFI and failing to boot their Guix Systems. Sophisticated users may still enable the backend by removing the option from the kernel arguments, either in the system configuration or in GRUB. The above is my summary of what was previously discussed in guix-help mailing list: . Disclosure: I have ran into this issue recently. I am a guix user who researched the topic but not a developer. To be sure, I reconfigured the system with this patch and it worked as expected by adding the kernel argument. gnu/system.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/system.scm b/gnu/system.scm index 8df871f255..5785cfdd9a 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -761,6 +761,9 @@ (define %default-kernel-arguments ;; Default arguments passed to the kernel. (list (string-append "modprobe.blacklist=" (string-join %default-modprobe-blacklist ",")) + ;; Avoiding susceptible UEFIs failures from efivars used for pstore, see + ;; . + "efi_pstore.pstore_disable=1" "quiet")) (define* (operating-system-directory-base-entries os) base-commit: 13367c6c47f5a4962dde6fab480ea14cd0ac536c -- 2.47.1 From unknown Sat Aug 09 05:06:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75808] Could not prepare Boot variable Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2025 01:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75808 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Roman Riabenko , Christophe Pisteur , znavko--- via , Felix Lechner , Wilko Meyer , Efraim Flashner Cc: 75808@debbugs.gnu.org Received: via spool by 75808-submit@debbugs.gnu.org id=B75808.173802936528947 (code B ref 75808); Tue, 28 Jan 2025 01:57:01 +0000 Received: (at 75808) by debbugs.gnu.org; 28 Jan 2025 01:56:05 +0000 Received: from localhost ([127.0.0.1]:35002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcapc-0007WS-Tn for submit@debbugs.gnu.org; Mon, 27 Jan 2025 20:56:05 -0500 Received: from fout-b1-smtp.messagingengine.com ([202.12.124.144]:48265) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tcapZ-0007WD-L6 for 75808@debbugs.gnu.org; Mon, 27 Jan 2025 20:55:59 -0500 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id 0E747114014B; Mon, 27 Jan 2025 20:55:52 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Mon, 27 Jan 2025 20:55:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mesmtp; t=1738029351; x= 1738115751; bh=ucLhKjgDYaVFDXRdpPqoBMsz+OrjyZMR4/AZFZYD9ic=; b=k +hXwNuUFaz17RsWJHFkeZBtna58uYgcjzz6t7tMW5RDX3MsZ+RVw7m5TizzF58MM p8NLZKhCAlvj+1CsRoDTldODOMMseK5sTGbWUlA+noEUEsXKZSXLK5zTG1tMNqbQ YOes1l8KUtINvkau32Nn0k87WPf6tZcca2iUDx5tUY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1738029351; x=1738115751; bh=ucLhKjgDYaVFDXRdpPqoBMsz+OrjyZMR4/A ZFZYD9ic=; b=VdyRupXYRGqL0a2cY7XvcTSY1Hj1ZgPIWPcCbvOV64e1fgbOxBC C89VzrhNgWVPEydCIN570cGSzBhESBfgruKe33cohesLgyJi6Own7ZXwOA6psVPf iwuA7nuEHF0rdpYwdIF6yBSmqY4rx2gm3ZF/vK17C6w1MEJ+nO31tFU201g9JysC ieUguDJ0Y6TGSkcBFki0baPKpv8+KX/Liljx+Z9QZpmcxn5fzjIeHOgwI/zcEXSs o3wM06E890lRqkpvkGA5whQ2Iq5psxrGUMK8shojxw8grjthE8WrVN4w8OuMhtqR SDtLz8OSuJW7xPCNXBDhFQ1di3OHIRhPUSQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudejgedgudegkeduucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpih gvnhhtshculddquddttddmnecujfgurhepfffhvfevuffkfhggtggujgesthdtredttddt vdenucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhird hnrghmvgeqnecuggftrfgrthhtvghrnhepteehuedviedvleeuueekhfdtieehtdeghfdv vdelhfdujeduieehleefveetuefhnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluh hsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhu lhgrrhhirdhnrghmvgdpnhgspghrtghpthhtohepjedpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtoheprhhomhgrnhesrhhirggsvghnkhhordgtohhmpdhrtghpthhtoheptghh rhhishhtohhphhgvrdhpihhsthgvuhhrsehfshhfvgdrohhrghdprhgtphhtthhopehhvg hlphdqghhuihigsehgnhhurdhorhhgpdhrtghpthhtohepfhgvlhhigidrlhgvtghhnhgv rheslhgvrghsvgdquhhprdgtohhmpdhrtghpthhtohepfiesfihmvgihvghrrdgvuhdprh gtphhtthhopegvfhhrrghimhesfhhlrghshhhnvghrrdgtohdrihhlpdhrtghpthhtohep jeehkedtkeesuggvsggsuhhgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Jan 2025 20:55:50 -0500 (EST) Date: Mon, 27 Jan 2025 20:55:49 -0500 From: Leo Famulari Message-ID: References: <87zfjzbr1c.fsf@lease-up.com> <20250110155130.2cdf3561c0224b1a0f16b38e@riabenko.com> <20250112153348.ed75f40b941c4b9daaee6f52@riabenko.com> <45175e30c13d6c9bd10661063a32697443d94484.camel@fsfe.org> <20250113220122.d62a7353d3f72037fe68652f@riabenko.com> <20250121221701.3a7f85d3a06c51ce00715563@riabenko.com> <20250122091837.bfa5ee9afbead473e30b2f4c@riabenko.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Wed, Jan 22, 2025 at 10:06:19AM +0200, Efraim Flashner wrote: > While I like the adherence to upstream's decisions and not doing > downstream development through patches, in this case we should try to > remove the footgun that has bit us multiple times in the past. > > What if we leave the kernel config as-is but add > efi_pstore.pstore_disable=1 as a default kernel argument during boot? I've pushed the patch in #75808 to the 'kernel-updates' branch as commit 4f30f754e7f12b81cb8b9d9cc5bc24ad83c41681 in order to test the build on our build farm. It will appear here shortly: https://ci.guix.gnu.org/jobset/kernel-updates I do wonder about the right place to make this change. Currently we can make special changes to the kernel configuration in two ways: 1) at build time, in ((gnu packages linux) default-extra-linux-options) 2) at run time, in ((gnu system) %default-kernel-arguments) In both cases, the system administrator can override the setting during boot. Is there a good reason to choose one or the other? If not, I'm inclined to choose the former (build time), since that is where the bulk of these special changes are currently made. It seems icky to have two lists. We can leave the list of run-time settings for things cannot be configured at build time, like modprobe blacklisting. Your thoughts? PS, I sent this message twice because I forgot to CC the patch tracker and I want this message to appear there too. From unknown Sat Aug 09 05:06:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75808] Could not prepare Boot variable Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2025 15:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75808 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: Roman Riabenko , Wilko Meyer , Christophe Pisteur , Efraim Flashner , znavko--- via , 75808@debbugs.gnu.org Received: via spool by 75808-submit@debbugs.gnu.org id=B75808.17380780863568 (code B ref 75808); Tue, 28 Jan 2025 15:29:02 +0000 Received: (at 75808) by debbugs.gnu.org; 28 Jan 2025 15:28:06 +0000 Received: from localhost ([127.0.0.1]:38032 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcnVW-0000vU-FL for submit@debbugs.gnu.org; Tue, 28 Jan 2025 10:28:06 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]:38422) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tcnVT-0000vI-Ax for 75808@debbugs.gnu.org; Tue, 28 Jan 2025 10:28:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=Mb0ijREDOGuojP0 Ih1OR9+d0AaRaLcYKHfoZHU7g6a4=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=ZhwFDcuAa2QK8N2b9UGxWCcGAxMMVC/rYgF9fkwk u2xAc1+8gLK7fUFfVaLnRvTsuZcoQC9nwSDnWMDSgWrl9WYZxlkx1VbZZADRGalQ/yFoSb U/39d8RWY6Fi8Db3txO1LebbWIm2MofgyjAFM7VqqcYNPEVoIg0MXaPlW2iTM= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 641211e3 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 28 Jan 2025 15:27:59 +0000 (UTC) From: Felix Lechner In-Reply-To: (Leo Famulari's message of "Mon, 27 Jan 2025 20:55:49 -0500") References: <87zfjzbr1c.fsf@lease-up.com> <20250110155130.2cdf3561c0224b1a0f16b38e@riabenko.com> <20250112153348.ed75f40b941c4b9daaee6f52@riabenko.com> <45175e30c13d6c9bd10661063a32697443d94484.camel@fsfe.org> <20250113220122.d62a7353d3f72037fe68652f@riabenko.com> <20250121221701.3a7f85d3a06c51ce00715563@riabenko.com> <20250122091837.bfa5ee9afbead473e30b2f4c@riabenko.com> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Tue, 28 Jan 2025 07:27:59 -0800 Message-ID: <87frl3556o.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Leo, On Mon, Jan 27 2025, Leo Famulari wrote: > Your thoughts? You should choose whichever is easier and more intuitive for you. If you go with build time, which I find reasonable, please consider that the change from vanilla is less visible to users and should therefore be documented better. Kind regards Felix From unknown Sat Aug 09 05:06:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75808] Could not prepare Boot variable Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2025 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75808 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Felix Lechner Cc: Roman Riabenko , Wilko Meyer , Christophe Pisteur , Efraim Flashner , znavko--- via , 75808@debbugs.gnu.org Received: via spool by 75808-submit@debbugs.gnu.org id=B75808.173808424313511 (code B ref 75808); Tue, 28 Jan 2025 17:11:01 +0000 Received: (at 75808) by debbugs.gnu.org; 28 Jan 2025 17:10:43 +0000 Received: from localhost ([127.0.0.1]:38315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcp6p-0003Vr-Bm for submit@debbugs.gnu.org; Tue, 28 Jan 2025 12:10:43 -0500 Received: from fout-b2-smtp.messagingengine.com ([202.12.124.145]:60533) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tcp6m-0003Va-Gy for 75808@debbugs.gnu.org; Tue, 28 Jan 2025 12:10:41 -0500 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.stl.internal (Postfix) with ESMTP id 5B37F114016F; Tue, 28 Jan 2025 12:10:34 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Tue, 28 Jan 2025 12:10:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mesmtp; t=1738084234; x= 1738170634; bh=qFtKj96Om0tBAYc5xXYUisY1PZ+gLNE2csJ2Qd5eLtQ=; b=1 HWoH2gN1SocO6lxM1jXIrZQyLK+oaO8VWlMpDyLj7ekZswscylKo37bk3/CKYdbV kg56MP3Dx0gDzVfEhORL/cQ3gkPIfN7bmfwY4CJgoJLswkcqFnLXXiYiPd5/Xm6h AnFOVxPPUZqVpdw23GYob8X3NjrMZXaVDDtgiBUNoA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1738084234; x=1738170634; bh=qFtKj96Om0tBAYc5xXYUisY1PZ+gLNE2csJ 2Qd5eLtQ=; b=lpZvI44m+BYa5NFPZnoEKeT4H2QLfgPoxsYgMysC4sZSvd2NIoa ympN6K+Jel80nG1Li7Qf5QCdfysyjSGk0QVvNVHEWecgmvYERoGgBSVEeq1trZ/S lADQ/Jjaz96GeXV1OESyz+FPKDm7wyEH5T7WavruFJuOpmhNkpSvYwXdbBJuTb/2 dAMgG3syrxxxYANVR9A80jFIF9DcQ1wDGsX8ywytPvREgseL6t5gF2plwTJx+6ZF tHox6J7SqzL7oSoAHXSA7b+bh0IapMt+/8oGh8oZRK+B4YGmjhCe9l/17NtXX5M9 wdUkw6PdniJqXyzgh8VNIrbSjBKLAT49T5g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdeiiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecu hfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmh gvqeenucggtffrrghtthgvrhhnpeeiteduheefkeeufeelgeduhfejgfelheefleeuhfef fffgueduleehvdejleeiteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgvpdhnsggprhgtphhtthho peejpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfvghlihigrdhlvggthhhnvg hrsehlvggrshgvqdhuphdrtghomhdprhgtphhtthhopehrohhmrghnsehrihgrsggvnhhk ohdrtghomhdprhgtphhtthhopegthhhrihhsthhophhhvgdrphhishhtvghurhesfhhsfh gvrdhorhhgpdhrtghpthhtohephhgvlhhpqdhguhhigiesghhnuhdrohhrghdprhgtphht thhopeifseifmhgvhigvrhdrvghupdhrtghpthhtohepvghfrhgrihhmsehflhgrshhhnh gvrhdrtghordhilhdprhgtphhtthhopeejheektdekseguvggssghughhsrdhgnhhurdho rhhg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Jan 2025 12:10:33 -0500 (EST) Date: Tue, 28 Jan 2025 12:10:31 -0500 From: Leo Famulari Message-ID: References: <20250112153348.ed75f40b941c4b9daaee6f52@riabenko.com> <45175e30c13d6c9bd10661063a32697443d94484.camel@fsfe.org> <20250113220122.d62a7353d3f72037fe68652f@riabenko.com> <20250121221701.3a7f85d3a06c51ce00715563@riabenko.com> <20250122091837.bfa5ee9afbead473e30b2f4c@riabenko.com> <87frl3556o.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87frl3556o.fsf@lease-up.com> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Jan 28, 2025 at 07:27:59AM -0800, Felix Lechner wrote: > If you go with build time, which I find reasonable, please consider that > the change from vanilla is less visible to users and should therefore be > documented better. Do you have something in mind to improve documentation of this change? A Guix news entry, perhaps? From unknown Sat Aug 09 05:06:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75808] Could not prepare Boot variable Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2025 19:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75808 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: Roman Riabenko , Wilko Meyer , Christophe Pisteur , Efraim Flashner , znavko--- via , 75808@debbugs.gnu.org Received: via spool by 75808-submit@debbugs.gnu.org id=B75808.17380915794301 (code B ref 75808); Tue, 28 Jan 2025 19:13:02 +0000 Received: (at 75808) by debbugs.gnu.org; 28 Jan 2025 19:12:59 +0000 Received: from localhost ([127.0.0.1]:38624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcr13-00017C-T0 for submit@debbugs.gnu.org; Tue, 28 Jan 2025 14:12:58 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]:44048) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tcr0z-000170-HC for 75808@debbugs.gnu.org; Tue, 28 Jan 2025 14:12:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=bJKpZzOjykwB238 +y4pEcSxF6BS3zQF9yBAyZAK0GyA=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=fTCJVPra3PWgP+cPBzblPFgRhn/IwJg9otjVq70O OFcD4/Co80BMy4QxtvIFGmbtSzsuOtu9WAov89SlLAcOXrFNaB/hTfjK2HyiFlG8ZazoQW QNGT+usB7j4qctddCy6sPnQ+kmBoZABvuXv1iHofIGVpCVoUvVZoJGuswpOlA= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 8f297d28 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 28 Jan 2025 19:12:45 +0000 (UTC) From: Felix Lechner In-Reply-To: (Leo Famulari's message of "Tue, 28 Jan 2025 12:10:31 -0500") References: <20250112153348.ed75f40b941c4b9daaee6f52@riabenko.com> <45175e30c13d6c9bd10661063a32697443d94484.camel@fsfe.org> <20250113220122.d62a7353d3f72037fe68652f@riabenko.com> <20250121221701.3a7f85d3a06c51ce00715563@riabenko.com> <20250122091837.bfa5ee9afbead473e30b2f4c@riabenko.com> <87frl3556o.fsf@lease-up.com> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Tue, 28 Jan 2025 11:12:45 -0800 Message-ID: <874j1i69ci.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Leo, On Tue, Jan 28 2025, Leo Famulari wrote: > A Guix news entry, perhaps? A news entry is probably a good idea, although I was thinking about the manual. Maybe a new section entitled "Kernel Options" in Chapter 11 "System Configuration" right after "Bootloader Configuration?" With Initrd section before it, the order would remain in reverse of the boot process and de-emphasize the somewhat esoteric topic of kernel options, if you also think that's appropriate. Kind regards Felix From unknown Sat Aug 09 05:06:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75808] Could not prepare Boot variable Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2025 19:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75808 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Felix Lechner Cc: Roman Riabenko , Wilko Meyer , Christophe Pisteur , Efraim Flashner , znavko--- via , 75808@debbugs.gnu.org Received: via spool by 75808-submit@debbugs.gnu.org id=B75808.173809387622970 (code B ref 75808); Tue, 28 Jan 2025 19:52:02 +0000 Received: (at 75808) by debbugs.gnu.org; 28 Jan 2025 19:51:16 +0000 Received: from localhost ([127.0.0.1]:38713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcrcC-0005yQ-F7 for submit@debbugs.gnu.org; Tue, 28 Jan 2025 14:51:16 -0500 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]:51209) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tcrcA-0005yA-E8 for 75808@debbugs.gnu.org; Tue, 28 Jan 2025 14:51:14 -0500 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 414BC114020B; Tue, 28 Jan 2025 14:51:09 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Tue, 28 Jan 2025 14:51:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mesmtp; t=1738093869; x= 1738180269; bh=RtKIh4s3c9vYhMTFtUHKg4Wf/xFQ9FiX1IcnmN8BB78=; b=R TBqGfiwMd0yiPmRx82Q4KXVM8ZqIqiiNgHrD4KrIpPkTLZoX6VrFF7FrHLjy53ve xyAIqDJVb+cwUWb4UiyBtYToTBeQ/wnX4u11q9vbtDsZsCdTQYz2WrywNabXQKGT wdpbn28KaPKgi6F+VrgtIV4RodSFc2mr9NDObtaGJ4= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1738093869; x=1738180269; bh=RtKIh4s3c9vYhMTFtUHKg4Wf/xFQ9FiX1Ic nmN8BB78=; b=ZwxcWTBHD4ejJxnz64ZZ7yc2pIAw+LrICJvZmzL6Cy4Nz5kVelj xV1+g79+fHaKy69vDbMFRc4UCPpxmM1jMj6SJhOw9gA1M2Q5Ho7duh9ozIMZqMAL kRjD89jBu6oX3OKQ7MOhIDZbMpvNokiV/jKu7/NHAcnQVj+WSVNiTfdkNCQDfUj6 BgNaqTgcmUqt0rQvErC2c+49X3A6pp4/o7KInC8S7DxkfqyqfS5Pi6DHnUe7R0xj DvdDyYgR07tyKqh7DmEvMvXkj5bAEouwdsNt3TuL6Bsp7SCsurtryuHFZWxJ3RRw OlL2ndjFnI2yg4pZPJIZGP/FNIawNVGSZwQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdelkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpeffhffvvefukfhfgggtuggjsehttdertddttddvnecu hfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdrnhgrmh gvqeenucggtffrrghtthgvrhhnpeeiteduheefkeeufeelgeduhfejgfelheefleeuhfef fffgueduleehvdejleeiteenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgvpdhnsggprhgtphhtthho peejpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehfvghlihigrdhlvggthhhnvg hrsehlvggrshgvqdhuphdrtghomhdprhgtphhtthhopehrohhmrghnsehrihgrsggvnhhk ohdrtghomhdprhgtphhtthhopegthhhrihhsthhophhhvgdrphhishhtvghurhesfhhsfh gvrdhorhhgpdhrtghpthhtohephhgvlhhpqdhguhhigiesghhnuhdrohhrghdprhgtphht thhopeifseifmhgvhigvrhdrvghupdhrtghpthhtohepvghfrhgrihhmsehflhgrshhhnh gvrhdrtghordhilhdprhgtphhtthhopeejheektdekseguvggssghughhsrdhgnhhurdho rhhg X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Jan 2025 14:51:08 -0500 (EST) Date: Tue, 28 Jan 2025 14:51:06 -0500 From: Leo Famulari Message-ID: References: <20250113220122.d62a7353d3f72037fe68652f@riabenko.com> <20250121221701.3a7f85d3a06c51ce00715563@riabenko.com> <20250122091837.bfa5ee9afbead473e30b2f4c@riabenko.com> <87frl3556o.fsf@lease-up.com> <874j1i69ci.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874j1i69ci.fsf@lease-up.com> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) On Tue, Jan 28, 2025 at 11:12:45AM -0800, Felix Lechner wrote: > A news entry is probably a good idea, although I was thinking about the > manual. Maybe a new section entitled "Kernel Options" in Chapter 11 > "System Configuration" right after "Bootloader Configuration?" > > With Initrd section before it, the order would remain in reverse of the > boot process and de-emphasize the somewhat esoteric topic of kernel > options, if you also think that's appropriate. I see. I'm probably not going to do this, but others are welcome to pitch in! I don't see why we need to document this particular kernel option in the manual, compared to the thousands of others. From unknown Sat Aug 09 05:06:42 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#75808] [PATCH] gnu: system: Disable EFI pstore backend by default Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jan 2025 20:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75808 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75808@debbugs.gnu.org Cc: roman@riabenko.com X-Debbugs-Original-To: Roman Riabenko via Guix-patches via X-Debbugs-Original-Cc: Roman Riabenko , 75808@debbugs.gnu.org Received: via spool by 75808-submit@debbugs.gnu.org id=B75808.173809673131623 (code B ref 75808); Tue, 28 Jan 2025 20:39:02 +0000 Received: (at 75808) by debbugs.gnu.org; 28 Jan 2025 20:38:51 +0000 Received: from localhost ([127.0.0.1]:38821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tcsME-0008Dz-M1 for submit@debbugs.gnu.org; Tue, 28 Jan 2025 15:38:51 -0500 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]:60265) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tcsMB-0008Dh-HD for 75808@debbugs.gnu.org; Tue, 28 Jan 2025 15:38:48 -0500 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id 2DA881380B9B; Tue, 28 Jan 2025 15:38:42 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Tue, 28 Jan 2025 15:38:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=mesmtp; t=1738096722; x= 1738183122; bh=3UC6MutBovd4mc11OLSD0067PZNuZEpN9qo+dWczWXU=; b=K DsLEgPqICqQu4gM8+C1TIw1Wa9VU5C/nUkHVHtuPDsQtSFQX8AafSYyN1tqfjnCH dhXSjdhOrWCMpUe7sddmbAasBJcl5sa/EYPBag8fLocrvskxggVaVFKd5IbFqHB9 lrYVkJquu3WC4bzsstMljiu1P3LuDcd0W5G10UJgjc= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1738096722; x=1738183122; bh=3UC6MutBovd4mc11OLSD0067PZNuZEpN9qo +dWczWXU=; b=YGsi+XlhqV6kIUnnSmY/xP6dAHWx2QK5oyXs7wK8a7khGY8+G3l PwKoCISqPtLKhmWZRp1DKB2nVkvv0ZllGwLHTyxd4BNcgJyumXbWHZs2myX0zAv9 RE0mHKJcnjayd7VTSI8fnuCi3/SAXjKRshVUlaY6unToq8LAlIORg/oY0cRieNZO 9soDjbXQYOxS6I2kFy2yPxx4Lm24xeogb25zZEfS6B2lH/FrXb8I9sSzBNYltRef IG2OSqu/4QkQ3cZLEb1y78EsvIqzKa7uEmLWm/FYuVScZJssQflIbJyat87SeqxK Q7c8wSkmgX/KiAFG7dCf6CsoKUOvTvSob/g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddutdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepfffhvfevuffkfhggtggujgesmhdtreertddtvden ucfhrhhomhepnfgvohcuhfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrg hmvgeqnecuggftrfgrthhtvghrnhepieelfeeugffhiefftdetleffleegleevjedujedu uddtuedvffelvedtleekfedvnecuffhomhgrihhnpehgnhhurdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheplhgvohesfhgrmhhulhgr rhhirdhnrghmvgdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpdhrtg hpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhgpdhrtghpthhtohepjeeh kedtkeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehrohhmrghnsehrih grsggvnhhkohdrtghomh X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 28 Jan 2025 15:38:41 -0500 (EST) Date: Tue, 28 Jan 2025 15:38:40 -0500 From: Leo Famulari Message-ID: References: <20250124160840.3114-1-roman@riabenko.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="PBlbkIlbEPwcM3/A" Content-Disposition: inline In-Reply-To: <20250124160840.3114-1-roman@riabenko.com> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --PBlbkIlbEPwcM3/A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jan 24, 2025 at 06:01:54PM +0200, Roman Riabenko via Guix-patches via wrote: > * gnu/system.scm (%default-kernel-arguments): Add efi_pstore.pstore_disable=1. As discussed in the help-guix thread, here is a patch that makes this change via the build-time configuration system rather than the run-time command line. https://lists.gnu.org/archive/html/help-guix/2025-01/msg00201.html --PBlbkIlbEPwcM3/A Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-system-Disable-EFI-pstore-backend-by-default.patch" >From c55c77f0758bc35b2543987b8cf3d78af5282a56 Mon Sep 17 00:00:00 2001 Message-ID: From: Roman Riabenko Date: Tue, 28 Jan 2025 13:50:29 -0500 Subject: [PATCH] gnu: system: Disable EFI pstore backend by default This commit disables one of the backends for the persistent storage driver pstore in the Linux kernel, in particular the backend which allows it to save data to EFI variables storage in UEFI NVRAM, such as error log "dump" files. This reduces writes to UEFI to reduce the chances of it wearing out or malfunctioning for other reasons, as well as prevents situations when the efivar is full and cannot take new variables, which is known to cause "Could not prepare Boot variable: No space left on device" errors on computers with some UEFI implementations which are susceptible to such problems, typically on relatively older machines. The user is confronted by the issue at the later stages of guix system reconfiguration when the new boot entry is created. It may be difficult to recover from because the exact cause depends on UEFI. Sometimes it is enough to remove dumps from efivars. Disabling the EFI pstore backend is expected to reduce the chances of unaware users running into issues with UEFI and failing to boot their Guix Systems. Sophisticated users may still enable the backend by changing the option via the kernel arguments, either in the system configuration or in GRUB. The above is my summary of what was previously discussed in guix-help mailing list: . * gnu/packages/linux.scm (default-extra-linux-options): Enable the kernel build-time configuration option CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE. Change-Id: Id0294fa90ccbf3bacbb55a22aeb4f0a863efe22c Co-authored-by: Leo Famulari --- gnu/packages/linux.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index f236aefed5..ba735c4921 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -920,7 +920,11 @@ (define (default-extra-linux-options version) ("CONFIG_VIRTIO_MMIO" . m) ("CONFIG_FUSE_FS" . m) ("CONFIG_CIFS" . m) - ("CONFIG_9P_FS" . m))) + ("CONFIG_9P_FS" . m) + ;; Disable the EFI pstore storage backend to avoid causing + ;; unrecoverable failures on some EFI systems: + ;; https://lists.gnu.org/archive/html/help-guix/2025-01/msg00173.html + ("CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE" . #t))) (define (config->string options) (string-join (map (match-lambda base-commit: 97fb1887ad10000c067168176c504274e29e4430 prerequisite-patch-id: fb8199eb3a9afa9d787a86b2cf7f408992d7e9a1 prerequisite-patch-id: bfa219db9b8e6aa9a58d2f395dd6ef85ff5bc856 prerequisite-patch-id: f9e40dd45ac4ce149a5d41317488a2485514e8ad -- 2.47.1 --PBlbkIlbEPwcM3/A-- From unknown Sat Aug 09 05:06:42 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Roman Riabenko Subject: bug#75808: closed (Re: [PATCH] gnu: system: Disable EFI pstore backend by default) Message-ID: References: <20250124160840.3114-1-roman@riabenko.com> X-Gnu-PR-Message: they-closed 75808 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 75808@debbugs.gnu.org Date: Mon, 03 Feb 2025 21:26:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1738617962-4175-1" This is a multi-part message in MIME format... ------------=_1738617962-4175-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #75808: [PATCH] [PATCH] gnu: system: Disable EFI pstore backend by default which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 75808@debbugs.gnu.org. --=20 75808: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D75808 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1738617962-4175-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 75808-done) by debbugs.gnu.org; 3 Feb 2025 21:25:21 +0000 Received: from localhost ([127.0.0.1]:41567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tf3wW-00014E-S4 for submit@debbugs.gnu.org; Mon, 03 Feb 2025 16:25:21 -0500 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]:58629) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tf3wT-0000yp-Vl for 75808-done@debbugs.gnu.org; Mon, 03 Feb 2025 16:25:18 -0500 Received: from phl-compute-10.internal (phl-compute-10.phl.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id B6BBB11401CB; Mon, 3 Feb 2025 16:25:12 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-10.internal (MEProxy); Mon, 03 Feb 2025 16:25:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s= mesmtp; t=1738617912; x=1738704312; bh=fgGaK5oiPucBpcW9N2m1P5Udq qTB2SJwFz6UyuIjcuI=; b=Hu/u7coZ8gw0+iLHV0TeB+5k8zaceZuFeBp9EqHzs QQLeXZYcnaj0MCNjZBBUBs9M1NnjjBQywvKQU8FE2TogFEJUkal2lSkvizQPRNyu PUfUGM52PLTxS02ENSO0BCWabB2zIYnXQkOczS1f5FZB3d9snZSfWf+4sjoyiqWA nk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1738617912; x= 1738704312; bh=fgGaK5oiPucBpcW9N2m1P5UdqqTB2SJwFz6UyuIjcuI=; b=x IwFKZSgQuOY64bftUi/ungvKx9UUy6VGpOFEv5JIJO6P2tfdOZTUa9CB3YZzYGDZ s0GUE7I/LHOE24su2ZegzPj7K1VVEQx9ViHEfPJZVJccpJp8KKPsKEEB3SfAiGgT LfZHq7r9IIafihkj1Bn51Lz1xxRhBWPAR22Po+OzYRM2ST1H0xXnkpRa827Tf0d9 2/VK8BLT9dhg4mJXn2Xc0u1+yKOTLXymE8mAqwoEYfC/l2vYLS+v7MT5TkZVP+Qt 6HKo94G2mRAXfuTBZRAnTthj1ep/W2X2quLFWowyvBmmfEz+Rw7saUAYOhv49QUe xU+7fea6tXCH20wVKg4Iw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddukeeikecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhepfffhvf fukfggtggusehttdertddttddvnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehl vghosehfrghmuhhlrghrihdrnhgrmhgvqeenucggtffrrghtthgvrhhnpeffhedtfeeftd dvueeifeduueejvdekheffueeijefgvdetleegheegfeehheduudenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrih drnhgrmhgvpdhnsggprhgtphhtthhopedupdhmohguvgepshhmthhpohhuthdprhgtphht thhopeejheektdekqdguohhnvgesuggvsggsuhhgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i819c4023:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for <75808-done@debbugs.gnu.org>; Mon, 3 Feb 2025 16:25:12 -0500 (EST) Date: Mon, 3 Feb 2025 16:25:09 -0500 From: Leo Famulari To: 75808-done@debbugs.gnu.org Subject: Re: [PATCH] gnu: system: Disable EFI pstore backend by default Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 75808-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) I pushed this fix as commit 616ae36e0f557cecb4abe58c5b0973b9428d25e0. I decided to effect the change using the Guile 'default-extra-linux-options' interface to the build-time kernel configuration. Thanks to everyone involved for helping debug and suggest fixes. ------------=_1738617962-4175-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Jan 2025 16:09:37 +0000 Received: from localhost ([127.0.0.1]:46657 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tbMFU-0007zc-JK for submit@debbugs.gnu.org; Fri, 24 Jan 2025 11:09:37 -0500 Received: from lists.gnu.org ([2001:470:142::17]:36796) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tbMFA-0007yF-5z for submit@debbugs.gnu.org; Fri, 24 Jan 2025 11:09:17 -0500 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 1tbMEs-0005E9-Hw for guix-patches@gnu.org; Fri, 24 Jan 2025 11:08:58 -0500 Received: from lab.riabenko.com ([185.143.146.30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tbMEo-0001Pp-88 for guix-patches@gnu.org; Fri, 24 Jan 2025 11:08:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=riabenko.com; s=selector; h=Content-Transfer-Encoding:MIME-Version: Message-ID:Date:Subject:Cc:To:From:From:Sender:Reply-To:Subject:Date: Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kX6nvIctRt2PZ7t9Mm67exYo+A4qIAqE2K0Z1x/6R/M=; b=yKTPht49LOqxyhFVlkDZ1cXX5G eAHE5O1C9uIVVvg0ekzGBP4f6afpkDnpD9oaM3l71RCoYNTD7eNifm9+HLVaBKn5ZGOWOp6qF8tQQ rziJKEFTMMVElwWcme77lonZ9F4h0mCwZtIL5zwrsNzinsWWvyJ3voz4u5Cf4dar15fBNLiizRpT+ eWDAmkxXPS4jT7EJPa99p09jXH8KcceKQVZyJsaF7hbBkSI/g7GH5GSYXq31kVUAwvQ7KiQ4CjAAQ VweMc6ChE6Pg/ahhXHPC++HEXDQwqyiuGTKodhQIFYQlfFAtmapIEwmALtNaQwEX5D6nmOWHfNUvH 3x7x5s3A==; Received: from librecmc.lan ([192.168.10.1] helo=localhost.localdomain) by lab.riabenko.com with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98) (envelope-from ) id 1tbMEg-000000000pv-0u00; Fri, 24 Jan 2025 18:08:46 +0200 From: Roman Riabenko To: guix-patches@gnu.org Subject: [PATCH] [PATCH] gnu: system: Disable EFI pstore backend by default Date: Fri, 24 Jan 2025 18:01:54 +0200 Message-ID: <20250124160840.3114-1-roman@riabenko.com> X-Mailer: git-send-email 2.47.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.143.146.30; envelope-from=roman@riabenko.com; helo=lab.riabenko.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, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: Roman Riabenko X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) * gnu/system.scm (%default-kernel-arguments): Add efi_pstore.pstore_disable=1. Change-Id: Id0294fa90ccbf3bacbb55a22aeb4f0a863efe22c --- This patch disables one of the backends for the persistent storage driver pstore in the Linux kernel, in particular the backend which allows it to save data to EFI variables storage in UEFI NVRAM, such as error log "dump" files. This reduces writes to UEFI to reduce the chances of it wearing out or malfunctioning for other reasons, as well as prevents situations when the efivar is full and cannot take new variables, which is known to cause "Could not prepare Boot variable: No space left on device" errors on computers with some UEFI implementations which are susceptible to such problems, typically on relatively older machines. The user is confronted by the issue at the later stages of guix system reconfiguration when the new boot entry is created. It may be difficult to recover from because the exact cause depends on UEFI. Sometimes it is enough to remove dumps from efivars. Disabling the EFI pstore backend is expected to reduce the chances of unaware users running into issues with UEFI and failing to boot their Guix Systems. Sophisticated users may still enable the backend by removing the option from the kernel arguments, either in the system configuration or in GRUB. The above is my summary of what was previously discussed in guix-help mailing list: . Disclosure: I have ran into this issue recently. I am a guix user who researched the topic but not a developer. To be sure, I reconfigured the system with this patch and it worked as expected by adding the kernel argument. gnu/system.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/system.scm b/gnu/system.scm index 8df871f255..5785cfdd9a 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -761,6 +761,9 @@ (define %default-kernel-arguments ;; Default arguments passed to the kernel. (list (string-append "modprobe.blacklist=" (string-join %default-modprobe-blacklist ",")) + ;; Avoiding susceptible UEFIs failures from efivars used for pstore, see + ;; . + "efi_pstore.pstore_disable=1" "quiet")) (define* (operating-system-directory-base-entries os) base-commit: 13367c6c47f5a4962dde6fab480ea14cd0ac536c -- 2.47.1 ------------=_1738617962-4175-1--