From unknown Tue Jun 17 03:32:54 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#47723 <47723@debbugs.gnu.org> To: bug#47723 <47723@debbugs.gnu.org> Subject: Status: Boot failure with u-boot on cubietruck Reply-To: bug#47723 <47723@debbugs.gnu.org> Date: Tue, 17 Jun 2025 10:32:54 +0000 retitle 47723 Boot failure with u-boot on cubietruck reassign 47723 guix submitter 47723 Julien Lepiller severity 47723 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 12 07:18:48 2021 Received: (at submit) by debbugs.gnu.org; 12 Apr 2021 11:18:48 +0000 Received: from localhost ([127.0.0.1]:56636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVuad-0001pG-W8 for submit@debbugs.gnu.org; Mon, 12 Apr 2021 07:18:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:36780) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lVuac-0001p9-M8 for submit@debbugs.gnu.org; Mon, 12 Apr 2021 07:18:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVuac-0001v7-Gw for bug-guix@gnu.org; Mon, 12 Apr 2021 07:18:46 -0400 Received: from lepiller.eu ([2a00:5884:8208::1]:51426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVuaZ-0002wP-IZ for bug-guix@gnu.org; Mon, 12 Apr 2021 07:18:46 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 7bf9ba1a for ; Mon, 12 Apr 2021 11:18:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=dkim; bh=rn9Ln4B5NmUQFo3gLmYrp/eeq LA8Pi9xLrjZ7vz465c=; b=HSgp6v64/RMpCjU9X23+/rs6dtAdPi3gHoUh2hU7y jHJRAuQ9au6s5CQF1lhtltDkZtq8TrMJ08zrnfzIZjl5SUbP0rfQExYbHzEWVXiE lxxGgxdT53cHfXmr9xCrztR28EvGI5/w/z1T0hnp/ufBxnIBAgMvJL6WBUGlis+e tWGrJeVlNlDQwQMjcX4ZbG4cZwDrHcWdM2LIYwRVqpvuaTXBFwDThE+sOYmNrrRT HU70eLorXzPRIeEbiwN0MLIGytummZ/jwFyGRgh7XbtcxkbdFk+9+xXZRfRv/m7R gOs7LKWEukxhBZqIF6YMpxDyicqJo3CVpJHxIdluK2k0Q== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 7652ca01 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Mon, 12 Apr 2021 11:18:36 +0000 (UTC) Date: Mon, 12 Apr 2021 13:18:30 +0200 From: Julien Lepiller To: bug-guix@gnu.org Subject: Boot failure with u-boot on cubietruck Message-ID: <20210412131830.2bb40a45@tachikoma.lepiller.eu> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:5884:8208::1; envelope-from=julien@lepiller.eu; helo=lepiller.eu X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) Hi Guix! This week-end, I had to reboot my server and it couldn't boot anymore. It's a Cubietruck, an armhf machine that's in my parents' basement. They helped me debug the issue (though that was not easy, since they only have windows machines and not a lot of knowledge about Linux). At boot, the machine loads the kernel and initramfs, and gets stuck at "Starting kernel...". We tried booting various generations, including the very firts generation (as I never had to run guix gc on the machine, I kept all the generations around, that's 129 of them!). None of them worked, and they all get stuck at the same message. 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). The board might not be initialized as expected and all kernels from 4.19 to the latest 5.11 fail to boot. 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 & But when I try to use it: guix system build /etc/config.scm guix system: error: while setting up the build environment: cannot pivot old root directory onto '/gnu/store/brkm5bb59w9i4kmyznk0k4ndsz6dzq95-system.drv.chroot/real-root': Invalid argument My hope was to run "guix system reconfigure" from the chroot, so I would not loose my previous generations, and would not have to build too much, since there are almost no substitutes for armhf. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 13 15:14:58 2021 Received: (at 47723) by debbugs.gnu.org; 13 Apr 2021 19:14:58 +0000 Received: from localhost ([127.0.0.1]:60845 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWOV0-0004e8-Bg for submit@debbugs.gnu.org; Tue, 13 Apr 2021 15:14:58 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:48790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWOUy-0004dz-Om for 47723@debbugs.gnu.org; Tue, 13 Apr 2021 15:14:57 -0400 Received: from localhost (80-110-127-104.cgn.dynamic.surfer.at [80.110.127.104]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 18FEB33655A1; Tue, 13 Apr 2021 21:14:55 +0200 (CEST) Date: Tue, 13 Apr 2021 21:14:49 +0200 From: Danny Milosavljevic To: Julien Lepiller Subject: Re: bug#47723: Boot failure with u-boot on cubietruck Message-ID: <20210413211449.5033c468@scratchpost.org> In-Reply-To: <20210412131830.2bb40a45@tachikoma.lepiller.eu> References: <20210412131830.2bb40a45@tachikoma.lepiller.eu> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/4nCyBmu7I1k2bKGCr2UluD."; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 47723 Cc: 47723@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/4nCyBmu7I1k2bKGCr2UluD. Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Julien, On Mon, 12 Apr 2021 13:18:30 +0200 Julien Lepiller 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).=20 [...] > 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: >=20 > 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 >=20 > What should be my next step? >=20 > I tried running guix from inside the chroot: > /root/.config/current/bin/guix-daemon --build-users-group=3Dguixbuild & Try unshare -m /root/.config/current/bin/guix-daemon --build-users-group=3Dguix= build & It should work then. --Sig_/4nCyBmu7I1k2bKGCr2UluD. Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAmB17akACgkQ5xo1VCww uqVTfwf+KHgbpJM3x4TlfVhHbCiP7uQFeZj4YZRbWLsC30ithP1ibs6PBmSsQ7++ lKiG6CdA7k8kjyir6MxJurfhlk7sO3epzQZm+OcxWW0S2DxzlcEyx4IELXkqzIS5 iXGw4JAxmZ6kkJBkRPAIYhTW/f/6OsfxP7XCDn2LY2nGbYM6cy8tgch4HTtKyIJK zTFabrsQX5UEwroHIumoTbPVz/3QDuS0/Iu7wbrkkLYJzuHg5kYmd6zUiXc6kl8X KehkCzeVD1ikJhdQiengzPlSC8EWNrXJjZTwk4CVr5YTy9LAvYnzPbKrPK9Gmcjr w4VVAFdxwt833Ou2tMb6meUut8HRIA== =WiVD -----END PGP SIGNATURE----- --Sig_/4nCyBmu7I1k2bKGCr2UluD.-- From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 17 14:23:09 2021 Received: (at 47723-done) by debbugs.gnu.org; 17 Apr 2021 18:23:09 +0000 Received: from localhost ([127.0.0.1]:44531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXpb3-0001E1-3i for submit@debbugs.gnu.org; Sat, 17 Apr 2021 14:23:09 -0400 Received: from lepiller.eu ([89.234.186.109]:34578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lXpb0-0001Cw-IZ for 47723-done@debbugs.gnu.org; Sat, 17 Apr 2021 14:23:07 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id f0e9075c; Sat, 17 Apr 2021 18:23:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=dkim; bh=61DtEb43uhu9 R1vIZtN9Xy9geykOrB8ZqDidegDJzwI=; b=lBNzAEquNXpQ15Tz7scf5qbBBT5H 5dOgVEWgXVI9NIutNpmoSnbKw2rJNvN7VRfydQJmt9CJK6zqaIeh3EQcMnGYDFAO JVYQM/hbSyLfFRYwyFJiKMx6279LakL807At5zspUGTOMTf0sBvrDQ62tNHasPB8 v0smNpdDQ4a/oupgtGMSIX6HDwroNNYrox6UN3/Xqhi+4ZajLJzx0dmF/H/qL4L9 ZOGcYAsgPhRfHBWThSrKQqtzVFnhuHNJE5GdkioeNuiMSMJS/vhn/MBziJ+2mGiD kjP4GhSOSZdVZIEpTxFaQZOpy/E7A9RkbwgudA7VnX5gLRhgjTp2XlLmEg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 60dbba76 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Sat, 17 Apr 2021 18:23:03 +0000 (UTC) Date: Sat, 17 Apr 2021 20:22:58 +0200 From: Julien Lepiller To: Danny Milosavljevic Subject: Re: bug#47723: Boot failure with u-boot on cubietruck Message-ID: <20210417202258.433cca7f@tachikoma.lepiller.eu> In-Reply-To: <20210413211449.5033c468@scratchpost.org> References: <20210412131830.2bb40a45@tachikoma.lepiller.eu> <20210413211449.5033c468@scratchpost.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 47723-done Cc: 47723-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Le Tue, 13 Apr 2021 21:14:49 +0200, Danny Milosavljevic a =C3=A9crit : > Hi Julien, >=20 > On Mon, 12 Apr 2021 13:18:30 +0200 > Julien Lepiller wrote: >=20 > > 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). =20 > [...] > > board might not be initialized as expected and all kernels from > > 4.19 to the latest 5.11 fail to boot. =20 >=20 > 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). >=20 > 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? >=20 > > 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: > >=20 > > 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 > >=20 > > What should be my next step? > >=20 > > I tried running guix from inside the chroot: > > /root/.config/current/bin/guix-daemon > > --build-users-group=3Dguixbuild & =20 >=20 > Try >=20 > unshare -m /root/.config/current/bin/guix-daemon > --build-users-group=3Dguixbuild & >=20 > 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. From unknown Tue Jun 17 03:32:54 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 16 May 2021 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator