Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix booting in Hyper-V #30

Open
maxdev1 opened this issue Oct 8, 2022 · 1 comment
Open

Fix booting in Hyper-V #30

maxdev1 opened this issue Oct 8, 2022 · 1 comment

Comments

@maxdev1
Copy link
Owner

maxdev1 commented Oct 8, 2022

In Hyper-V, for some reason even though the MADT reports the IO/APIC to be present at 0xFEC00000, a GPF occurs when writing to the REGSEL MMIO register. This causes a kernel panic.

@ajh123
Copy link

ajh123 commented Mar 24, 2024

A similar(?) error is produced in qemu-system-x86_64:

Ghost Loader Version 1.1.0

    loader  found kernel binary at 0x01f96000, loading...

Ghost Kernel Version 0.14.2

  Copyright (C) 2022, Max Schlüssel <[email protected]>

    kernel  initializing core services
    memory  available: 96 MiB
   ramdisk  module loaded: 30 MB
       cpu  vendor: 'AuthenticAMD'
       cpu  available features: PAE MMX SSE SSE2
   tasking  core: 0 idle task: 0
   tasking  core: 0 cleanup task: 1
    kernel  starting on 1 cores
    system  ready
 exception  general protection fault in task 1 (process 1)
                 eip: 0x00000000   eflags: 0x00000000
                 eax: 0x00000000      ebx: 0x00000000
                 ecx: 0x00000000      edx: 0x00000000
                 esp: 0xc000c577      ebp: 0x00000000
                intr: 0x0000000d    error: 0x00000000
                task stack: 0xf1e6e000 - 0xf1e70000
                intr stack: 0x00000000 - 0x00000000
   kernerr  unrecoverable error on processor 0
     mutex  0: tried to use uninitialized mutex 0xf000607c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants