From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wJTtEqKHgWIIaQAAbAwnHQ (envelope-from ) for ; Mon, 16 May 2022 01:07:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id YFfrEaKHgWIJMQAAG6o9tA (envelope-from ) for ; Mon, 16 May 2022 01:07:14 +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 9355A2E000 for ; Mon, 16 May 2022 01:07:13 +0200 (CEST) Received: from localhost ([::1]:43924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nqNKR-0008OR-TK for larch@yhetil.org; Sun, 15 May 2022 19:07:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nqNK2-0008OH-LO for help-guix@gnu.org; Sun, 15 May 2022 19:06:46 -0400 Received: from mail-io1-xd34.google.com ([2607:f8b0:4864:20::d34]:41883) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nqNK0-0003GW-Vt for help-guix@gnu.org; Sun, 15 May 2022 19:06:46 -0400 Received: by mail-io1-xd34.google.com with SMTP id z26so14260405iot.8 for ; Sun, 15 May 2022 16:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=JgGHxC6pR5OhlHVOY9+9KEGoEM0HTT9q6Ih2zjUtYiM=; b=ndwfe9/TrBixlrXtnhBX3///dUsiY0ZjMocHjDTXjJPFhHRL3s4pFT0v2iXC7TfUXs Qfpn+6Ra3+lEulVNEM91/P6vFCT27FDHEbGFS/umJ3KUkwiuUvFi4FbvkCVAzES9fRS3 Fj6stdubZgT7Afg0tpCstfyu27CaOw+UvoUya14uGZnGHZ4wrtQQ4S2iiSV/okA0cSk+ 8AaYppcD6K3aPVAW4E77QqJ0ngVgSlqgMiAN/7yDA+0fEB+rgOCyBL1BMgq2LnPNl2ne O0W2/KVrKcOP8oosfIpAmwAvouiNjrMZL+9nnIG+DrYkQxU03AGzEIjClL0btUPNHijW YXpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=JgGHxC6pR5OhlHVOY9+9KEGoEM0HTT9q6Ih2zjUtYiM=; b=6hHH3mYENwXwXdYnLtpYRz0Hccv1oeJtuWxhnheyxEHFAQXjGrAS5ZQsubLUEdAhsy 0O/L7SYsHNHZRnRasbQFbSrA58GNqmf1g4yK/w4qKnyu0+PK0XYbVtwAprIWzCgNx96m MIfESPfL14n8xzFLiVMJoaccKI8TemLvrllZBYuMmSi3tADyh75bXKQpYdNhD8anjwO5 Zk5l4t00AQldg3qLWVy1DfYXt+pQQChxzbhl5/9LGAALrnxtAlg8ohlm+CAnyw+93gTa 2UgYNcRcACRbYXUNgzH7zWwRcS/ji5SYrJdynU1ETl7fmbLhGOiXmGt0lyt5VyjfSGj3 eP+A== X-Gm-Message-State: AOAM533coAsywKwtLwnpPU2H008U+kR5K08hlVOpmeQ2bwAF0JO02PBq lpWD8yF6rMRlY04uMyPEdLdVElZJ8EY= X-Google-Smtp-Source: ABdhPJwATl5Bv7psxpl6gu4c728UICBfLDrAn57MtvEIpOQtRLzwXcd8ZIViAxazGbnWTxNHfC8bqQ== X-Received: by 2002:a05:6638:2515:b0:32b:65f8:9eee with SMTP id v21-20020a056638251500b0032b65f89eeemr8108680jat.116.1652656003451; Sun, 15 May 2022 16:06:43 -0700 (PDT) Received: from washu-v4 (172-221-246-205.res.spectrum.com. [172.221.246.205]) by smtp.gmail.com with ESMTPSA id f14-20020a92b50e000000b002cde6e352c1sm2168544ile.11.2022.05.15.16.06.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 May 2022 16:06:43 -0700 (PDT) From: Katherine Cox-Buday To: Guix Help Subject: Why does setting a language in Grub take 1.5 minutes? Date: Sun, 15 May 2022 18:06:41 -0500 Message-ID: <87ee0u2y66.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::d34; envelope-from=cox.katherine.e@gmail.com; helo=mail-io1-xd34.google.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URI_NOVOWEL=0.5 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1652656033; 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=JgGHxC6pR5OhlHVOY9+9KEGoEM0HTT9q6Ih2zjUtYiM=; b=Pn60FUr0Tu3O73tSlZhLBY5tnfkcf/y4kHCO0YuYW+Fs9bhQhlSR48rugDoituxjeB89k1 SG2DVjXLjtUbIinL2xCdSgCFyUsWPYUDRfaJgqT+ISkc+L9zPRvV1V8IIJZ7DUCbxmy0XC FW0lu6DMzRBUyHa2knirz95e9R+hbwJoU5XOSV3AhAEUtN5tmGLg+Hc6uxZmIH2KM+LQy/ mVqY59W/PkzKgi2k1tA6/hgiXePVgHwkIGhbM1wPd0+By7qnyQO3/s161LtdyZErLZxU8k SreexhgQXzChJpGnSq9Z+dulIAMYLJBT2rOldYPwdnYHFyx4FndYYUx0I8KisA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1652656033; a=rsa-sha256; cv=none; b=Ii72LtdHRtZ6NUitvIP1wenZG8N1FruiKsNS0yDVkKkzUrRlVA1gssoVlS6Jr8YgdYf4ts pftwuc/OaDW6Cwhmkg7jJmFrTAcUcvn4VcuauEpi3+Lq951eBK2xv9iQ9szNM4kJQQVBez nlrMsyS3fbfGQB02hrWxM+4AjTuRS74KWGGS2DyLOfgXQB1wxzsO2qa1hZqyUWdwh4OlyD MmGjP7v3RGmUXhhI36Z/RqHP1xVE9gULVKNW/QKAqr5j03IEwTlaXLPAxTVHmWOCXl1owL f2TQtqw9v+5DATd0FeQ99afC+kHi/XIUXy6rB1mZDCUWoK3CdWkkHkUaAQVrXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="ndwfe9/T"; dmarc=pass (policy=none) header.from=gmail.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" X-Migadu-Spam-Score: -8.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b="ndwfe9/T"; dmarc=pass (policy=none) header.from=gmail.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" X-Migadu-Queue-Id: 9355A2E000 X-Spam-Score: -8.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: p+nkJlML7ee+ At some point, after a long time with no problems, my system began taking an unreasonably long time to boot. I only reboot my system ~1/week for updates, so I never took the time to debug the problem, and therefore, I couldn't really connect the issue with any changes that either I or Guix had made. I'm now trying to debug a wake from hibernate issue, and this involves a lot of rebooting, so I had to figure this out. I have, and I'm unsure why what I found is causing issues, and whether it's a Guix bug, or something wrong with my setup. Here's my partition layout: #+begin_example $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:2 0 931.5G 0 disk =E2=94=9C=E2=94=80nvme0n1p1 259:3 0 549M 0 part /boot/efi =E2=94=94=E2=94=80nvme0n1p2 259:4 0 931G 0 part =E2=94=94=E2=94=80cryptroot 253:0 0 931G 0 crypt /var/lib/docker /gnu/store / #+end_example There are no filesystem errors. Here's the bootloader portion of my operating-system: #+begin_example (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (targets (list "/boot/efi")) (keyboard-layout keyboard-layout))) #+end_example Here's part of my /boot/grub/grub.cfg, generated by Guix. I've added some echo statements to help debug. #+begin_example echo "C" # Set 'root' to the partition that contains /gnu/store. search --file --set /gnu/store/9lcbyg3pkb38chhv0yzk6hn3arxfjfgk-grub-imag= e.png echo "D" if loadfont unicode; then set gfxmode=3Dauto insmod all_video echo "E" insmod gfxterm echo "F" fi terminal_output gfxterm echo "G" insmod png echo "H" if background_image /gnu/store/9lcbyg3pkb38chhv0yzk6hn3arxfjfgk-grub-imag= e.png; then echo "H.1" set color_normal=3Dlight-gray/black echo "H.2" set color_highlight=3Dyellow/black echo "H.3" else set menu_color_normal=3Dcyan/blue set menu_color_highlight=3Dwhite/blue fi echo "I" Localization configuration. search --file --set /gnu/store/mdrdpd6aw9ikx1wzx6ljydpzvnvwpq0y-grub-loca= les/en@quot.mo echo "J" set locale_dir=3D/gnu/store/mdrdpd6aw9ikx1wzx6ljydpzvnvwpq0y-grub-locales echo "K" set lang=3Den_US echo "L" insmod keylayouts echo "M" keymap /gnu/store/pgg50qzm7d2q6k0f82c43fmsxwpwrjvx-grub-keymap.us echo "N" #+end_example And here are the time elapsed between steps (at least the ones that didn't = go by too quickly), in seconds: C -> D : 13 H -> I : 13 I -> K : 27 K -> M : 157 (!!!!) M -> N : 20 That's almost 4 minutes from unlocking the luks volume to get to the Grub m= enu, and then another 4 minutes to boot into the Kernel. I then removed the keyboard configuration and changed the theme so that it wouldn't load an image: #+begin_example (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (targets (list "/boot/efi")) (theme (grub-theme (inherit (grub-theme)) (image #f))))) #+end_example It produces a grub.cfg with this in it (again, echoes added): #+begin_example echo "A" set locale_dir=3D/gnu/store/mdrdpd6aw9ikx1wzx6ljydpzvnvwpq0y-grub-locales echo "B" set lang=3Den_US echo "C" #+end_example Between B -> C, it still takes 157 seconds. Does anyone know why this is taking so long or how to fix it? As it is, I'l= l have to manually edit my grub.cfg after every system reconfigure. Thank you, --=20 Katherine