From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uKH8OhxyQWP0eQEAbAwnHQ (envelope-from ) for ; Sat, 08 Oct 2022 14:50:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id APQcOhxyQWPsSwEAG6o9tA (envelope-from ) for ; Sat, 08 Oct 2022 14:50:36 +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 97E4C2B098 for ; Sat, 8 Oct 2022 14:50:36 +0200 (CEST) Received: from localhost ([::1]:37150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oh9Hn-0008P4-Pg for larch@yhetil.org; Sat, 08 Oct 2022 08:50:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oguiO-0003w0-2J for bug-guix@gnu.org; Fri, 07 Oct 2022 17:17:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oguiN-0006E4-AH for bug-guix@gnu.org; Fri, 07 Oct 2022 17:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oguiN-0006jj-5H for bug-guix@gnu.org; Fri, 07 Oct 2022 17:17:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58320: Hurd VM fails to boot on AMD EPYC (kvm-amd) Resent-From: Samuel Thibault Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 07 Oct 2022 21:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58320 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: bug-hurd@gnu.org, 58320@debbugs.gnu.org Received: via spool by 58320-submit@debbugs.gnu.org id=B58320.166517741425864 (code B ref 58320); Fri, 07 Oct 2022 21:17:03 +0000 Received: (at 58320) by debbugs.gnu.org; 7 Oct 2022 21:16:54 +0000 Received: from localhost ([127.0.0.1]:37587 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oguiE-0006j5-DA for submit@debbugs.gnu.org; Fri, 07 Oct 2022 17:16:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47910) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oguiC-0006ir-Qh for 58320@debbugs.gnu.org; Fri, 07 Oct 2022 17:16:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogui6-0006Bh-MP; Fri, 07 Oct 2022 17:16:46 -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=y/1oDdv1N+nVAcDyvEB+Mo96LNJJXhcFW/cJ8OBE+Dc=; b=B5Xv4pb0xCQXw4bPBwxM vJA3H2BxVuHOzMw1MQ1EbWjsuTP2Mnz613vEC1Zjowv5u5eVy4dKHxQmtb6Kobxb/6sDWgVJTX6vT tRX7Lv5f+N/DxakVjAr1XqKK978lg8n+UZ6pVBBkFLuH0+QtOQFXl6iwQ+VcQ91v4edirga7Spo8Q iB9bhhImfxYB8GsFaPvb/+6BNhS3yTLCbk2BoUEhlmwkQ6GO57eBQMsnk+563HhSqsPQzHIoRIf8B 36XrgZroZSTqBHpdBh6uJAbd1iCmTllBEg2LFJ3lc8Vqs57qH8q/eXMpbG6PqszkDP2gq2ktMZD6U BvlWJTd3KN0SFA==; Received: from 2a01cb008c016e00de41a9fffe47ec49.ipv6.abo.wanadoo.fr ([2a01:cb00:8c01:6e00:de41:a9ff:fe47:ec49]:42502 helo=begin.home) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogui6-0000iX-Eb; Fri, 07 Oct 2022 17:16:46 -0400 Received: from samy by begin.home with local (Exim 4.96) (envelope-from ) id 1ogui3-001mnH-2P; Fri, 07 Oct 2022 23:16:43 +0200 Date: Fri, 7 Oct 2022 23:16:43 +0200 From: Samuel Thibault Message-ID: <20221007211643.bma6b5yfaj7a2d4i@begin> Mail-Followup-To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 58320@debbugs.gnu.org, bug-hurd@gnu.org References: <87k05eouh8.fsf@inria.fr> <8735c1nlga.fsf@gnu.org> <20221006135316.ijevz5ddnet4aqkr@begin> <87r0zkfvso.fsf@gnu.org> <20221006224219.mn7zp7lhzxwlyrpx@begin> <8735c0f3d5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8735c0f3d5.fsf@gnu.org> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 08 Oct 2022 08:45:47 -0400 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665233436; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=y/1oDdv1N+nVAcDyvEB+Mo96LNJJXhcFW/cJ8OBE+Dc=; b=P5D0ljo5k6xH5JeZ3HHBOpMmGUzJbN1JkxuqZpXPSTHJHbtYdq0fH7zcuSvS2EuOdyFO6W 163gwGnwam4vQGDyTE2C20ftEHMCPk3cKnfbV1vV/wFXYXXQyP2MoXq+St0EH63h/gpn8H UuB5MqYcNBNrvYNfSL4Egq3CHC3bYRHLmiLAW+VPX96OXP0UNuSG3I5YeSIZeMJ7sIBViA 81rqdGmB/i9Z2swRSW6MKEtDiMjrxUx6CJIHTr1I7gThjxvdnNPiyfwu3A/u0xZG67sgVu vbnxK8g7rt1g0CVEnP0NyCRGjsyTZt7O6bngAqCl3ocLFpp5HVaF4EfV1Z8ASA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665233436; a=rsa-sha256; cv=none; b=bgH5JFVDRg+z6mZYbqUuw31Assd4pwyBL5trOxbJKTiJXPu6PE+uyOA5VOeO44oXemPFP3 Vq/WqRnriNrWXrzwiYgdSxJhdxujB6NyAR5DEghlnWvw7chew4rnqC7mRlqhNKgB2TsyE/ feD4Nu5NJf2Gvd+OIGoY641TURUXeDQAhV4NF+hYMnJqko/PlAoF7PYmztLTc6NKnrqRBu 3jwZpDY0WrxBHOTY3SnogOh8t1ws4KslpbQp7lwsxZSZbGN0J4kJ0QRc7jPNsGLPIy8x6m t4CJYpXwi5QGLZpVHaYhXXafLSz6bcb/v66HCfC5JC0FwKV7SVjomh1QqpkQbg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=B5Xv4pb0; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Spam-Score: -3.88 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=B5Xv4pb0; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Queue-Id: 97E4C2B098 X-Spam-Score: -3.88 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3ClR1NL8g81t Ludovic Courtès, le ven. 07 oct. 2022 10:24:22 +0200, a ecrit: > trap, eip 0xc10305c1 > Breakpoint at task_terminate: pushl %ebp > db> show all threads > TASK THREADS > 0 gnumach (f5f7cf00): 7 threads: > 0 (f5f7be18) .W..N. 0xc11dac04 > 1 (f5f7bcd0) R..O..(idle_thread_continue) > 2 (f5f7bb88) .W.ON.(reaper_thread_continue) 0xc12015d4 > 3 (f5f7ba40) .W.ON.(swapin_thread_continue) 0xc11f8e2c > 4 (f5f7b8f8) .W.ON.(sched_thread_continue) 0 > 5 (f5f7b7b0) .W.ON.(io_done_thread_continue) 0xc1201f74 > 6 (f5f7b668) .W.ON.(net_thread_continue) 0xc11db0a8 > 1 ext2fs (f5f7ce40): 6 threads: > 0 (f5f7b520) .W.O.F(mach_msg_continue) 0 > 1 (f5f7b290) .W.O..(mach_msg_receive_continue) 0 > 2 (f5f7b148) .W.O..(mach_msg_receive_continue) 0 > 3 (f5f7b000) .W.O..(mach_msg_continue) 0 > 4 (f67d4e20) .W.O..(mach_msg_receive_continue) 0 > 5 (f67d4cd8) .W.O..(mach_msg_continue) 0 > 2 exec (f5f7cd80): (f5f7b3d8) R..... > db> trace/t 0xf5f7b3d8 > task_terminate(f625eb10,0,f5f7cd80,f5f7b3d8,c11da940) > exception_try_task(1,1,bffefffc,ffffffff,c1202b4c)+0x58 > exception(1,1,bffefffc,c10096da,f5957fbc)+0x7a > interrupted_pc(1,1,bffefffc,c102ce99,c1202b40) > trap_name(1,f5957f80,f5f73f4c,f5f73f58) > vm_fault(f5f6ff30,bffef000,3,0,0,c1008ee4,f5f82550,fb7d9000)+0x74a > user_trap(f5f7a718)+0x2df > >>>>> Page fault (14) at 0x1000 <<<<< > >>>>> user space <<<<< > db> show map $map2 > Map 0xf5f6ff30: name="exec", pmap=0xf5f71fa8,ref=1,nentries=5 > size=290816,resident:290816,wired=0 > version=14 > map entry 0xf625ec08: start=0x0, end=0x1000 > prot=1/7/copy, object=0xf5f6a7d0, offset=0x0 > Object 0xf5f6a7d0: size=0x1000, 1 references > 1 resident pages, 0 absent pages, 0 paging ops > memory object=0x0 (offset=0x0),control=0x0, name=0xf5938968 > uninitialized,temporary internal,copy_strategy=0 > shadow=0x0 (offset=0x0),copy=0x0 > map entry 0xf625ebb0: start=0x1000, end=0x26000 > prot=5/7/copy, object=0xf5f6ad70, offset=0x0 > Object 0xf5f6ad70: size=0x25000, 1 references > 37 resident pages, 0 absent pages, 0 paging ops > memory object=0x0 (offset=0x0),control=0x0, name=0xf5f82780 > uninitialized,temporary internal,copy_strategy=0 > shadow=0x0 (offset=0x0),copy=0x0 > --8<---------------cut here---------------end--------------->8--- > > It says “page fault at 0x1000” but there is apparently a valid mapping > at that address. > > Funny thing: if I set a breakpoint on ‘read_exec’ and continue each time > it’s hit, the ‘exec’ process starts just fine. > > Could it be a synchronization issue somewhere? It'd be surprising that you never gets the issue later on with the system fully booted. About the backtrace: >>>>> user space <<<<< 0x1000(bfffff24,0,0,1160b,0) 0x11627(bfffff9c,0,0,0,2) 0x11bb() That is quite surprising actually: in my ld.so there is nothing useful at 0x1000. Perhaps you can check what 0x11627 is all about? Also, > Program Header: > LOAD off 0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12 > filesz 0x00000dd8 memsz 0x00000dd8 flags r-- We don't have this section in the Debian glibc. It'd probably be useful to know what this is about. > LOAD off 0x00001000 vaddr 0x00001000 paddr 0x00001000 align 2**12 > filesz 0x000244a1 memsz 0x000244a1 flags r-x > LOAD off 0x00026000 vaddr 0x00026000 paddr 0x00026000 align 2**12 > filesz 0x0000d5e8 memsz 0x0000d5e8 flags r-- > LOAD off 0x00033f60 vaddr 0x00034f60 paddr 0x00034f60 align 2**12 > filesz 0x00001910 memsz 0x00001a6c flags rw- Samuel