Skip to content

Hibernate resume fails intermittently: BIOS/UEFI memory map (e820) changes across boots #167

@pshirshov

Description

@pshirshov

product: Framework Laptop 16 (AMD Ryzen AI 300 Series)
bios_vendor: INSYDE Corp.
bios_version: 03.04
bios_release_date: 2025-11-06
firmware_version: 0.0.3.4
kernel: 6.18.6

Summary

Hibernate resume fails intermittently because the BIOS/UEFI e820 memory map changes across boots. The kernel detects an inconsistent memory map and aborts restore with:

  • Hibernate inconsistent memory map detected!
  • PM: hibernation: Image mismatch: architecture specific data
  • PM: hibernation: Failed to load image, recovering.

When the memory map is stable, resume succeeds. This appears to be a firmware bug (ACPI data region moves between boots).

System

  • Product: Laptop 16 (AMD Ryzen AI 300 Series)
  • Product version: A9
  • Board name: FRANMHCP09
  • BIOS vendor: INSYDE Corp.
  • BIOS version: 03.04
  • BIOS release date: 2025-11-06
  • Platform firmware revision: 3.4
  • System firmware (fwupd): 0.0.3.4 (latest, no updates available)
  • Kernel: 6.18.6
  • Secure Boot: off

Reproduction

  1. Hibernate the system.
  2. Resume from hibernation.
  3. Failure is intermittent: sometimes resumes successfully, sometimes aborts with memory map mismatch.

Expected

Resume restores the hibernation image reliably.

Actual

Resume occasionally fails; the kernel detects an inconsistent memory map and refuses to restore.

Evidence

Two boots from the same kernel/config show different e820 layouts in the low memory ACPI data region:

Successful boot:

BIOS-e820: [mem 0x0000000009f3c000-0x000000006cd61fff] usable
BIOS-e820: [mem 0x000000006cd62000-0x000000006cd6dfff] ACPI data
BIOS-e820: [mem 0x000000006cd6e000-0x000000007094dfff] usable

Failed boot:

BIOS-e820: [mem 0x0000000009f3c000-0x000000006cd68fff] usable
BIOS-e820: [mem 0x000000006cd69000-0x000000006cd74fff] ACPI data
BIOS-e820: [mem 0x000000006cd75000-0x000000007094dfff] usable

The ACPI data region shifts between boots, which changes the memory map and makes the hibernation image incompatible with the new boot.

Notes

  • Same boot entry, same kernel, no BIOS/UEFI settings changed.
  • test_resume works when the memory map remains stable within a boot.
  • fwupd reports system firmware is already up to date.

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