Windows 11 VM unable to boot


chis34
Go to solution Solved by chis34,

Recommended Posts

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

Link to comment

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
Link to comment

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
Link to comment
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.

Link to comment

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 ? 

Link to comment

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
Link to comment
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

Link to comment

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
Link to comment

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.