Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Aug 2016 14:31:20 +0200
From:      Nils Beyer <nbe@renzel.net>
To:        freebsd-virtualization@freebsd.org
Subject:   bhyve: "Failed to emulate instruction 0x4c (...)" using "Core i5 6200U"...
Message-ID:  <1882952.cFmKm56hu3@asbach.renzel.net>

next in thread | raw e-mail | index | archive | help
Hi,

booting Windows 10 DVD ISO in a bhyve VM generates an abort trap:
==============================================================================
Failed to emulate instruction [0x4c 0x8b 0x3c 0xc8 0x41 0x39 0x7f 0x08 
0x76 0x5f 0x49 0x8b 0x0f 0x44 0x8b] at 0x10009bc1
Abort trap (core dumped)
==============================================================================

Host-CPU: Core i5 6200U (Skylake)
OS: FreeBSD 11.0-BETA3 #12 r303475M

Windows probably tries to access some fancy Skylake features. Is there a way
to fake my simulated CPU so that it gets detected as an Ivybridge?

My current command:
==============================================================================
bhyve \
	-c 2 \
	-s 3,ahci-cd,/root/windows10x64.iso
	-s 4,ahci-hd,/dev/zvol/zroot/windows10 \
	-s 5,virtio-net,tap0 \
	-s 11,fbuf,tcp=192.168.10.251:5900,w=1024,h=768 \
	-s 20,xhci,tablet \
	-s 31,lpc \
	-l bootrom,/mnt/vmm/iso/BHYVE_UEFI_20160526.fd \
	-m 2G -H -w \
	windows10
==============================================================================



Thanks in advance and regards,
Nils



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1882952.cFmKm56hu3>