Skip to content

Boot prcess gets sometimes stuck at "TRACE: exiting boot services" when using Uefi and qemu #400

Open
@daniel-keitel

Description

@daniel-keitel

When running qemu-system-x86_64 -bios {ovmf_pure_efi_path} -drive format=raw,file={uefi_path} -smp {core_count}
the bootloader gets sometimes stuck at:

INFO : UEFI bootloader started
INFO : Using framebuffer at 0xc0000000
INFO : Reading configuration from disk was successful
INFO : Trying to load ramdisk via Disk
INFO : Ramdisk not found.
TRACE: exiting boot services

Higher core counts for the -smp argument result in a higher likelihood of it getting stuck.
(I am not sure if it even occurred once at -smp 1)

Activity

phil-opp

phil-opp commented on Nov 21, 2023

@phil-opp
Member

Thanks for reporting! Not sure what could cause this, but I'll try to reproduce this when I have some time.

Wasabi375

Wasabi375 commented on Sep 16, 2024

@Wasabi375
Contributor

I have the same issue, so I don't think it is related to either the kernel or the configuration.
Also I tried running this repos tests using smp and got the same error.

I'll spend some time investigating this. This bug is rather annoying when trying to run automated tests.

added a commit that references this issue on Sep 17, 2024
0075368
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @phil-opp@daniel-keitel@Wasabi375

      Issue actions

        Boot prcess gets sometimes stuck at "TRACE: exiting boot services" when using Uefi and qemu · Issue #400 · rust-osdev/bootloader