Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2024 13:16:41 -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:  <CAGGgMJcVC33joaZ%2BdHsCBMHZ-hZPDt-9E8mL6Nvb=AdbVDQPqA@mail.gmail.com>
In-Reply-To: <CA%2B1FSigkus=xw6Y%2BQzD8hK9Dmkt6LR1hsY-U8V=yQ3yReTSL8g@mail.gmail.com>
References:  <CA%2B1FSijzwf6xHOv7-CfmdFPmxD46vFEdaJ4V6xy29G4BYEetWA@mail.gmail.com> <CAGGgMJemKNkEB87sHABECYrQT37tzPcF74o6dejAz4=nMApCBQ@mail.gmail.com> <CA%2B1FSigkus=xw6Y%2BQzD8hK9Dmkt6LR1hsY-U8V=yQ3yReTSL8g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--0000000000003f47f806285011af
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 2, 2024 at 1:05=E2=80=AFPM Mario Marietto <marietto2008@gmail.c=
om>
wrote:

> Hello Mark,
>
> I see that your patch is about to modify the code of the vmm.ko module.
> I've just exchanged the vmm.ko module that I'm using on the ZFS system wi=
th
> the module that I use on the UFS system (where I don't see the error) but
> this operation didn't solve the problem. I suspect that the wrong code is
> not inside the vmm.ko module. Can you offer a quick technical explanation
> of the reason why the exchange of the modules does not work for me ?
>

I'm assuming you applied the patch and rebuilt the vmm.ko module. Did you
also recompile the bhyve binary per my comments in my last message? The
emulated instructions are detected in vmm.ko but are emulated in the bhyve
binary. In other words, vmm_instruction_emul.c is used in both vmm.ko and
bhyve.

Mark

--0000000000003f47f806285011af
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Mon, Dec 2, 2024 at 1:05=E2=80=AFPM Ma=
rio Marietto &lt;<a href=3D"mailto:marietto2008@gmail.com">marietto2008@gma=
il.com</a>&gt; wrote:</div><div class=3D"gmail_quote gmail_quote_container"=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>He=
llo Mark,</div><div><br></div><div>I see that your patch is about to modify=
 the code of the vmm.ko module. I&#39;ve just exchanged the vmm.ko module t=
hat I&#39;m using on the ZFS system with the module that I use on the UFS s=
ystem (where I don&#39;t see the error) but this operation didn&#39;t solve=
 the problem. I suspect that the wrong code is not inside the vmm.ko module=
. Can you offer a quick technical explanation of the reason why the exchang=
e of the modules does not work for me ?</div></div></blockquote><div><br></=
div><div>I&#39;m assuming you applied the patch and rebuilt the vmm.ko modu=
le. Did you also recompile the bhyve binary per my comments in my last mess=
age? The emulated instructions are detected in vmm.ko but are emulated in t=
he bhyve binary. In other words, vmm_instruction_emul.c is used in both vmm=
.ko and bhyve.</div><div><br></div><div>Mark=C2=A0</div></div></div>

--0000000000003f47f806285011af--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGGgMJcVC33joaZ%2BdHsCBMHZ-hZPDt-9E8mL6Nvb=AdbVDQPqA>