From owner-freebsd-current@freebsd.org Thu Mar 22 15:16:52 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED0B1F4D1E0 for ; Thu, 22 Mar 2018 15:16:51 +0000 (UTC) (envelope-from peter.lei@ieee.org) Received: from mail-wr0-x243.google.com (mail-wr0-x243.google.com [IPv6:2a00:1450:400c:c0c::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6516079FF0 for ; Thu, 22 Mar 2018 15:16:51 +0000 (UTC) (envelope-from peter.lei@ieee.org) Received: by mail-wr0-x243.google.com with SMTP id z73so9097645wrb.0 for ; Thu, 22 Mar 2018 08:16:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee-org.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to; bh=wj9GFPus7p2b4Km+Cgqd7c4FZTxAYpGQNqOpCZv3n+Q=; b=s+R+synJI+3GFT1sVXIdTkU8sEVz4SL6Fy1sTyBjr9IU5yGr5b+N6j4TjrvnzVqh8P K0Iv+W5XnkrvfMm1ESNonsGBt3u76WAW0oIBFT+PRxh+okhodLYTjZGRF9jcFPdSwHNo LnY1LI9rAQFsTKssezxnCriFtDcZRVkop56cW6d8+sg8HGmJ7eIchY/NTSLjqJtYj2eM zzY+GOXsCpLIzKEKG914os7enazDzwl0HBTrGn5hRE6g3p2WfkzfyvGCj/b+6xuRVYU2 a61ZtNPoe9M+eRAalKJxf4nZs8MRrKCsT2DpzZJpR7cX/o4l6XDzUozbUIdQOaCTDkF0 7IIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=wj9GFPus7p2b4Km+Cgqd7c4FZTxAYpGQNqOpCZv3n+Q=; b=rtjix1jH9GI60EviQUJuwZCHmOdfFEmyD6BbvaXMZ73dyhk2pE7302tRON/4XXUxmF 8/0j9jt6RxazQptQU20jGNX2PHB74cwaB/4d6rRgZcp/M+GhmjiM0SBFwNi764NCMjbp oHgddx2xsLfDF7AXoTaHUqOSbYihHnZmYPOZT9JNMs2wHWu+mFk16aWWjkdecrdAEnhs E9wW+2z4JqdbkJs6xXGlQo2X3qQDHZ0UTjDSetoNgD1O9Ry38Kt/1wifA/7tPTN78p7d Oe3mVTaP8n2sqpsqV2zLtdtQwBfYlNNFuFk+Oov+/T5BNfouN0kxTTAypv1o5vyaaZUD ADMA== X-Gm-Message-State: AElRT7EvFURIZTgU4uv1AM5GFUQKPwo0b82m5zZZprjSHSGuahtDW9tp QuZCqVncUO4nhmRqW6/I91fHEA== X-Google-Smtp-Source: AG47ELvurqEV2MS+fY2/dk+bbSJY8JoTo+cVQ31Un4bCR+62BhPhvLX2JqxTymP9fJpAQslvyGm0ww== X-Received: by 10.223.154.47 with SMTP id z44mr17367274wrb.239.1521731809608; Thu, 22 Mar 2018 08:16:49 -0700 (PDT) Received: from dhcp-9881.meeting.ietf.org ([2001:67c:1232:144:1082:5047:180:bd5b]) by smtp.gmail.com with ESMTPSA id x17sm8067311wrg.32.2018.03.22.08.16.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Mar 2018 08:16:48 -0700 (PDT) Subject: Re: Call for Testing: UEFI Changes To: Tomoaki AOKI , freebsd-current@freebsd.org Cc: kevans@freebsd.org, jakob@alvermark.net, andrew@FreeBSD.org References: <5f663141-433c-951d-a350-7369b004415f@alvermark.net> <20180322225644.1480251c4547ce30f3d88de9@dec.sakura.ne.jp> From: Peter Lei Message-ID: Date: Thu, 22 Mar 2018 10:16:47 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180322225644.1480251c4547ce30f3d88de9@dec.sakura.ne.jp> Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms030307060002070201040400" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2018 15:16:52 -0000 This is a cryptographically signed message in MIME format. --------------ms030307060002070201040400 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 3/22/18 8:56 AM, Tomoaki AOKI wrote: > Hi. > For problem 2, try reverting r331241 alone. > This worked for my ThinkPad T420. I also hit this after updating to latest and was about to post when I saw this thread - I build efirt into the kernel and it's now doing a panic on boot. It appears to be due to this recent addition in dev/efidev/efirt.c by r33124= 1: > if (!efi_is_in_map(map, efihdr->memory_size / efihdr->descripto= r_size, > efihdr->descriptor_size, (vm_offset_t)efi_runtime->rt_getti= me)) { The faulting address is for "efi_runtime->rt_gettime" (and is still a phys addr here). --peter >=20 > On Thu, 22 Mar 2018 08:22:13 -0500 > Kyle Evans wrote: >=20 >> On Thu, Mar 22, 2018 at 5:13 AM, Jakob Alvermark = wrote: >>> Hi! >>> >>> >>> Just updated to r331345. >>> >>> Two problems: >>> >>> 1. boot/efi.4th is added to /usr/src/ObsoleteFiles.inc but still incl= uded in >>> loader.rc. Loader fails to load it and subsequently fails to load mod= ules. >>> Reinstalling efi.4th problem 2 appears. >>> >>> >>> 2. Fixing problem 1 and adding efirt_load=3D"YES" to /boot/loader.con= f makes >>> the kernel panic instantly. Photo of panic: >>> https://photos.app.goo.gl/ph3yQukOAUdQpsvK2 >>> >>> >>> Jakob >>> >>> >> >> Hi, >> >> The efi.4th removal has been reverted in r331353. A couple of inquirie= s for you: >> >> 1.) Before loading efirt, can you show me what `sysctl >> machdep.efi_map` looks like? >> >> 2.) After `kldload efirt` and getting a panic, can you show me what >> `show registers` looks like? >> >> 3.) Have you used efirt successfully before? >> >> Thanks, >> >> Kyle Evans >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.= org" >> >=20 >=20 --------------ms030307060002070201040400 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC Cx4wggUwMIIEGKADAgECAhEA5uRbT5dO2Nji0P2d3zpsSDANBgkqhkiG9w0BAQsFADCBlzEL MAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2Fs Zm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0Eg Q2xpZW50IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0EwHhcNMTcxMTA5MDAw MDAwWhcNMTgxMTA5MjM1OTU5WjAjMSEwHwYJKoZIhvcNAQkBFhJwZXRlci5sZWlAaWVlZS5v cmcwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCxBMAPv3y1gA/CpG9WGm3dIJR9 2ch1Vk4InSVWXHV11mt1j2gNajK8Sa+IyPSf4/xeP/MQfkworYIM2n0Ob5F6/t2oNS4w/G2y 0CaCSxQAtbk46wKKErx20t4s4ODDs3YXzf38juNMB93YCVhFrs8jyKP1/Y7RwkjaKrRF8KBK PxHUcqxhZir3TjOJtu2P2STWtPD2fRpRkvN+gEh2ejd+n1HHBst/9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