8000 UEFI boot fails with kvm on aws x86 metal instance with · Issue #13 · miniosv/miniosv · GitHub
[go: up one dir, main page]

Skip to content

UEFI boot fails with kvm on aws x86 metal instance with #13

Open

Description

@Martin-Lndbl

Setup

  • Operating System: Ubunutu 26.04
  • Instance type: c7i.metal-24xl
  • Branch: feature/uefi-boot

Description

Trying to boot feature branch #4's version of miniOSv on an AWS metal instance (without root privileges) fails during early boot staged

BdsDxe: loading Boot0002 "UEFI QEMU NVMe Ctrl miniosv 1" from PciRoot(0x0)/Pci(0x2,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)
BdsDxe: starting Boot0002 "UEFI QEMU NVMe Ctrl miniosv 1" from PciRoot(0x0)/Pci(0x2,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)
miniosv UEFI stub starting
OSv v0.1
Assertion failed: ef->rflags & processor::rflags_if (arch/x64/mmu.cc: page_fault: 36)

[backtrace]
0x0000000040204400 <0x40204400>
0x00000000402044f8 <0x402044f8>
0x000000004022679e <0x4022679e>
0x0000000040225736 <0x40225736>
0x0000000040244791 <0x40244791>
0x0000000040224e06 <0x40224e06>
0x0000000040203e0e <0x40203e0e>
0x0000000040204068 <0x40204068>
0x000000004023fcd3 <0x4023fcd3>
0x00000000402266b5 <0x402266b5>
qemu failed.

Edit:
Running without root privileges, the above error is thrown every time. Running with root privileges introduces nondeterministic behavior:

  • The kernel either boots as expected (most of the time), or
  • Blackscreen (not a single line of output is printed, until the process is killed)

Activity

  1. self-assigned this
    on Jun 30, 2026
  2. seb711 commented on Jul 2, 2026

    @seb711
    Collaborator

    So you mean you run miniOSv on top of QEMU in an AWS metal instance?

  3. Martin-Lndbl commented on Jul 2, 2026

    @Martin-Lndbl
    CollaboratorAuthor

    Yes, qemu+kvm

  4. seb711 commented on Jul 6, 2026

    @seb711
    Collaborator

    Not sure if this is an UEFI problem, therefore i would merge the UEFI branch and make this separate.

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    0