GNU bug report logs - #61011
‘guix system vm’ spawns QEMU and hangs

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Ludovic Courtès <ludo@HIDDEN>; dated Sun, 22 Jan 2023 21:37:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Jan 2023 21:36:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jan 22 16:36:29 2023
Received: from localhost ([127.0.0.1]:52727 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pJi0q-0007kj-TN
	for submit <at> debbugs.gnu.org; Sun, 22 Jan 2023 16:36:29 -0500
Received: from lists.gnu.org ([209.51.188.17]:36912)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1pJi0o-0007ka-Fc
 for submit <at> debbugs.gnu.org; Sun, 22 Jan 2023 16:36:27 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1pJi0n-0003TT-EI
 for bug-guix@HIDDEN; Sun, 22 Jan 2023 16:36:25 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1pJi0m-0007D1-PP
 for bug-guix@HIDDEN; Sun, 22 Jan 2023 16:36:25 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=tEhktmfuAwI5RySG7OROwyakG2JFBwTJ8Z6vq8jSP1M=; b=KjlN/zqv7Zm4X3
 cbVutfGhVos4T9Eb7vzPA2vA9O9gvfZ6APX8xuskZKJ4OzipE+AV8sFMysVK7XV1vHIEcgeDz1g7l
 Hts0vv1INRR0WBEXEWphshwtVOcWFkNfVmNXMi678vOvrVSGfLUpnZQHXSrp3fEjc90i/g1gFNXpm
 +Cf77xg4AvvHcD8S9Q4bZrN/3fyXrLjmr/SaekekjsYzFOedfsit4z1UeO5AoefJhFRUCo6y0Wp/d
 wO10jFqrUtQdSZoq1yLHtd37waaZvaU3JD3+MCfE06TGdxZe0TtqtLT2pXhMTs+N4maFwKfrh52db
 dGwaVSQazJaNgBMFbGxg==;
Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1pJi0l-0002RJ-Rh
 for bug-guix@HIDDEN; Sun, 22 Jan 2023 16:36:24 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: bug-guix@HIDDEN
Subject: =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?vm=E2=80=99?= spawns
 QEMU and hangs
X-Debbugs-Cc: Efraim Flashner <efraim@HIDDEN>, Marius Bakke
 <marius@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: Tridi 3 =?utf-8?Q?Pluvi=C3=B4se?= an 231 de la
 =?utf-8?Q?R=C3=A9volution=2C?= jour du Fragon
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Sun, 22 Jan 2023 22:36:21 +0100
Message-ID: <87sfg245gq.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hello,

On my Guix System machine, the =E2=80=98qemu-system-x86_64=E2=80=99 spawned=
 by =E2=80=98guix
system vm=E2=80=99 hangs after printing =E2=80=9CBooting from ROM...=E2=80=
=9D; it has to be
terminated with SIGKILL, SIGINT is not enough.

Specifically:

  $(guix time-machine --commit=3D66188398c446bdf9ce044fa539536e9b54c28c60 \
    -- system vm gnu/system/examples/bare-bones.tmpl) -m 1024  # Good.

=E2=80=A6 whereas:

  $(guix time-machine --commit=3D9923100a42ffa80f604c1c13a5e999e6a4c15146 \
    -- system vm gnu/system/examples/bare-bones.tmpl) -m 1024  # Bad!

I thought the culprit might be this commit:

  commit 9923100a42ffa80f604c1c13a5e999e6a4c15146
  Date:   Fri Dec 23 09:42:27 2022 +0200

      gnu: sgabios: Fix build on cross-build architectures.

      * gnu/packages/firmware.scm (sgabios)[arguments]: When cross-building
      add a make-flag to use the correct objcopy.

=E2=80=A6 but even after reverting it on today=E2=80=99s master, QEMU occas=
ionally hangs
as before, though not always.

=E2=80=98qemu-minimal=E2=80=99 as used for =E2=80=9Cmake check-system=E2=80=
=9D seems to work fine.

There have been a number of packages unbundled, so I wonder if another
one of these might be causing problems.

What do you think?

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to efraim@HIDDEN, marius@HIDDEN, bug-guix@HIDDEN. Full text available.
Report forwarded to efraim@HIDDEN, marius@HIDDEN, bug-guix@HIDDEN:
bug#61011; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 22 Jan 2023 22:00:02 UTC

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