[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: dom0 PVH: 'entry->arch.pirq != INVALID_PIRQ' failed at vmsi.c:843


  • To: Manuel Bouyer <bouyer@xxxxxxxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Fri, 13 Nov 2020 15:33:49 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SGV9NRyzsEmWXkCi3srNVusz2oW8ftZAG1ZNGc/EWHc=; b=oEqs9M0Rm9k+v07acQ2B0wfmb0YadkgSqWvgDmCPbcUQ/p/IgZNsWaog/5MmwXIvboCtlg3vCgr7qYe2QOTKk1O1fQs8CeXivCPM+v1laSbrs156E0vByGNjwdMdtUu391z22Wk4KWT8wnCvD4Ff4FhQe7ZggQCKvyXVttD1Yd0T0qPqPPMJ0vK0zVza7Ac/6mi423HKjaybvkfAWNuz4XYZ8Gg4rXTNPgKQR1KJfhOAmXn2MVuqO0E5Zhd5D9x2G6gKMOniPIbqqhwlYJObEbERp7S2BKI9lBZ75PzGWta83404ANUVRsR0QqjYf59AXaKPzFqkGRIYtJjfF0pC/g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=li5mPgVaqF605/jO8xXQKTtM0Q8Dbed2UlIWd+Z7uK/bPCEam5wuf9zjZrIRmBog+vDE36fyw2E3JloSGvwc7qA/BhmoLlkNl1z24ncZulnhl36vsUxALfTfV3hQ38EWyMws42MAQb5e1TO60n08m06rAu/fYbrSeCy1AL3gCiMopMm2GwnvbqVwOzsk7yi/6P2/vekHJw/3JWwLXVt7P+MBnSGayVKadWBtsqnQKYGFTDE8t59eQ7chqa7BHRG50yKKCXABI0T4wzk38fFW2rqKSB0caHE82UD1Yz11ZCByP6pRqTBjZY2qCRZCPOTNJ9BG8MSLA/+tC0tCiifK1g==
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 13 Nov 2020 14:34:03 +0000
  • Ironport-sdr: ZIY0CKa3u8ZjiYJGc0ULjm1jpXzEhu6hY3Gh1CKp1U48RhVYyZW9Ucn6QwUilE8mxqAP5+Dgpx 2l890b6FsbhzQBJNTicR1v3FxAqQFcpZIkgxtPuQMr/KYTZU993/ChutM5EWpn5eefAQkVDl4d 8CQS4sD0mrm8EI1s09ipjzvC1n9rYbGo5UZY6bgqEnxAiUxBwo98at7LnMCx9YRiI6eoRK5Hf2 kfDFitvFBm2SJHosR+/VWCOzVYGQwWzuO6TeRCcFsA4KWZH6ufYtx9l3NGre4PnuyNF4MhCx8H 1Rk=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Fri, Nov 13, 2020 at 12:54:57PM +0100, Manuel Bouyer wrote:
> On Thu, Nov 12, 2020 at 09:19:39PM +0100, Roger Pau Monné wrote:
> > The following might be able to get you going, but I think I need to
> > refine the logic a bit there, will have to give it some thought.
> 
> I also tested with xen devel (Xen version 4.15-unstable, Latest ChangeSet: 
> Wed Nov 4 09:27:22 2020 +0100 git:9ff9705647-dirty).
> Your patch is needed there too to avoid the panic.
> 
> As with 4.13, I have problems with interrupts not being properly
> delivered. The strange thing is that the counter is not 0, but 3 (wuth 4.13)
> or 2 (with 4.15) which would mean that interrupts stop being delivered
> at some point in the setup process. Maybe something to do with mask/unmask ?
> 
> The problematc interrupt in identifed as "ioapic2 pin 2" by the NetBSD kernel,
> so it's not MSI/MSI-X (not sure it matters though).
> Maybe something related to mask/unmask ?

What device do you have on that pin? Is it the only device not working
properly? I get from that that MSI/MSI-X is now working fine.

You can get some interrupt info from the 'i' and the 'z' debug keys,
albeit that won't reflect the state of the emulated IO-APIC used by
dom0, which is likely what we care about. There's also the 'M' debug
key, but that's only useful for MSI/MSI-X.

I can try to prepare a patch to dump some info from the emulated
IO-APIC, but I'm afraid I won't get to it until Monday.

Roger.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.