Skip to content

[Bug]: Page fault on Intel physical platforms (InconsistentMappingAcrossRange) #752

Closed

Description

@makubacki

Is there an existing issue for this?

  • I have searched existing issues

Current Behavior

Intel physical platforms are encountering a page fault in various locations during boot.

Examples

FSOpen: Open 'en-US' Success
FSOpen: Open 'bootmgfw.efi.MUI' Success
MpDxe updating MTRRs with APs
MpDxe updating MTRRs with APs
FSOpen: Open 'bootmgfw.efi' Success
MpDxe updating MTRRs with APs
ERROR - Paging crate failed to map memory region at VA VirtualAddress(
    0xc03000,
) as the entry is already valid
ERROR - Failed to unmap memory region 0xa9e000 of length 0x29f000 with attributes 0x26000. Status: InconsistentMappingAcrossRange
ERROR - panicked at C:\...\patina_dxe_core-8.1.0\src\gcd\spin_locked_gcd.rs:1891:25:
assertion failed: false
Free MMIO base = 0x80800000, len = 0x100000
ERROR - Paging crate failed to map memory region at VA VirtualAddress(
    0x80800000,
) as the entry is already valid
ERROR - Failed to unmap memory region 0x80800000 of length 0x100000. Status: InconsistentMappingAcrossRange
ERROR - panicked at C:\...\patina_dxe_core-8.1.0\src\gcd\spin_locked_gcd.rs:2345:29:
assertion failed: false
INFO - Dumping stack trace with PC: 0x6b39172f, SP: 0x69de6a50
INFO -       # Child-SP              Return Address         Call Site
INFO -       0 0000000069DE6A50      000000006B363E60       intel_x64_dxe_core-f9833ade3907bda4+3772F
INFO -       1 0000000069DE6A80      000000006B49CC2F       intel_x64_dxe_core-f9833ade3907bda4+9E60
INFO -       2 0000000069DE6BA0      000000006B49CCD9       intel_x64_dxe_core-f9833ade3907bda4+142C2F
INFO -       3 0000000069DE6BE0      000000006B3FF653       intel_x64_dxe_core-f9833ade3907bda4+142CD9
INFO -       4 0000000069DE6C50      000000006B38410B       intel_x64_dxe_core-f9833ade3907bda4+A5653
INFO -       5 0000000069DE6DA0      0000000069DE92EB       intel_x64_dxe_core-f9833ade3907bda4+2A10B
ERROR - StackTrace: Exception directory not found for module Usb4CmDxe. Make sure to build with RUSTFLAGS=-Cforce-unwind-tables

Above is at the time of this call: Status = gDS->FreeMemorySpace (MmioAddr, MmioLength);

Where:

  • MmioAddr = 0x80800000
  • MmioLength = 0x100000

Expected Behavior

No page faults occur

Steps To Reproduce

Boot Patina v8.1.0 on an Intel physical platform. Try several boots to see if a page fault occurs.

Build Environment

N/A

Version Information

Tag: v8.1.0

Urgency

Medium

Are you going to fix this?

Someone else needs to fix it

Do you need maintainer feedback?

Maintainer feedback requested

Anything else?

No response

Activity

  1. added
    state:needs-triage
    type:bug
    on Sep 19, 2025
  2. added
    state:needs-maintainer-feedback
    state:needs-owner
    urgency:medium
    on Sep 19, 2025
  3. removed
    state:needs-owner
    on Sep 19, 2025
  4. added theissue type on Sep 19, 2025
  5. moved this to Committed in Patinaon Sep 19, 2025
  6. added this to the First Major Release milestone on Sep 19, 2025
  7. os-d commented on Nov 11, 2025

    @os-d
    Contributor

    @makubacki I assume this isn't happening any longer? Can we close it?

  8. removed
    state:needs-triage
    on Nov 11, 2025
  9. makubacki commented on Nov 11, 2025

    @makubacki
    CollaboratorAuthor

    Yes, it's not occurring in current releases. We're currently at patina-v14.4.2. Please reply with an exact release number that contained the fix if known.

  10. moved this from Committed to Done in Patinaon Nov 11, 2025
  11. os-d commented on Nov 11, 2025

    @os-d
    Contributor

    I don't know unfortunately. This one either was a duplicate of another one or solved incidentally. Or I resolved it and didn't link this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

state:needs-maintainer-feedbacktype:bugurgency:medium

Type

Projects

  • Status
    Done

Relationships

None yet

Development

No branches or pull requests

Issue actions