Re:_**[Help]_bhyve:_bootrom_alloc:_vm_mmap_mapseg:_I nvalid_argument_—_NVIDIA_passthrough_with_Corvin's_branch_ on_FreeBSD_15.0**
Date: Fri, 05 Jun 2026 16:52:28 UTC
--> I was about to attempt this myself. Are all the required patches present in 14.4 as well ? It would be nice if you can apply the Corvin patches for FreeBSD 15.x and tell if you get the error "bhyve: bootrom_alloc: vm_mmap_mapseg: Invalid argument". This will help to understand if there is a problem between Corvin's code and some component of FreeBSD 15.x or if it belongs only to me. Mario. On Fri, Jun 5, 2026 at 6:21 PM Matthew Grooms <mgrooms@shrew.net> wrote: > On 6/5/26 01:34, Corvin Köhne wrote: > > On Thu, 2026-06-04 at 13:23 +0200, Mario Marietto wrote: > >> Hi everyone, > >> I'm trying to get NVIDIA GPU passthrough working with bhyve on > FreeBSD 15.0- > >> RELEASE-p5, using Corvin Köhne's nvidia-wip branch: > >> > https://github.com/Beckhoff/freebsd-src/tree/phab/corvink/15.0/nvidia-wip > >> The VM fails to start with the following error before the guest even > boots: > >> bhyve: bootrom_alloc: vm_mmap_mapseg: Invalid argument > > NVIDIA GPU passthrough should work with stock 15.0, no patches required. > > I was about to attempt this myself. Are all the required patches present > in 14.4 as well? > > Thanks, > > -Matthew > > > -- Mario.