Acknowledgement sent
to "Dan Finlay" <dan@danfinlay.com>:
New bug report received and forwarded. Copy sent to bug-guix@gnu.org.
(Wed, 21 Sep 2022 16:47:02 GMT) (full text, mbox, link).
Subject: Re: bug#57983: Error installing on a Framework Laptop
Date: Thu, 22 Sep 2022 08:50:12 +0200
Hello Dan,
Thanks a lot for the bug report.
> The dump was uploaded as installer-dump-11a1087c.
As you are the first one reporting an installer bug using the new dump
mechanism, a small precision:
the dump can be downloaded this way:
--8<---------------cut here---------------start------------->8---
mathieu@meije ~$ wget -qO- dump.guix.gnu.org/download/installer-dump-11a1087c | tar xvz
dump.2022-09-21.05.57.10/syslog
dump.2022-09-21.05.57.10/installer-result
dump.2022-09-21.05.57.10/installer-backtrace
dump.2022-09-21.05.57.10/dmesg
--8<---------------cut here---------------end--------------->8---
It looks like the issue is:
--8<---------------cut here---------------start------------->8---
Sep 21 05:45:33 localhost installer[548]: substitute: ^Msubstitute: ^[[Kupdating substitutes from 'https://ci.guix.gnu.org'... 0.0%Backtrace:
Sep 21 05:45:33 localhost installer[548]: substitute: 14 (primitive-load "/gnu/store/hsvz87ld2q231g3pqg62a0bwr4j…")
Sep 21 05:45:33 localhost installer[548]: substitute: In guix/ui.scm:
Sep 21 05:45:33 localhost installer[548]: substitute: 2263:7 13 (run-guix . _)
Sep 21 05:45:33 localhost installer[548]: substitute: 2226:10 12 (run-guix-command _ . _)
Sep 21 05:45:33 localhost installer[548]: substitute: In ice-9/boot-9.scm:
Sep 21 05:45:33 localhost installer[548]: substitute: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _)
Sep 21 05:45:33 localhost installer[548]: substitute: 1752:10 10 (with-exception-handler _ _ #:unwind? _ # _)
Sep 21 05:45:33 localhost installer[548]: substitute: In guix/scripts/substitute.scm:
Sep 21 05:45:33 localhost installer[548]: substitute: 763:18 9 (_)
Sep 21 05:45:33 localhost installer[548]: substitute: 348:26 8 (process-query #<output: file 4> _ #:cache-urls _ #:acl _)
Sep 21 05:45:33 localhost installer[548]: substitute: In guix/substitutes.scm:
Sep 21 05:45:33 localhost installer[548]: substitute: 365:27 7 (lookup-narinfos/diverse _ _ #<procedure 7f4686537580 …> …)
Sep 21 05:45:33 localhost installer[548]: substitute: 322:31 6 (lookup-narinfos "https://ci.guix.gnu.org" _ # _ # _)
Sep 21 05:45:33 localhost installer[548]: substitute: 245:26 5 (fetch-narinfos _ _ #:open-connection _ # _)
Sep 21 05:45:33 localhost installer[548]: substitute: In ice-9/boot-9.scm:
Sep 21 05:45:33 localhost installer[548]: substitute: 1685:16 4 (raise-exception _ #:continuable? _)
Sep 21 05:45:33 localhost installer[548]: substitute: 1685:16 3 (raise-exception _ #:continuable? _)
Sep 21 05:45:33 localhost installer[548]: substitute: 1780:13 2 (_ #<&compound-exception components: (#<&error> #<&orig…>)
Sep 21 05:45:33 localhost installer[548]: substitute: 1685:16 1 (raise-exception _ #:continuable? _)
Sep 21 05:45:33 localhost installer[548]: substitute: 1685:16 0 (raise-exception _ #:continuable? _)
Sep 21 05:45:33 localhost installer[548]: substitute:
Sep 21 05:45:33 localhost installer[548]: substitute: ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Sep 21 05:45:33 localhost installer[548]: substitute: In procedure write_wait_fd: unimplemented
Sep 21 05:45:33 localhost installer[548]: guix system: error: `/gnu/store/hsvz87ld2q231g3pqg62a0bwr4jq5rb6-guix-command substitute' died unexpectedly
Sep 21 05:45:33 localhost installer[548]: command ("guix" "system" "init" "--fallback" "/mnt/etc/config.scm" "/mnt") exited with value 1
--8<---------------cut here---------------end--------------->8---
This is an unfixed bug reported here: https://issues.guix.gnu.org/56005
Then the final phase is retried and fails this way:
--8<---------------cut here---------------start------------->8---
Sep 21 05:57:10 localhost vmunix: [ 1295.546730] /dev/mapper/cryptroot: Can't open blockdev
Sep 21 05:57:10 localhost installer[426]: mounting "/dev/mapper/cryptroot" on "/mnt/"
Sep 21 05:57:10 localhost installer[426]: crashing due to uncaught exception: system-error ("mount" "mount ~S on ~S: ~A" ("/dev/mapper/cryptroot" "/mnt/" "No such file or directory") (2))
--8<---------------cut here---------------end--------------->8---
The first issue is most likely transient and you might have better luck
just by retrying. In the meantime I'll try to understand why the final
phase retry fails.
Thanks,
Mathieu
Severity set to 'important' from 'normal'
Request was from Mathieu Othacehe <mathieu@meije.mail-host-address-is-not-set>
to control@debbugs.gnu.org.
(Thu, 22 Sep 2022 07:20:02 GMT) (full text, mbox, link).
Information forwarded
to bug-guix@gnu.org: bug#57983; Package guix.
(Thu, 22 Sep 2022 13:14:02 GMT) (full text, mbox, link).
Subject: [PATCH 0/4] Fix luks devices not being re-opened when restarting the
final step
Date: Thu, 22 Sep 2022 15:12:43 +0200
Hi both of you,
Here is a fix for the second issue, as well as a little bonus commit for a
mistake that made it past my refactoring.
Best,
Josselin Poiret (4):
installer: Move <secret> to utils and use it for crypt passwords.
installer: Return partitions with crypt password as step result.
installer: Ensure luks devices are open when mounting partitions.
installer: Exit console-services page with abort-to-prompt.
gnu/installer/newt/partition.scm | 8 ++++----
gnu/installer/newt/services.scm | 6 ++----
gnu/installer/parted.scm | 20 ++++++++++++++++++--
gnu/installer/user.scm | 18 ++----------------
gnu/installer/utils.scm | 19 ++++++++++++++++++-
5 files changed, 44 insertions(+), 27 deletions(-)
base-commit: 344405475aebd6bcad60f29fc4ac0b7122a78fd0
--
2.37.2
Information forwarded
to bug-guix@gnu.org: bug#57983; Package guix.
(Thu, 22 Sep 2022 14:36:02 GMT) (full text, mbox, link).
Cc: Dan Finlay <dan@danfinlay.com>, 57983@debbugs.gnu.org
Subject: Re: bug#57983: Error installing on a Framework Laptop
Date: Thu, 22 Sep 2022 16:34:50 +0200
Hey,
> Here is a fix for the second issue, as well as a little bonus commit for a
> mistake that made it past my refactoring.
That's awesome. I tested by running an install with "automatic encrypted
partitioning" then killing the "guix init" process. The installer is
able to resume the final step without any issue.
I added a "Partially-Fixes" tag as this patchset fixes one of the two
issues Dan reported, and pushed. This issue is now blocked by
https://issues.guix.gnu.org/56005 resolution.
Thanks,
Mathieu
Added blocking bug(s) 56005 and 2
Request was from Mathieu Othacehe <mathieu@meije.mail-host-address-is-not-set>
to control@debbugs.gnu.org.
(Thu, 22 Sep 2022 14:37:02 GMT) (full text, mbox, link).
Information forwarded
to bug-guix@gnu.org: bug#57983; Package guix.
(Thu, 22 Sep 2022 17:59:02 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the
GNU Public License version 2. The current version can be
obtained from https://bugs.debian.org/debbugs-source/.