RE: Call for Testing: UEFI Changes

From: M&S - Krasznai András <Krasznai.Andras_at_mands.hu>
Date: Thu, 22 Mar 2018 11:09:15 +0000
Hi

I found this problem today morning. Fortunately I can copy the efi.4th file back to /boot from /usr/src/stand/forth

On the other hand, removing the reference to efi.4th from loader.rc causes the boot stop at the loader prompt

rgds
András Krasznai


-----Eredeti üzenet-----
Feladó: owner-freebsd-current_at_freebsd.org [mailto:owner-freebsd-current_at_freebsd.org] Meghatalmazó Toomas Soome
Küldve: 2018. március 22. 11:52
Címzett: FreeBSD Current
Tárgy: Re: Call for Testing: UEFI Changes



> On 22 Mar 2018, at 12:13, Jakob Alvermark <jakob_at_alvermark.net> wrote:
> 
> 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

The efi.4th was introduced and later removed by Warner, a bit too hastily perhaps… but perhaps it is better to note the partial revert of the removal or something like that:)

rgds,
toomas


> 
> 
> 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_at_freebsd.org  mailing list 
>> https://lists.freebsd.org/mailman/listinfo/freebsd-current

>> To unsubscribe, send any mail to"freebsd-current-unsubscribe_at_freebsd.org"
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list 
> https://lists.freebsd.org/mailman/listinfo/freebsd-current

> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

_______________________________________________
freebsd-current_at_freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-current

To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Thu Mar 22 2018 - 10:24:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC