From: "Ludovic Courtès" <ludo@gnu.org>
To: Tim Magee <timothy@eastlincoln.net>
Cc: 44872@debbugs.gnu.org, Mathieu Othacehe <othacehe@gnu.org>
Subject: bug#44872: GuixSD 1.2.0 installer fails with exception when formatting drive
Date: Thu, 22 Apr 2021 16:48:12 +0200 [thread overview]
Message-ID: <87y2daz87n.fsf@gnu.org> (raw)
In-Reply-To: <300530410.943064.1606325189191@mail.yahoo.com> (Tim Magee's message of "Wed, 25 Nov 2020 17:26:29 +0000 (UTC)")
Hi,
Tim Magee <timothy@eastlincoln.net> skribis:
> In ./gnu/installer/parted.scm:
> 1258:19 19 (user-partition->file-system _)
> In gnu/system/uuid.scm:
> 317:2 18 (uuid->string . _)
> In ice-9/boot-9.scm:
> 1669:16 17 (raise-exception _ #:continuable? _)
> 1667:16 16 (raise-exception _ #:continuable? _)
> 1667:16 15 (raise-exception _ #:continuable? _)
> 1667:16 14 (raise-exception _ #:continuable? _)
> 1667:16 13 (raise-exception _ #:continuable? _)
> 1667:16 12 (raise-exception _ #:continuable? _)
> 1667:16 11 (raise-exception _ #:continuable? _)
> 1667:16 10 (raise-exception _ #:continuable? _)
> 1667:16 9 (raise-exception _ #:continuable? _)
> 1667:16 8 (raise-exception _ #:continuable? _)
> 1669:16 7 (raise-exception _ #:continuable? _)
> 1764:13 6 (_ #<&compound-exception components: (#<&error> #<&origin: "match"> #<&message message: "no matching pattern"> #<&irritants irritants: (#f ext4)> #<&exception-with-kind-and-arg...>)
> In ice-9/eval.scm:
> 619:8 5 (_ #(#(#<directory (guile-user) 7f10d0fb6f00> #<<installer> name: newt init: #<procedure init ()> exit: #<procedure exit ()> exit-error: #<procedure exit-error (file key args)> f...>) ...))
> 619:8 4 (_ #(#(#(#<directory (guile-user) 7f10d0fb6f00> #<<installer> name: newt init: #<procedure init ()> exit: #<procedure exit ()> exit-error: #<procedure exit-error (file key args)> f...>) ...))
> In ice-9/ports.scm:
> 463:17 3 (call-with-output-file _ _ #:binary _ #:encoding _)
> In ice-9/eval.scm:
> 691:9 2 (_ #(#(#<directory (guile-user) 7f10d0fbf00> match-error ("match" "no matching pattern" (#f ext4))) #<output: /tmp/last-installer-error 19>))
> 159:9 1 (_ #(#(#<directory (guile-user) 7f10d0fbf00> match-error ("match" "no matching pattern" (#f ext4))) #<output: /tmp/last-installer-error 19>))
> In unknown file:
> 0 (make-stack #t)
> ice-9/eval.scm:159:9: Throw to key `match-error' with args `("match" "no matching pattern" (#f ext4))'.
Apparently what happens here is that ‘read-partition-uuid’, called by
‘user-partition->file-system’, returns #f, and that value is then passed
to ‘uuid->string’.
There are two ways ‘read-partition-uuid’ can return #f:
1. the partition doesn’t have one of the types listed in
‘%partition-uuid-readers’;
2. the partition does not exist or is EIO (see use of ‘ENOENT-safe’ in
‘partition-field-reader’).
So most likely the problem is #2.
Now, when we reach this code (from ‘user-partitions->configuration’),
partitions have been created. I wonder if there’s a possibility that
the kernel hasn’t yet updated /dev by the time we reach this?
‘free-parted’ is supposed to avoid that though.
WDYT, Mathieu?
Ludo’.
next prev parent reply other threads:[~2021-04-22 14:49 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <300530410.943064.1606325189191.ref@mail.yahoo.com>
2020-11-25 17:26 ` bug#44872: GuixSD 1.2.0 installer fails with exception when formatting drive Tim Magee
2020-11-26 8:58 ` Mathieu Othacehe
[not found] ` <304538163.1205868.1606443556649@mail.yahoo.com>
2020-11-27 3:12 ` bug#44872: Fw: " Tim Magee
2020-11-28 5:27 ` Tim Magee
2020-12-01 9:46 ` Mathieu Othacehe
2020-11-29 19:02 ` andi
2020-12-22 2:13 ` Tim Magee via web
2021-04-22 14:48 ` Ludovic Courtès [this message]
2021-04-22 22:40 ` bug#44872: Installer crash: 'uuid->string' is passed #f in lieu of a UUID Ludovic Courtès
2021-06-05 23:08 ` David Wilson
2021-06-07 6:20 ` Mathieu Othacehe
2021-06-08 16:33 ` David Wilson
2021-06-09 15:57 ` Mathieu Othacehe
2021-06-09 16:44 ` David Wilson
2021-06-12 7:49 ` Mathieu Othacehe
2021-06-12 13:53 ` David Wilson
2021-06-12 16:53 ` Mathieu Othacehe
2021-06-12 22:26 ` David Wilson
2021-06-17 10:24 ` Mathieu Othacehe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2daz87n.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=44872@debbugs.gnu.org \
--cc=othacehe@gnu.org \
--cc=timothy@eastlincoln.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.