Skip to content

efivarfs out of space when attempting firmware update #90

@HastD

Description

@HastD

Device Information

System Model or SKU

Framework Laptop 13 (AMD Ryzen™ 7040 Series)

BIOS VERSION

03.09

Standalone Operation

Are you running your mainboard as a standalone device. Is standalone mode enabled in the BIOS?

  • Yes
  • No

Describe the bug

The efivarfs filesystem mounted at /sys/firmware/efi/efivars (which, if I understand correctly, shows EFI variables stored in NVRAM) is nearly full: df -h reports the filesystem is 148 kB in size, with 135 kB used and only 8.4 kB free.

If I run fwupdmgr get-updates, it attempts to install a "Secure Boot Signature Database Configuration Update", but this fails with the following error:

Update Error: Not enough efivarfs space, requested 16.4 kB and got 13.6 kB

Steps To Reproduce

Run df -h to check available free space in the efivarfs. I don't know how you'd reproduce this if the system doesn't already have this issue, but multiple people on the community forum are reporting the same issue:

Expected behavior

Presumably the efivarfs should either have more space or, if that's not possible, should manage the use of NVRAM in a way that avoids running out of space.

Operating System (please complete the following information):

  • OS/Distribution: Fedora
  • Version: 42
  • Linux Kernel Version: 6.15.9-201.fc42.x86_64

Additional context

The largest entries in the efivarfs (according to ls -lS /sys/firmware/efi/efivars) are:

  • dbx (20.7 kB)
  • dbxDefault (17.8 kB)
  • WIFI_MANAGER_IFR_NVDATA (4.7 kB)
  • db (4.4 kB)
  • dbDefault (4.4 kB)

All other entries are smaller than 3 kB each. There are 94 entries in total (most of them very small, under 100 bytes each), and adding up their sizes gives around 73 kB (notably much smaller than the 135 kB reported by df -h).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions