From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Goldstein Subject: Re: fyi, Xen's EFI workarounds (/mapbs & efi=no-rs) on SuperMicro hardware; fixes solve 1/2 problems & SM responds that can't/won't fix their firmware Date: Mon, 7 Dec 2015 11:15:54 -0600 Message-ID: <5665BECA.6030605@cardoe.com> References: <56621EBF.2000301@gmail.com> <20151205180537.GA8112@char.us.oracle.com> <56632DB7.1090503@gmail.com> <56634F20.5090801@gmail.com> <20151207142012.GB22814@char.us.oracle.com> <20151207142050.GA24671@char.us.oracle.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3263321491447098873==" Return-path: In-Reply-To: <20151207142050.GA24671@char.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============3263321491447098873== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aEVsjoujpQWIBfXGcs7vVGteps7vQnwkX" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --aEVsjoujpQWIBfXGcs7vVGteps7vQnwkX Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 12/7/15 8:20 AM, Konrad Rzeszutek Wilk wrote: > On Mon, Dec 07, 2015 at 09:20:12AM -0500, Konrad Rzeszutek Wilk wrote: >> On Sat, Dec 05, 2015 at 12:54:56PM -0800, PGNet Dev wrote: >>> On 12/05/2015 11:44 AM, Konrad Rzeszutek Wilk wrote: >>>>> Two issues exist with the SuperMicro EFI >>>>> >>>>> (1) firmware EFI mis-mapping causing Xen PANIC on restart >>>> >>>> Can you try 'reboot=3Dacpi' ? >>>> >>> ... >>>>> I.e., what combination of >>>>> >>>>> /mapbs >>>>> efi=3Dno-rs >>>>> reboot=3Dacpi >>>>> >>>> All? It should be on the Xen command line. >>> >>> with /mapbs on the EFI exec line, >>> >>> grep mapbs /boot/grub2/grub.cfg >>> chainloader $cmdpath/xen-4.6.0_04-398.efi xen-4.6.0_04-398.efi conf= ig.1 >>> /mapbs >>> >>> and on the Xen Cmd Line, >>> >>> grep efi=3D /boot/efi/EFI/opensuse/xen-4.6.0_04-398.cfg >>> options=3D dom0_mem=3D3072M,max:3072M ... loglvl=3Dall guest_loglvl= =3Dall >>> efi=3Dno-rs reboot=3Dacpi >> >>> >>> not clear to me what effect, if any, the addition of 'reboot=3Dacpi' = and >>> '/mapbs' has, relative to just 'efi=3Dno-rs' has. >> >> >> Are you by chance an lawyer? :-) >> >> Try without /mapbs, efi=3Dnr-rs and with reboot=3Dacpi. That should us= e EFI routines >> for everything (including reboot). Doing the 'reboot=3Dacpi' will over= ride >> the reboot routine to only use the ACPI method. >> >> Granted if you did 'efi=3Dnr-rs' we bypass EFI altogether and use 'acp= i' method. >> >> My theory was that if use some EFI routines it inits the firmware enou= gh >> that ACPI reboot should work. But it may be that it is just not happy.= >> >> There is an extra patch you can try to determine if the failure is >> due to us doing ExitBootServices and not using virtual addresses (whic= h >> for example is the reason that under Lenovo it goes haywire). >> >> See attached patch (against staging). With that you would do: >=20 > Now attached. >> >> xen.efi /noexitboot /mapbs >> >> And you can try without 'efi=3Dno-rs'. >> >> However I am wondering - why are you using '/mapbs' ? What did it >> help? (The combination of 'efi=3Dno-rs' means you are in effect not >> using _any_ EFI operations - so doing /mapbs is not needed). >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xen.org >> http://lists.xen.org/xen-devel Konrad, Can we land the /noexitboot (probably better to call it /noexitbs to match rs) into the tree? I have to have a very similar patch locally to bring up my machine and it would make sense that if you and I are seeing this problem then others are. --=20 Doug Goldstein --aEVsjoujpQWIBfXGcs7vVGteps7vQnwkX 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 iQJ8BAEBCgBmBQJWZb7MXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBNTM5MEQ2RTNFMTkyNzlCNzVDMzIwOTVB MkJDMDNEQzg3RUQxQkQ0AAoJEKK8A9yH7RvUTesP/2SIipmHwuXtvZnb5Oy2JG5B l9kb9d+FxmEyI0slZ7RxpMDX3yiwAKfW59zR3DPI9V/RXJAcCx674w1AZYyRsvUo gvFlTA8prVka9GQtWfOqE1uBsv8eT9cTSakSFcaHa2OI2c2IbkjLniyy7Mjkczz9 qH9jbLPhKpkCOZoFMvsjP07xfGU0iQZkYGfjThQRtWbz3ylkZuSUkf13Jj6WasMB mZqfIaUvfDKZ06hmftW+5C7ps3G4pfui0p3IoyvNrJtE7x3/Csz4ItU0EN/siGD6 nKc+ZI4vCOqpx8wRV/C5bNRvXslxUB2kvCHCkoUNT0UeYzdtY/6oGtpK13B2Rs/T 7LyXiryq4M11B9IN3TJvvEXXbC7WGQd1gAvf0HCPCbDVrxfH9HXOjoMhN36y9co7 vK3a3Cl3nYP9nTXDaW8X7iiiDQU95bT0CqrH9KxLmRiqh6PDBPxPtvbulZpKuCct gfX8A5bUd4CvSuQVIjTlPPagfwjeT4tVwPzr9NocBeIbI6PX8+Ul8ysiWHNi4db5 zpl3HIMQn08BvCV7keVH9sQnwFWyX8M6KDbAgn4fzZpUW3EZgJT7/uznk3Z2LCdN bHhGEJm8xiPliSPnDqE+txO1vdXqs9MhIM4ShcLLUhndi9Ho5cUlxPigClRGcZZl i3Yef+mLaIg7pzP5v1Nj =vLOi -----END PGP SIGNATURE----- --aEVsjoujpQWIBfXGcs7vVGteps7vQnwkX-- --===============3263321491447098873== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============3263321491447098873==--