Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Win 8.1 Pro 64bit fails shortly after start on NetBSD 9.0 amd64 #304

Open
kolaloka opened this issue Jun 16, 2020 · 13 comments
Open

Win 8.1 Pro 64bit fails shortly after start on NetBSD 9.0 amd64 #304

kolaloka opened this issue Jun 16, 2020 · 13 comments

Comments

@kolaloka
Copy link

Describe the Bug

Summary: Running PKGSRC version of Haxm 7.5.6 on NetBSD 9.0 64bit (intel i5), the windows8.1 64 bit guest fails shortly after successful start. It starts, It shows the loading screen, and then it closes the window and fails.

Host Environment

  • HAXM version: Haxm 7.5.6
  • Host OS version: NetBSD 9.0
  • Host OS architecture: x86_64
  • Host CPU model: Intel Core i5-2540M
  • Host RAM size: 4GB
  • (Optional) Host computer model: Lenovo thinkpad X220

Guest Environment

  • Android Emulator or QEMU version:
  • Guest OS version:
  • Guest OS architecture:

To Reproduce

Steps to reproduce the behavior:

  1. unload nvmm module (loaded by default on NetBSD)
  2. load haxm module
  3. run as root: qemu-system-x86_64 -hda /home/beowulf/windows.qcow2 -m 1500M
    -net nic,model=e1000 -net user,hostfwd=tcp::63389-:3389 -boot c -accel hax

Expected Behavior

Expectation: it should start an installed VM

Reproducibility

100% reproducibility

Diagnostic Information

Host crash dump:

HAXM log:
Jun 16 15:05:30 localhost /netbsd: [ 1676.6996068] haxm_warning: hax_alloc_pages: HAX_MEM_LOW_4G is ignored
Jun 16 15:07:09 localhost /netbsd: [ 1776.0738137] haxm_warning: Ignored guest CR8 write, val=0x0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2138678] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2239044] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.2239044] haxm_warning: Ignored guest CR8 write, val=0x0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2239044] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2338782] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2338782] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.2338782] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2338782] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.2338782] haxm_warning: Ignored guest CR8 write, val=0xf
Jun 16 15:07:09 localhost /netbsd: [ 1776.2438895] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2438895] haxm_warning: Ignored guest CR8 write, val=0x1
Jun 16 15:07:09 localhost /netbsd: [ 1776.2438895] haxm_warning: Ignored guest CR8 write, val=0x0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2438895] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2438895] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.2538853] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2538853] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.2538853] haxm_warning: Ignored guest CR8 write, val=0xf
Jun 16 15:07:09 localhost /netbsd: [ 1776.2638984] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2638984] haxm_warning: Ignored guest CR8 write, val=0x1
Jun 16 15:07:09 localhost /netbsd: [ 1776.2638984] haxm_warning: Ignored guest CR8 write, val=0x0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2638984] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2638984] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.2638984] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2638984] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.2638984] haxm_warning: Ignored guest CR8 write, val=0xf
Jun 16 15:07:09 localhost /netbsd: [ 1776.2839018] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2839018] haxm_warning: Ignored guest CR8 write, val=0x1
Jun 16 15:07:09 localhost /netbsd: [ 1776.2839018] haxm_warning: Ignored guest CR8 write, val=0x0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2839018] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2839018] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.2839018] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.2839018] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.2839018] haxm_warning: Ignored guest CR8 write, val=0xf
Jun 16 15:07:09 localhost /netbsd: [ 1776.3039087] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3039087] haxm_warning: Ignored guest CR8 write, val=0x1
Jun 16 15:07:09 localhost /netbsd: [ 1776.3039087] haxm_warning: Ignored guest CR8 write, val=0x0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3039087] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3039087] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.3039087] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3039087] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.3039087] haxm_warning: Ignored guest CR8 write, val=0xf
Jun 16 15:07:09 localhost /netbsd: [ 1776.3239179] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3239179] haxm_warning: Ignored guest CR8 write, val=0x1
Jun 16 15:07:09 localhost /netbsd: [ 1776.3239179] haxm_warning: Ignored guest CR8 write, val=0x0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3239179] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3239179] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.3239179] haxm_warning: Ignored unsupported CR8 read, returning 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3239179] haxm_warning: Ignored guest CR8 write, val=0x2
Jun 16 15:07:09 localhost /netbsd: [ 1776.3239179] haxm_warning: Ignored guest CR8 write, val=0xf
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_panic: Triple fault
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4000 VMX_PIN_CONTROLS: 1f
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4002 VMX_PRIMARY_PROCESSOR_CONTROLS: 969861fe
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 401e VMX_SECONDARY_PROCESSOR_CONTROLS: aa
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4004 VMX_EXCEPTION_BITMAP: 40000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4006 VMX_PAGE_FAULT_ERROR_CODE_MASK: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4008 VMX_PAGE_FAULT_ERROR_CODE_MATCH: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 400c VMX_EXIT_CONTROLS: 236fff
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 400e VMX_EXIT_MSR_STORE_COUNT: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4010 VMX_EXIT_MSR_LOAD_COUNT: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4012 VMX_ENTRY_CONTROLS: 93ff
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4014 VMX_ENTRY_MSR_LOAD_COUNT: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4016 VMX_ENTRY_INTERRUPT_INFO: 8
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4018 VMX_ENTRY_EXCEPTION_ERROR_CODE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 401a VMX_ENTRY_INSTRUCTION_LENGTH: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 401c VMX_TPR_THRESHOLD: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6000 VMX_CR0_MASK: ffffffffe0000020
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6002 VMX_CR4_MASK: fffffffffff9f860
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6004 VMX_CR0_READ_SHADOW: 80050031
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6006 VMX_CR4_READ_SHADOW: 6a0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 400a VMX_CR3_TARGET_COUNT: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6008 VMX_CR3_TARGET_VAL_BASE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0000 VMX_VPID: 1
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2000 VMX_IO_BITMAP_A: 40a6b000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2002 VMX_IO_BITMAP_B: 40a6c000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2004 VMX_MSR_BITMAP: 40a6d000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2006 VMX_EXIT_MSR_STORE_ADDRESS: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2008 VMX_EXIT_MSR_LOAD_ADDRESS: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 200a VMX_ENTRY_MSR_LOAD_ADDRESS: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2010 VMX_TSC_OFFSET: fffffc018df42dcc
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2012 VMX_VAPIC_PAGE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2014 VMX_APIC_ACCESS_PAGE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 201a VMX_EPTP: a0ece01e
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 482e VMX_PREEMPTION_TIMER: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4400 VMX_INSTRUCTION_ERROR_CODE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4402 VM_EXIT_INFO_REASON: 2
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4404 VM_EXIT_INFO_INTERRUPT_INFO: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4406 VM_EXIT_INFO_EXCEPTION_ERROR_CODE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4408 VM_EXIT_INFO_IDT_VECTORING: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 440a VM_EXIT_INFO_IDT_VECTORING_ERROR_CODE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 440c VM_EXIT_INFO_INSTRUCTION_LENGTH: 1
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 440e VM_EXIT_INFO_INSTRUCTION_INFO: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6400 VM_EXIT_INFO_QUALIFICATION: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6402 VM_EXIT_INFO_IO_ECX: 4d0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6404 VM_EXIT_INFO_IO_ESI: ffffb100657bcebc
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6406 VM_EXIT_INFO_IO_EDI: 408
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6408 VM_EXIT_INFO_IO_EIP: ffffffff8021de56
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 640a VM_EXIT_INFO_GUEST_LINEAR_ADDRESS: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2400 VM_EXIT_INFO_GUEST_PHYSICAL_ADDRESS: 15bd6000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c16 HOST_RIP: ffffffff81bab893
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c14 HOST_RSP: ffffb10067b92bd0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c00 HOST_CR0: 80050033
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c02 HOST_CR3: cc18a000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c04 HOST_CR4: 426f8
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0c02 HOST_CS_SELECTOR: 8
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0c06 HOST_DS_SELECTOR: 20
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0c00 HOST_ES_SELECTOR: 20
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0c08 HOST_FS_SELECTOR: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0c0a HOST_GS_SELECTOR: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0c04 HOST_SS_SELECTOR: 10
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0c0c HOST_TR_SELECTOR: a0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c06 HOST_FS_BASE: 702d78aa22a0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c08 HOST_GS_BASE: ffffffff81400740
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c0a HOST_TR_BASE: ffffff0000013000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c0c HOST_GDTR_BASE: ffffff0000003000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c0e HOST_IDTR_BASE: ffffff0000001000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4c00 HOST_SYSENTER_CS: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c10 HOST_SYSENTER_ESP: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6c12 HOST_SYSENTER_EIP: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 681e GUEST_RIP: fffff80105fd5590
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6820 GUEST_RFLAGS: 10082
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 681c GUEST_RSP: fffff801097d6938
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6800 GUEST_CR0: 80050031
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6802 GUEST_CR3: 237000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6804 GUEST_CR4: 26e0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0800 GUEST_ES_SELECTOR: 2b
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0802 GUEST_CS_SELECTOR: 10
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0804 GUEST_SS_SELECTOR: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0806 GUEST_DS_SELECTOR: 2b
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 0808 GUEST_FS_SELECTOR: 53
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 080a GUEST_GS_SELECTOR: 2b
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 080c GUEST_LDTR_SELECTOR: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 080e GUEST_TR_SELECTOR: 40
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4814 GUEST_ES_AR: c0f3
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4816 GUEST_CS_AR: 209b
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4818 GUEST_SS_AR: 1c000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 481a GUEST_DS_AR: c0f3
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 481c GUEST_FS_AR: 40f3
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 481e GUEST_GS_AR: c0f3
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4820 GUEST_LDTR_AR: 1c000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4822 GUEST_TR_AR: 8b
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6806 GUEST_ES_BASE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6808 GUEST_CS_BASE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 680a GUEST_SS_BASE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 680c GUEST_DS_BASE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 680e GUEST_FS_BASE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6810 GUEST_GS_BASE: fffff80106181000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6812 GUEST_LDTR_BASE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6814 GUEST_TR_BASE: fffff801097d7080
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6816 GUEST_GDTR_BASE: fffff801097d6000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6818 GUEST_IDTR_BASE: fffff801097d6080
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4800 GUEST_ES_LIMIT: ffffffff
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4802 GUEST_CS_LIMIT: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4804 GUEST_SS_LIMIT: ffffffff
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4806 GUEST_DS_LIMIT: ffffffff
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4808 GUEST_FS_LIMIT: 3c00
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 480a GUEST_GS_LIMIT: ffffffff
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 480c GUEST_LDTR_LIMIT: ffffffff
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 480e GUEST_TR_LIMIT: 67
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4810 GUEST_GDTR_LIMIT: 7f
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4812 GUEST_IDTR_LIMIT: fff
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2800 GUEST_VMCS_LINK_PTR: ffffffffffffffff
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2802 GUEST_DEBUGCTL: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2804 GUEST_PAT: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2806 GUEST_EFER: d01
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2808 GUEST_PERF_GLOBAL_CTRL: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 280a GUEST_PDPTE0: 6000000000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 280c GUEST_PDPTE1: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 280e GUEST_PDPTE2: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 2810 GUEST_PDPTE3: 6000000000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 681a GUEST_DR7: 400
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6822 GUEST_PENDING_DBE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 482a GUEST_SYSENTER_CS: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6824 GUEST_SYSENTER_ESP: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 6826 GUEST_SYSENTER_EIP: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4828 GUEST_SMBASE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4824 GUEST_INTERRUPTIBILITY: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_warning: 4826 GUEST_ACTIVITY_STATE: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: vcpu has panicked, id:0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_host_cr4_vmxe: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_host_cr4 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_vmxon_res 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_vmxon_addr 40a6e000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_vmxon_err_type1 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_vmxon_err_type2 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_vmxon_err_type3 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_vmclear_err 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_vmptrld_err 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_vmoff_no 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: log_vmxoff_res 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3439261] haxm_error: vcpu has panicked, id:0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_host_cr4_vmxe: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_host_cr4 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_vmxon_res 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_vmxon_addr 40a6e000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_vmxon_err_type1 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_vmxon_err_type2 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_vmxon_err_type3 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_vmclear_err 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_vmptrld_err 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_vmoff_no 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3539519] haxm_error: log_vmxoff_res 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: vcpu has panicked, id:0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_host_cr4_vmxe: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_host_cr4 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_res 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_addr 40a6f000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_err_type1 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_err_type2 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_err_type3 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmclear_err 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmptrld_err 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmoff_no 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxoff_res 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: vcpu has panicked, id:0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_host_cr4_vmxe: 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_host_cr4 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_res 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_addr 40a6f000
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_err_type1 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_err_type2 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxon_err_type3 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmclear_err 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmptrld_err 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmoff_no 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3639353] haxm_error: log_vmxoff_res 0
Jun 16 15:07:09 localhost /netbsd: [ 1776.3939457] haxm_error: ...........hax_teardown_vm

Android Emulator or QEMU log:

Screenshots:

Additional context

None

@wayne-ma
Copy link
Contributor

Hi @kolaloka ,as we don't have the NetBSD host in hand, could you try the latest released HAXM v7.6.1? BTW, did you launch the win8.1 guest successfully with the previous versions of HAXM(eg.v7.5.1,7.3.2)?

@kolaloka
Copy link
Author

kolaloka commented Jun 18, 2020 via email

@wayne-ma
Copy link
Contributor

Hi @kolaloka , from the previous issue comments #170 and the NetBSD official web page description, I saw that Window 8.1 was not supported. And @krytarowski is the NetBSD part maintainer in HAXM project, maybe you can consult with him about the Win 8.1 guest issue.

@kolaloka
Copy link
Author

kolaloka commented Jun 18, 2020 via email

@krytarowski
Copy link
Contributor

Is 8.1 64-bit supported on other hosts? Generally HAXM on NetBSD shall work comparable to HAXM on other supported kernels.

@wayne-ma
Copy link
Contributor

For the windows guests, so far HAXM only supports Win7 and Win10 32bit well on Window&Mac hosts.

@nevilad
Copy link
Contributor

nevilad commented Jun 21, 2020

Windows 8.1 64-bit uses cr8, this patch is not yet merged to haxm. You can try haxm from #288 and apply two patches to qemu - one from Mac support PR and the second from windows 10 support PR.
I uploaded locally built qemu and hax binaries to #149, but these are for windows host.

@kolaloka
Copy link
Author

kolaloka commented Jun 21, 2020 via email

@krytarowski
Copy link
Contributor

@kolaloka Could you handle it in pkgsrc-wip? I can submit there a package for testing.

@krytarowski
Copy link
Contributor

Hmmm, it looks like qemu patching is needed. @kolaloka I recommend to wait for merging it upstream first.

@kolaloka
Copy link
Author

kolaloka commented Jun 22, 2020 via email

@nevilad
Copy link
Contributor

nevilad commented Jun 22, 2020

The patches I mentioned already waiting for several months, so there is no guarantee that these will be merged in the near future.

@nevilad
Copy link
Contributor

nevilad commented Jun 22, 2020

I reviewed qemu patches and think hax patch can work without these. Win8.1 does not need ROMD support and does not need to set/get EFER/cr8 to qemu when snapshots are not used. But win10x64 does not work and the bug is still not found. When this bug affects win8.1 too, you will not be able to start it.

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

No branches or pull requests

4 participants