You are not logged in.

#1 2020-02-12 07:40:06

kflak
Member
Registered: 2017-09-23
Posts: 45

[SOLVED] Can't mount efivarfs on T480s

Hi,

I'm trying to get fwupdmgr to work on my Lenovo ThinkPad T480s, but I can't get to the efivars. I've tried running

# modprobe efivarfs
# mount -t efivarfs efivarfs /sys/firmware/efi/efivars

but I'm getting

mount: /sys/firmware/efi/efivars: unknown filesystem type 'efivarfs'.

and from `efivar -l` I am getting:

efivar: error listing variables: Function not implemented

I am booting through systemd-boot, the output of `tree /boot` looks like this:

/boot
├── xxxxxxxxxxxxxxxxxxxxxxxxxxx
├── EFI
│   ├── BOOT
│   │   └── BOOTX64.EFI
│   ├── fwupdx64.efi
│   └── systemd
│       └── systemd-bootx64.efi
├── initramfs-linux-fallback.img
├── initramfs-linux.img
├── initramfs-linux-rt-fallback.img
├── initramfs-linux-rt.img
├── initramfs-linux-rt-lts-fallback.img
├── initramfs-linux-rt-lts.img
├── intel-ucode.img
├── loader
│   ├── entries
│   │   ├── arch.conf
│   │   ├── arch-rt.conf
│   │   └── arch-rt-lts.conf
│   └── loader.conf
├── vmlinuz-linux
├── vmlinuz-linux-rt
└── vmlinuz-linux-rt-lts

6 directories, 17 files

Contents of `arch-rt.conf`, which is the one I mostly use:

title Arch Linux
linux /vmlinuz-linux-rt
initrd /intel-ucode.img
initrd /initramfs-linux-rt.img
options cryptdevice=UUID=xxxxxxxxxxxxxxxxxxxxxxxxxxxx:cryptlvm root=/dev/mapper/main_group-root rw

Output from `zgrep CONFIG_EFI /proc/config.gz`:

CONFIG_EFI=y
CONFIG_EFI_STUB=y
CONFIG_EFI_MIXED=y
# CONFIG_EFI_VARS is not set
CONFIG_EFI_ESRT=y
CONFIG_EFI_RUNTIME_MAP=y
# CONFIG_EFI_FAKE_MEMMAP is not set
CONFIG_EFI_RUNTIME_WRAPPERS=y
CONFIG_EFI_CAPSULE_LOADER=m
# CONFIG_EFI_TEST is not set
# CONFIG_EFI_RCI2_TABLE is not set
CONFIG_EFI_DEV_PATH_PARSER=y
CONFIG_EFI_EARLYCON=y
CONFIG_EFI_PARTITION=y
CONFIG_EFIVAR_FS=y
# CONFIG_EFI_PGT_DUMP is not set

EDIT: There is no dual boot going on, this is a pure Linux box.

EDIT2: Turns out that the efivars list nicely when I boot into the vanilla kernel. For some reason the real-time kernel doesn't work in this respect...

Last edited by kflak (2020-02-12 08:55:41)

Offline

Board footer

Powered by FluxBB