Date: Mon, 2 Dec 2024 15:09:22 -0800 From: Mark Peek <mp@freebsd.org> To: Mario Marietto <marietto2008@gmail.com> Cc: Mark Peek <mp@freebsd.org>, =?UTF-8?Q?Corvin_K=C3=B6hne?= <c.koehne@beckhoff.com>, FreeBSD virtualization <freebsd-virtualization@freebsd.org> Subject: Re: Failed to emulate instruction sequence [ 41f646040874064c017d88eb144c89 ] at 0xbea5fcf9 Message-ID: <CAGGgMJcdSE=FBq%2BOZCf889uhE8n=av_MGrdn3pQe0qM6GQ9CxQ@mail.gmail.com> In-Reply-To: <CA%2B1FSijkwMk_STP1wCyiX96VY7pn%2BmY-ad0_m1shFTBjQhd57Q@mail.gmail.com> References: <CA%2B1FSijzwf6xHOv7-CfmdFPmxD46vFEdaJ4V6xy29G4BYEetWA@mail.gmail.com> <CAGGgMJemKNkEB87sHABECYrQT37tzPcF74o6dejAz4=nMApCBQ@mail.gmail.com> <CA%2B1FSigkus=xw6Y%2BQzD8hK9Dmkt6LR1hsY-U8V=yQ3yReTSL8g@mail.gmail.com> <CAGGgMJcVC33joaZ%2BdHsCBMHZ-hZPDt-9E8mL6Nvb=AdbVDQPqA@mail.gmail.com> <CA%2B1FSigZV6GXurd5KmBwVS6LdbOpP1fLK5wEB7-ROAp%2Bz1axsA@mail.gmail.com> <CAGGgMJd%2Box54CyDNk6SgQ29b=Rte=MzpRFbgzM%2BF=QWOV8nu=Q@mail.gmail.com> <CA%2B1FSijkwMk_STP1wCyiX96VY7pn%2BmY-ad0_m1shFTBjQhd57Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Mon, Dec 2, 2024 at 2:39 PM Mario Marietto <marietto2008@gmail.com> wrote: > ok I've used this : > > .op_flags = VIE_OP_F_IMM8 > > After the compilation is finished,I copied the compiled vmm.ko module from /usr/obj/usr/src/amd64.amd64/sys/modules/vmm/vmm.ko > to /boot/kernel and to /boot/modules. > > Regarding the bhyve executable,I'm using two custom versions of it,called > bhyve-lin and bhyve-win. When I upgrade the system,they cannot change. What > can change is bhyve,but I don't use it. In addition,to be sure,I copied > bhyve-lin and bhyve-win from the system where I don't have the error. With > this being said,the recompilation of vmm.ko didn't solve my issue. > Did you reboot or reload the module? Did you use the new bhyve binary you built from the patch? Note: copying binaries around from other systems or your custom versions will not be something I can help debug. Only code built from a newly checked out /usr/src and applying the patch will provide the correct information on whether it works or not. But if it didn't solve your issue you should document how it can be reproduced and either 1) add it to the bug I mentioned or 2) open a new bug. Make sure to include information on the host system as well (intel/amd, etc.) and how the various guest bits (.img, .fd, etc) were download/created. Mark [-- Attachment #2 --] <div dir="ltr"><div dir="ltr">On Mon, Dec 2, 2024 at 2:39 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com">marietto2008@gmail.com</a>> wrote:</div><div class="gmail_quote gmail_quote_container"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>ok I've used this :</div><div><br></div><div>.op_flags = VIE_OP_F_IMM8</div><div><br></div><div>After the compilation is finished,I copied the compiled vmm.ko module from <tt style="color:rgb(0,122,0)">/usr/obj/usr/src/amd64.amd64/sys/modules/vmm/vmm.ko to /boot/kernel and to /boot/modules. <br></tt></div><div><tt style="color:rgb(0,122,0)"><br></tt></div><div><tt style="color:rgb(0,122,0)">Regarding the bhyve executable,I'm using two custom versions of it,called bhyve-lin and bhyve-win. When I upgrade the system,they cannot change. What can change is bhyve,but I don't use it. In addition,to be sure,I copied bhyve-lin and bhyve-win from the system where I don't have the error. With this being said,the recompilation of vmm.ko didn't solve my issue.</tt></div></div></blockquote><div><br></div><div>Did you reboot or reload the module? Did you use the new bhyve binary you built from the patch? Note: copying binaries around from other systems or your custom versions will not be something I can help debug. Only code built from a newly checked out /usr/src and applying the patch will provide the correct information on whether it works or not.</div><div><br></div><div>But if it didn't solve your issue you should document how it can be reproduced and either 1) add it to the bug I mentioned or 2) open a new bug. Make sure to include information on the host system as well (intel/amd, etc.) and how the various guest bits (.img, .fd, etc) were download/created.</div><div><br></div><div>Mark </div></div></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGGgMJcdSE=FBq%2BOZCf889uhE8n=av_MGrdn3pQe0qM6GQ9CxQ>
