From unknown Tue Jun 17 22:08:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58783: Strange booting/reproducibility issue Resent-From: Denis 'GNUtoo' Carikli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 25 Oct 2022 22:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58783 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58783@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16667378192154 (code B ref -1); Tue, 25 Oct 2022 22:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Oct 2022 22:43:39 +0000 Received: from localhost ([127.0.0.1]:52589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onSe3-0000Yf-8B for submit@debbugs.gnu.org; Tue, 25 Oct 2022 18:43:39 -0400 Received: from lists.gnu.org ([209.51.188.17]:38956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onSe0-0000YX-V5 for submit@debbugs.gnu.org; Tue, 25 Oct 2022 18:43:37 -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 1onSe0-0005xM-Q3 for bug-guix@gnu.org; Tue, 25 Oct 2022 18:43:36 -0400 Received: from cyberdimension.org ([2001:910:1314:ffff::1] helo=gnutoo.cyberdimension.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1onSdy-0002FL-DJ for bug-guix@gnu.org; Tue, 25 Oct 2022 18:43:36 -0400 Received: from gnutoo.cyberdimension.org (localhost [127.0.0.1]) by cyberdimension.org (OpenSMTPD) with ESMTP id 9e386cb5 for ; Tue, 25 Oct 2022 22:40:13 +0000 (UTC) Received: from primary_laptop (localhost [::1]) by gnutoo.cyberdimension.org (OpenSMTPD) with ESMTP id f9facc76 for ; Tue, 25 Oct 2022 22:40:13 +0000 (UTC) Date: Wed, 26 Oct 2022 00:43:03 +0200 From: Denis 'GNUtoo' Carikli Message-ID: <20221026004303.3a0e4815@primary_laptop> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.30; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/SVkyBR.Hwv7vPDu9Oxqy63t"; protocol="application/pgp-signature"; micalg=pgp-sha256 Received-SPF: pass client-ip=2001:910:1314:ffff::1; envelope-from=GNUtoo@cyberdimension.org; helo=gnutoo.cyberdimension.org X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) 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: -2.4 (--) --Sig_/SVkyBR.Hwv7vPDu9Oxqy63t Content-Type: multipart/mixed; boundary="MP_/GOfQNyPSLA9kNltb7CXg7pi" --MP_/GOfQNyPSLA9kNltb7CXg7pi Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, On an i686 computer[1], I've a Guix installation on an HDD, and if I do > guix pull -M 1 -c 1 and that I then do > sudo -E guix system reconfigure -M 1 -c 1 system.scm I get the following boot failure[2]: > GC Warning: pthread_getattr_np or pthread_attr_getstack failed for > main thread GC Warning: Couldn't read /proc/stat > Welcome, this is GNU's early boot Guile. > Use 'gnu.repl' for an initrd REPL. >=20 > loading kernel modules... > Enter passphrase for /dev/sda2:=20 > /dev/mapper/cryptroot: recovering journal > /dev/mapper/cryptroot: clean, 702176/9773056 files, 8418369/39071232 > blocks ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure mkdir: File exists >=20 > Entering a new prompt. Type `,bt' for a backtrace or `,q' to > continue. GNU Guile 3.0.7 > Copyright (C) 1995-2021 Free Software Foundation, Inc. >=20 > Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. > This program is free software, and you are welcome to redistribute it > under certain conditions; type `,show c' for details. >=20 > Enter `,help' for help. > scheme@(guile-user)>=20 If I use the same system.scm (attached) and that I produce an image with the build_init.sh script (attached) which setups an encrypted partition and uses guix system init, and that I then copy the resulting image to an USB drive with ddrescue, It then boots fine. Since the system ends up not booting anymore when I try to guix pull and guix system reconfigure the system on the HDD, to boot I simply select a known booting old revision in the grub menu, so I can easily test things. Though I'm not sure where to look. Is there anything I can do to get more contexts or logs? Should I try loglevel=3D8 ? References: ----------- [1] The computer is a Thinkpad X60 with only an external display running Coreboot with SeaBIOS. [2] The boot log was captured by adding console=3DttyS0,115200 to the command line arguments in grub and by capturing the messages through a serial port. Denis. --MP_/GOfQNyPSLA9kNltb7CXg7pi Content-Type: application/x-shellscript Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=build_init.sh IyEvYmluL3NoCiMgQ29weXJpZ2h0IChDKSAyMDIyIERlbmlzICdHTlV0b28nIENhcmlrbGkgPEdO VXRvb0BjeWJlcmRpbWVuc2lvbi5vcmc+CiMKIyBUaGlzIHByb2dyYW0gaXMgZnJlZSBzb2Z0d2Fy ZTogeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQgYW5kL29yIG1vZGlmeQojIGl0IHVuZGVyIHRoZSB0 ZXJtcyBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UgYXMgcHVibGlzaGVkIGJ5CiMg dGhlIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbiwgZWl0aGVyIHZlcnNpb24gMyBvZiB0aGUgTGlj ZW5zZSwgb3IK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b3AtZGVsZXRlIC1iICIke2xvb3B9IgoKZWNobyBxZW11LXN5c3RlbS1pMzg2IC1N IHBjIC1kcml2ZSBmb3JtYXQ9cmF3LGZpbGU9JHt0YXJnZXRfaW1hZ2V9IC1tIDIwNDdNCg== --MP_/GOfQNyPSLA9kNltb7CXg7pi Content-Type: text/x-scheme Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=system.scm ;; Copyright (C) 2022 Denis 'GNUtoo' Carikli ;; ;; This program is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. ;; ;; This program is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see . (use-modules (gnu) (gnu packages admin) (gnu packages emacs) (gnu packages gnome) (gnu packages ntp) (gnu packages screen) (gnu packages vim)) (use-package-modules version-control xdisorg) (use-service-modules desktop networking sddm ssh xorg) (operating-system (locale "en_US.utf8") (timezone "Europe/Paris") (keyboard-layout (keyboard-layout "us" "altgr-intl")) (host-name "x60-base") (users (cons* (user-account (name "gnutoo") (comment "GNUtoo") (group "users") (home-directory "/home/gnutoo") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (append (list (specification->package "nss-certs") emacs git gvfs htop ntp redshift-wayland screen vim) %base-packages)) (services (append (list (elogind-service) (service openssh-service-type (openssh-configuration (permit-root-login #t) (password-authentication? #f) (challenge-response-authentication? #f) (use-pam? #f) ;; (authorized-keys ;; `(("root", (local-file "gnutoo.pub")))))) )) (service tor-service-type) ;; (service dhcp-client-service-type) (service xfce-desktop-service-type) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)) sddm-service-type)) %base-services)) (bootloader (bootloader-configuration (bootloader grub-bootloader) (targets '("/dev/sda")) (terminal-outputs '(console)) (keyboard-layout keyboard-layout))) (mapped-devices (list (mapped-device (source (uuid "12345678-abcd-1234-1234-1234567899ab")) (target "cryptroot") (type luks-device-mapping)))) (file-systems (cons* (file-system (mount-point "/") (device "/dev/mapper/cryptroot") (type "ext4") (dependencies mapped-devices)) %base-file-systems))) --MP_/GOfQNyPSLA9kNltb7CXg7pi-- --Sig_/SVkyBR.Hwv7vPDu9Oxqy63t Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEeC+d2+Nrp/PU3kkGX138wUF34mMFAmNYZncACgkQX138wUF3 4mPJ4w//Yd/XfqJe6/QxdFrAF6Y7gazuWP5Ph+9zlwOvl4RQeqChCQSa3kLYabXh SvrACdQ1dJ062kH8vGY2K6U5GyzcSKIxrqID0e5YdoF8YVNskcuwMOa7EViaeyjB tG4x0Qrnc59EsJBtcAiRZf3u9dq/S+Uo1bTPWMli5ThwxN5dgzwDRNcCh5UK14/0 52xiDpWYQ+lB9+goqhMHNgEVGaWeWKogc9ChsQ9vtBGUhhBhP7iV5MYIC2K+g9Ck 5p74QM3IJJjq7UmFZc2gdRvdYHR/Yxx4C6zvT7QdB80Xwx+bjNsPOCH9msxloj+I 5R+opCK/Lzp3WMtJN33JtweDiqKx4vrli6lmZrcXxBCuqqptUs0GMKOPTdW/+mSI 3LwFSZtVrESFKefkDMzzjR3x7tDLBtjM/hnkYYjI8F5/sv0YQ+VOzoj5q3C6CKdM L32cW7/T+A+duYmFaXf2appNzns+4CDchDe77PaR4L9embYKEgm8hyIKRppishcC qP42OlB88hm3Fh0BtX/MtcLBz8rJwMCL7FMGnltUwFBu+x3qbsKZlL/MpOqvX7mI noKC6cW0IDrIhohcbYG7b8wSyqs7XI2Oe0QY1vZWRxhx/TEF9Njs5g4EVq+tAD+u tc28HAmnOcnoSKarNPIqb6Q0bF2xvFAWz2PBiCvIGrznJkM98UE= =6y+m -----END PGP SIGNATURE----- --Sig_/SVkyBR.Hwv7vPDu9Oxqy63t-- From unknown Tue Jun 17 22:08:16 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58783: Strange booting/reproducibility issue Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 26 Oct 2022 05:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58783 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 58783@debbugs.gnu.org, GNUtoo@cyberdimension.org X-Debbugs-Original-To: bug-guix@gnu.org, Denis 'GNUtoo' Carikli , 58783@debbugs.gnu.org Received: via spool by 58783-submit@debbugs.gnu.org id=B58783.16667614738363 (code B ref 58783); Wed, 26 Oct 2022 05:18:02 +0000 Received: (at 58783) by debbugs.gnu.org; 26 Oct 2022 05:17:53 +0000 Received: from localhost ([127.0.0.1]:52958 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onYnY-0002Ao-Pl for submit@debbugs.gnu.org; Wed, 26 Oct 2022 01:17:53 -0400 Received: from lepiller.eu ([89.234.186.109]:38956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onYnT-0002Ab-Sl for 58783@debbugs.gnu.org; Wed, 26 Oct 2022 01:17:51 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 58a305a4; Wed, 26 Oct 2022 05:17:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:in-reply-to:references:message-id:mime-version :content-type:content-transfer-encoding; s=dkim; bh=8rhgBCK37Ey8 FDsq4cwLUvgZzFtjm4Q33f4R+DLEkOg=; b=OXjsIedryOpF+zoB2yNVK95G2BxK 6w8yBsyKPvcCiPIe5BvzzwSx0MQFYtKjFCgpZ+45i3cKH67G12C9ZqSzpwdE5hWt 0kiMTGa4/XR4l8XKjiL8gy39OWgheVH6rSUiugI/6dN9jHdIJzZOWfpGDi/T+KXF YgM6ePztVLQUegfG+A2ECJuiCkP9o97KVnILXXXjG8Vh1ITEHXFwvzFYdZLFvYgP UkWEu6WOKgwnamVGxEtbWer6s0lpjxKu296hDD3ig77XwbMPT6SUoy7mv6BJ+Zsa 91wFzMZISWybr2ly+VHPDakebcdRJBiY3iZjWOjJn3hfBQOP8fJaDce0vA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 49c6c4b7 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 26 Oct 2022 05:17:44 +0000 (UTC) Date: Wed, 26 Oct 2022 07:17:41 +0200 From: Julien Lepiller User-Agent: K-9 Mail for Android In-Reply-To: <20221026004303.3a0e4815@primary_laptop> References: <20221026004303.3a0e4815@primary_laptop> Message-ID: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=----VCHPQW33USNNFQKCCJIMHK919IVSU6 Content-Transfer-Encoding: 7bit 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 (-) ------VCHPQW33USNNFQKCCJIMHK919IVSU6 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable continue=2E GNU Guile 3=2E0=2E7 Copyright (C) 1995-2021 Free Software Foundation, Inc=2E That sounds weird, I would expect our guile to be more recent than that=2E= The manual suggests using "sudo guix system" instead of "sudo -E guix syst= em", maybe that's the issue? Le 26 octobre 2022 00:43:03 GMT+02:00, Denis 'GNUtoo' Carikli a =C3=A9crit=C2=A0: >Hi, > >On an i686 computer[1], I've a Guix installation on an HDD, and if I do >> guix pull -M 1 -c 1 >and that I then do >> sudo -E guix system reconfigure -M 1 -c 1 system=2Escm > >I get the following boot failure[2]: >> GC Warning: pthread_getattr_np or pthread_attr_getstack failed for >> main thread GC Warning: Couldn't read /proc/stat >> Welcome, this is GNU's early boot Guile=2E >> Use 'gnu=2Erepl' for an initrd REPL=2E >>=20 >> loading kernel modules=2E=2E=2E >> Enter passphrase for /dev/sda2:=20 >> /dev/mapper/cryptroot: recovering journal >> /dev/mapper/cryptroot: clean, 702176/9773056 files, 8418369/39071232 >> blocks ice-9/boot-9=2Escm:1685:16: In procedure raise-exception: >> In procedure mkdir: File exists >>=20 >> Entering a new prompt=2E Type `,bt' for a backtrace or `,q' to >> continue=2E GNU Guile 3=2E0=2E7 >> Copyright (C) 1995-2021 Free Software Foundation, Inc=2E >>=20 >> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'=2E >> This program is free software, and you are welcome to redistribute it >> under certain conditions; type `,show c' for details=2E >>=20 >> Enter `,help' for help=2E >> scheme@(guile-user)>=20 > >If I use the same system=2Escm (attached) and that I produce an image >with the build_init=2Esh script (attached) which setups an encrypted >partition and uses guix system init, and that I then copy the resulting >image to an USB drive with ddrescue, It then boots fine=2E > >Since the system ends up not booting anymore when I try to guix pull >and guix system reconfigure the system on the HDD, to boot I simply >select a known booting old revision in the grub menu, so I can easily >test things=2E > >Though I'm not sure where to look=2E Is there anything I can do to get >more contexts or logs? Should I try loglevel=3D8 ? > >References: >----------- >[1] The computer is a Thinkpad X60 with only an external display running > Coreboot with SeaBIOS=2E >[2] The boot log was captured by adding console=3DttyS0,115200 to the > command line arguments in grub and by capturing the messages > through a serial port=2E > >Denis=2E ------VCHPQW33USNNFQKCCJIMHK919IVSU6 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable continue=2E GNU Guile 3=2E0=2E7
Copyright (C) 1= 995-2021 Free Software Foundation, Inc=2E

That sounds weird, I would= expect our guile to be more recent than that=2E The manual suggests using = "sudo guix system" instead of "sudo -E guix system", maybe that's the issue= ?

Le 26 octobre 2022 00:43:03 GMT+02:00, = Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension=2Eorg> a =C3=A9crit=C2= =A0:
Hi,

On an i686 computer[1], I've= a Guix installation on an HDD, and if I do
guix pull -M 1 -c 1
and that I then do=
sudo -E guix system re= configure -M 1 -c 1 system=2Escm

I get the following bo= ot failure[2]:
GC Warni= ng: pthread_getattr_np or pthread_attr_getstack failed for
main thread G= C Warning: Couldn't read /proc/stat
Welcome, this is GNU's early boot Gu= ile=2E
Use 'gnu=2Erepl' for an initrd REPL=2E

loading kernel modu= les=2E=2E=2E
Enter passphrase for /dev/sda2:
/dev/mapper/cryptroot: = recovering journal
/dev/mapper/cryptroot: clean, 702176/9773056 files, 8= 418369/39071232
blocks ice-9/boot-9=2Escm:1685:16: In procedure raise-ex= ception:
In procedure mkdir: File exists

Entering a new prompt=2E= Type `,bt' for a backtrace or `,q' to
continue=2E GNU Guile 3=2E0=2E7<= br>Copyright (C) 1995-2021 Free Software Foundation, Inc=2E

Guile co= mes with ABSOLUTELY NO WARRANTY; for details type `,show w'=2E
This prog= ram is free software, and you are welcome to redistribute it
under certa= in conditions; type `,show c' for details=2E

Enter `,help' for help= =2E
scheme@(guile-user)>

If I use the same syste= m=2Escm (attached) and that I produce an image
with the build_init=2Esh = script (attached) which setups an encrypted
partition and uses guix syst= em init, and that I then copy the resulting
image to an USB drive with d= drescue, It then boots fine=2E

Since the system ends up not booting = anymore when I try to guix pull
and guix system reconfigure the system o= n the HDD, to boot I simply
select a known booting old revision in the g= rub menu, so I can easily
test things=2E

Though I'm not sure wher= e to look=2E Is there anything I can do to get
more contexts or logs? Sh= ould I try loglevel=3D8 ?

References:
[1] The computer is a Think= pad X60 with only an external display running
Coreboot with SeaBIOS= =2E
[2] The boot log was captured by adding console=3DttyS0,115200 to th= e
command line arguments in grub and by capturing the messages
= through a serial port=2E

Denis=2E
------VCHPQW33USNNFQKCCJIMHK919IVSU6--