Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jun 2026 10:03:08 +0200
From:      Mario Marietto <marietto2008@gmail.com>
To:        =?UTF-8?Q?Corvin_K=C3=B6hne?= <corvink@freebsd.org>
Cc:        Matthew Grooms <mgrooms@shrew.net>, virtualization@freebsd.org
Subject:   =?UTF-8?Q?Re=3A_=2A=2A=5BHelp=5D_bhyve=3A_bootrom=5Falloc=3A_vm=5Fmmap=5Fmapseg=3A_I?= =?UTF-8?Q?nvalid_argument_=E2=80=94_NVIDIA_passthrough_with_Corvin=27s_branch_?= =?UTF-8?Q?on_FreeBSD_15=2E0=2A=2A?=
Message-ID:  <CA%2B1FSiiJMyH8oMOiE2=-SWqehjs94_%2B1NujCW4tc5PpVyXoYfA@mail.gmail.com>
In-Reply-To: <c55fa3d6d59284260d19064c25f66c4bcb385ef7.camel@FreeBSD.org>
References:  <CA%2B1FSiiGdW4JCi=XA68Wtr1pDbMNAwTpwq9P8TixdDGRHSf%2B6g@mail.gmail.com> <bc674b3f2815204306480f88f71b48ff886c8a56.camel@FreeBSD.org> <1bbf28a7-7025-4d83-937d-72d8583048ca@shrew.net> <c55fa3d6d59284260d19064c25f66c4bcb385ef7.camel@FreeBSD.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
--> Yes, the required patch is present in 14.4 as well.

Can you point me to the required patche that you are talking about ?

thanks.

On Mon, Jun 8, 2026 at 8:40 AM Corvin Köhne <corvink@freebsd.org> wrote:

> On Fri, 2026-06-05 at 11:20 -0500, Matthew Grooms 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
> >
>
> Yes, the required patch is present in 14.4 as well.
>
>
> --
> Best regards,
> Corvin
>


-- 
Mario.

[-- Attachment #2 --]
<div dir="ltr"><div>--&gt; Yes, the required patch is present in 14.4 as well.</div><div><br></div><div>Can you point me to the required patche that you are talking about ?</div><div><br></div><div>thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 8, 2026 at 8:40 AM Corvin Köhne &lt;<a href="mailto:corvink@freebsd.org" target="_blank">corvink@freebsd.org</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Fri, 2026-06-05 at 11:20 -0500, Matthew Grooms wrote:<br>
&gt; On 6/5/26 01:34, Corvin Köhne wrote:<br>
&gt; &gt; On Thu, 2026-06-04 at 13:23 +0200, Mario Marietto wrote:<br>
&gt; &gt; &gt;          Hi everyone,<br>
&gt; &gt; &gt;   I&#39;m trying to get NVIDIA GPU passthrough working with bhyve on FreeBSD<br>
&gt; &gt; &gt; 15.0-<br>
&gt; &gt; &gt; RELEASE-p5, using Corvin Köhne&#39;s nvidia-wip branch:<br>
&gt; &gt; &gt;   <br>
&gt; &gt; &gt; <a href="https://github.com/Beckhoff/freebsd-src/tree/phab/corvink/15.0/nvidia-wip" rel="noreferrer" target="_blank">https://github.com/Beckhoff/freebsd-src/tree/phab/corvink/15.0/nvidia-wip</a><br>;
&gt; &gt; &gt;   The VM fails to start with the following error before the guest even<br>
&gt; &gt; &gt; boots:<br>
&gt; &gt; &gt;   bhyve: bootrom_alloc: vm_mmap_mapseg: Invalid argument<br>
&gt; &gt; NVIDIA GPU passthrough should work with stock 15.0, no patches required.<br>
&gt; <br>
&gt; I was about to attempt this myself. Are all the required patches present <br>
&gt; in 14.4 as well?<br>
&gt; <br>
&gt; Thanks,<br>
&gt; <br>
&gt; -Matthew<br>
&gt; <br>
<br>
Yes, the required patch is present in 14.4 as well.<br>
<br>
<br>
-- <br>
Best regards,<br>
Corvin<br>
</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSiiJMyH8oMOiE2=-SWqehjs94_%2B1NujCW4tc5PpVyXoYfA>