From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Woodcox Subject: Re: *** GUIX SYSTEM DISK-IMAGE HANGS PINEBOOK PRO *** Date: Wed, 13 Nov 2019 21:49:45 -0700 Message-ID: References: <5dcc9da7.GBz7tmLyx5yXhMfc%x@wilsonb.com> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:57332) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iV761-0001rR-68 for help-guix@gnu.org; Wed, 13 Nov 2019 23:51:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iV75z-0003rA-KK for help-guix@gnu.org; Wed, 13 Nov 2019 23:51:04 -0500 Received: from mail.inskydata.com ([184.68.229.6]:17495 helo=server.inskydata.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iV75z-0003Im-EN for help-guix@gnu.org; Wed, 13 Nov 2019 23:51:03 -0500 In-Reply-To: <5dcc9da7.GBz7tmLyx5yXhMfc%x@wilsonb.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: x@wilsonb.com Cc: help-guix@gnu.org Thanks for the tip. Unfortunately the gnu/build/vm.scm file explicitly stat= es that it is buggy on ARM32 boards and should not be used, even if availabl= e. I would assume that would be the case for aarch64 as well. > On Nov 13, 2019, at 5:19 PM, x@wilsonb.com wrote: >=20 > I had a similar issue building a disk-image. It was on an x86 machine, and= the > build would error out right at that point. The fix was to put add my user t= o > the 'kvm' group. >=20 > =46rom looking at top during the build, it seems that the disk-image deriv= ation > is doing something with qemu. Is there even ARM support in the KVM? I am > illiterate on that kind of thing, but hopefully this gives you a lead. >=20 > Brian Woodcox wrote: >=20 >> I am using a Pinebook Pro (aarch64) to build a disk image. However the b= uild process stops very quickly when it gets to the ...-disk-image.drv... >>=20 >> The guix --version is guix (GNU Guix) d673993...1ce0f20=20 >>=20 >> The command that I am issuing is: >>=20 >> guix system disk-image -e "(@ (gnu system install) rockpro64-installation= -os)" >>=20 >> I did not add --system=3Daarch64-linux as that should be implicit, since I= am running this on an aarch64 system. >>=20 >> Also target-arm32 is required, so I had to edit the guix/utils.scm file s= o that would be set as true as follows (this is just an ugly hack): >>=20 >> (define (target-arm32?) >> (string-prefix? "aarch" (or (%current-target-system) (%current-system)))= ) >>=20 >> Using strace on the command does not yield any obvious error. >>=20 >> building /gnu/store/qhc1l9kl9ly864r7vzpwfkql3fwa1dmp-system.drv... >> building /gnu/store/587bzj89p3xrylishwvv3qcgmz9qliym-shepherd.conf.drv...= >> building /gnu/store/3wn68s1vs4l11jxs68k35dbzhi89ixb9-gc-roots.drv... >> building /gnu/store/q1fidshxfja4a3np3mzwz9c3bih0s722-boot.drv... >> building /gnu/store/7qn53w2sdrh2vfaykaaklgzv4qh68xqx-system.drv... >> building /gnu/store/i6b2h9l9mv2ckdgcqmszwg647x9v3jlh-extlinux.conf.drv...= >> building /gnu/store/v7nhck2b7i9djf0fnk61lvgl3p4ff2gy-builder-in-linux-vm.= drv... >> building /gnu/store/jfqr107g0icghv07y3fii0i8afddbj9j-linux-vm-loader.drv.= .. >> building /gnu/store/wvk6gkbn3894dfwbb0y7nnnzrhljp3i0-disk-image.drv... >> \ ^C >>=20 >> If anyone knows what the issue is, or how I could debug it, I would be ha= ppy to hear it. >>=20 >> Thanks. >>=20 >> Brian. >>=20