From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1A804C432C0 for ; Tue, 26 Nov 2019 03:55:43 +0000 (UTC) Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D7DEE2071A for ; Tue, 26 Nov 2019 03:55:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="jY1iBywW" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D7DEE2071A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=invisiblethingslab.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iZRwi-0001qD-R8; Tue, 26 Nov 2019 03:55:24 +0000 Received: from us1-rack-iad1.inumbo.com ([172.99.69.81]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1iZRwh-0001q8-Fd for xen-devel@lists.xenproject.org; Tue, 26 Nov 2019 03:55:23 +0000 X-Inumbo-ID: 91e1a02c-1000-11ea-9db0-bc764e2007e4 Received: from wout2-smtp.messagingengine.com (unknown [64.147.123.25]) by us1-rack-iad1.inumbo.com (Halon) with ESMTPS id 91e1a02c-1000-11ea-9db0-bc764e2007e4; Tue, 26 Nov 2019 03:55:22 +0000 (UTC) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 86D50AF5; Mon, 25 Nov 2019 22:55:21 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute7.internal (MEProxy); Mon, 25 Nov 2019 22:55:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=z3GsPg xh1zWTK7ujK5qTvzkfy9EY9/H2P+9v7cca75U=; b=jY1iBywW2uRQPbbIU8Hj1M RSiG8efu4pGWwpCkqXeuNnT06faDR6da0ucgq7vtQ2cswndAZmsp2pBC91AriyzN 6d9v7urDmNU0CCJCqUFrZSHd6CS03mhwiCtiamU0EIhfM1PYe3wQIQ8Ve2JuJ1RB H12R0P2yKaltAIWw5++G7W8RI9HD5js0NsaE22zeNB4sOCh2+haPBenRNMWI6W8v 2qZ2wEjpn1sT6sJmk6BzlWutH1/f3qxaUhiG9pHiO9dbUk8rD/jErxb8aUm8cTW6 YKRVR0XXN1OmxQniSCQF4NXdOKsQjcaARgDEh7GTOEXSNzmjxkbPYyiyKvGjpbDA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeivddgieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjsehgtderredttdejnecuhfhrohhmpeforghrvghk ucforghrtgiihihkohifshhkihdqifpkrhgvtghkihcuoehmrghrmhgrrhgvkhesihhnvh hishhisghlvghthhhinhhgshhlrggsrdgtohhmqeenucfkphepledurdeihedrfeegrdef feenucfrrghrrghmpehmrghilhhfrhhomhepmhgrrhhmrghrvghksehinhhvihhsihgslh gvthhhihhnghhslhgrsgdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from mail-itl (ip5b412221.dynamic.kabel-deutschland.de [91.65.34.33]) by mail.messagingengine.com (Postfix) with ESMTPA id 328988005A; Mon, 25 Nov 2019 22:55:20 -0500 (EST) Date: Tue, 26 Nov 2019 04:55:17 +0100 From: Marek =?utf-8?Q?Marczykowski-G=C3=B3recki?= To: Roman Shaposhnik Message-ID: <20191126035517.GT5763@mail-itl> References: <0ba2bc19-2388-5fdc-43bd-3ac39497291c@suse.com> <91d6b37f-6f83-183d-6b1e-297c0381af75@citrix.com> <20191125004706.GB2012@mail-itl> MIME-Version: 1.0 In-Reply-To: Subject: Re: [Xen-devel] UEFI support on Dell boxes (was: Re: Status of 4.13) X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: "xen-devel@lists.xenproject.org" Content-Type: multipart/mixed; boundary="===============4993181170800993993==" Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" --===============4993181170800993993== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="apqMg07LpBOyFFAR" Content-Disposition: inline --apqMg07LpBOyFFAR Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [Xen-devel] UEFI support on Dell boxes (was: Re: Status of 4.13) On Mon, Nov 25, 2019 at 07:44:03PM -0800, Roman Shaposhnik wrote: > On Sun, Nov 24, 2019 at 4:48 PM Marek Marczykowski-G=C3=B3recki > wrote: > > Do you have by > > a chance messages of that crash (without efi=3Dno-rs, but with > > EFI_SET_VIRTUAL_ADDRESS_MAP enabled)? Or even a photo if no serial outp= ut is > > available? >=20 > With my awesome soldering skills ;-) I managed to rig a serial console. >=20 > Output is attached. Please let me know if you'd like me to run any > other experiments. Looks helpful, lets try to do something: > Xen 4.13.0-rc > (XEN) Xen version 4.13.0-rc (@) (gcc (Alpine 6.4.0) 6.4.0) debug=3Dy Tue= Nov 26 03:19:38 UTC 2019 > (XEN) Latest ChangeSet: > (XEN) build-id: 07aa9f711fe09a91be2588ee7df10d93ebe34c80 > (XEN) Bootloader: GRUB 2.03 > (XEN) Command line: com1=3D115200,8n1 console=3Dcom1 loglvl=3Dall noreboo= t dom0_mem=3D640M,max:640M dom0_max_vcpus=3D1 dom0_vcpus_pin smt=3Dfalse (...) > (XEN) EFI memory map: (...) > (XEN) 0000077587000-00000775f4fff type=3D5 attr=3D800000000000000f This is code that crashes - runtime services code, so somewhere with actual UEFI code. (...) > (XEN) 00000ff900000-00000ffffffff type=3D11 attr=3D8000000000000000 > (XEN) Unknown cachability for MFNs 0xff900-0xfffff The faulting address is in this range. And because of unknown cachability, it isn't mapped. Try adding 'efi=3Dattr=3Duc' to the Xen cmdline. (...) > (XEN) Xen call trace: > (XEN) [<00000000775e0d21>] R 00000000775e0d21 > (XEN) [<00000000775ddb8e>] S 00000000775ddb8e > (XEN) [<0000000000000000>] F 0000000000000000 > (XEN) [<7fffffff00000000>] F 7fffffff00000000 > (XEN) > (XEN) Pagetable walk from 00000000ff920020: > (XEN) L4[0x000] =3D 00000000787c0063 ffffffffffffffff > (XEN) L3[0x003] =3D 0000000071298063 ffffffffffffffff > (XEN) L2[0x1fc] =3D 0000000000000000 ffffffffffffffff > (XEN) > (XEN) **************************************** > (XEN) Panic on CPU 0: > (XEN) FATAL PAGE FAULT > (XEN) [error_code=3D0000] > (XEN) Faulting linear address: 00000000ff920020 > (XEN) **************************************** > (XEN) > (XEN) Manual reset required ('noreboot' specified) --=20 Best Regards, Marek Marczykowski-G=C3=B3recki Invisible Things Lab A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --apqMg07LpBOyFFAR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEhrpukzGPukRmQqkK24/THMrX1ywFAl3coiUACgkQ24/THMrX 1yyhsQf+NGqAzmdlpRuNVgq7CeyZJFGUc0OHkweu4bRN3TPN+tMRAb/xd+G3sEep apqE11UnZA/YiJaMo/gGMyGBXaXedhLbzV9FVKNVbbjHaijLHKYQeTsbg3g/rf0D RlQzvV0J3Sfd9wSR4hEn+HN0eI+QM86dC1EEg0SXQRpspxiEIFqmtp7L19JEh9Y7 SUNiQ7DXPjIWiUDPBMBwlhOPLG7Pxa213X7tfd++6AyqxmY7UvywsGzMobhflfZL B/SynqE/lqnzsIquGjhRLwGDf51Yc5r0sfXDjHEBgkZiZVDdfftSqSGmP84m6MNx pdi/bv5eZ+vt0SlEyE6n6g+mo9/kag== =C/cz -----END PGP SIGNATURE----- --apqMg07LpBOyFFAR-- --===============4993181170800993993== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KWGVuLWRldmVs IG1haWxpbmcgbGlzdApYZW4tZGV2ZWxAbGlzdHMueGVucHJvamVjdC5vcmcKaHR0cHM6Ly9saXN0 cy54ZW5wcm9qZWN0Lm9yZy9tYWlsbWFuL2xpc3RpbmZvL3hlbi1kZXZlbA== --===============4993181170800993993==--