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). --peter > > On Thu, 22 Mar 2018 08:22:13 -0500 > Kyle Evans <kevans_at_freebsd.org> wrote: > >> On Thu, Mar 22, 2018 at 5:13 AM, 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 >>> >>> >> >> Hi, >> >> The efi.4th removal has been reverted in r331353. A couple of inquiries for you: >> >> 1.) Before loading efirt, can you show me what `sysctl >> machdep.efi_map` looks like? >> >> 2.) After `kldload efirt` and getting a panic, can you show me what >> `show registers` looks like? >> >> 3.) Have you used efirt successfully before? >> >> 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" >> > >
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC