public inbox for discuss@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* [discuss] bhyve, Server 2022 and vnc
@ 2024-11-22 17:01 gernot.strasser
  2024-11-24 12:21 ` [discuss] " gernot.strasser
  0 siblings, 1 reply; 4+ messages in thread
From: gernot.strasser @ 2024-11-22 17:01 UTC (permalink / raw)
  To: illumos-discuss

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]

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=/usr/share/bhyve/uefi-rom.bin
WINDOWS_INSTALL_CD=/zones/iso/server2022.iso
VIRTIO_DRIVER_CD=/zones/iso/virtio-win-0.1.262.iso
[ "$1" = "-k" ] || pfexec bhyvectl --vm=windows --destroy
bhyve -H -w \
        -s 0,hostbridge,model=i440fx \
        -B "1,product=SmartOS HVM" \
        -l bootrom,$bootrom \
        -l com1,stdio \
        -c 2 \
        -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  \
        -s 5:0,nvme,/dev/zvol/rdsk/zones/a7ed5287-5b0f-4004-a6d5-0360c1964bcd-disk0 \
        -s 28,fbuf,vga=off,tcp=0.0.0.0:5801,w=1024,h=768,wait \
        -s 29,xhci,tablet \
        -s 31,lpc \
        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 expected.
Any ideas where to look at?

thx
------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/T749ade692a62789f-Me5690788210b738d6bc7677f
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

[-- Attachment #2: Type: text/html, Size: 3146 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [discuss] Re: bhyve, Server 2022 and vnc
  2024-11-22 17:01 [discuss] bhyve, Server 2022 and vnc gernot.strasser
@ 2024-11-24 12:21 ` gernot.strasser
  2024-11-29  8:31   ` gernot.strasser
  2024-11-29  8:32   ` gernot.strasser
  0 siblings, 2 replies; 4+ messages in thread
From: gernot.strasser @ 2024-11-24 12:21 UTC (permalink / raw)
  To: illumos-discuss

[-- Attachment #1: Type: text/plain, Size: 1320 bytes --]

After several test on different hardware platfoms I believe I found a pattern:

- Win10, Server 2019 vnc input works as expected, both Intel or AMD hardware
- Win11, Server 2022 and 2025  vnc input works as expected on AMD platforms
- Win11, Server 2022 and 2025 vnc input does not work on any Intel platforms I tested

Here is stripped down version of my above startup script, requiring only a server2022.iso in case somebody wants to confirm/deny my findings:

#!/bin/sh
bootrom=/usr/share/bhyve/uefi-rom.bin
WINDOWS_INSTALL_CD=/zones/iso/server2022.iso
[ "$1" = "-k" ] || pfexec bhyvectl --vm=windows --destroy
bhyve -H -w \
        -s 0,hostbridge,model=i440fx \
        -B "1,product=SmartOS HVM" \
        -l bootrom,$bootrom \
        -l com1,stdio \
        -c 2 \
        -m 4G \
        -s 4:0,ahci-cd,$WINDOWS_INSTALL_CD  \
        -s 28,fbuf,vga=off,tcp=0.0.0.0:5801,w=1024,h=768,wait \
        -s 29,xhci,tablet \
        -s 31,lpc \
        windows

thx
------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/T749ade692a62789f-Mff1d99e10f2149161aa87a0d
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

[-- Attachment #2: Type: text/html, Size: 2531 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [discuss] Re: bhyve, Server 2022 and vnc
  2024-11-24 12:21 ` [discuss] " gernot.strasser
@ 2024-11-29  8:31   ` gernot.strasser
  2024-11-29  8:32   ` gernot.strasser
  1 sibling, 0 replies; 4+ messages in thread
From: gernot.strasser @ 2024-11-29  8:31 UTC (permalink / raw)
  To: illumos-discuss

[-- Attachment #1: Type: text/plain, Size: 503 bytes --]

dmesg shows something when starting the above script, maybe relevant here?
[ID 723738 kern.info] /pci@0,0/pci1043,8831@14/hub@8/communications@3 (usb_mid0): can't support ugen for multiple configurations devices that have attached child interface drivers
------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/T749ade692a62789f-M5b2178335633dff0608b4643
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

[-- Attachment #2: Type: text/html, Size: 1026 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [discuss] Re: bhyve, Server 2022 and vnc
  2024-11-24 12:21 ` [discuss] " gernot.strasser
  2024-11-29  8:31   ` gernot.strasser
@ 2024-11-29  8:32   ` gernot.strasser
  1 sibling, 0 replies; 4+ messages in thread
From: gernot.strasser @ 2024-11-29  8:32 UTC (permalink / raw)
  To: illumos-discuss

[-- Attachment #1: Type: text/plain, Size: 401 bytes --]

dmesg shows something, maybe relevant here:
usb_mid0): can't support ugen for multiple configurations devices that have attached child interface drivers
------------------------------------------
illumos: illumos-discuss
Permalink: https://illumos.topicbox.com/groups/discuss/T749ade692a62789f-Md95bed76647b12927a899ce2
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

[-- Attachment #2: Type: text/html, Size: 924 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-29  8:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-22 17:01 [discuss] bhyve, Server 2022 and vnc gernot.strasser
2024-11-24 12:21 ` [discuss] " gernot.strasser
2024-11-29  8:31   ` gernot.strasser
2024-11-29  8:32   ` gernot.strasser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).