From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: from tb-ob0.topicbox.com (tb-ob0.topicbox.com [64.147.108.117]) by inbox.vuxu.org (Postfix) with ESMTP id 2BE7322109 for ; Fri, 22 Nov 2024 18:03:04 +0100 (CET) Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob0.topicbox.com (Postfix) with ESMTP id AEDCB21EC8 for ; Fri, 22 Nov 2024 12:03:03 -0500 (EST) (envelope-from bounce.mMe5690788210b738d6bc7677f.r81958daa-7202-11ef-bbf2-18142b2d11b0@illumos.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id B1FDF3BAE4F; Fri, 22 Nov 2024 12:03:03 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lists.illumos.org; h= from:to:message-id:date:mime-version:content-type :content-transfer-encoding:list-help:list-id:list-post :list-subscribe:reply-to:subject:list-unsubscribe; s=dkim-1; t= 1732294983; x=1732381383; bh=LjINWVLK7hAV8ydxbJ8QTwBk3vDRF4SfACU 9rQIAe/I=; b=YzA1fq0svVUKKmcB28z+JJ2pU13vGaB5d3MSA0Uq9xI0QwUY4IF zscxtQ5WR5mnVMaoyZw9ZUYctPn5ws8sHktRxtZnd16PIprTeevZfdTz0w2UGhi+ fMIBPJSgOw1zLUoHd48v+TXAF6j2CN8BytAAyQ32wJBMUZo1bZZLniiU= From: gernot.strasser@freenet.de To: illumos-discuss Message-Id: <17322949160.CbAAe.625812@composer.illumos.topicbox.com> Date: Fri, 22 Nov 2024 12:01:56 -0500 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=17322949161.cF2abec9.625812 Content-Transfer-Encoding: 7bit Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: 7b4970a6-a8f3-11ef-9eb4-23142b2d11b0 Archived-At: =?UTF-8?B?PGh0dHBzOi8vaWxsdW1vcy50b3BpY2JveC5jb20vZ3JvdXBz?= =?UTF-8?B?L2Rpc2N1c3MvVDc0OWFkZTY5MmE2Mjc4OWYtTWU1NjkwNzg4MjEwYjczOGQ2?= =?UTF-8?B?YmM3Njc3Zj4=?= List-Help: List-Id: "illumos-discuss" List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: illumos-discuss Subject: [discuss] bhyve, Server 2022 and vnc List-Unsubscribe: , Topicbox-Delivery-ID: 2:illumos:a9ae1d0a-2aea-11e7-965f-d98f9f16e227:81958daa-7202-11ef-bbf2-18142b2d11b0:Me5690788210b738d6bc7677f:1:2bjkUGii35xedjOeEaElAUYrQEnvniPdq8X14TxJgw0 --17322949161.cF2abec9.625812 Date: Fri, 22 Nov 2024 12:01:56 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I am wrapping my head around an issue with bhyve and a Windows Server 2022 = guest I need to install. I am running latest Smartos, but for easier debugging I start bhyve in the = GZ using the following script: ---------------------------------------------------------------------------= ------------- #!/bin/sh bootrom=3D/usr/share/bhyve/uefi-rom.bin WINDOWS_INSTALL_CD=3D/zones/iso/server2022.iso VIRTIO_DRIVER_CD=3D/zones/iso/virtio-win-0.1.262.iso [ "$1" =3D "-k" ] || pfexec bhyvectl --vm=3Dwindows --destroy bhyve -H -w \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -s 0,hostbridge,model=3Di440fx \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -B "1,product=3DSmartOS HVM" \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -l bootrom,$bootrom \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -l com1,stdio \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -c 2 \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -m 4G \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -s 6:0,virtio-net-viona,vnic0 \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -s 6:1,ahci-cd,$VIRTIO_DRIVER_CD= \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -s 4:0,ahci-cd,$WINDOWS_INSTALL_= CD=C2=A0 \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -s 5:0,nvme,/dev/zvol/rdsk/zones= /a7ed5287-5b0f-4004-a6d5-0360c1964bcd-disk0 \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -s 28,fbuf,vga=3Doff,tcp=3D0.0.0= .0:5801,w=3D1024,h=3D768,wait \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -s 29,xhci,tablet \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -s 31,lpc \ =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 windows ---------------------------------------------------------------------------= ----------------------------- I connect using vnc to port 5801, windows boots from the iso and the setup = starts asking for language and such, but I cannot use mouse or keyboard to = continue. Doing the very same on the same system with a Server 2019 iso works as expe= cted. Any ideas where to look at? thx ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/T749ade692a62789f-Me= 5690788210b738d6bc7677f Delivery options: https://illumos.topicbox.com/groups/discuss/subscription --17322949161.cF2abec9.625812 Date: Fri, 22 Nov 2024 12:01:56 -0500 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hello,

I am w= rapping my head around an issue with bhyve and a Windows Server 2022 guest = I need to install.
I am running latest Smartos, but for eas= ier debugging I start bhyve in the GZ using the following script:
--------------------------------------------------------------------= --------------------
#!/bin/sh
bootrom=3D/usr/sha= re/bhyve/uefi-rom.bin
WINDOWS_INSTALL_CD=3D/zones/iso/serve= r2022.iso
VIRTIO_DRIVER_CD=3D/zones/iso/virtio-win-0.1.262.= iso
[ "$1" =3D "-k" ] || pfexec bhyvect= l --vm=3Dwindows --destroy
bhyve -H -w \
&n= bsp;       -s 0,hostbridge,model=3Di440fx \
        -B "1,produc= t=3DSmartOS HVM" \
      = ;  -l bootrom,$bootrom \
     = ;   -l com1,stdio \
     = ;   -c 2 \
      &n= bsp; -m 4G \
        -s = 6:0,virtio-net-viona,vnic0 \
     =    -s 6:1,ahci-cd,$VIRTIO_DRIVER_CD \
  = ;      -s 4:0,ahci-cd,$WINDOWS_INSTALL_CD  \<= br />
        -s 5:0,nvme,/dev= /zvol/rdsk/zones/a7ed5287-5b0f-4004-a6d5-0360c1964bcd-disk0 \
        -s 28,fbuf,vga=3Doff,tcp=3D0.= 0.0.0:5801,w=3D1024,h=3D768,wait \
    =     -s 29,xhci,tablet \
   &n= bsp;    -s 31,lpc \
    =     windows
--------------------------------= ------------------------------------------------------------------------
I connect using vnc to port 5801, windows boots from the iso and th= e setup starts asking for language and such, but I cannot use mouse or keyb= oard to continue.
Doing the very same on the same system wi= th a Server 2019 iso works as expected.
Any ideas where to = look at?

thx
= --17322949161.cF2abec9.625812--