Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2020 21:21:10 -0500
From:      Kyle Evans <kevans@freebsd.org>
To:        Yasuhiro KIMURA <yasu@utahime.org>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: `efivar -l` fails on UEFI booted 11.4-RELEASE
Message-ID:  <CACNAnaGZTFDG78wnCoGP9fusZYgR9fLP3U4DZyktyCCbwG9OGg@mail.gmail.com>
In-Reply-To: <20200628.100353.961960407054898629.yasu@utahime.org>
References:  <20200628.100353.961960407054898629.yasu@utahime.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jun 27, 2020 at 8:04 PM Yasuhiro KIMURA <yasu@utahime.org> 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     root@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaGZTFDG78wnCoGP9fusZYgR9fLP3U4DZyktyCCbwG9OGg>