Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Nov 2020 20:27:45 +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-wagPiaddzX@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 #23 from Robert Crowston <crowston@protonmail.com> ---
(In reply to Konstantin Belousov from comment #22)

The ioctl fails with ENOMEM.=20

(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=3D0x800299040, bus=3D7, slot=3D0, =
func=3D0,=20
    gpa=3D140737488355328, len=3D134217728, hpa=3D3758096384).

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

--=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-wagPiaddzX>