Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Mar 2018 10:18:33 -0500
From:      Kyle Evans <kevans@freebsd.org>
To:        Peter Lei <peter.lei@ieee.org>
Cc:        Tomoaki AOKI <junchoon@dec.sakura.ne.jp>,  FreeBSD Current <freebsd-current@freebsd.org>, Jakob Alvermark <jakob@alvermark.net>, Andrew Turner <andrew@freebsd.org>
Subject:   Re: Call for Testing: UEFI Changes
Message-ID:  <CACNAnaEfw2vzgnqrRkjgzqqtEyOYCeCR%2BP%2BVexPGzbOvNxsJ5A@mail.gmail.com>
In-Reply-To: <dd6790b2-dfd2-d851-e851-99dfc489c5e5@ieee.org>
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> <dd6790b2-dfd2-d851-e851-99dfc489c5e5@ieee.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Mar 22, 2018 at 10:16 AM, Peter Lei <peter.lei@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaEfw2vzgnqrRkjgzqqtEyOYCeCR%2BP%2BVexPGzbOvNxsJ5A>