Re: Call for Testing: UEFI Changes

From: Kyle Evans <kevans_at_freebsd.org>
Date: Thu, 22 Mar 2018 10:18:33 -0500
On Thu, Mar 22, 2018 at 10:16 AM, Peter Lei <peter.lei_at_ieee.org> wrote:
> 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 r331241:
>
>>         if (!efi_is_in_map(map, efihdr->memory_size / efihdr->descriptor_size,
>>             efihdr->descriptor_size, (vm_offset_t)efi_runtime->rt_gettime)) {
>
> The faulting address is for "efi_runtime->rt_gettime" (and is still a
> phys addr here).
>

The following patch [1] (I can't guarantee how long he'll keep it
available there) should fix this class of problems.

[1] https://people.freebsd.org/~andrew/0001-Enter-into-the-EFI-environment-before-check-the-GetT.patch
Received on Thu Mar 22 2018 - 14:42:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC