From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 17 11:21:57 2023 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=; Authentication-Results: mail3-relais-sop.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=ludovic.courtes@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: bug-guix@gnu.org Subject: Childhurd fails to run inside =?utf-8?Q?=E2=80=98guix?= system =?utf-8?Q?vm=E2=80=99?= X-Debbugs-Cc: Janneke Nieuwenhuizen 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=2C?= 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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 18 17:44:34 2023 Received: (at 66053-done) by debbugs.gnu.org; 18 Sep 2023 21:44:34 +0000 Received: from localhost ([127.0.0.1]:54844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiM2k-0002oL-Fg for submit@debbugs.gnu.org; Mon, 18 Sep 2023 17:44:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiM2f-0002o3-R5 for 66053-done@debbugs.gnu.org; Mon, 18 Sep 2023 17:44:33 -0400 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 ) id 1qiM2R-0004qC-Le; Mon, 18 Sep 2023 17:44:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=/foAcclLEN1ARCKubeNn2Rt7KiYqc+fcXzlcCRdwpjs=; b=XUs46RHjHjqYsPm2fFHQ o68IKFpAxd7pn5CEujK0xQJetdH6dVMs+2ZE9Kc2smW+qOLxzTfidRZxzdqCkOu359FtUEr4pYySt a3JTASY+z8XaNpgYpQImLJGHR7M1y4voXGQAsPuGdjCU2taMye7uWdjLwesITCyuu6mx1sy3lHwuF Nmc0jNWFnX6oS6Sy4dixkAol6sRJdeI6pLs5CY/y7rd38KK2+AlzFVMhYC+4LZWQ09G0TAzmxrO+C VR+f8j78PhkaFHLl/Js2I3vjhaM1QvUdAgPV6QObn2EekwoOgne8YmClUJS7k/ZHW+75oBeAgFgUn jl/O5BK5cu0MSg==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: 66053-done@debbugs.gnu.org Subject: Re: bug#66053: Childhurd fails to run inside =?utf-8?Q?=E2=80=98g?= =?utf-8?Q?uix?= system =?utf-8?Q?vm=E2=80=99?= References: <87sf7cx1tu.fsf@inria.fr> Date: Mon, 18 Sep 2023 23:44:13 +0200 In-Reply-To: <87sf7cx1tu.fsf@inria.fr> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Sun, 17 Sep 2023 17:21:33 +0200") Message-ID: <87y1h3f976.fsf@gnu.org> 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: 66053-done Cc: Janneke Nieuwenhuizen X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Ludovic Court=C3=A8s skribis: > 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 > > $ "/gnu/store/1rg1fb9mj65rh82467vwlrkmi12p4v89-qemu-minimal-8.1.0/bin/qem= u-system-i386" "-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" --enable-kvm > VNC server running on 127.0.0.1:5900 > > > However, the same thing *without* KVM (as happens within =E2=80=98guix sy= stem > vm=E2=80=99) reproduces the =E2=80=9CBad ram pointer=E2=80=9D issue: > > $ "/gnu/store/1rg1fb9mj65rh82467vwlrkmi12p4v89-qemu-minimal-8.1.0/bin/qem= u-system-i386" "-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 > qemu-system-i386: Bad ram pointer 0x7fa930e0001e > Aborted > > > Good news: I found a workaround! Just use the x86_64 emulator: Done in 5e0ae2684615b6d10751390420e7db296785112b! Ludo=E2=80=99. From unknown Sat Jun 21 10:46:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 17 Oct 2023 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator