[Bug 286467] bhyve: Failed to emulate instruction sequence 418b0289024883c408c333c0488974
Date: Wed, 30 Apr 2025 08:33:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286467
mario felicioni <marietto2008@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |marietto2008@gmail.com
--- Comment #1 from mario felicioni <marietto2008@gmail.com> ---
Your error seems to be almost the same that I had in the past for which I have
asked to Corvin what to do. This was the error :
I wanted to passthru my CoffeeLake-S GT2 [UHD Graphics 630] :
ppt4@pci0:0:2:0: class=0x038000 rev=0x02 hdr=0x00 vendor=0x8086
device=0x3e98 subvendor=0x145
8 subdevice=0xd000
vendor = 'Intel Corporation'
device = 'CoffeeLake-S GT2 [UHD Graphics 630]'
class = display
bhyve -S -c sockets=1,cores=2,threads=2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 1,nvme,/dev/$vmdisk0,bootindex=1 \
-s 2,ahci-hd,/dev/$vmdisk2 \
-s 3,ahci-hd,/dev/$vmdisk4 \
-s 4,passthru,0/2/0 \
-s 7,virtio-net,tap4 \
-s 10,hda,play=/dev/dsp,rec=/dev/dsp \
-s 29,fbuf,tcp=0.0.0.0:5904,w=1500,h=950 \
-s 30,xhci,tablet \
-s 31,lpc \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
vm4 < /dev/null & sleep 2 && vncviewer 0:4
Exited with this error :
bhyve: Warning: Unable to reuse host address of Graphics Stolen Memory.
GPU passthrough might not work properly.
bhyve: gvt_d_setup_opregion: Unable to get OpRegion base and length
bhyve: gvt_d_init: Unable to setup OpRegion
device emulation initialization error: Operation not supported by device
The solution suggested by Corvin has been the following one :
Make sure your GPU is booted in UEFI and not CSM mode.
--
You are receiving this mail because:
You are the assignee for the bug.