Jump to content

Windows 10 VM without color and crash


Recommended Posts

Hello unraid community, I am new to Unraid and have a problem. My Windows 10 VM is always black and white and as soon as I install the virtio driver and the VM connects to the internet it doesn't take long before the VM crashes and won't boot. i think it's the graphics driver windows is trying to install but buggy windows won't let me do much as it runs very slow. The log is immediately full, the last and the first error log entry happened at the same second.

 

i tried every possible combination, Q35 + Ovmf, 1440 + ovmf, q35 seabios, 1440 seabios.

Seabios is the only one that works, but with q35 and with 1440, but no matter what I do the error always comes back.

If I put the 3090 as 2nd GPU in the motherboard and put another one in the 1st slot the gpu passthrough works (even with color) and the GPU is also recognized in Windows in the device manager. If I do it only with the 3090 the error comes back. I have a vbios stored in the XML that shows up in the normal settings now.

 

please, i need help from some experts, thanks

 

IOMMU and AMD-V are active

 

 

The buggy black and white windows:

 

 

My Hardware:

asus rog strix x570-f gaming

Ryzen 5900X

RTX 3090 Zotac Trinity, the GPU slot is 0b:00:00 and audio 0b:00:01

32 GB Corsair 3600 Mhz Ram

SSD: I tried it with an WD SN 850 and a cheapo € 25 Intenso 240 GB SSD

Unraid version: 6.9.2

 

 

The log log entry:

 

The entry

Apr 6 17:03:18 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: BAR 1: can't reserve [mem 0x7000000000-0x77ffffffff 64bit pref]

then repeats until the VM dies.

 

Apr 6 16:44:33 UNRAID-SRV01 kernel: virbr0: port 1(virbr0-nic) entered listening state
Apr 6 16:44:33 UNRAID-SRV01 dnsmasq[8660]: started, version 2.84rc2 cachesize 150
Apr 6 16:44:33 UNRAID-SRV01 dnsmasq[8660]: compile time options: IPv6 GNU-getopt no-DBus no-UBus i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack ipset auth no-cryptohash no-DNSSEC loop-detect inotify dumpfile
Apr 6 16:44:33 UNRAID-SRV01 dnsmasq-dhcp[8660]: DHCP, IP range 192.168.122.2 -- 192.168.122.254, lease time 1h
Apr 6 16:44:33 UNRAID-SRV01 dnsmasq-dhcp[8660]: DHCP, sockets bound exclusively to interface virbr0
Apr 6 16:44:33 UNRAID-SRV01 dnsmasq[8660]: reading /etc/resolv.conf
Apr 6 16:44:33 UNRAID-SRV01 dnsmasq[8660]: using nameserver 8.8.8.8#53
Apr 6 16:44:33 UNRAID-SRV01 dnsmasq[8660]: read /etc/hosts - 2 addresses
Apr 6 16:44:33 UNRAID-SRV01 dnsmasq[8660]: read /var/lib/libvirt/dnsmasq/default.addnhosts - 0 addresses
Apr 6 16:44:33 UNRAID-SRV01 dnsmasq-dhcp[8660]: read /var/lib/libvirt/dnsmasq/default.hostsfile
Apr 6 16:44:33 UNRAID-SRV01 kernel: virbr0: port 1(virbr0-nic) entered disabled state
Apr 6 16:44:56 UNRAID-SRV01 nmbd[7822]: [2022/04/06 16:44:56.686710, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
Apr 6 16:44:56 UNRAID-SRV01 nmbd[7822]: *****
Apr 6 16:44:56 UNRAID-SRV01 nmbd[7822]:
Apr 6 16:44:56 UNRAID-SRV01 nmbd[7822]: Samba name server UNRAID-SRV01 is now a local master browser for workgroup WORKGROUP on subnet 192.168.178.10
Apr 6 16:44:56 UNRAID-SRV01 nmbd[7822]:
Apr 6 16:44:56 UNRAID-SRV01 nmbd[7822]: *****
Apr 6 16:45:01 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
Apr 6 16:45:01 UNRAID-SRV01 kernel: br0: port 2(vnet0) entered blocking state
Apr 6 16:45:01 UNRAID-SRV01 kernel: br0: port 2(vnet0) entered disabled state
Apr 6 16:45:01 UNRAID-SRV01 kernel: device vnet0 entered promiscuous mode
Apr 6 16:45:01 UNRAID-SRV01 kernel: br0: port 2(vnet0) entered blocking state
Apr 6 16:45:01 UNRAID-SRV01 kernel: br0: port 2(vnet0) entered forwarding state
Apr 6 16:45:02 UNRAID-SRV01 avahi-daemon[3408]: Joining mDNS multicast group on interface vnet0.IPv6 with address fe80::fc54:ff:febf:8a37.
Apr 6 16:45:02 UNRAID-SRV01 avahi-daemon[3408]: New relevant interface vnet0.IPv6 for mDNS.
Apr 6 16:45:02 UNRAID-SRV01 avahi-daemon[3408]: Registering new address record for fe80::fc54:ff:febf:8a37 on vnet0.*.
Apr 6 16:45:03 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: vfio_ecap_init: hiding ecap 0x1e@0x258
Apr 6 16:45:03 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: vfio_ecap_init: hiding ecap 0x19@0x900
Apr 6 16:45:03 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: vfio_ecap_init: hiding ecap 0x26@0xc1c
Apr 6 16:45:03 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: vfio_ecap_init: hiding ecap 0x27@0xd00
Apr 6 16:45:03 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: vfio_ecap_init: hiding ecap 0x25@0xe00
Apr 6 16:45:03 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: BAR 1: can't reserve [mem 0x7000000000-0x77ffffffff 64bit pref]
Apr 6 16:45:03 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.1: enabling device (0000 -> 0002)
Apr 6 16:45:03 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.1: vfio_ecap_init: hiding ecap 0x25@0x160
Apr 6 16:45:03 UNRAID-SRV01 acpid: input device has been disconnected, fd 7
Apr 6 16:45:03 UNRAID-SRV01 acpid: input device has been disconnected, fd 8
Apr 6 16:45:03 UNRAID-SRV01 acpid: input device has been disconnected, fd 9
Apr 6 16:45:03 UNRAID-SRV01 acpid: input device has been disconnected, fd 5
Apr 6 16:45:03 UNRAID-SRV01 acpid: input device has been disconnected, fd 6
Apr 6 16:45:05 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
Apr 6 16:45:14 UNRAID-SRV01 kernel: usb 3-2.4: reset full-speed USB device number 6 using xhci_hcd
Apr 6 16:45:14 UNRAID-SRV01 kernel: usb 3-4: reset full-speed USB device number 3 using xhci_hcd
Apr 6 16:45:14 UNRAID-SRV01 kernel: usb 3-6: reset full-speed USB device number 7 using xhci_hcd
Apr 6 16:45:15 UNRAID-SRV01 kernel: usb 3-5.4: reset full-speed USB device number 9 using xhci_hcd
Apr 6 16:45:15 UNRAID-SRV01 kernel: usb 3-5.2: reset high-speed USB device number 8 using xhci_hcd
Apr 6 16:45:15 UNRAID-SRV01 kernel: usb 3-2.3: reset high-speed USB device number 4 using xhci_hcd
Apr 6 16:45:15 UNRAID-SRV01 kernel: usb 1-4: reset full-speed USB device number 2 using xhci_hcd
Apr 6 16:48:03 UNRAID-SRV01 ntpd[2183]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Apr 6 16:48:17 UNRAID-SRV01 kernel: usb 3-2.4: reset full-speed USB device number 6 using xhci_hcd
Apr 6 16:48:18 UNRAID-SRV01 kernel: usb 1-4: reset full-speed USB device number 2 using xhci_hcd
Apr 6 16:48:18 UNRAID-SRV01 kernel: usb 3-2.3: reset high-speed USB device number 4 using xhci_hcd
Apr 6 16:48:18 UNRAID-SRV01 kernel: usb 3-5.2: reset high-speed USB device number 8 using xhci_hcd
Apr 6 16:48:18 UNRAID-SRV01 kernel: usb 3-5.4: reset full-speed USB device number 9 using xhci_hcd
Apr 6 16:48:18 UNRAID-SRV01 kernel: usb 3-6: reset full-speed USB device number 7 using xhci_hcd
Apr 6 16:48:19 UNRAID-SRV01 kernel: usb 3-4: reset full-speed USB device number 3 using xhci_hcd
Apr 6 16:48:24 UNRAID-SRV01 kernel: usb 3-2.4: reset full-speed USB device number 6 using xhci_hcd
Apr 6 16:48:24 UNRAID-SRV01 kernel: usb 3-4: reset full-speed USB device number 3 using xhci_hcd
Apr 6 16:48:24 UNRAID-SRV01 kernel: usb 3-6: reset full-speed USB device number 7 using xhci_hcd
Apr 6 16:48:25 UNRAID-SRV01 kernel: usb 3-5.4: reset full-speed USB device number 9 using xhci_hcd
Apr 6 16:48:25 UNRAID-SRV01 kernel: usb 3-5.2: reset high-speed USB device number 8 using xhci_hcd
Apr 6 16:48:25 UNRAID-SRV01 kernel: usb 3-2.3: reset high-speed USB device number 4 using xhci_hcd
Apr 6 16:48:25 UNRAID-SRV01 kernel: usb 1-4: reset full-speed USB device number 2 using xhci_hcd
Apr 6 16:49:31 UNRAID-SRV01 kernel: usb 3-2.4: reset full-speed USB device number 6 using xhci_hcd
Apr 6 16:49:31 UNRAID-SRV01 kernel: usb 1-4: reset full-speed USB device number 2 using xhci_hcd
Apr 6 16:49:31 UNRAID-SRV01 kernel: usb 3-2.3: reset high-speed USB device number 4 using xhci_hcd
Apr 6 16:49:31 UNRAID-SRV01 kernel: usb 3-5.2: reset high-speed USB device number 8 using xhci_hcd
Apr 6 16:49:31 UNRAID-SRV01 kernel: usb 3-5.4: reset full-speed USB device number 9 using xhci_hcd
Apr 6 16:49:32 UNRAID-SRV01 kernel: usb 3-6: reset full-speed USB device number 7 using xhci_hcd
Apr 6 16:49:32 UNRAID-SRV01 kernel: usb 3-4: reset full-speed USB device number 3 using xhci_hcd
Apr 6 16:49:37 UNRAID-SRV01 kernel: usb 3-2.4: reset full-speed USB device number 6 using xhci_hcd
Apr 6 16:49:37 UNRAID-SRV01 kernel: usb 3-4: reset full-speed USB device number 3 using xhci_hcd
Apr 6 16:49:38 UNRAID-SRV01 kernel: usb 3-6: reset full-speed USB device number 7 using xhci_hcd
Apr 6 16:49:38 UNRAID-SRV01 kernel: usb 3-5.4: reset full-speed USB device number 9 using xhci_hcd
Apr 6 16:49:38 UNRAID-SRV01 kernel: usb 3-5.2: reset high-speed USB device number 8 using xhci_hcd
Apr 6 16:49:38 UNRAID-SRV01 kernel: usb 3-2.3: reset high-speed USB device number 4 using xhci_hcd
Apr 6 16:49:39 UNRAID-SRV01 kernel: usb 1-4: reset full-speed USB device number 2 using xhci_hcd
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]: [2022/04/06 16:49:57.568394, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]: *****
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]:
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]: Samba name server UNRAID-SRV01 is now a local master browser for workgroup WORKGROUP on subnet 192.168.122.1
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]:
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]: *****
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]: [2022/04/06 16:49:57.568471, 0] ../../source3/nmbd/nmbd_become_lmb.c:397(become_local_master_stage2)
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]: *****
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]:
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]: Samba name server UNRAID-SRV01 is now a local master browser for workgroup WORKGROUP on subnet 172.17.0.1
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]:
Apr 6 16:49:57 UNRAID-SRV01 nmbd[7822]: *****
Apr 6 16:50:35 UNRAID-SRV01 kernel: usb 3-2.4: reset full-speed USB device number 6 using xhci_hcd
Apr 6 16:50:36 UNRAID-SRV01 kernel: usb 1-4: reset full-speed USB device number 2 using xhci_hcd
Apr 6 16:50:36 UNRAID-SRV01 kernel: usb 3-2.3: reset high-speed USB device number 4 using xhci_hcd
Apr 6 16:50:36 UNRAID-SRV01 kernel: usb 3-5.2: reset high-speed USB device number 8 using xhci_hcd
Apr 6 16:50:36 UNRAID-SRV01 kernel: usb 3-5.4: reset full-speed USB device number 9 using xhci_hcd
Apr 6 16:50:36 UNRAID-SRV01 kernel: usb 3-6: reset full-speed USB device number 7 using xhci_hcd
Apr 6 16:50:37 UNRAID-SRV01 kernel: usb 3-4: reset full-speed USB device number 3 using xhci_hcd
Apr 6 16:50:42 UNRAID-SRV01 kernel: usb 3-2.4: reset full-speed USB device number 6 using xhci_hcd
Apr 6 16:50:42 UNRAID-SRV01 kernel: usb 3-4: reset full-speed USB device number 3 using xhci_hcd
Apr 6 16:50:43 UNRAID-SRV01 kernel: usb 3-6: reset full-speed USB device number 7 using xhci_hcd
Apr 6 16:50:43 UNRAID-SRV01 kernel: usb 3-5.4: reset full-speed USB device number 9 using xhci_hcd
Apr 6 16:50:43 UNRAID-SRV01 kernel: usb 3-5.2: reset high-speed USB device number 8 using xhci_hcd
Apr 6 16:50:43 UNRAID-SRV01 kernel: usb 3-2.3: reset high-speed USB device number 4 using xhci_hcd
Apr 6 16:50:44 UNRAID-SRV01 kernel: usb 1-4: reset full-speed USB device number 2 using xhci_hcd
Apr 6 17:03:18 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: BAR 1: can't reserve [mem 0x7000000000-0x77ffffffff 64bit pref]
Apr 6 17:03:18 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: BAR 1: can't reserve [mem 0x7000000000-0x77ffffffff 64bit pref]
Apr 6 17:03:18 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: BAR 1: can't reserve [mem 0x7000000000-0x77ffffffff 64bit pref]
Apr 6 17:03:18 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: BAR 1: can't reserve [mem 0x7000000000-0x77ffffffff 64bit pref]

 

The entry

Apr 6 17:03:18 UNRAID-SRV01 kernel: vfio-pci 0000:0b:00.0: BAR 1: can't reserve [mem 0x7000000000-0x77ffffffff 64bit pref]

then repeats until the VM dies.

 

 

Link to comment
On 4/6/2022 at 6:56 PM, Gosi said:

can't reserve [mem 0x7000000000-0x77ffffffff 64bit pref]

Check with "cat /proc/iomem" command in terminal in unraid what is using memory addresses in range 0x7000000000-0x77ffffffff and blacklist/disable it with a kernel parameter (syslinux configuration).

Link to comment
On 4/12/2022 at 3:00 PM, ghost82 said:

Check with "cat /proc/iomem" command in terminal in unraid what is using memory addresses in range 0x7000000000-0x77ffffffff and blacklist/disable it with a kernel parameter (syslinux configuration).

thanks for the answer, but i solved the problem by adding something in flash/config/go

 

#fix video for VM
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind

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.

×
×
  • Create New...