• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

VM BHYVE, Windows 2012 R2 and passthru

TINC

New Member

Thanks: 1
Messages: 16

#1
I use FBSD 11.0 and VM port. When I try to use passthru, Windows crash at boot.
bhyve.log (debug="yes"):
Code:
Assertion failed: (error == 0), function modify_bar_registration, file /usr/src/usr.sbin/bhyve/pci_emul.c, line 491.
fbuf frame buffer base: 0xa42800000 [sz 16777216]
It is possible to fix?
 

grehan@

Member
Developer

Thanks: 78
Messages: 81

#2
A known problem - if a PCI device has 2 or more memory BARs, the bhyve PCI emulation gets a little upset at Windows setting the base address to 0xFF's to get the size while the BAR is still enabled. I have a fix for this.
 
Last edited:

aragats

Aspiring Daemon

Thanks: 284
Messages: 768

#5
grehan@ , could be off-topic, sorry if so, is it somehow related to another common issue?
Code:
passthru device 0/29/0 BAR 0: base 0xdf823000 or size 0x400 not page aligned
 

adams

Member

Thanks: 3
Messages: 29

#7
Hey grehan@, just wondering how that patch is coming!