Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 10:16:47 -0500
From:      Peter Lei <peter.lei@ieee.org>
To:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>, freebsd-current@freebsd.org
Cc:        kevans@freebsd.org, jakob@alvermark.net, andrew@FreeBSD.org
Subject:   Re: Call for Testing: UEFI Changes
Message-ID:  <dd6790b2-dfd2-d851-e851-99dfc489c5e5@ieee.org>
In-Reply-To: <20180322225644.1480251c4547ce30f3d88de9@dec.sakura.ne.jp>
References:  <CACNAnaFmu2rFF1w4ar4xHUbN5vHitTLi0Ui6aCjL1MuTj3iJsQ@mail.gmail.com> <5f663141-433c-951d-a350-7369b004415f@alvermark.net> <CACNAnaE1UaqzS4bjQY9uqnhH2mX7XfUKT%2BVA%2Bn0v1=xF2FWXRg@mail.gmail.com> <20180322225644.1480251c4547ce30f3d88de9@dec.sakura.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kevans@freebsd.org> wrote:
>=20
>> On Thu, Mar 22, 2018 at 5:13 AM, Jakob Alvermark <jakob@alvermark.net>=
 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
MDAwWhcNMTgxMTA5MjM1OTU5WjAjMSEwHwYJKoZIhvcNAQkBFhJwZXRlci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bnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEQDm5FtPl07Y2OLQ
/Z3fOmxIMIHABgsqhkiG9w0BCRACCzGBsKCBrTCBlzELMAkGA1UEBhMCR0IxGzAZBgNVBAgT
EkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RP
IENBIExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0EgQ2xpZW50IEF1dGhlbnRpY2F0aW9u
IGFuZCBTZWN1cmUgRW1haWwgQ0ECEQDm5FtPl07Y2OLQ/Z3fOmxIMA0GCSqGSIb3DQEBAQUA
BIIBAHe6aYBFkbTTPD8+mY6z9f37wm2HOyo4fvyrA9TOaEKcPWiCvsf7JiP9d2z2OGuvf9+e
bmOeHVcErvrZc0Ka8bFgGqct49mK/j9W19b/mq91g7NMQBlmy82PXscZokSaKA0gUs3qQL5X
nf/us8IfdIar4ej9pkCYGvuRcgvetGsItq2Q95NJ60enifYYc1ecnxfcQrtMkJgJEn9H+UaJ
09u8JFH6oWFE2LMl6SQP1o01aV76o5XX6Mvt7+RnWF+Nt11MEFPcrcnHJB4YjGfJl8o37MKo
cg3UfGUrAsqBM3AQkOBonLP56ABpEtRAamHO8FwgVwlq9WUrcMoHWHN1T3QAAAAAAAA=
--------------ms030307060002070201040400--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dd6790b2-dfd2-d851-e851-99dfc489c5e5>