From: Boris Ostrovsky Subject: Re: ACPI suspend/resume not failing with (dom0) kernel panic Date: Fri, 23 Dec 2016 12:34:27 -0500 Message-ID: References: <1482513389.32021.15.camel@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0790622347678877303==" Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cKTje-0003yG-CB for xen-devel@lists.xenproject.org; Fri, 23 Dec 2016 17:34:26 +0000 In-Reply-To: <1482513389.32021.15.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Dario Faggioli , xen-devel Cc: Juergen Gross List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============0790622347678877303== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fOT6oMUkvxxI3X7aNnCMdAoCXTl3GcESo" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --fOT6oMUkvxxI3X7aNnCMdAoCXTl3GcESo Content-Type: multipart/mixed; boundary="6J0IqglnESv7npde09dN6GtEtWxd4BqbO"; protected-headers="v1" From: Boris Ostrovsky To: Dario Faggioli , xen-devel Cc: Konrad Rzeszutek Wilk , Juergen Gross Message-ID: Subject: Re: ACPI suspend/resume not failing with (dom0) kernel panic References: <1482513389.32021.15.camel@citrix.com> In-Reply-To: <1482513389.32021.15.camel@citrix.com> --6J0IqglnESv7npde09dN6GtEtWxd4BqbO Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/23/2016 12:16 PM, Dario Faggioli wrote: > Hey, > > I was trying ACPI suspend/resume for testing some patches to Xen, on a > box on which I'm 100% sure I've seen it working a few time back. > > Right now, suspending seems ok, but upon resuming, this is what I see > (and after that, everything is just locked): > > [ 132.790494] smpboot: CPU 15 is now offline > [ 132.797383] ACPI: Low-level resume complete > [ 132.801635] PM: Restoring platform NVS memory > [ 142.805036] Kernel panic - not syncing: DMAR hardware is malfunction= ing > [ 142.805036]=20 > [ 142.813109] CPU: 0 PID: 1386 Comm: pm-suspend Not tainted 4.8.0-2-am= d64 #1 Debian 4.8.11-1 > [ 142.821345] Hardware name: Dell Inc. Precision WorkStation T5500 /0= CRH6C, BIOS A09 04/20/2011 > [ 142.829928] 0000000000000086 00000000ca1fa4d3 ffffffff8cb269f5 ffff= 89b99d076200 > [ 142.837340] ffff89b99b763d48 ffffffff8c97a6b2 0000000000000008 ffff= 89b99b763d58 > [ 142.844751] ffff89b99b763cf0 00000000ca1fa4d3 0000000000000046 0000= 000000000002 > [ 142.852159] Call Trace: > [ 142.854602] [] ? dump_stack+0x5c/0x77 > [ 142.859980] [] ? panic+0xe4/0x226 > [ 142.865004] [] ? dmar_disable_qi+0x108/0x110 > [ 142.870978] [] ? dmar_reenable_qi+0x1e/0x30 > [ 142.876863] [] ? reenable_irq_remapping+0x2f/0x11= 0 > [ 142.883358] [] ? lapic_resume+0x1ed/0x290 > [ 142.889073] [] ? syscore_resume+0x44/0x180 > [ 142.894873] [] ? suspend_devices_and_enter+0x654/= 0x6f0 > [ 142.901711] [] ? pm_suspend+0x321/0x3a0 > [ 142.907253] [] ? state_store+0x6f/0xd0 > [ 142.912707] [] ? kernfs_fop_write+0x118/0x1a0 > [ 142.918766] [] ? vfs_write+0xb3/0x1a0 > [ 142.924131] [] ? SyS_write+0x52/0xc0 > [ 142.929413] [] ? system_call_fast_compare_end+0xc= /0x96 > [ 142.936264] Kernel Offset: 0xb800000 from 0xffffffff81000000 (reloca= tion range: 0xffffffff80000000-0xffffffffbfffffff) > [ 142.947007] ---[ end Kernel panic - not syncing: DMAR hardware is ma= lfunctioning > > Does this ring any bell? Not really. Does this happen without your patches too? What about other Xen versions and/or baremetal? Try also booting Xen with "iommu=3Ddebug" and see if something shows up i= n the log. -boris --6J0IqglnESv7npde09dN6GtEtWxd4BqbO-- --fOT6oMUkvxxI3X7aNnCMdAoCXTl3GcESo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYXWAjAAoJEIredpCGysGyf10P/35kNR4QJepGYHD0/Zrcbbu+ mRLLmTdflVFiiLg0flUXUGvke5Ymjd7Ksm0Sf03Jho5ya0eEcLZS/seJoOxPvfjb STX+MVAhDQgIW9j2b4/eLq4+WpJW4hX2iLKzEXUM8jjER115Tfv+0QkHYLz1g99I LRaKggEKuXKyeUW1uZonmJzNfypn6D73HGReu+CHq6/72aDuCp8wMzkzrKSQjw5D WTcwtGfnI1eRhQ/HiSvFb40pkW17XB3PtVqgiDyWirIn2DaRo2bq6y6ckbP+l8IP CjQ0Nk3iVaBv9wxffXh5x2MCI9EFZo/2m50h5vH3dTu12WqLG89+mVCL+bo5lUje cI/E2DeB8+SJnHYiJVkEMBuZ12buQf7dvr3pdvFfuUazPABuCnFwjtDIoSL9ptC2 0YLSuE7gh+tc8QhaSzrmaGy1eq3UETBJxR7FjcCQ/ne8NTiQdEFuu0y4V8L2XBIL 4fm2QSfsf/3dc9P6PL/Qst+ljrHRVYzoevqPeUVBsmJqRi/ssWw1x0pTLkDZBbYP wTYjyPKmx32/p3JMCYRH8GLhtE2cAz5+qdGcvn87ZrrGKf4t8mK95Hwlrz1iRLud Ig5uh9ZozVAJEeOKXoeAfJTi8c+f5t8vRHwnSmkcksr18pXO/AjxpGzEvoxAFmHa nWd0NLObRq7hciPTppwq =3TXr -----END PGP SIGNATURE----- --fOT6oMUkvxxI3X7aNnCMdAoCXTl3GcESo-- --===============0790622347678877303== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============0790622347678877303==--