From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qNOMJLIsdGBUZQAAgWs5BA (envelope-from ) for ; Mon, 12 Apr 2021 13:19:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EDJZHrIsdGDwaAAAB5/wlQ (envelope-from ) for ; Mon, 12 Apr 2021 11:19:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0B5021F3D5 for ; Mon, 12 Apr 2021 13:19:14 +0200 (CEST) Received: from localhost ([::1]:35182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVub2-0001xC-1n for larch@yhetil.org; Mon, 12 Apr 2021 07:19:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45482) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVuat-0001wr-0Y for bug-guix@gnu.org; Mon, 12 Apr 2021 07:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lVuas-0003Eq-PV for bug-guix@gnu.org; Mon, 12 Apr 2021 07:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lVuas-0001pm-L7 for bug-guix@gnu.org; Mon, 12 Apr 2021 07:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47723: Boot failure with u-boot on cubietruck Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Apr 2021 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47723 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47723@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16182263287026 (code B ref -1); Mon, 12 Apr 2021 11:19:02 +0000 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 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618226354; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=ObQwa1x7JMyF1z2RXdW7FkWns9ay/xQi2uWSSvZ9ICY=; b=mY+ZPp3FzywC9qk+ZB026BTi8t/xnHzPItvyn3pACDIrg2D40kO870chopoqWHJDhhUmw/ UdPR5JSQxvThjC1nD5qlfFXOkrcPYs0QO3/NcU0ehA26jbN1ppkOK1u+nGIYLzMdDEE0fh VGcOAY6X11sw01/5/yzVe+/OiQcburYZMBAoHMut5oBI07MvC0+n9Dznhr+O5afWq7TiSw W1ZS/8SS5DGGZsDW/K2X3AS6C/KnMIRBa3DD0lffmFaXDO1RoMIvRLsuuqddRdrwFBl6zh fY9aoXxZ7TdQjDGMok0dFCAFQ1vvcrkQPNst15JR9evgqpziQ7mEPyMNgZ1BFQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618226354; a=rsa-sha256; cv=none; b=shgRTf3h9u2Fe1SWMZXTyVYJfc1+PZUp8DK2AEG2xxVwkpalTfdVQGfC4ffTUDhC/H3PzE YgHjltLAFfG5LORvSoEw2q2i4Opl3z2k63DKhDY7X1sop5ysmp8GoTJGBaA2h74KI0tgns /CDUuk8+ZeMUJxAOHJIoShk1xD7lghKIWq6rk73RaXFBjJ/Ifg5wtilynFpPeS+KCNsOAi 19YYuwniellm7fnHWktrq/Ndkvr0i3gF1sj99h1m2FMIiO4xhC39xJxDxf3vtAWxpOimto 4TF0UQa8VNY6nRcAyxFE4vzJBysjNs/yevQ+GKhuAAQ1LDLNQqRAqO0pCI3I8g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=HSgp6v64; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=HSgp6v64; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0B5021F3D5 X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: AcO4elA+2hG3 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.