From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id UHOoAqkZB2XwJAEA9RJhRA:P1 (envelope-from ) for ; Sun, 17 Sep 2023 17:22:17 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UHOoAqkZB2XwJAEA9RJhRA (envelope-from ) for ; Sun, 17 Sep 2023 17:22:17 +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 A98D83D4C3 for ; Sun, 17 Sep 2023 17:22:16 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=dXTPzyxw; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694964136; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Rpj2pj40OV1P/R7pKWO9svDkhAqwO/Yw3QlybvTbGY0=; b=KubKZMy87cs4hx6/xhT1BCBfX5tUnbibeNC9pQ+JoMSTNSXLWPhHAZgoRnn9g6psu3+8pG 6Alf1cgb9xWi47eJeB/VdUfYzS5oLjKwhB+csuHlJbMLxaM5kX7v7eDWMLj+AXQechsxmd 9QiYdYD1VJGOPmZ2PUbSph6GByH3LiHkLHDt79rzaTe0IwUXgrNW8aQH98zg671d+AbI6c Xr8EVpI9BQwCPfDQ5OBQEi0ipRCHcETEHJ99M47/OXnLcwR7Pew/bjEIi6Y83AQjib0AgW ADPFJsGvBhej42BlOLOCybMVH1Ck9hwE80TOVC3K932lF7YdYf8cUZYuJTVKsg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=inria.fr header.s=dc header.b=dXTPzyxw; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=inria.fr (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694964136; a=rsa-sha256; cv=none; b=uJ4CgZXN4OY4ivVZlFDypy7jDLXhXh5x5BxpbNDLRDUm+5/ZQCZ/Hl9j8gn2XJ7/4hnAyP 7oLRPPCdtDRrJZMxx7rzHACCTUfmluTQWwuncCIcC95TCdRawrRgp8TEFjhkArRq0f4w1V CBnShzz4v8riFVBz5EO331WI7yu045fhcBH5OnYH0lOaM7y/jG4KsEcc512fauY8DuHXuF +WnHG60jXcT4J8Ee5y3oHAK75BtY7lrzNTdleW8L2qbvTOyIV9eWA2mAe5zo5DL3E26aDx u39aayB0vgHZX7UYmxRIS7PzEjEp89eoUE6aw66DhvEDwVmephwcKSi0N5tcVA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qhtax-0005zr-6o; Sun, 17 Sep 2023 11:21:59 -0400 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 ) id 1qhtau-0005zU-Th for bug-guix@gnu.org; Sun, 17 Sep 2023 11:21:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qhtas-0003dt-S9; Sun, 17 Sep 2023 11:21:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qhtb0-0000dd-Fx; Sun, 17 Sep 2023 11:22:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66053: Childhurd fails to run inside =?UTF-8?Q?=E2=80=98guix?= system =?UTF-8?Q?vm=E2=80=99?= Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: janneke@gnu.org, bug-guix@gnu.org Resent-Date: Sun, 17 Sep 2023 15:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66053 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 66053@debbugs.gnu.org Cc: Janneke Nieuwenhuizen X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: Janneke Nieuwenhuizen Received: via spool by submit@debbugs.gnu.org id=B.16949641172438 (code B ref -1); Sun, 17 Sep 2023 15:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 17 Sep 2023 15:21:57 +0000 Received: from localhost ([127.0.0.1]:51162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhtav-0000dF-Gu for submit@debbugs.gnu.org; Sun, 17 Sep 2023 11:21:57 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qhtat-0000d3-97 for submit@debbugs.gnu.org; Sun, 17 Sep 2023 11:21:56 -0400 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 ) id 1qhtag-0005xL-8T for bug-guix@gnu.org; Sun, 17 Sep 2023 11:21:42 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qhtac-0003bU-U5 for bug-guix@gnu.org; Sun, 17 Sep 2023 11:21:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=Rpj2pj40OV1P/R7pKWO9svDkhAqwO/Yw3QlybvTbGY0=; b=dXTPzyxwtKlXf9Wn9sNbZx0LaNymJ3ABYoF0A9MEqFu63rXavrV6h9Og KbHRPhVXSQQSdGhEjOg2RNPSy7sEwIwVCRD1/lIIcBYBJ5uMcf/lKBirm DZ24iFwtBSeebCk+9zW7FQW4GtvWaUHGQajvGJVqDNovKHZ//HpHCBDlQ k=; X-IronPort-AV: E=Sophos;i="6.02,154,1688421600"; d="scan'208";a="66175874" Received: from 91-160-117-201.subs.proxad.net (HELO ribbon) ([91.160.117.201]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Sep 2023 17:21:35 +0200 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 1 jour =?UTF-8?Q?compl=C3=A9mentaire?= an 231 de la =?UTF-8?Q?R=C3=A9volution,?= jour de la Vertu 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, 17 Sep 2023 17:21:33 +0200 Message-ID: <87sf7cx1tu.fsf@inria.fr> 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 Received-SPF: pass client-ip=192.134.164.104; envelope-from=ludovic.courtes@inria.fr; helo=mail3-relais-sop.national.inria.fr 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -0.31 X-Spam-Score: -0.31 X-Migadu-Queue-Id: A98D83D4C3 X-TUID: BHifYHm6CF2M Hello! I=E2=80=99m failing to run a childhurd inside a =E2=80=98guix system vm=E2= =80=99 GNU/Linux VM as of fc3a53525ab3dcaf7c22eec8d62294017f9760fe. --8<---------------cut here---------------start------------->8--- Sep 17 17:03:25 localhost shepherd[1]: [qemu-system-i386] qemu-system-i386:= Slirp: Failed to send packet, ret: -1=20 Sep 17 17:03:37 localhost shepherd[1]: [qemu-system-i386] qemu-system-i386:= Slirp: Failed to send packet, ret: -1=20 Sep 17 17:03:43 localhost shepherd[1]: [qemu-system-i386] qemu-system-i386:= Bad ram pointer 0x7f739ac0001e=20 Sep 17 17:03:43 localhost shepherd[1]: secret service: invalid handshake #<= eof>=20 Sep 17 17:03:43 localhost shepherd[1]: Service hurd-vm could not be started= .=20 Sep 17 17:03:43 localhost shepherd[1]: Service hurd-vm failed to start.=20 --8<---------------cut here---------------end--------------->8--- When I run it by hand with KVM on my bare-metal GNU/Linux machine, it=E2=80= =99s all good: =F0=9F=91=8D --8<---------------cut here---------------start------------->8--- $ "/gnu/store/1rg1fb9mj65rh82467vwlrkmi12p4v89-qemu-minimal-8.1.0/bin/qemu-= system-i386" "-m" 2048 "--device" "rtl8139,netdev=3Dnet0" "--netdev" "user,= id=3Dnet0,hostfwd=3Dtcp:127.0.0.1:11004-:1004,hostfwd=3Dtcp:127.0.0.1:10022= -:2222,hostfwd=3Dtcp:127.0.0.1:15900-:5900" "--snapshot" "--hda" "/gnu/stor= e/iqacww23byvw9c5ssja9fkx6m4s057b0-disk-image" "--no-reboot" --enable-kvm VNC server running on 127.0.0.1:5900 --8<---------------cut here---------------end--------------->8--- However, the same thing *without* KVM (as happens within =E2=80=98guix syst= em vm=E2=80=99) reproduces the =E2=80=9CBad ram pointer=E2=80=9D issue: --8<---------------cut here---------------start------------->8--- $ "/gnu/store/1rg1fb9mj65rh82467vwlrkmi12p4v89-qemu-minimal-8.1.0/bin/qemu-= system-i386" "-m" 2048 "--device" "rtl8139,netdev=3Dnet0" "--netdev" "user,= id=3Dnet0,hostfwd=3Dtcp:127.0.0.1:11004-:1004,hostfwd=3Dtcp:127.0.0.1:10022= -:2222,hostfwd=3Dtcp:127.0.0.1:15900-:5900" "--snapshot" "--hda" "/gnu/stor= e/iqacww23byvw9c5ssja9fkx6m4s057b0-disk-image" "--no-reboot"=20 VNC server running on 127.0.0.1:5900 qemu-system-i386: Bad ram pointer 0x7fa930e0001e Aborted --8<---------------cut here---------------end--------------->8--- Good news: I found a workaround! Just use the x86_64 emulator: --8<---------------cut here---------------start------------->8--- $ "/gnu/store/1rg1fb9mj65rh82467vwlrkmi12p4v89-qemu-minimal-8.1.0/bin/qemu-= system-x86_64" "-m" 2048 "--device" "rtl8139,netdev=3Dnet0" "--netdev" "use= r,id=3Dnet0,hostfwd=3Dtcp:127.0.0.1:11004-:1004,hostfwd=3Dtcp:127.0.0.1:100= 22-:2222,hostfwd=3Dtcp:127.0.0.1:15900-:5900" "--snapshot" "--hda" "/gnu/st= ore/iqacww23byvw9c5ssja9fkx6m4s057b0-disk-image" "--no-reboot"=20 VNC server running on 127.0.0.1:5900 --8<---------------cut here---------------end--------------->8--- Obviously, I have no clue why that works, but who cares, right? :-) Thoughts? Ludo=E2=80=99.