From: Doug Goldstein Subject: Re: [PATCH v16 4/9] x86: add multiboot2 protocol support for EFI platforms Date: Thu, 9 Mar 2017 14:02:49 -0600 Message-ID: References: <1487704799-21162-1-git-send-email-daniel.kiper@oracle.com> <1487704799-21162-5-git-send-email-daniel.kiper@oracle.com> <20170221192433.GA3484@olila.local.net-space.pl> <58ADA360020000780013CCBA@prv-mh.provo.novell.com> <20170222153421.GD3484@olila.local.net-space.pl> <20170306233904.GI29281@olila.local.net-space.pl> <20170308034414.GA25084@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5626744227847051442==" Return-path: Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cm4H7-0003uM-18 for xen-devel@lists.xenproject.org; Thu, 09 Mar 2017 20:03:01 +0000 Received: by mail-yw0-f195.google.com with SMTP id p77so1745759ywg.0 for ; Thu, 09 Mar 2017 12:02:57 -0800 (PST) In-Reply-To: <20170308034414.GA25084@localhost.localdomain> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" To: Konrad Rzeszutek Wilk , Daniel Kiper Cc: Juergen Gross , sstabellini@kernel.org, andrew.cooper3@citrix.com, pgnet.dev@gmail.com, ning.sun@intel.com, julien.grall@arm.com, Jan Beulich , xen-devel@lists.xenproject.org, qiaowei.ren@intel.com, gang.wei@intel.com, fu.wei@linaro.org List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============5626744227847051442== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cTt4D7smxTTgbrxfIiKMsdEe5NW1efKXb" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cTt4D7smxTTgbrxfIiKMsdEe5NW1efKXb Content-Type: multipart/mixed; boundary="abLu4MTVxjTgO5P8JMK8rp95j7hrDon5H"; protected-headers="v1" From: Doug Goldstein To: Konrad Rzeszutek Wilk , Daniel Kiper Cc: Juergen Gross , sstabellini@kernel.org, andrew.cooper3@citrix.com, pgnet.dev@gmail.com, ning.sun@intel.com, julien.grall@arm.com, Jan Beulich , xen-devel@lists.xenproject.org, qiaowei.ren@intel.com, gang.wei@intel.com, fu.wei@linaro.org Message-ID: Subject: Re: [Xen-devel] [PATCH v16 4/9] x86: add multiboot2 protocol support for EFI platforms References: <1487704799-21162-1-git-send-email-daniel.kiper@oracle.com> <1487704799-21162-5-git-send-email-daniel.kiper@oracle.com> <20170221192433.GA3484@olila.local.net-space.pl> <58ADA360020000780013CCBA@prv-mh.provo.novell.com> <20170222153421.GD3484@olila.local.net-space.pl> <20170306233904.GI29281@olila.local.net-space.pl> <20170308034414.GA25084@localhost.localdomain> In-Reply-To: <20170308034414.GA25084@localhost.localdomain> --abLu4MTVxjTgO5P8JMK8rp95j7hrDon5H Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 3/7/17 9:44 PM, Konrad Rzeszutek Wilk wrote: > On Tue, Mar 07, 2017 at 12:39:04AM +0100, Daniel Kiper wrote: >> On Wed, Feb 22, 2017 at 09:04:17AM -0800, Doug Goldstein wrote: >> >> [...] >> >>> I'm currently at ELC and then on vacation so I don't have access to a= ny >>> of the machines currently myself. However the machine I most use to t= est >>> is a NUC5i5MYHE and a NUC5i3MYHE if you want to ask around if someone= >>> has one internally. But that's why I gave QEMU as an example. >>> >>> I was using qemu master from a few weeks ago. I'll have to find the >>> revision for you. But the command line I use is: >>> >>> -enable-kvm -M pc-q35-2.8 -device intel-iommu -cpu host -m 2048 -smp = 2 >>> -drive if=3Dpflash,format=3Draw,file=3D/tmp/tmp.EiR6ixmYzV -global >>> isa-debugcon.iobase=3D0x402 -debugcon file:/tmp/tmp.nuvEXUWfnA -monit= or >>> stdio -chardev socket,host=3D127.0.0.1,port=3D25914,id=3DS0,server,no= wait >>> -device isa-serial,chardev=3DS0 -device piix3-usb-uhci -device usb-ta= blet >>> -netdev id=3Dnet0,type=3Dtap -device >>> virtio-net-pci,netdev=3Dnet0,mac=3D52:54:00:12:34:56 -boot order=3Dn = -device >>> qxl-vga -gdb tcp::14952 >> >> Sadly, my colleagues and I are not able to reproduce the problem on an= y of >> machines available for us (available on the market and some developmen= t >> stuff in our labs). I did tests with QEMU (I am not able to run it wit= h >> "-device intel-iommu" on my machine; I have to investigate this). Ever= ything >> works. Joao did some tests on Intel NUC D34010WYK second generation. >> Everything works. So, Konrad ordered Intel NUC NUC5i3MYHE for me. I am= >> waiting for delivery. Doug, could you tell me what distro, Xen, etc. y= ou >> have installed on that NUC? I would like to test same config as yours = on >> this machine. >=20 > I had a chat with Doug on IRC and: > - I had tested earlier on AMD, while he has only Intel boxes, > - He was wondering if this was an IOMMU issue. >=20 > So to double-check that, I installed Ubuntu 16.10 on my X11SAE > SuperMicro, which has an Haswell E3-1245 v5 and with IOMMU enabled. >=20 > I tested the 'origin/staging' xen.gz build with the upstream grub2 > (I just used the 'master' branch) first and also just booting xen.efi. >=20 > Both worked fine. Well if this was really the IOMMU issue then there's already a patch in staging which noops out part of the memory allocator from the first part of the series that was causing problems. >=20 > Then I used v16 of Daniel's patches (this thread). They are also > now on git://xenbits.xen.org/people/konradwilk/xen.git mb2.v16 > also the same way - as xen.efi and then using grub.efi and booting it > (see below) >=20 > All worked fine. >=20 > konrad-Super-Server login: [ 188.181526] reboot: Restarting system > (XEN) Hardware Dom0 shutdown: rebooting machine > (XEN) APIC error on CPU0: 40(00) >=20 > ... reboot. So as I've mentioned you have to run 'xl info' and look at nr_cpus to see the issue. > Starting Notify bootloader tha[^G^G^G^G^G^G^G^G^G^G^G^G^G^G^G^= G^G^G^G^G^G^G=1B[0;32m OK =1B[0m] Started Notify bootloader that boot w= as successful. >=20 > Ubuntu 16.10 konrad-Super-Server hvc0 >=20 > konrad-Super-Server login:=20 >=20 Still missing 'xl info'. --=20 Doug Goldstein --abLu4MTVxjTgO5P8JMK8rp95j7hrDon5H-- --cTt4D7smxTTgbrxfIiKMsdEe5NW1efKXb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0 iQJ8BAEBCgBmBQJYwbTsXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvU66sP/2H6cgzl6hHrfmR86QIIuwGH zgRZialvRv/hB++3WOqZJchNua2QIc2SGcq36lfm611E1mZPn8JnopynxrdL+o5J RoKmy03HXLR1Zf2KquOZjWao/ksEAxjd95RluF7eTSIPEABsGPFI8IRvgi/FNavI 7W/OC5tGaJDH7GXRjQpFgdbLYlQPdJ05jlW5LQgEkSexCp+GPZgdar4a7auF3Xqm dm6Ug/dRca/p8zGmU0hJImoh9LmHSc5xKXpOHA+yemfc1i/Zo16P76JebrjLrX/r qtVzVUdaDDHP22V8rAFCCGdDFa4XK1SfYUYWKmsURQYZcmK7IPqw23Mq89QwhqGy R3LRhc3iwMtKWkattWXk69ICy3PuVo3t2guVMnm9iZVXiqmvyballjzww/2OMB3N KUs19yaR+7Ro1nyLLo5erj3Wb9aNBJhCkXYAOPb4+LhcgcA62voXTFyp2/EH7fbG Jbk2UHkEYEP0ArlQcbLHjG5gqKR5U/aZ3rRWSzwpCZCHDgkIHJrUxb3Nqz3+MNkB y9PQhbSk5bj5veQtEhFORkvZrZbko9x9m/WtJ6AT66SBE1DLP+OUzwxdPr3sZqIA 7xGPfLUoYhUiRubvYcl8SYuVktRCitlToiRBPH4ICVQNo1uSdTGnO1iAnf5Zwszh stY0EoRGU5yrdPUa6kJN =SNex -----END PGP SIGNATURE----- --cTt4D7smxTTgbrxfIiKMsdEe5NW1efKXb-- --===============5626744227847051442== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVuLm9yZwpodHRwczovL2xpc3RzLnhlbi5v cmcveGVuLWRldmVsCg== --===============5626744227847051442==--