Opened 18 hours ago

Last modified 17 hours ago

#19474 new bug

[Kernel] crashes in apic_per_cpu_init with WHPX hypervisor in qemu

Reported by: diver Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: System/Kernel Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

This is hrev58727. QEMU emulator version 9.2.0

qemu-system-x86_64.exe haiku.qcow2 -m 4G -cpu Haswell --accel whpx
Using --accel whpx also crashes SandyBridge, while Westmere boots to the Desktop

PANIC: Unexpected exception "General Protection Exception" occurred in kernel mode! Error code: 0x0

Welcome to Kernel Debugging Land...
Thread 0 "" running on CPU 0
stack trace for thread 0 ""
    kernel stack: 0x0000000000000000 to 0x0000000000000000
frame                       caller             <image>:function + offset
 0 ffffffff810048a0 (+  32) ffffffff80156008   <kernel_x86_64> arch_debug_call_with_fault_handler() + 0x1a
 1 ffffffff810048f0 (+  80) ffffffff800b91c8   <kernel_x86_64> debug_call_with_fault_handler() + 0x78
 2 ffffffff81004950 (+  96) ffffffff800ba8b4   <kernel_x86_64> _ZL20kernel_debugger_loopPKcS0_P13__va_list_tagi() + 0xf4
 3 ffffffff810049a0 (+  80) ffffffff800bac4e   <kernel_x86_64> _ZL24kernel_debugger_internalPKcS0_P13__va_list_tagi() + 0x6e
 4 ffffffff81004a90 (+ 240) ffffffff800bafe7   <kernel_x86_64> panic() + 0xb7
 5 ffffffff81004b70 (+ 224) ffffffff8016281f   <kernel_x86_64> x86_unexpected_exception() + 0x2af
 6 ffffffff81004ed8 (+ 872) ffffffff801578ec   <kernel_x86_64> intr_bottom() + 0x80
kernel iframe at 0xffffffff81004ed8 (end = 0xffffffff81004fa0)
 rax 0xfee00d00            rbx 0x0                   rcx 0x1b
 rdx 0x0                   rsi 0x0                   rdi 0xffffffff801d2a40
 rbp 0xffffffff81004fb0     r8 0x0                    r9 0x20
 r10 0xfefefefefefefeff    r11 0xffffff00004b0390    r12 0xffffffff801d2a40
 r13 0x0                   r14 0x0                   r15 0x0
 rip 0xffffffff801674ca    rsp 0xffffffff81004fa0 rflags 0x10002
 vector: 0xd, error code: 0x0
 7 ffffffff81004fb0 (+ 216) ffffffff801674ca   <kernel_x86_64> _Z17apic_per_cpu_initP11kernel_argsi() + 0x1da
 8 ffffffff81004fd0 (+  32) ffffffff80162f2a   <kernel_x86_64> _Z13arch_smp_initP11kernel_args() + 0x5a
 9 ffffffff81004ff0 (+  32) ffffffff80069b98   <kernel_x86_64> _start() + 0x1d8
10 0000000000000000 (+   0) 0000000000015bca
kdebug>

Attachments (1)

serial.log (17.9 KB ) - added by diver 18 hours ago.

Download all attachments as: .zip

Change History (3)

by diver, 18 hours ago

Attachment: serial.log added

comment:1 by diver, 18 hours ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.