From owner-freebsd-current@freebsd.org Thu Mar 22 15:35:03 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 ED97DF4F197 for ; Thu, 22 Mar 2018 15:35:02 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) (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 611B67B595; Thu, 22 Mar 2018 15:35:02 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: by mail-lf0-f68.google.com with SMTP id g203-v6so13791522lfg.11; Thu, 22 Mar 2018 08:35:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9LmCpWlIRw6dWleZvPdm2YoZyQ2Snsc5YEI9kQzvLdc=; b=D9C9q75cZZQMAU+d0GOs00NB/hZtcgLi2J8PlxfYASMQh+y3Yw1QbSUVxu2UnLNzgN E+/oAAyRl5k6k5s5uozG5SycxuYvOSGspNycLKa7ErRdeX0417KchsVZbQSuhXfkdGNT dFbaxQ9jR2AuvElALKsgwVODna6UXg0jzK5Bc1bYLgDgMl31OTk7HDY7+EfWahdQMFZ1 oc82YvXZkP07H4L7/nV+YjvFGZCKNYmdVtVowHzSNzMiEgppcxC2jilps89H1H6MrGGA +Lpjw9C7BgjftPmYpJhgEPqy74AkLTJjT6gO6lUe5JEiSgWzc6ukoo3tnw4No8xWC9T4 vwcA== X-Gm-Message-State: AElRT7Fso/eGGVrtiNno4XWkZrueNz0KYqy0Rupqg1d7lqCSHxStGbWY YeWAPRfhGsgjzc/YtzziFoLGNTKS X-Google-Smtp-Source: AG47ELtZr5ARiUK6tOkdfu6OLChcmkkhykWNRGoQUxKI0iOjfpGpmOGbDJKdwvhcWx4Xmp5GphzrWQ== X-Received: by 2002:a19:a003:: with SMTP id j3-v6mr16386895lfe.8.1521732894635; Thu, 22 Mar 2018 08:34:54 -0700 (PDT) Received: from mail-lf0-f41.google.com (mail-lf0-f41.google.com. [209.85.215.41]) by smtp.gmail.com with ESMTPSA id o88-v6sm1702523lfg.34.2018.03.22.08.34.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Mar 2018 08:34:54 -0700 (PDT) Received: by mail-lf0-f41.google.com with SMTP id a22-v6so13796633lfg.9; Thu, 22 Mar 2018 08:34:54 -0700 (PDT) X-Received: by 2002:a19:e9cc:: with SMTP id j73-v6mr15143039lfk.99.1521732894233; Thu, 22 Mar 2018 08:34:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.129.90 with HTTP; Thu, 22 Mar 2018 08:34:33 -0700 (PDT) In-Reply-To: References: <5f663141-433c-951d-a350-7369b004415f@alvermark.net> <20180322225644.1480251c4547ce30f3d88de9@dec.sakura.ne.jp> From: Kyle Evans Date: Thu, 22 Mar 2018 10:34:33 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Call for Testing: UEFI Changes To: Kyle Evans Cc: Peter Lei , Tomoaki AOKI , FreeBSD Current , Jakob Alvermark , Andrew Turner Content-Type: text/plain; charset="UTF-8" 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:35:03 -0000 On Thu, Mar 22, 2018 at 10:18 AM, Kyle Evans wrote: > On Thu, Mar 22, 2018 at 10:16 AM, Peter Lei 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 Now committed as of r331361.