Received: (at 58320) by debbugs.gnu.org; 6 Oct 2022 13:53:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 06 09:53:30 2022 Received: from localhost ([127.0.0.1]:59462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ogRJa-0001cE-2Y for submit <at> debbugs.gnu.org; Thu, 06 Oct 2022 09:53:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39766) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <samuel.thibault@HIDDEN>) id 1ogRJV-0001bw-6m for 58320 <at> debbugs.gnu.org; Thu, 06 Oct 2022 09:53:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57282) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>) id 1ogRJP-00005D-V1; Thu, 06 Oct 2022 09:53:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=In-Reply-To:MIME-Version:References:Subject:To:From: Date; bh=oW144penIvGnY296ewMzqqMLl5i+oIqWSm8oILxwEBE=; b=HCL2xdlQQyup5jqrv9m7 52kf9FgXVhLz5Nms4omIs4GqApYA0/kXCkZrOPlLDmUQSXZERgyNmuz9ycgnP+/hLeOam//LqU+b/ FZrwz4S1Xm4bsLJTkUYKvD+jNPuloLEgHwc4TM00XiMrBh7bwy4RPPWYLP//B3PjchhY0b1JmnLgW //G9DGoveFoS5vaZhUYm0T/vhaAxDrY33xBSvCnBsMAOfyzLM2vgAwvcbI0wMt2KrfFjBXbN7TGMA 92xhVRzrv3vxFSfGsniWj9SgXoujQH2mpkOvcPajOpx6B09Vpen35Q5H1Oi9jYgkpobYujlqoP0K5 fvfr6y0i+9OJlg==; Received: from nat-inria-interne-52-gw-01-bso.bordeaux.inria.fr ([194.199.1.52]:50864 helo=begin) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <samuel.thibault@HIDDEN>) id 1ogRJP-0004eX-Ns; Thu, 06 Oct 2022 09:53:19 -0400 Received: from samy by begin with local (Exim 4.96) (envelope-from <samuel.thibault@HIDDEN>) id 1ogRJM-007PKU-0x; Thu, 06 Oct 2022 15:53:16 +0200 Date: Thu, 6 Oct 2022 15:53:16 +0200 From: Samuel Thibault <samuel.thibault@HIDDEN> To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN> Subject: Re: bug#58320: Hurd VM fails to boot on AMD EPYC (kvm-amd) Message-ID: <20221006135316.ijevz5ddnet4aqkr@begin> Mail-Followup-To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>, 58320 <at> debbugs.gnu.org, bug-hurd@HIDDEN References: <87k05eouh8.fsf@HIDDEN> <8735c1nlga.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8735c1nlga.fsf@HIDDEN> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58320 Cc: bug-hurd@HIDDEN, 58320 <at> debbugs.gnu.org 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 (---) Ludovic Courtès, le jeu. 06 oct. 2022 15:14:13 +0200, a ecrit: > such that it would stop on each trap, hopefully allowing me to see why > exec is not starting. Also, better use exec.static to have static addresses. We use the dynamic version of exec "just because we can", but that makes debugging difficult. Samuel
bug-guix@HIDDEN
:bug#58320
; Package guix
.
Full text available.Received: (at 58320) by debbugs.gnu.org; 6 Oct 2022 13:14:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Oct 06 09:14:35 2022 Received: from localhost ([127.0.0.1]:59397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ogQhn-0006lW-LY for submit <at> debbugs.gnu.org; Thu, 06 Oct 2022 09:14:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1ogQhj-0006lH-Jw for 58320 <at> debbugs.gnu.org; Thu, 06 Oct 2022 09:14:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1ogQhe-0001Gt-9U; Thu, 06 Oct 2022 09:14:18 -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=JcSi9B+p0jNuMZHCyA094WD2IArM7r50u0S0J0bS2tM=; b=KcNr7Hag1mzh+NArolqv Fj+eEohDANQ1mT2/Cfbx9+w37EQl68hLRHOoU6ULf/1U/KiEwx20QUe9MrTqlzS698j2bnG6hUUJj MiNuN/+mcJFoQLpuHJvKnqaCWxOwCMPIrwO+3vR5EqcOHeL/NH2XLFKaN3j70cuclzlSFRvycGjC2 iDWVGLhNvXum0i00/SNYW3uw81WL1CI9F6xFBCMUfDdtd/VSrGP6l2NXZq8ci5c71m1HP+NORigmj GYvejVPAV9wjBx8feWiHdivcyXPooiD+hXjNLG2vvS63uELndp2uOrjNkwOfmR3zPuBqMGlcYjEiJ BKWY+VQsEDS0oQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55577 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 1ogQhc-00031F-5B; Thu, 06 Oct 2022 09:14:18 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: 58320 <at> debbugs.gnu.org Subject: Re: bug#58320: Hurd VM fails to boot on AMD EPYC (kvm-amd) References: <87k05eouh8.fsf@HIDDEN> Date: Thu, 06 Oct 2022 15:14:13 +0200 In-Reply-To: <87k05eouh8.fsf@HIDDEN> ("Ludovic =?utf-8?Q?Court=C3=A8s=22?= =?utf-8?Q?'s?= message of "Wed, 05 Oct 2022 23:01:39 +0200") Message-ID: <8735c1nlga.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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: 58320 Cc: bug-hurd@HIDDEN 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 (---) Hi! As suggested by Samuel on IRC, I did that early on in kdb: debug traps /on such that it would stop on each trap, hopefully allowing me to see why exec is not starting. --8<---------------cut here---------------start------------->8--- module 0: ext2fs --multiboot-command-line=3D${kernel-command-line} --host-p= riv-por=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 t=3D${host-port} --device-master-port=3D${device-port} --exec-server-task= =3D${exec-tas=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 k} --store-type=3Dtyped --x-xattr-translator-records ${root} $(task-create)= $(task=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 -resume)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 module 1: exec /gnu/store/99sqiayswrxxb80331pl7jxin18wv28b-hurd-0.9-1.91a51= 67/hu=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 rd/exec $(exec-task=3Dtask-create)=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 2 multiboot modules=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 task loaded: ext2fs --multiboot-command-line=3Droot=3Ddevice:hd0s1 root=3D3= 367134b-cfb=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 d-1e90-2f38-dfd13367134b gnu.system=3D/gnu/store/m66ccpdzdbcd3k2fdvyaj8cgmk= 23lybn-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 system gnu.load=3D/gnu/store/m66ccpdzdbcd3k2fdvyaj8cgmk23lybn-system/boot -= -host-p=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 riv-port=3D1 --device-master-port=3D2 --exec-server-task=3D3 --store-type= =3Dtyped --x-xa=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ttr-translator-records device:hd0s1=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 task loaded: exec /gnu/store/99sqiayswrxxb80331pl7jxin18wv28b-hurd-0.9-1.91= a5167=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /hurd/exec=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 start ext2fs: Hurd server bootstrap: ext2fs[device:hd0s1] execkernel: Page = fault=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 (14), code=3D6=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Stopped at 0x1000: pushl 0x4(%ebx)=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >>>>> user space <<<<<=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 0x1000(bfffff24,0,0,1160b,0)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 0x11627(bfffff9c,0,0,0,2)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 0x11bb()=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 db> show all threads=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 TASK THREADS=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 0 gnumach (f5f7cf00): 7 threads:=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 0 (f5f7be18) .W..N. 0xc11dac04=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1 (f5f7bcd0) R..O..(idle_thread_continue)=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 2 (f5f7bb88) .W.ON.(reaper_thread_continue) 0xc12015d4=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 3 (f5f7ba40) .W.ON.(swapin_thread_continue) 0xc11f8e2c=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 4 (f5f7b8f8) .W.ON.(sched_thread_continue) 0=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 5 (f5f7b7b0) .W.ON.(io_done_thread_continue) 0xc1201f74=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 6 (f5f7b668) .W.ON.(net_thread_continue) 0xc11db0a8=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 1 ext2fs (f5f7ce40): 6 threads:=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 0 (f5f7b520) .W.O.F(mach_msg_continue) 0=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 1 (f5f7b290) .W.O..(mach_msg_receive_continue) 0=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 2 (f5f7b148) .W.O..(mach_msg_receive_continue) 0=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 3 (f5f7b000) .W.O..(mach_msg_continue) 0=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 4 (f67d4e20) .W.O..(mach_msg_receive_continue) 0=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 5 (f67d4cd8) .W.O..(mach_msg_continue) 0=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 2 exec (f5f7cd80): (f5f7b3d8) R.....=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --8<---------------cut here---------------end--------------->8--- Then lots of page faults with the same stack trace, seemingly endlessly: --8<---------------cut here---------------start------------->8--- db> c=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 kernel: Page fault (14), code=3D6=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 Stopped at 0x1000: pushl 0x4(%ebx)=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >>>>> user space <<<<<=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 0x1000(bfffff24,0,0,1160b,0)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 0x11627(bfffff9c,0,0,0,2)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 0x11bb()=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --8<---------------cut here---------------end--------------->8--- When I =E2=80=9Cdebug traps /off=E2=80=9D and continue, the startup process= hangs as normal, and at that point =E2=80=98show all threads=E2=80=99 no longer show= s exec. On a =E2=80=9Cworking=E2=80=9D VM, with traps enabled early on in the same = way, I don=E2=80=99t see any page fault until after exec, proc, auth, etc. have been started. Thoughts? Ludo=E2=80=99.
bug-guix@HIDDEN
:bug#58320
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 5 Oct 2022 21:01:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 05 17:01:54 2022 Received: from localhost ([127.0.0.1]:58210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1ogBWc-0003mw-0z for submit <at> debbugs.gnu.org; Wed, 05 Oct 2022 17:01:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:39858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <ludo@HIDDEN>) id 1ogBWY-0003mn-8x for submit <at> debbugs.gnu.org; Wed, 05 Oct 2022 17:01:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38456) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1ogBWQ-0000xX-KB for bug-guix@HIDDEN; Wed, 05 Oct 2022 17:01:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1ogBWQ-000057-AB for bug-guix@HIDDEN; Wed, 05 Oct 2022 17:01:42 -0400 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=biJClVqk7ve9Jd2LsRo6jFR9ZTxGojQSSilaa4f9olI=; b=FHbLvHN2V0QBNf GPQdtPxZWs1IUgss+0qyR6CeE4392PfXHjFQyUcExy6tRLJiYYh0HqaBH9xAWdt4KjIh/BPzspdw+ UnJ85bjKvS21iPvZvrpYooKNG2Kg76HHbtZp/HnADWidr6WnywZ31pu+A2uGd4HDy/Lm3rG9McWVv rxwSXfY+2Vk08sxt8i1CvhH8zvlpb6+B8bgBbWYQDUWQJVsmpQk2Sp5lUJ5SjsgqHeAXPpNuFQ9Re 5uAda6BX5VABF9oHSRebuF0Edr0GpO4tcVZAt6crei3avO/nZPjiQxYVdQSoHL0a3rX5npe12U9f+ eiXiyHyV50hpRogA5FtQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:63151 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 1ogBWP-0002ys-Sq for bug-guix@HIDDEN; Wed, 05 Oct 2022 17:01:42 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN> To: bug-guix@HIDDEN Subject: Hurd VM fails to boot on AMD EPYC (kvm-amd) X-Debbugs-Cc: bug-hurd@HIDDEN X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 14 =?utf-8?Q?Vend=C3=A9miaire?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du =?utf-8?B?UsOpc8OpZGE=?= 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: Wed, 05 Oct 2022 23:01:39 +0200 Message-ID: <87k05eouh8.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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 AMD EPYC processors, as found on the build nodes of ci.guix.gnu.org, childhurd VMs fail to boot when running with =E2=80=98qemu-system-i386 -enable-kvm=E2=80=99 (the kvm-amd Linux kernel module is used), with the Hu= rd startup process hanging before /hurd/exec has been started: --8<---------------cut here---------------start------------->8--- module 0: ext2fs --multiboot-command-line=3D${kernel-command-line} --host-p= riv-por=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 t=3D${host-port} --device-master-port=3D${device-port} --exec-server-task= =3D${exec-tas=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 k} --store-type=3Dtyped --x-xattr-translator-records ${root} $(task-create)= $(task=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 -resume)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 module 1: exec /gnu/store/99sqiayswrxxb80331pl7jxin18wv28b-hurd-0.9-1.91a51= 67/hu=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 rd/exec $(exec-task=3Dtask-create)=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 2 multiboot modules=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 task loaded: ext2fs --multiboot-command-line=3Droot=3Ddevice:hd0s1 root=3D3= 367134b-cfb=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 d-1e90-2f38-dfd13367134b gnu.system=3D/gnu/store/m66ccpdzdbcd3k2fdvyaj8cgmk= 23lybn-=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 system gnu.load=3D/gnu/store/m66ccpdzdbcd3k2fdvyaj8cgmk23lybn-system/boot -= -host-p=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 riv-port=3D1 --device-master-port=3D2 --exec-server-task=3D3 --store-type= =3Dtyped --x-xa=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ttr-translator-records device:hd0s1=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20 task loaded: exec /gnu/store/99sqiayswrxxb80331pl7jxin18wv28b-hurd-0.9-1.91= a5167=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 /hurd/exec=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 start ext2fs: Hurd server bootstrap: ext2fs[device:hd0s1] exec=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 --8<---------------cut here---------------end--------------->8--- Kdb shows these two tasks: --8<---------------cut here---------------start------------->8--- Stopped at mach=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20 ine_idle+0x26: nop=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 machine_idle(0,c102f380,f5f7bcd0,c102e3fa)+0x26=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 idle_thread_continue(f5f7ade0,36366000,f5f73868,f5f73890,0)+0x73=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20 >>>>> user space <<<<<=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 db> show all threads=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 TASK THREADS=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20 0 gnumach (f5f7cf00): 7 threads:=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 0 (f5f7be18) .W..N. 0xc11dac04=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 1 (f5f7bcd0) R.....=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 2 (f5f7bb88) .W.ON.(reaper_thread_continue) 0xc12015d4=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 3 (f5f7ba40) .W.ON.(swapin_thread_continue) 0xc11f8e2c=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 4 (f5f7b8f8) .W.ON.(sched_thread_continue) 0=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 5 (f5f7b7b0) .W.ON.(io_done_thread_continue) 0xc1201f74=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 6 (f5f7b668) .W.ON.(net_thread_continue) 0xc11db0a8=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20 1 ext2fs (f5f7ce40): 6 threads:=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 0 (f5f7b520) .W.O.F(mach_msg_continue) 0=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 1 (f5f7b290) .W.O.F(mach_msg_receive_continue) 0=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 2 (f5f7b148) .W.O..(mach_msg_receive_continue) 0=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 3 (f5f7b000) .W.O..(mach_msg_continue) 0=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 4 (f67d3e20) .W.O..(mach_msg_receive_continue) 0=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20 5 (f67d3cd8) .W.O..(mach_msg_continue) 0=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 db> trace/t 0xf5f7b520=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 Continuation mach_msg_continue=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20 >>>>> user space <<<<<=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20 0x80ccaec()=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 --8<---------------cut here---------------end--------------->8--- For ext2fs.static, that just means thread 0 is here: --8<---------------cut here---------------start------------->8--- $ addr2line -e /gnu/store/99sqiayswrxxb80331pl7jxin18wv28b-hurd-0.9-1.91a51= 67/hurd/ext2fs.static 0x80ccaec /tmp/guix-build-glibc-cross-i586-pc-gnu-2.33.drv-0/build/mach/mach_msg_trap= .S:2 --8<---------------cut here---------------end--------------->8--- That doesn=E2=80=99t tell us much. The same image boots fine on the same CPU without =E2=80=98-enable-kvm=E2= =80=99. However, keeping =E2=80=98-enable-kvm=E2=80=99 and adding =E2=80=98--cpu pe= ntium=E2=80=99 and other variants of this option don=E2=80=99t make any difference, AFAICS. Ideas on how to debug this further, and/or ways to work around it without giving up on KVM? Thanks, Ludo=E2=80=99.
Ludovic Courtès <ludo@HIDDEN>
:bug-hurd@HIDDEN, bug-guix@HIDDEN
.
Full text available.bug-hurd@HIDDEN, bug-guix@HIDDEN
:bug#58320
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.