Jump to content

Windows 11 VM unable to boot


chis34
Go to solution Solved by chis34,

Recommended Posts

Posted

Hello everyone,

 

I'm a  new user of Unraid. I've have installed new server and created a VM with Windows 11. I have followed SpaceinvadersOne tutorial to do this.

 

I have a problem. My VM starts but it does not boot at all. Under VNC i can't see the boot screen (VNC screen attached) and on Unraid it seems no IP is affected to my VM.

 

Looking at VM Manager, i can see these errors on the LIBVIRT Log :

 

2022-10-18 21:40:50.120+0000: 4292: info : libvirt version: 8.7.0
2022-10-18 21:40:50.120+0000: 4292: info : hostname: Tower
2022-10-18 21:40:50.120+0000: 4292: error : qemuDomainAgentAvailable:8411 : Guest agent is not responding: QEMU guest agent is not connected
2022-10-18 21:41:57.923+0000: 4295: error : qemuDomainAgentAvailable:8411 : Guest agent is not responding: QEMU guest agent is not connected
2022-10-18 21:42:32.177+0000: 4294: error : qemuDomainAgentAvailable:8411 : Guest agent is not responding: QEMU guest agent is not connected
2022-10-18 22:00:17.039+0000: 4295: error : qemuDomainAgentAvailable:8411 : Guest agent is not responding: QEMU guest agent is not connected

 

Anyone ca help me or have an idea how to solve this problem ? 

 

VNC.png

Posted (edited)

Hello,

 

I have followed those videos 

https://www.youtube.com/watch?v=SNHVuY3JJ94

https://www.youtube.com/watch?v=EIlWOjkDQwU

 

The only difference in first one is that i have used an .iso of Windows 11 downloaded from the Microsoft webSite. But it has nothing to do with the problem. I also need to say that i encounter as well this problem with an Ubuntu VM... and all of VMs...

 

Here is the diagnostic.

tower-diagnostics-20221019-1220.zip

VMConfig.png

Edited by chis34
Posted
1 hour ago, chis34 said:

I also need to say that i encounter as well this problem with an Ubuntu VM... and all of VMs...

Did you also choose OVMF TPM at the other VMs too or did you just use the default OVMF BIOS?

Posted
29 minutes ago, chis34 said:

I have used OVMF for the Ubuntu VM.

Can you try if changing the machine type to i440fx changes anything?

 

Have you yet rebooted Unraid to see if this changes anything?

 

I would also suggest that you boot Unraid with Legacy (CSM) mode instead of UEFI.

Posted (edited)

Point 1 : Unable to change it, i have this message when i click on the apply button.

XML error: The device at PCI address 0000:00:02.3 cannot be plugged into the PCI controller with index='0'. It requires a controller that accepts a pcie-root-port.

 

Point 2 : Yes i did but no changes

 

Point 3 : I did change the BIos to Legacy, reboot Unraid but same result.

Edited by chis34
Posted
7 minutes ago, chis34 said:

Point 1 : Unable to change it, i have this message when i click on the apply button.

XML error: The device at PCI address 0000:00:02.3 cannot be plugged into the PCI controller with index='0'. It requires a controller that accepts a pcie-root-port.

Please try to recreate the VM.

 

@JorgeB do you have a clue what's going on here, Diagnostics are attached in the third post.

Posted

Ok did recreate the VM on Linux and now it works. I have changed the Bios (CSM) and the machine Type i440fx.

 

Thanks a lot for your help and your time ich777 ! 

 

 

  • Like 1
Posted (edited)

I created a new VM with Windows 11 with TPM avec i440fx. It displays on VNC  "press any key to boot" then no time to press that it jumps to this screen attached.

VNC.png

Edited by chis34
Posted
21 minutes ago, chis34 said:

I created a new VM with Windows 11 with TPM avec i440fx. It displays on VNC  "press any key to boot" then no time to press that it jumps to this screen attached.

Enter:

reset

 

in this shell and it should reboot the VM.

  • Like 1
Posted

Last question : how do i enable the network so that it is accessible on the VM. I'm stucked on the installation process as Windows is expecting a network connection ....

Posted
36 minutes ago, JorgeB said:

Continue reading, Bypass 1 option works for current release.

Shouldn't it be also possible to select the "e1000" driver in the VM settings to have active Internet connection?

grafik.png.6c1dcacf9e14d724db355be247caabaa.png

  • Like 1
  • Thanks 2
Posted

Hi Guys,

 

Just progressing i'm almost done. Installed Windows 11, access with VNC on virtual GC perfect.

 

Then i tried to passthgrough my graphic card making changes to the setting. I boot with no problem but VM stucked at half of drivers Nvidia installation with a beautiful message : 

qemu-system-x86_64: vfio_region_write(0000:01:00.0:region1+0x34190, 0x0,1) failed: Device or resource busy

 

It seems the graphic card is already used by the host OS i think but how could i solve this problem ? 

Posted (edited)

The graphic card and sound are correctly bind to VFIO.

 

However when on my Windows VM i install the Nvidia drivers, he says he does not find any compatible graphic card so he refuses to install the drivers. I have checked the peripheral list and the graphics card NVIDIA RTX 3060 is not in the list.

 

=============================================================================================================================================

Loading config from /boot/config/vfio-pci.cfg
BIND=0000:01:00.0|10de:2504 0000:01:00.1|10de:228e
---
Processing 0000:01:00.0 10de:2504
Vendor:Device 10de:2504 found at 0000:01:00.0

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:01:00.0/iommu_group/devices/0000:01:00.0
/sys/bus/pci/devices/0000:01:00.0/iommu_group/devices/0000:01:00.1

Binding...
Successfully bound the device 10de:2504 at 0000:01:00.0 to vfio-pci
---
Processing 0000:01:00.1 10de:228e
Vendor:Device 10de:228e found at 0000:01:00.1

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:01:00.1/iommu_group/devices/0000:01:00.0
/sys/bus/pci/devices/0000:01:00.1/iommu_group/devices/0000:01:00.1

Binding...
0000:01:00.0 already bound to vfio-pci
0000:01:00.1 already bound to vfio-pci
Successfully bound the device 10de:228e at 0000:01:00.1 to vfio-pci
---
vfio-pci binding complete

Devices listed in /sys/bus/pci/drivers/vfio-pci:
lrwxrwxrwx 1 root root    0 Oct 19 20:05 0000:01:00.0 -> ../../../../devices/pci0000:00/0000:00:01.0/0000:01:00.0
lrwxrwxrwx 1 root root    0 Oct 19 20:05 0000:01:00.1 -> ../../../../devices/pci0000:00/0000:00:01.0/0000:01:00.1

GPU.png

Edited by chis34
Posted
58 minutes ago, chis34 said:

The graphic card and sound are correctly bind to VFIO.

 

However when on my Windows VM i install the Nvidia drivers, he says he does not find any compatible graphic card so he refuses to install the drivers. I have checked the peripheral list and the graphics card NVIDIA RTX 3060 is not in the list.

 

=============================================================================================================================================

Loading config from /boot/config/vfio-pci.cfg
BIND=0000:01:00.0|10de:2504 0000:01:00.1|10de:228e
---
Processing 0000:01:00.0 10de:2504
Vendor:Device 10de:2504 found at 0000:01:00.0

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:01:00.0/iommu_group/devices/0000:01:00.0
/sys/bus/pci/devices/0000:01:00.0/iommu_group/devices/0000:01:00.1

Binding...
Successfully bound the device 10de:2504 at 0000:01:00.0 to vfio-pci
---
Processing 0000:01:00.1 10de:228e
Vendor:Device 10de:228e found at 0000:01:00.1

IOMMU group members (sans bridges):
/sys/bus/pci/devices/0000:01:00.1/iommu_group/devices/0000:01:00.0
/sys/bus/pci/devices/0000:01:00.1/iommu_group/devices/0000:01:00.1

Binding...
0000:01:00.0 already bound to vfio-pci
0000:01:00.1 already bound to vfio-pci
Successfully bound the device 10de:228e at 0000:01:00.1 to vfio-pci
---
vfio-pci binding complete

Devices listed in /sys/bus/pci/drivers/vfio-pci:
lrwxrwxrwx 1 root root    0 Oct 19 20:05 0000:01:00.0 -> ../../../../devices/pci0000:00/0000:00:01.0/0000:01:00.0
lrwxrwxrwx 1 root root    0 Oct 19 20:05 0000:01:00.1 -> ../../../../devices/pci0000:00/0000:00:01.0/0000:01:00.1

GPU.png

Not sure if this may help to add to syslinux video=efifb:off

Posted

Hi Guys, I am running into exact same issue that chis34 has reported.  I have tried different combination of bios and drivers but no avail.  I have the exact same GPU as well.  For the life of me I can't seem to figure this out!  I thought I was the only guy who has this issue... but Thank you chis34 posting this.  I am having same exact problem.  Please someone help!

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...