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

Re: NetBSD dom0 PVH: hardware interrupts stalls


  • To: Manuel Bouyer <bouyer@xxxxxxxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Thu, 26 Nov 2020 15:26:35 +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=GCpU2/zs8j2zYgYkGpaGpAoUqf4mUEXkuihQ+udr8X4=; b=HRJqkjrLdvfIRPNWNExvgvLTsfHjbqJxvM/HnrxEHvgnQ12r5ko6Pvagqueyf+rn95p9QwgqakCZH044NWePHWRQVcpmX3eMTCU6w40If3WxWQuet+B4O07Vyf3zqc4YUZAlQG4Cbo58eUl4BuR6NuX6GEi8GiTg4+U2eCk5NsY8TEVHwlpn8srp2tCeWo8HaNe9zX0sNWK19ifyRHMkfEdP4TB2XlyRAqQ4tFcQOOMKdRB4YZrj8hdKMsHJYo5GkxfxUkLfuiqmlqXQ4O8ZfPgKvemsKW1lJmLaE2UmAVFrDsvDbxeXOaOz09AEYaMR+UfX6Kat5vk8rk8bgLs3bQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nBhKWPw6p+3v/BZ6aWkfzT9qdSEooF9785xgVIzGvQmZdTLGqfqfbU6mDEvIQDH48lygysiQMSByQCSZLfYIJu87oN6/4kQehWOi3sNf9c63ZgjUZEw0TAayy1KSbCZ7zEmokwSnZbHY8IBgKDHw1K2bdCWtqJpGJlJk5i1E0YZ9D+9SlcQ04WHpW6zo7+gl7b7+V8IK7EfRmE/7RDQ0BuRVbdqx8et8naHG0J1v+WJivYNo65CJI03Fc80+S3zqiQDAgFA3tKtRRZEgLL/N8e1V3U0nercTiRMP6INfs+pRirDK++EEIiihc6eg3ceQqmYZG514zZWx4MASMx8sjw==
  • Authentication-results: esa6.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: Jan Beulich <jbeulich@xxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Thu, 26 Nov 2020 14:26:54 +0000
  • Ironport-sdr: eNGlQ0tFch7UeHwQggCyekhQWHvxj3kBwDCbhi7WRV6ozNSPC+UZm/w+/+/9rdV2X9k21jIRMq ZZ/FumoQ2u5cpOwgBXEU54ZfLNUE4/S3hEp0uzG9CnsUCvtFZQnG0dB+CJC9s2feuOzdhh2oM4 nbyZkVUD9fkwyZi089ztDQl0BYn4VGv6jGdwyYDPqWkaFjTA5/jwF1rRXSBWMjm7b4TWKtxGGy 7OGHPo/97y69hFTWYxrdJTBzaAINRB4gHdSwMPcmhQd3+xcZ0dCqlrBKt/gw6q15G0TDfbFWvB +Ts=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Thu, Nov 26, 2020 at 03:16:08PM +0100, Manuel Bouyer wrote:
> On Thu, Nov 26, 2020 at 02:34:44PM +0100, Roger Pau Monné wrote:
> > On Tue, Nov 24, 2020 at 05:09:14PM +0100, Manuel Bouyer wrote:
> > > On Tue, Nov 24, 2020 at 04:49:17PM +0100, Roger Pau Monné wrote:
> > > > Could you also give a try with ioapic_ack=new on the Xen command line?
> > > 
> > > With this I still have the interrupt issue, but Xen doesn't panic on 'i'.
> > > http://www-soc.lip6.fr/~bouyer/xen-log8.txt
> > 
> > Sorry for the delay, I have yet another debug patch for you to try.
> > Can you remove the ioapic_ack=new from the command line and rebuild
> > the hypervisor with the provided patch applied and debug trace
> > enabled? (`gmake -C xen menuconfig` and go into Debugging Options to
> > find it).
> 
> menuconfig doens't build on NetBSD, I set CONFIG_DEBUG_TRACE=y in
> .config. I guess it is enough ?
> 
> For the record, my boot commad line is now
> menu=Boot Xen PVH:load /test console=com0 root=dk0 -vx; multiboot 
> /xen-test.gz dom0_mem=1024M console=com2 com2=57600,8n1,,0 loglvl=all 
> guest_loglvl=all gnttab_max_nr_frames=64 dom0=pvh iommu=debug dom0_vcpus_pin 
> sync_console dom0_max_vcpus=1 watchdog=force iommu=no-intremap
> 
> 
> > 
> > Then once the system stalls use the 'T' debug key to dump the buffer.
> 
> Here it is. It seems to be stuck in an infinite loop, I hit the 'R' key
> after several minutes
> http://www-soc.lip6.fr/~bouyer/xen-log9.txt

Oh, that's actually very useful. The interrupt is being constantly
injected from the hardware and received by Xen, it's just not then
injected into dom0 - that's the bit we are missing. Let me look into
adding some more debug to that path, hopefully it will tell us where
things are getting blocked.

Roger.



 


Rackspace

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