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

Re: netbsd PVH dom0: xen clock event stops


  • To: Manuel Bouyer <bouyer@xxxxxxxxxxxxxxx>
  • From: Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Date: Tue, 17 Nov 2020 10:02:04 +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=w6YdC8A8tj9JNAjiSUIsSjQHIdlAHYWeca/gAv2iKGk=; b=bxyha9D2KDo7wr61WgHjE8uD71UF8sagBs8Y2WAIJ8G3XJQu0O1wbbMek2HVVLXTdXRbfAcenN9gB05jxduMUQq/HxW1hohaMbAmKNaBBt8O+Td15eDL5GQ7J3qjxwb8OxKghmLkjq9+GJy+j2qSypBbJyBhS6pAnnRS5MRLdopNOiEUaQ97fsgCqXruH7xJEik+YcVnc9k0X1HLO7ZDRQi6yJj17OFBfFvucYA8S06I/mlLSvMF/6dyxarpUAxktm9q2R31damFclG2DcNojHOrLmjbaFIKOaHYUcOA0BPwqrusCIzuqpRhxwSrISUy4OzekVeltWq8OTcXTEpwmA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=atN7j9XJk3tB6tWxBd2p2iMSSUlKnX7mpMk0/FbNLYWDWR522FBiysleuMCJDdj89p+V5upEuY74oWk4nBH78/9AYPin7ZL7sMgzwdRlWAwM004wMtjQjE4bzQ8n1/VuwtGtgarWKtGte40PCDNhN+hExW4tPJLUAyQsYvG98+klWHBVQrXfdANx5Athjr19vh/AxSHLLOcWQSnOtjT5UCyf9aO6PdrTn+YRR7KTJVUXO+HvyignWhCuXG73aqKP82ke0iKl9otzJ+LA3DDAn9VKhot251s4h4gwtrhtgPQ3Vvnhd6MGXvXUJ8G50LJYt9EWowPdHVaFz26KGnQ1vQ==
  • Authentication-results: esa1.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
  • Cc: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Tue, 17 Nov 2020 09:05:30 +0000
  • Ironport-sdr: HcPHcS/Lcbx6n68FtFrO8mXlYvZFzzOYm/yes6ZLrtP38OhcOPx2+0SCfS2sy7/tbzldzLfkzt nx+gwig/47V2ewiBb1TvFBYl3gzZYefah3RvBkNPMyu0TLoSskpdVj03Ek4YSbNa7E8aM9hpEw fmUVLHs5ERURCsqt/ljQUWh5b9z4RynKZVWqQeFOntMDwY4lzxjBq5PqOiwDP60qwahW5XZZTV XIcidg3T5bUA5YvHwQMjurAXSNlXdqSPcrKyi03yGqmT1nimRlL9Zo69T8G/olZUvafWGnoKVm 080=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Mon, Nov 16, 2020 at 07:22:11PM +0100, Manuel Bouyer wrote:
> On Sun, Nov 15, 2020 at 07:24:16PM +0100, Roger Pau Monné wrote:
> > On Sun, Nov 15, 2020 at 06:49:38PM +0100, Manuel Bouyer wrote:
> > > Hello,
> > > I spent some more time debugging NetBSD as a PVH dom0 on Xen,
> > > With Roger's patch to avoid a Xen panic, the NetBSD kernel stalls
> > > configuring devices. At first I though it was an issue with hardware
> > > interrupts, but it more likely is an issue with Xen timer events.
> > > Specifically: virtual CPU 0 stops receiving timer events, while other
> > > CPUs keep receiving them. I tried to force a timer rearm but this didn't 
> > > help.
> > > The event is not masked nor pending on Xen or NetBSD, as confirmed by 'q'.
> > > Others events (the Xen console, the debug event) are properly received
> > > by CPU0. I don't know how to debug this more at this point.
> > 
> > You could try to use dom0_vcpus_pin command line option and then dump
> > the timers using the 'a' debug key, this way you can see if CPU0 has a
> > timer pending (which would be the vCPU0 timer).
> 
> thanks, this helped. This was a bug in the NetBSD kernel, which would show
> up only when there are enough physical device interrupts (which explains why
> I didn't notice it on PVH domUs)

Great! So all interrupts are working as expected now?

Roger.



 


Rackspace

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