Date: Sat, 20 Apr 2024 14:11:38 +0200 From: Mario Marietto <marietto2008@gmail.com> To: FreeBSD virtualization <freebsd-virtualization@freebsd.org>, freebsd-hackers <freebsd-hackers@freebsd.org>, FreeBSD Mailing List <freebsd-questions@freebsd.org> Subject: Re: Trying to virtualize ReactOS with bhyve : I don't see a viable way to do it... Message-ID: <CA%2B1FSijJMLGyLj-n9DGdOdwJuP9e_W=DcyPZBG=EAk96jKyy4w@mail.gmail.com> In-Reply-To: <CA%2B1FSihkrqEWgqxHDqNt%2BQkeBBdygUVj2c5kapSmLC332o9b1A@mail.gmail.com> References: <CA%2B1FSihkrqEWgqxHDqNt%2BQkeBBdygUVj2c5kapSmLC332o9b1A@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] UPDATE : I've been able to unfreeze ReactOS on the boot stage. I've just removed the bhyve "-A" offending parameter that can't be used because ReactOS probably does not support ACPI. Now I'm at this stage : https://ibb.co/Dtw8Hj1 Now the problem is that I can't move the mouse inside the vm and the keyboard does not work...so I need to find some workaround to supply the absence of the arbiter... I've thought about using virtio-input and I've added this parameter to bhyve : -s 12,virtio-input,/dev/input/event7 \ I've chosen event7,because I've got it here : [root@marietto /bhyve]==> ls /dev/input/ event0 event1 event2 event3 event4 event5 event6 event7 Anyway I also tried event6,event5...it didn't work. Can someone quickly explain how it works ? Is it supposed to work even if ReactOS does not have the arbiter ? More precisely the ReactOS developer said : "Hardware initialization doesn’t occur on UEFI due to missing arbiter support : It means that the hardware (even essential such as input devices) will not work and you may not be able to interact with the system in any way" My idea is to use Barrier to be able to use the mouse and keyboard inside the vm...I will install the server on freebsd and the client inside the reactos vm... Could it work as long as reactOS has a network connection ? Let me know. On Fri, Apr 19, 2024 at 3:52 PM Mario Marietto <marietto2008@gmail.com> wrote: > Hello. > > I'm trying to boot the 32 bit ISO image of ReactOS using bhyve or qemu and > seabios as bootloader. > > As first experiment I tried to boot the x86 version of ReactOS with qemu > (8.2.2) and seabios (version 1.16.1_1),like this : > > qemu-system-x86_64 -machine q35 -m 1G -cdrom > /home/marietto/Desktop/Downloads/OS/ReactOS/reactos-livecd-0.4.15-dev-7921-g6d853be-x86-msvc-win-dbg.iso > -boot order=d > > Unfortunately,I get the error below : > > https://ibb.co/tZmFh2x > > but my real goal is to boot ReactOS by using seabios. Even here I'm > unlucky. Infact on this web page : > > https://eradman.com/posts/bhyve-ipxe.html > > we can read : > > *Bhyve is somewhat similar to QEMU-KVM without the emulation required to > boot SeaBIOS.* > > Is really true that I can't use seabios to boot ReactOS with bhyve ? > Anyway,ok. I've continued my searching and I found this thread : > > https://forums.freebsd.org/threads/bhyve-with-bios-boot.79794/ > > where we can read : > > *bhyveload has nothing to do with BIOS. As detailed in the man page you > linked to, it is for loading a FreeBSD guest.* > > So,it seems that I can't even use bhyveload. So,what can I use ? What can > I do ? > > I've gone on the ReactOS forum and I've created a thread where > I 've asked how to boot the 64 bit + UEFI version of ReactOS using bhyve. > The developers helped me,but in the end we have done nothing. Because after > some progress,I found this error : > > https://ibb.co/N9QHdnp > > Unfortunately it is frozen when it tries to load the mountmgr.sys driver. > Actually unfixed and no one knows how to fix it. > > Now I'm here,asking for some further ideas and suggestions. > > -- > Mario. > -- Mario. [-- Attachment #2 --] <div dir="ltr"><div role="listitem" aria-expanded="true"><div><div><div><div id="m_-554808317421460299gmail-:1jc"><div><div><div><div><div id="m_-554808317421460299gmail-:pf"><div id="m_-554808317421460299gmail-:1f0"><div dir="ltr"><div><div><div><div id="m_-554808317421460299m_6729678916918054419gmail-post_content148907"><div>UPDATE :</div><div><br></div><div>I've been able to unfreeze ReactOS on the boot stage. I've just removed the bhyve "-A" offending parameter that can't be used because ReactOS probably does not support ACPI. Now I'm at this stage :<br> <br> <a href="https://ibb.co/Dtw8Hj1" target="_blank">https://ibb.co/Dtw8Hj1</a><br> <br> Now the problem is that I can't move the mouse inside the vm and the keyboard does not work...so I need to find some workaround to supply the absence of the arbiter...<br> <br></div><div>I've thought about using virtio-input and I've added this parameter to bhyve : <br></div><div><br></div><div>-s 12,virtio-input,/dev/input/event7 \</div><div><br></div><div>I've chosen event7,because I've got it here :</div><div><br></div><div>[root@marietto /bhyve]==> ls /dev/input/<br>event0 event1 event2 event3 event4 event5 event6 event7</div><div><br></div><div>Anyway I also tried event6,event5...it didn't work.</div><div><br></div><div>Can someone quickly explain how it works ? Is it supposed to work even if ReactOS does not have the arbiter ?<br></div><table cellpadding="0"><tbody><tr><td></td></tr></tbody></table></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div><div role="listitem" aria-expanded="true"><div><div><div><div id="m_-554808317421460299gmail-:1je"><div><div><div><table cellpadding="0"><tbody><tr><td></td></tr></tbody></table></div></div></div></div></div></div></div></div><table cellpadding="0"><tbody><tr><td></td><td rowspan="2"><div dir="ltr"><div>More precisely the ReactOS developer said : "Hardware initialization doesn’t occur on UEFI due to missing arbiter support : It means that the hardware (even essential such as input devices) will not work and you may not be able to interact with the system in any way"</div><div><br></div><div><div role="listitem" style=""><div class="gmail-"><div aria-label="At 11:40 AM Saturday, April 20, mariozio wrote, I wanna try to use barrier to be able to use mouse and keyboard inside the vm...I will install the server on freebsd and the client inside the reactos vm..." id="gmail-post_fq3daagnztdymxpxg7hiu596hy" tabindex="0" class="gmail-a11y__section gmail-post gmail-same--root gmail-current--user gmail-same--user"><div role="application" class="gmail-post__content"><div class="gmail-post__img">My idea is to use Barrier to be able to use the mouse and keyboard inside the vm...I will install the server on freebsd and the client inside the reactos vm...</div></div></div></div><div style="display:inline;width:0px;height:0px;overflow:hidden;margin:0px;padding:0px"></div></div><div role="listitem" style=""><div class="gmail-"><div aria-label="At 11:41 AM Saturday, April 20, mariozio wrote, it should work or not ? as long as react os has a network connection" id="gmail-post_xz5ap1txzbdzpcqjzi5gxf3soc" tabindex="0" class="gmail-a11y__section gmail-post gmail-same--root gmail-current--user gmail-same--user"><div role="application" class="gmail-post__content"><div class="gmail-post__img"></div><div><div class="gmail-post__header"><div class="gmail-col gmail-d-flex gmail-align-items-center"></div><div class="gmail-col gmail-post-menu"></div></div><div class="gmail-post__body" id="gmail-xz5ap1txzbdzpcqjzi5gxf3soc_message"><div class="gmail-AutoHeight" style="width:100%;height:auto;overflow:visible"><div><div class="gmail-post-message gmail-post-message--collapsed"><div style="max-height:600px" class="gmail-post-message__text-container"><div tabindex="0" id="gmail-postMessageText_xz5ap1txzbdzpcqjzi5gxf3soc" class="gmail-post-message__text" dir="auto"><p>Could it work as long as reactOS has a network connection ? </p><p>Let me know.</p></div></div></div></div></div></div></div></div></div></div></div></div></div></td></tr></tbody></table><table cellpadding="0"><tbody><tr><td colspan="3"><table cellpadding="0"><tbody><tr><td><div id="m_-554808317421460299gmail-:1lr" aria-haspopup="true" role="button" aria-label="Show details"><img src="https://mail.google.com/mail/u/0/images/cleardot.gif" alt=""></div></td></tr></tbody></table></td></tr></tbody></table></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 19, 2024 at 3:52 PM Mario Marietto <<a href="mailto:marietto2008@gmail.com" target="_blank">marietto2008@gmail.com</a>> 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"><div dir="ltr"><div>Hello.</div><div><br></div><div>I'm trying to boot the 32 bit ISO image of ReactOS using bhyve or qemu and seabios as bootloader. </div><div><br></div><div>As first experiment I tried to boot the x86 version of ReactOS with qemu (8.2.2) and seabios (version 1.16.1_1),like this :<br></div> <br> qemu-system-x86_64 -machine q35 -m 1G -cdrom /home/marietto/Desktop/Downloads/OS/ReactOS/reactos-livecd-0.4.15-dev-7921-g6d853be-x86-msvc-win-dbg.iso -boot order=d<br><div><br></div><div>Unfortunately,I get the error below :</div> <br> <div><a href="https://ibb.co/tZmFh2x" target="_blank">https://ibb.co/tZmFh2x</a></div><div><br></div><div>but my real goal is to boot ReactOS by using seabios. Even here I'm unlucky. Infact on this web page :</div><div><br></div><div><a href="https://eradman.com/posts/bhyve-ipxe.html" target="_blank">https://eradman.com/posts/bhyve-ipxe.html</a></div><div><br></div><div>we can read :</div><div><br></div><div><b>Bhyve is somewhat similar to QEMU-KVM without the emulation required to boot SeaBIOS.</b></div><div><br></div><div>Is really true that I can't use seabios to boot ReactOS with bhyve ? <br></div><div>Anyway,ok. I've continued my searching and I found this thread :<br></div><div><br></div><div><a href="https://forums.freebsd.org/threads/bhyve-with-bios-boot.79794/" target="_blank">https://forums.freebsd.org/threads/bhyve-with-bios-boot.79794/</a></div><div><br></div><div>where we can read :</div><div><br></div><div><b>bhyveload has nothing to do with BIOS. As detailed in the man page you linked to, it is for loading a FreeBSD guest.</b></div><div><br></div><div>So,it seems that I can't even use bhyveload. So,what can I use ? What can I do ? <br></div><div><br></div><div>I've gone on the ReactOS forum and I've created a thread where </div><div>I 've asked how to boot the 64 bit + UEFI version of ReactOS using bhyve. The developers helped me,but in the end we have done nothing. Because after some progress,I found this error :<br></div> <br> <a href="https://ibb.co/N9QHdnp" target="_blank">https://ibb.co/N9QHdnp</a><br> <br> Unfortunately it is frozen when it tries to load the mountmgr.sys driver. Actually unfixed and no one knows how to fix it. <br><div><br></div><div>Now I'm here,asking for some further ideas and suggestions.<br></div><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div></div> </blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Mario.<br></div>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B1FSijJMLGyLj-n9DGdOdwJuP9e_W=DcyPZBG=EAk96jKyy4w>
