From owner-freebsd-current@freebsd.org Thu Mar 22 10:45:02 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 ABAEEF59420 for ; Thu, 22 Mar 2018 10:45:02 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from out.alvermark.net (out.alvermark.net [185.34.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 487076D100; Thu, 22 Mar 2018 10:45:01 +0000 (UTC) (envelope-from jakob@alvermark.net) Received: from c-18bc70d5.06-431-73746f70.cust.bredbandsbolaget.se ([213.112.188.24] helo=sigyn.alvermark.net) by out.alvermark.net with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89 (FreeBSD)) (envelope-from ) id 1eyxDp-000191-5m; Thu, 22 Mar 2018 11:13:25 +0100 Received: from gw.bright-group.se ([193.12.143.142] helo=[192.168.30.20]) by sigyn.alvermark.net with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1eyxDo-0007fI-Gt; Thu, 22 Mar 2018 11:13:24 +0100 From: Jakob Alvermark Subject: Re: Call for Testing: UEFI Changes To: Kyle Evans , FreeBSD Current References: Message-ID: <5f663141-433c-951d-a350-7369b004415f@alvermark.net> Date: Thu, 22 Mar 2018 11:13:24 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Thu, 22 Mar 2018 10:45:03 -0000 Hi! Just updated to r331345. Two problems: 1. boot/efi.4th is added to /usr/src/ObsoleteFiles.inc but still included in loader.rc. Loader fails to load it and subsequently fails to load modules. Reinstalling efi.4th problem 2 appears. 2. Fixing problem 1 and adding efirt_load="YES" to /boot/loader.conf makes the kernel panic instantly. Photo of panic: https://photos.app.goo.gl/ph3yQukOAUdQpsvK2 Jakob On 03/22/18 01:45, Kyle Evans wrote: > Hello! > > A number of changes have gone in recently pertaining to UEFI booting > and UEFI runtime services. The changes with the most damaging > potential are: > > We now put UEFI runtime services into virtual address mode, fixing > runtime services with U-Boot/UEFI as well as the firmware > implementation in many Lenovos. The previously observed behavior was a > kernel panic upon invocation of efibootmgr/efivar, or a kernel panic > just loading efirt.ko or compiling EFIRT into the kernel. > > Graphics mode selection is now done differently to avoid regression > caused by r327058 while still achieving the same effect. The observed > regression was that the kernel would usually end up drawing > incorrectly at the old resolution on a subset of the screen, due to > incorrect framebuffer information. > > Explicit testing of these changes, the latest of which happened in > r331326, and any feedback from this testing would be greatly > appreciated. Testing should be done with either `options EFIRT` in > your kernel config or efirt.ko loaded along with updated bootloader > bits. > > I otherwise plan to MFC commits involved with the above-mentioned > changes by sometime in the first week of April, likely no earlier than > two (2) weeks from now on April 4th. > > Thanks, > > Kyle Evans > _______________________________________________ > 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"