From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id cB3fLtK1YWKbaQAAbAwnHQ (envelope-from ) for ; Thu, 21 Apr 2022 21:51:46 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 4OfcLdK1YWL16AAAG6o9tA (envelope-from ) for ; Thu, 21 Apr 2022 21:51:46 +0200 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 669D82B87C for ; Thu, 21 Apr 2022 21:51:46 +0200 (CEST) Received: from localhost ([::1]:37522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhcq9-0006f2-6A for larch@yhetil.org; Thu, 21 Apr 2022 15:51:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhcY2-0000Oe-Ie for guix-patches@gnu.org; Thu, 21 Apr 2022 15:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhcY2-0005oU-9d for guix-patches@gnu.org; Thu, 21 Apr 2022 15:33:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nhcY2-00030F-4v for guix-patches@gnu.org; Thu, 21 Apr 2022 15:33:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48314] [PATCH v3] Install guix system on Raspberry Pi Resent-From: Stefan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Apr 2022 19:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48314 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: phodina Cc: Vagrant Cascadian , dannym@scratchpost.org, Ludovic =?UTF-8?Q?Court=C3=A8s?= , Maxime Devos , 48314@debbugs.gnu.org Received: via spool by 48314-submit@debbugs.gnu.org id=B48314.165056957811532 (code B ref 48314); Thu, 21 Apr 2022 19:33:02 +0000 Received: (at 48314) by debbugs.gnu.org; 21 Apr 2022 19:32:58 +0000 Received: from localhost ([127.0.0.1]:50943 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhcXy-0002zv-GR for submit@debbugs.gnu.org; Thu, 21 Apr 2022 15:32:58 -0400 Received: from mr5.vodafonemail.de ([145.253.228.165]:33178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhcXw-0002zk-GR for 48314@debbugs.gnu.org; Thu, 21 Apr 2022 15:32:57 -0400 Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr5.vodafonemail.de (Postfix) with ESMTPS id 4KknkZ68pBz25QF; Thu, 21 Apr 2022 19:32:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-21dec; t=1650569575; bh=zpDkyD8w4U/RsHkgL+nIC0X6id+aLSOcDk1m2j9HMA8=; h=Content-Type:From:Subject:Date:Message-Id:References:In-Reply-To: To:X-Mailer:From; b=cExDC2zAbahmZOoZaC0o3TIo8V5mTlH3IjcSB9Gwwqz5oWeDBqy4in1TCIlg2dlrM n5c8OCHXjWk/Kl5dPlRIThBjoApGA304D1uA0E08IXPC+5rr/MEexksbapZXLUVEMK oEeVqPhqiU2MJT7m4TyiSxJkortKl2oc6+Oq9iqk= Received: from smtpclient.apple (aftr-62-216-207-47.dynamic.mnet-online.de [62.216.207.47]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4KknkH1mGnzMkrs; Thu, 21 Apr 2022 19:32:36 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Stefan Mime-Version: 1.0 (1.0) Date: Thu, 21 Apr 2022 21:32:34 +0200 Message-Id: References: In-Reply-To: X-Mailer: iPhone Mail (19E258) X-purgate-type: clean X-purgate: clean X-purgate-size: 1888 X-purgate-ID: 155817::1650569574-00003D05-3C37A1B0/0/0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1650570706; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=zpDkyD8w4U/RsHkgL+nIC0X6id+aLSOcDk1m2j9HMA8=; b=CKGIl4dGFsauUh6UNWeOqKuroue/Fu5nlm6OVhbqm+dbDZxaBIe6Yyx7e+b7Wws2DLH+3R ntcx8fxMc2XXmAZ3hycXO9MyP758dXtXC2TyqzhwCah+ec1DvLg2ENubJ5ZM4hYR0MX6Pz 1us6hYc2b9VeXRN1uP5CoiBlXUYEG0GaLIG24Pvgx6d5REidBPq/YViZV2H7lEK82KnuXD oseUbNw52IEYWs5E4tWRgh53wvDC3MdnSwJDvYoLpr5mTvInSLj6CvmEQmx8Qhj+8nn3aH kKa3PYoLD3Q+bvmJYdJBjB1uyamq/GIErPJk5GP4oKjr7das3vKMgbNw+qPzGQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650570706; a=rsa-sha256; cv=none; b=XA8CiLQo3xiL5WThhq8dNCwdprvhqg04TEijlZIR/H77k3lyZNIS2BsYI2FDIuAkKotXTt eR5CDHLYqRSQncteoWYjXjQ07COHnadXKxouD8wtMCSTAbozbrf8gtEbNq/+F4ZPZmSW+d vMmRxiZwJoZWwLVzb5dfjEqoJEhPwc7WMVfnGy6PGyq4NC+83xClT0JRk0XmFkjaTCzxDs DZCs2FR/hvnM8rGAuk8sY0iaDtymZCUIPB9QOzy+o4smM6rqgSBZIPoWJJ1SDJWqBlLE4E 5Oig/4GiB75n1n/qnahPrgdpzRHWTQG57zVd2YkuwW0XjpX+iMumrcUZm1PGaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=cExDC2zA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=vodafonemail.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=vodafonemail.de header.s=vfde-mb-mr2-21dec header.b=cExDC2zA; dmarc=fail reason="SPF not aligned (relaxed)" header.from=vodafonemail.de (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 669D82B87C X-Spam-Score: 5.17 X-Migadu-Scanner: scn0.migadu.com X-TUID: y31BISeIUV2C Hi Petr! > Vagrant has valid points about the patches. >=20 > Stefan do you want to address them or shall I? I have already patches to address the review comments from Vagrant, actually= for months; also including improvements (e.g. checking that defconfig chang= es are successfully applied, which is not guaranteed). Beside a lack of time, it is as you said: Building with 1 GB RAM is very pro= blematic. Swap space is a requirement. Building takes days, using make with s= ub-targets helps a bit. In recent Linux kernels the virtual memory handling i= s badly broken; the build process gets killed, although there is empty swap s= pace. Only version 5.4 is still fine. Without other hardware offloading or c= ross-building is not an option. Substitutes of guix, Linux, which needs spec= ial config settings, U-Boot and I think GRUB, are not =E2=80=93 can=E2=80=99= t be =E2=80=93 available. Last time I tried at least qemu =E2=80=93 an input= of GRUB =E2=80=93 had build issues on aarch64 and was missing a substitute.= For Linux I meanwhile need to remove the deblob-check, as it even exhausts m= y swap space. I=E2=80=99m hesitant to submit my untestet patches. I hope to find some time= on the weekend =E2=80=93 and that I don=E2=80=99t make mistakes, as my turn= -around-time is close to a week. ;-) By the way: I have the feeling that a garbage-collector may be a real bottle= -neck, if most of a process=E2=80=99 memory is swapped out. I was surprised t= o not find papers about this. And once I was looking for options to limit th= e Guile heap, but didn=E2=80=99t find anything helpful. > It runs fine on Raspberry Pi 4 where there is 4GiB of memory This is good to know, thanks! Would you mind, if I send untested patches, which you could pick up? Is ther= e a possibility to offload to ci.guix.gnu.org?=20 Bye Stefan=