GNU bug report logs - #47723
Boot failure with u-boot on cubietruck

Previous Next

Package: guix;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Mon, 12 Apr 2021 11:19:02 UTC

Severity: normal

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 47723-done <at> debbugs.gnu.org (full text, mbox):

From: Julien Lepiller <julien <at> lepiller.eu>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 47723-done <at> debbugs.gnu.org
Subject: Re: bug#47723: Boot failure with u-boot on cubietruck
Date: Sat, 17 Apr 2021 20:22:58 +0200
Le Tue, 13 Apr 2021 21:14:49 +0200,
Danny Milosavljevic <dannym <at> scratchpost.org> a écrit :

> Hi Julien,
> 
> On Mon, 12 Apr 2021 13:18:30 +0200
> Julien Lepiller <julien <at> 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).

Thanks for the help, I finally managed to boot it with the newer
2021.04 u-boot. Maybe 2021.01 did something wrong that was fixed later?

> 
> > 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.

Ah, I found another workaround, not sure how it works but, from the
foreign system I could "mount --make-rprivate /" and it would work.





This bug report was last modified 4 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.