Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 805B7C7115C for ; Sat, 21 Jun 2025 14:39:50 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.1021599.1397520 (Exim 4.92) (envelope-from ) id 1uSzNZ-0005fh-Eo; Sat, 21 Jun 2025 14:39:37 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 1021599.1397520; Sat, 21 Jun 2025 14:39:37 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uSzNZ-0005fa-9y; Sat, 21 Jun 2025 14:39:37 +0000 Received: by outflank-mailman (input) for mailman id 1021599; Sat, 21 Jun 2025 14:39:36 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uSzNX-0005fU-F4 for xen-devel@lists.xenproject.org; Sat, 21 Jun 2025 14:39:36 +0000 Received: from gw4.antarean.org (gw4.antarean.org [136.144.238.64]) by se1-gles-flk1.inumbo.com (Halon) with ESMTP id 8bdbaa62-4ead-11f0-b894-0df219b8e170; Sat, 21 Jun 2025 16:39:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by gw4.antarean.org (Postfix) with ESMTP id 4bPcS46gdZzNnCS for ; Sat, 21 Jun 2025 16:39:32 +0200 (CEST) Received: from gw4.antarean.org ([127.0.0.1]) by localhost (gw4.antarean.org [127.0.0.1]) (amavis, port 10024) with ESMTP id e8aScyt8RL1V for ; Sat, 21 Jun 2025 16:39:32 +0200 (CEST) Received: from mailstore1.adm.antarean.org (localhost [127.0.0.1]) by gw4.antarean.org (Postfix) with ESMTP id 4bPcS43vp0zNkdZ for ; Sat, 21 Jun 2025 16:39:32 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mailstore1.adm.antarean.org (Postfix) with ESMTP id 4bPcS434Txz1G for ; Sat, 21 Jun 2025 14:39:32 +0000 (UTC) Received: from mailstore1.adm.antarean.org ([127.0.0.1]) by localhost (mailstore1.adm.antarean.org [127.0.0.1]) (amavis, port 10024) with ESMTP id qOKc3lwMqd28 for ; Sat, 21 Jun 2025 14:39:32 +0000 (UTC) Received: from persephone.localnet (persephone.adm.antarean.org [10.55.16.48]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mailstore1.adm.antarean.org (Postfix) with ESMTPS id 4bPcS40BHsz17 for ; Sat, 21 Jun 2025 14:39:32 +0000 (UTC) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 8bdbaa62-4ead-11f0-b894-0df219b8e170 X-Virus-Scanned: amavis at antarean.org X-Virus-Scanned: amavis at antarean.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=antarean.org; s=default; t=1750516772; bh=BOfW3GpKIf/U0nZqm9q2J+6mX9tIalYI/xyewp3VoBo=; h=From:To:Subject:Date:In-Reply-To:References; b=ND/Rz1zsZghHiks8kNzIxo3S8GVGCZVt6HkAX1gcXIAhvUHYvoA4NhDhj38LKhkqn srg4bgoDxTdlBUy74MRwGwv2Q5xZfZcXTPGh3sxhLTDFQ/aPWi4RrkszUKixs/uChw FKL8/e5PTPlw4IYcO9JyQ4CiBiQj2hvSLHidLTBY= From: "J. Roeleveld" To: xen-devel@lists.xenproject.org Subject: xen_pciback: error enabling MSI-X / MSI for guest -- WAS: Re: Kernel panic when passing through 2 identical PCI devices Date: Sat, 21 Jun 2025 16:39:31 +0200 Message-ID: <4683544.LvFx2qVVIh@persephone> In-Reply-To: <2226691.irdbgypaU6@persephone> References: <2226691.irdbgypaU6@persephone> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Hi all, I managed to get past the kernel panic (sort of) by doing the following: 1) Ensure system is fully OFF before booting. A reset/reboot will cause these errors. 2) Fix the BIOS config to ensure the PCI-ports are split correctly. If anyone has a Supermicro board and gets errors about PCI-slots not getting full speed let me know. Not entirely convinced the 2nd was part of the cause, but that's ok. I now, however, get a new error message in the Domain0 dmesg: pciback : xen_map irq failed -28 for domain pciback : error enabling MSI-X for guest : err -28! For the NVMe devices, I get these twice, with the 2nd time complaining about MSI (without the -X) I feel there is something missing in my kernel-config and/or domain config. If anyone can point me at what needs to be enabled/disabled or suggestions on what I can try? Many many thanks in advance, Joost