[Bug 250802] bhyve exited with status 134 when GPU PCI passthrough

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 7 22:08:34 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250802

--- Comment #29 from Robert Crowston <crowston at protonmail.com> ---
OK, to be clear, I did not change vmm.c (because the LA47 isn't in 12.2,
right?), and I used VM_MAXUSER_ADDRESS in place of VM_MAXUSER_ADDRESS_LA47.
Aside from that I applied Diff 79310.

I also needed to add
#include <vm/pmap.h>
#include <machine/vmparam.h>
to pci_emul.c to find the VM_MAXUSER_ADDRESS macro constant.

I lower the limit from 128 MB to 32 MB (because I want to test if your patch
fixes the 64 bit mapping, and my BAR is 128 MB.)

Then I get:
wrmsr to register 0xc0011029(0x3) on vcpu 0
rdmsr to register 0xc00000e9 on vcpu 0
Unhandled ps2 mouse command 0xe1
Unhandled ps2 mouse command 0x88
Assertion failed: (pi->pi_bar[baridx].type == PCIBAR_IO), function
passthru_write, file /usr/src/usr.sbin/bhyve/pci_passthru.c, line 916.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list