unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Danny Milosavljevic <dannym@scratchpost.org>
To: Julien Lepiller <julien@lepiller.eu>
Cc: 47723@debbugs.gnu.org
Subject: bug#47723: Boot failure with u-boot on cubietruck
Date: Tue, 13 Apr 2021 21:14:49 +0200	[thread overview]
Message-ID: <20210413211449.5033c468@scratchpost.org> (raw)
In-Reply-To: <20210412131830.2bb40a45@tachikoma.lepiller.eu>

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

Hi Julien,

On Mon, 12 Apr 2021 13:18:30 +0200
Julien Lepiller <julien@lepiller.eu> wrote:

> I suspect something might have changed in u-boot recently (maybe the
> upgrade to 2021.01, since I didn't have to reboot this year yet). 
[...]
> board might not be initialized as expected and all kernels from 4.19 to
> the latest 5.11 fail to boot.

Yeah, that happens sometimes with u-boot.  It sucks--but I suspect there's just
not a lot of people updating their u-boot installation all the time (or at all
ever).

I'm not sure whether it's better to just provide the old u-boot or to figure
out what exactly broke (the latter is probably gonna take quite some time).

> In the end, I reinstalled a foreign distribution (that uses u-boot
> 2017.01) and can SSH to the machine, but I haven't reinstalled Guix
> yet. Guix was installed on an external disk, so I haven't lost anything
> other that the bootloader it installed. I can chroot to the Guix system:
> 
>   mount -v --bind /dev /mnt/dev
>   mount -v --bind /dev/pts /mnt/dev/pts
>   mount -vt proc proc /mnt/proc
>   mount -vt sysfs sysfs /mnt/sys
>   chroot /mnt /run/current-system/profile/bin/bash
>   . /etc/profile
> 
> What should be my next step?
> 
> I tried running guix from inside the chroot:
>   /root/.config/current/bin/guix-daemon --build-users-group=guixbuild &

Try

unshare -m /root/.config/current/bin/guix-daemon --build-users-group=guixbuild &

It should work then.

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  reply	other threads:[~2021-04-13 19:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-12 11:18 bug#47723: Boot failure with u-boot on cubietruck Julien Lepiller
2021-04-13 19:14 ` Danny Milosavljevic [this message]
2021-04-17 18:22   ` Julien Lepiller

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=20210413211449.5033c468@scratchpost.org \
    --to=dannym@scratchpost.org \
    --cc=47723@debbugs.gnu.org \
    --cc=julien@lepiller.eu \
    /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).