Date: Tue, 12 Dec 2023 14:33:17 -0500 From: Sean McBride <sean@rogue-research.com> To: Denis Kirjanov <kirjanov@gmail.com> Cc: virtualization@freebsd.org Subject: Re: building bhyve from source Message-ID: <40E6D39C-CFA5-4FCA-A024-8DD719106DE9@rogue-research.com> In-Reply-To: <CAHj3AVkkT0Q4HUhuZPQbkLTR335%2Bdgm%2Bf7MGvwFQqWkqbhvckA@mail.gmail.com> References: <FF71EFA9-39F9-4E29-A6E9-4BDBE5B41A55@rogue-research.com> <CAHj3AVkkT0Q4HUhuZPQbkLTR335%2Bdgm%2Bf7MGvwFQqWkqbhvckA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=_MailMate_1D3A28F1-E169-4008-87B4-BDD30789385E_= Content-Type: text/plain; format=flowed On 12 Dec 2023, at 14:08, Denis Kirjanov wrote: > The patch mentions only the kernel, so you have to rebuild the vmm > module That's a nice simplification, thanks! So I've replaced `/boot/kernel/vmm.ko` with the one I built, and rebooted. Alas it doesn't seem to load. I see in /var/run/dmesg.boot: ``` KLD vmm.ko: depends on kernel - not available or version mismatch linker_load_file: /boot/kernel/vmm.ko - unsupported file type ``` Must the FreeBSD version of the machine doing the compiling exactly match the FreeBSD version of TrueNAS? I complied on a 13.2-RELEASE-p7 machine, but TrueNAS is still 13.1-RELEASE-p9. Cheers, Sean --=_MailMate_1D3A28F1-E169-4008-87B4-BDD30789385E_= Content-Type: text/html Content-Transfer-Encoding: quoted-printable <!DOCTYPE html> <html> <head> <meta http-equiv=3D"Content-Type" content=3D"text/xhtml; charset=3Dutf-8"= > </head> <body><div style=3D"font-family: sans-serif;"><div class=3D"markdown" sty= le=3D"white-space: normal;"> <p dir=3D"auto">On 12 Dec 2023, at 14:08, Denis Kirjanov wrote:</p> </div><div class=3D"plaintext" style=3D"white-space: normal;"><blockquote= style=3D"margin: 0 0 5px; padding-left: 5px; border-left: 2px solid #777= 777; color: #777777;"><p dir=3D"auto">The patch mentions only the kernel,= so you have to rebuild the vmm module</p> </blockquote></div> <div class=3D"markdown" style=3D"white-space: normal;"> <p dir=3D"auto">That's a nice simplification, thanks!</p> <p dir=3D"auto">So I've replaced <code style=3D"margin: 0 0; padding: 0 0= =2E25em; border-radius: 3px; background-color: #F7F7F7;">/boot/kernel/vmm= =2Eko</code> with the one I built, and rebooted. Alas it doesn't seem to= load. I see in /var/run/dmesg.boot:</p> <pre style=3D"margin-left: 15px; margin-right: 15px; padding: 5px; backgr= ound-color: #F7F7F7; border-radius: 5px 5px 5px 5px; overflow-x: auto; ma= x-width: 90vw;"><code style=3D"margin: 0 0; border-radius: 3px; backgroun= d-color: #F7F7F7; padding: 0px;">KLD vmm.ko: depends on kernel - not avai= lable or version mismatch linker_load_file: /boot/kernel/vmm.ko - unsupported file type </code></pre> <p dir=3D"auto">Must the FreeBSD version of the machine doing the compili= ng exactly match the FreeBSD version of TrueNAS?</p> <p dir=3D"auto">I complied on a 13.2-RELEASE-p7 machine, but TrueNAS is s= till 13.1-RELEASE-p9.</p> <p dir=3D"auto">Cheers,</p> <p dir=3D"auto">Sean</p> </div> </div> </body> </html> --=_MailMate_1D3A28F1-E169-4008-87B4-BDD30789385E_=--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40E6D39C-CFA5-4FCA-A024-8DD719106DE9>