Date: Sat, 07 Nov 2020 22:08:33 +0000 From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 250802] bhyve exited with status 134 when GPU PCI passthrough Message-ID: <bug-250802-27103-qdLv2BphPx@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250802-27103@https.bugs.freebsd.org/bugzilla/> References: <bug-250802-27103@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250802 --- Comment #29 from Robert Crowston <crowston@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 =3D=3D PCIBAR_IO), function passthru_write, file /usr/src/usr.sbin/bhyve/pci_passthru.c, line 916. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250802-27103-qdLv2BphPx>