Re: `efivar -l` fails on UEFI booted 11.4-RELEASE
On Sun, Jun 28, 2020, 1:52 AM Dimitry Andric wrote: > On 28 Jun 2020, at 04:21, Kyle Evans wrote: > > > > On Sat, Jun 27, 2020 at 8:04 PM Yasuhiro KIMURA > wrote: > >> > >> On UEFI booted 11.4-RELEASE system `efivar -l` fails as following. > >> > >> root@rolling-vm-freebsd3[160]# uname -a > >> FreeBSD rolling-vm-freebsd3.home.utahime.org 11.4-RELEASE FreeBSD > 11.4-RELEASE #0 r362094: Fri Jun 12 18:27:15 UTC 2020 > r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > >> root@rolling-vm-freebsd3[161]# efivar -l > >> efivar: Error listing names: No such file or directory > > Perhaps the efivar utility could suggest loading the module in this case? > The trouble I'd that this error also means other things too. It's a lot more than changing the printf here. Warner > ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: `efivar -l` fails on UEFI booted 11.4-RELEASE
On 28 Jun 2020, at 04:21, Kyle Evans wrote: > > On Sat, Jun 27, 2020 at 8:04 PM Yasuhiro KIMURA wrote: >> >> On UEFI booted 11.4-RELEASE system `efivar -l` fails as following. >> >> root@rolling-vm-freebsd3[160]# uname -a >> FreeBSD rolling-vm-freebsd3.home.utahime.org 11.4-RELEASE FreeBSD >> 11.4-RELEASE #0 r362094: Fri Jun 12 18:27:15 UTC 2020 >> r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >> root@rolling-vm-freebsd3[161]# efivar -l >> efivar: Error listing names: No such file or directory Perhaps the efivar utility could suggest loading the module in this case? -Dimitry signature.asc Description: Message signed with OpenPGP
Re: `efivar -l` fails on UEFI booted 11.4-RELEASE
From: Kyle Evans Subject: Re: `efivar -l` fails on UEFI booted 11.4-RELEASE Date: Sat, 27 Jun 2020 21:21:10 -0500 > This should be an easy fix. :-) EFI Runtime Services on FreeBSD > ("EFIRT") wasn't necessarily globally stable until right around 12.0. > For 11.x, you'll need to `kldload efirt` or add `options EFIRT` to > your kernel config before efivar/efibootmgr become usable. Thank you for reply. After loading efirt.ko `efivar -l` succesfully lists UEFI environment variables. --- Yasuhiro KIMURA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: `efivar -l` fails on UEFI booted 11.4-RELEASE
On Sat, Jun 27, 2020 at 8:04 PM Yasuhiro KIMURA wrote: > > On UEFI booted 11.4-RELEASE system `efivar -l` fails as following. > > root@rolling-vm-freebsd3[160]# uname -a > FreeBSD rolling-vm-freebsd3.home.utahime.org 11.4-RELEASE FreeBSD > 11.4-RELEASE #0 r362094: Fri Jun 12 18:27:15 UTC 2020 > r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > root@rolling-vm-freebsd3[161]# efivar -l > efivar: Error listing names: No such file or directory > root@rolling-vm-freebsd3[162]# > > It also happens with latest (20200625) 11-STABLE snapshot, but not > with either 12.1-RELEASE or 13-CURRENT. > Hi, This should be an easy fix. :-) EFI Runtime Services on FreeBSD ("EFIRT") wasn't necessarily globally stable until right around 12.0. For 11.x, you'll need to `kldload efirt` or add `options EFIRT` to your kernel config before efivar/efibootmgr become usable. Thanks, Kyle Evans ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
`efivar -l` fails on UEFI booted 11.4-RELEASE
On UEFI booted 11.4-RELEASE system `efivar -l` fails as following. root@rolling-vm-freebsd3[160]# uname -a FreeBSD rolling-vm-freebsd3.home.utahime.org 11.4-RELEASE FreeBSD 11.4-RELEASE #0 r362094: Fri Jun 12 18:27:15 UTC 2020 r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 root@rolling-vm-freebsd3[161]# efivar -l efivar: Error listing names: No such file or directory root@rolling-vm-freebsd3[162]# It also happens with latest (20200625) 11-STABLE snapshot, but not with either 12.1-RELEASE or 13-CURRENT. --- Yasuhiro KIMURA ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"