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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 7 14:56:58 UTC 2020


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

--- Comment #21 from Robert Crowston <crowston at protonmail.com> ---
With the latest patches I now get a failure at the vm_map_pptdev_mmio() call.

(gdb) 
597                             error = vm_map_pptdev_mmio(ctx,
sc->psc_sel.pc_bus,
=> 0x000000000023d178 <passthru_init+2904>:     41 0f b6 b4 24 ac 00 00 00     
movzbl 0xac(%r12),%esi
(gdb) p/x *sc                                                                   
$14 = {psc_pi = 0x800ad4a00, psc_bar = {{type = 0x2, size = 0x1000000, addr =
0xf5000000}, {type = 0x3, size = 0x8000000, addr = 0xe0000000}, {type = 0x0,
size = 0x0, addr = 0x0}, 
    {type = 0x0, size = 0x0, addr = 0x0}, {type = 0x0, size = 0x0, addr = 0x0},
{type = 0x0, size = 0x0, addr = 0x0}}, psc_msi = {capoff = 0x68, msgctrl =
0x80, emulated = 0x0}, 
  psc_msix = {capoff = 0x0}, psc_sel = {pc_domain = 0x0, pc_bus = 0x7, pc_dev =
0x0, pc_func = 0x0}}
(gdb) p i
$15 = 1
(gdb) p/x pi->pi_bar[1]
$16 = {type = 0x3, size = 0x8000000, addr = 0x800000000000}

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


More information about the freebsd-virtualization mailing list