unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Cc: 64966@debbugs.gnu.org
Subject: bug#64966: Rockpro64 SBC not booting anymore after "gnu: shepherd@0.10: Use guile-fibers 1.3.1."
Date: Mon, 21 Aug 2023 17:00:26 +0200	[thread overview]
Message-ID: <87lee48mph.fsf@gnu.org> (raw)
In-Reply-To: <20230731023122.17fd0146@primary_laptop> (Denis Carikli's message of "Mon, 31 Jul 2023 02:31:22 +0200")

[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]

Hi Denis,

Apologies for the delay.

Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> skribis:

> With the commit right before c219c22cbd[1], my rockpro64 (ARM 64bit
> SBC) boots fine and I get a login prompt both on the attached display
> and serial port.
>
> With c219c22cbd[1] instead it blocks here (see the attached boot.log
> file for the full boot log):
>> [   33.762050] avdd: disabling
>
> I've attached the system.scm file I used for the test. It's being
> reused by a machine configuration in another file (rockpro64.scm) and
> I deploys the configuration with:
>> guix time-machine --commit=$(GUIX_COMMIT) -- deploy -L . rockpro64.scm
>
> References:
> -----------
> [1] commit c219c22cbdb62ba52b50ec8fb12bebce0b1dd459
>     gnu: shepherd@0.10: Use guile-fibers 1.3.1.
>     * gnu/packages/admin.scm (shepherd-0.10)[native-inputs, inputs]:
>       Replace GUILE-FIBERS-1.1 with GUILE-FIBERS-1.3.

I believe this is due to this bug:

  https://github.com/wingo/fibers/issues/89

How about this patch:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1006 bytes --]

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 65d2e387b5..cb698e82b8 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -385,9 +385,15 @@ (define-public shepherd-0.10
                (base32
                 "0v9ld9gbqdp5ya380fbkdsxa0iqr90gi6yk004ccz3n792nq6wlj"))))
     (native-inputs (modify-inputs (package-native-inputs shepherd-0.9)
-                     (replace "guile-fibers" guile-fibers-1.3)))
+                     (replace "guile-fibers"
+                       ;; Work around
+                       ;; <https://github.com/wingo/fibers/issues/89>.
+                       (if (target-aarch64?)
+                           guile-fibers-1.1
+                           guile-fibers-1.3))))
     (inputs (modify-inputs (package-inputs shepherd-0.9)
-              (replace "guile-fibers" guile-fibers-1.3)))))
+              (replace "guile-fibers"
+                (this-package-native-input "guile-fibers"))))))
 
 (define-public shepherd shepherd-0.9)
 

[-- Attachment #3: Type: text/plain, Size: 26 bytes --]


?

Thanks,
Ludo’.

  reply	other threads:[~2023-08-21 15:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-31  0:31 bug#64966: Rockpro64 SBC not booting anymore after "gnu: shepherd@0.10: Use guile-fibers 1.3.1." Denis 'GNUtoo' Carikli
2023-08-21 15:00 ` Ludovic Courtès [this message]
2023-08-25 18:24   ` Denis 'GNUtoo' Carikli
2023-08-25 19:45     ` Julien Lepiller
2023-09-13 14:37   ` Denis 'GNUtoo' Carikli
2023-09-13 20:40     ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lee48mph.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=64966@debbugs.gnu.org \
    --cc=GNUtoo@cyberdimension.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).