From owner-freebsd-current@freebsd.org Sun Apr 1 23:41:08 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 26E6FF83B27 for ; Sun, 1 Apr 2018 23:41:08 +0000 (UTC) (envelope-from wheelcomplex@gmail.com) Received: from mail-oi0-x241.google.com (mail-oi0-x241.google.com [IPv6:2607:f8b0:4003:c06::241]) (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 AB0B7834FE; Sun, 1 Apr 2018 23:41:07 +0000 (UTC) (envelope-from wheelcomplex@gmail.com) Received: by mail-oi0-x241.google.com with SMTP id 188-v6so11612041oih.8; Sun, 01 Apr 2018 16:41:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=0sBXWwZvq/IhjUA6X/Sct1Grn2hByhDF6t27etk235M=; b=iZoTbLFTATvnCQpwEENkDC+ZXnw6o/DZtmk8Kl3mE+mOmWwziK25bWXklb+cWiQje5 vpS080vQU9mh0WeTpjNdweYVRE2uoq1/ZbXcO5G9/hIObw2Jf7Z+8RfR8Gl/bsd3+PtR 92Osfl5aI3ePrZWjmsBVxd8liU6b0ON9eGMbNDESIguxCf3/1dPJTaviEzvgfJJrdViJ fv1g9Cd3f9iqCGd48U82KqAkDxhSt1IfHMYt3jGcrh0iEpJV1iZNNSkJ4D1S38p5dAAH vjMtJCk/ZV3cmICyo9n4B7I/NYSe5YPKfYvYseJwrfqh9nSOtqgZ0gaSmsKGxgiNscB6 c0cA== 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=0sBXWwZvq/IhjUA6X/Sct1Grn2hByhDF6t27etk235M=; b=g8o/LCuXTwTxE3yWi5F323llKrYfborxZ+hQtNXuneAfnV+DCG03W/DSkvG9DkXMRi 1LallgNQMceca1yqx3jXyWHF7DQptua24FC4fchgEXjSBB1XXO6musbCqGiA3LDDD/Jd ikJmEcwqrWp/p/Quj0s3AWwUcIoY4SiRV3Rtgfaav6iLIlss3UQCW6kTadW6LFpFKE6O ilKN4btCSM4gvgC2i0ia52DZL2FqCKIkDlva3npVnSbwJ1NQFIhA6yCv9l7OSnwk/qek b7w5Hpa4jFBN97xRRYMPR63jYVzhGAjjfr1tjyZkTz1rm43LLG1WnBR7CpiXF2kgSNf3 1JJQ== X-Gm-Message-State: ALQs6tDCijUPC2U4HPXuqMsVxT5lRHKaCd3/nOw0XRtZYYfDPxBV9BZo 3ff1tGb19st9qT9JVgz0oNBdBSx6YyoQoUha2IxyvwTb X-Google-Smtp-Source: AIpwx4+ACApOV6fJ0V9IvkcxGiZzaHSm0EqLDem0d34h1ydNaC3yn9z3HuGqxPudAQCTY0fYg8ecIaXdO5ld3KQb2pQ= X-Received: by 2002:aca:db87:: with SMTP id s129-v6mr4295147oig.105.1522626066961; Sun, 01 Apr 2018 16:41:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.166.1 with HTTP; Sun, 1 Apr 2018 16:41:06 -0700 (PDT) In-Reply-To: <20180401213831.1535c7511c1d95a258318bc7@dec.sakura.ne.jp> References: <5f663141-433c-951d-a350-7369b004415f@alvermark.net> <20180322225644.1480251c4547ce30f3d88de9@dec.sakura.ne.jp> <20180401213831.1535c7511c1d95a258318bc7@dec.sakura.ne.jp> From: David NewHamlet Date: Mon, 2 Apr 2018 11:41:06 +1200 Message-ID: Subject: Re: Call for Testing: UEFI Changes To: Tomoaki AOKI Cc: freebsd-current@freebsd.org, kevans@freebsd.org X-Mailman-Approved-At: Sun, 01 Apr 2018 23:55:54 +0000 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 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: Sun, 01 Apr 2018 23:41:08 -0000 Fixed in: FreeBSD-12.0-CURRENT-amd64-20180329-r331740-disc1.iso https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=176694 On Mon, Apr 2, 2018 at 12:38 AM, Tomoaki AOKI wrote: > Confirmed both loader (with boot1) part and efirt.ko part. > Working OK on my ThinkPad420 (with nvidia GPU) at r331864. > > No benefit (VGA resolution) but no new harm (no panic nor silent > reboot). > > *Maybe gracefully falling back to mode 0. > > As I'm on x11/nvidia-driver, completely no test is done with > drm-next. > > One more to mention. > I've cherry-picked r330868, r331241 and r331361 on stable/11 after > r331114, amd64 and works OK as on head. > Additional cherry-picking of r331365 is OK, too. > > Without r330868, my ThinkPad silently reboots within about 10-60 > minutes range, maybe by actual access to UEFI RS. > With r331241 without r331361 causes instant panic on loading efirt.ko. > So all 3 (4) revs should be MFC'ed together. > > Sorry for delay. > > > On Thu, 22 Mar 2018 10:34:33 -0500 > Kyle Evans wrote: > > > 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. > > _______________________________________________ > > 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" > > > > > -- > Tomoaki AOKI > _______________________________________________ > 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" >