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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Nov 7 20:27:45 UTC 2020


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

--- Comment #23 from Robert Crowston <crowston at protonmail.com> ---
(In reply to Konstantin Belousov from comment #22)

The ioctl fails with ENOMEM. 

(gdb) c
Continuing.
bhyve: failed to initialize BARs for PCI 7/0/0
device emulation initialization error: Cannot allocate memory
[LWP 102417 of process 27361 exited]
[LWP 102535 of process 27361 exited]
[LWP 102530 of process 27361 exited]
[LWP 102534 of process 27361 exited]
[LWP 102528 of process 27361 exited]
[LWP 102533 of process 27361 exited]
[LWP 102536 of process 27361 exited]
[LWP 102537 of process 27361 exited]
[LWP 102538 of process 27361 exited]
[Inferior 1 (process 27361) exited with code 04]

vm_map_pptdev_mmio() is called with (ctx=0x800299040, bus=7, slot=0, func=0, 
    gpa=140737488355328, len=134217728, hpa=3758096384).

I don't have a kernel debugger set up, but it looks like ENOMEM can only happen
if vm_pager_allocate() fails.

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


More information about the freebsd-virtualization mailing list