From owner-freebsd-current@freebsd.org Thu Mar 22 15:42:44 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 EA18BF4FE7F for ; Thu, 22 Mar 2018 15:42:43 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) (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 57F287BEDB; Thu, 22 Mar 2018 15:42:43 +0000 (UTC) (envelope-from byond.lenox@gmail.com) Received: by mail-lf0-f67.google.com with SMTP id m16-v6so10112727lfc.4; Thu, 22 Mar 2018 08:42:43 -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=+gJE8RuPPwInlc79Ifp/DIU6aBXEbY54l8eDdSl3D5A=; b=H+3RPgKkVTC2jAtfYu2/UvnmzpppyXALRvAlAXIrdetdnFy3Yfgnd7WNmARKYef96+ y+LYj4RkhebvNXmX3hLUP/RCbirVg43xsMIwj3f1zyP8GXkxh5WzLx5RBwMMyM6BCajX PDqGAd+6m6+EheDmCFbR3f5C06suUeoKxwn7DcABwrX4NQ9LjiM77Gd9xAq//6ftAYzc rBE2PxreQW9j4q4W/FjixUteir+TMVk0qL/6nLz0bfzdzQ32De7ALaosT7yKg8EEdmLr 7A4m/FxeeIltcq0wzDE0tYc2XLnEX4UCpKgKeo3/yRxSSyR43Oz2piImihTIoM6dYn6z xShA== X-Gm-Message-State: AElRT7G0XoI1d/7bmHU0nA7W1UyW2ywCve/zS5AEEleqA9P8xm4iZW45 dyXqKrDN9ywoH6YDAszwYE3izELq X-Google-Smtp-Source: AG47ELvIjiijj15wkq8Kqk2Pvogsi46Y04zib8DiVQT3tb2P1JBFmEeVulpzeRbIQBJIfl1SUwUbFQ== X-Received: by 10.46.137.13 with SMTP id d13mr10138743lji.27.1521731934747; Thu, 22 Mar 2018 08:18: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 o8sm1442057ljj.42.2018.03.22.08.18.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Mar 2018 08:18:54 -0700 (PDT) Received: by mail-lf0-f41.google.com with SMTP id l4-v6so9395333lfg.12; Thu, 22 Mar 2018 08:18:54 -0700 (PDT) X-Received: by 2002:a19:6919:: with SMTP id e25-v6mr16630216lfc.52.1521731934438; Thu, 22 Mar 2018 08:18:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.46.129.90 with HTTP; Thu, 22 Mar 2018 08:18: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:18:33 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Call for Testing: UEFI Changes To: Peter Lei Cc: 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:42:44 -0000 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