Everything posted by WobbleBobble2
-
[Plugin] unbalanced
UPDATE: I found a solution! I just had to keep running the planning step repeatedly and it seems to be caching the information each time it runs, even if it times out. So the last time I ran it (just now) it only took a few minutes to run and then I could successfully get to the Transfer step and start it! ORIGINAL POST: Hello, I am trying to move 10tb of photos, about 500k individual files, from one drive to another, but Unbalanced keeps timing out during the planning Plan phase. The plan phase will appear to complete and I can proceed to the Transfer step and start the file move. However the Transfer step then freezes without showing any progress and when I finally give up and reload the page I am taken back to step 1 (Select) as if I had done nothing. I am thinking this is related to how long it takes to scan so many tiny files and unbalanced is just timing out. Is there anything I can do to prevent the time outs? I tried turning on notifications in the hopes that I could click on the notification to get back to the completed Plan step, however, I get the same symptoms as above so no dice. Any help much appreciated!
-
Shrink Array question
I am currently running this script but it is speed limited by the read rate of my slowest drive which is currently about 5MB/s. At this rate it will take 19 days which is unacceptably long. Is there any way to interrupt/cancel this script from running without completing the full clear? Would that impact parity?
-
Shrink Array question
Can you add some detail on how you were able to do a new config? I also have 5 disks I'm trying to remove, all of which were zeroed and 4 of which were never used. Want to try to safely remove the 4 and zero the 5th but not sure how and unraid docs don't provide any guidance.
-
Anyway to remove (w/o replace) multiple disks without losing parity?
Shoot I already used the script on 2 drives. Any chance you can take a look at the output in my earlier post (disk 6) and help me understand what happened? How is it possible it completed so fast? Could it be because the disk was just precleared? Any way for me to confirm whether the zeroing was completed successfully other than the script messaging saying it was done correctly?
-
Anyway to remove (w/o replace) multiple disks without losing parity?
Ok I just tried running the script and I am getting some wierd results. The whole clearing only took like 30 seconds: Script location: /tmp/user.scripts/tmpScripts/clear an array drive/script Note*** Clear an unRAID array data drive *** v1.4 Checking all array data drives (may need to spin them up) ... Found a marked and empty drive to clear: * Parity will be preserved throughout. * Clearing while updating Parity takes a VERY long time! * The progress of the clearing will not be visible until it's done! * When complete, Disk 6 will be ready for removal from array. * Commands to be executed: ***** You have 60 seconds to cancel this script (click the red X, top right) Unmounting Disk 6 ... Clearing Disk 6 ... dd: error writing '/dev/md6': No space left on device 9+0 records in 8+0 records out 8388608 bytes (8.4 MB, 8.0 MiB) copied, 0.00190806 s, 4.4 GB/s A message saying "error writing ... no space left" is expected, NOT an error. Unless errors appeared, the drive is now cleared! Because the drive is now unmountable, the array should be stopped, and the drive removed (or reformatted). And now disk 6 says it's only 16gb instead of 8tb: Also there is nothing in disk 6 - the "clear-me" folder has been removed.
-
Anyway to remove (w/o replace) multiple disks without losing parity?
Hey Jorge, I found this thread from a year ago which is saying the script doesn't work out of the box. You had commented about making a change to a command. Do I still need to make that change?
-
Anyway to remove (w/o replace) multiple disks without losing parity?
Thanks so much for the quick reply. This is a bummer but I will try one 8tb first and see how it goes.
-
Anyway to remove (w/o replace) multiple disks without losing parity?
Hello! I had listed my old NAS with drives on ebay for a few months with no takers and gave up on it ever selling so pulled 5 8tb drives out and cleared and put them into my new Unraid server. Clearing is done and they are now mounted in the array. I have already used Unbalance to remove all data from them, so all 5 are completely empty and all 5 have been removed from global shares and all individual shares. Literally a day after doing this someone bought my old NAS so now I need to remove those 5x 8tb drives. I am risk averse and really do not want to do the "remove drives then rebuild parity" option here: https://docs.unraid.net/legacy/FAQ/shrink-array/#for-unraid-v62-and-later This option would mean I would have no parity protection for a very long and intensive rebuild process which would be super scary. Option 2 "Clear Drive Then Remove Drive" would be fine except I can only do 1 drive at a time and 5 8tb drives will likely take a month. Way too long to expect my eBay buyer to wait. Is there any way for me to simultaneously zero all 5 disks at once without losing parity? Any help would be hugely appreciated! I tried to attach diagnostics to this post, but my diagnostics tab keeps crashing before the download starts (something to deal with in another thread I suppose). Other basic stats on the array: Dual parity 5 disks to keep, 14-20tb 5 8tb disks to remove 12500k
-
Terminal/Logs Popup Windows Instantly Closing
I had already done step 1, but not 3rd party cookies which I do generally disable in most browsers. In chrome i added an exception to allow 3rd party cookies for my server IP and .local address. But I'll also give Brave a try! I already have chrome edge safari firefox & opera, so one more can't hurt.
-
Terminal/Logs Popup Windows Instantly Closing
Ok after a reboot I can confirm the logs and terminal are working again! Will wait a few more days to confirm this solution works on an ongoing basis.
-
Terminal/Logs Popup Windows Instantly Closing
I pasted this command into terminal but it seems NGINX failed to restart so I can no longer access the UI from browser. I'll do a reboot later when I've finished some tasks queued on the server.
-
Terminal/Logs Popup Windows Instantly Closing
Oh man thanks so much for figuring this out! I just restarted NGINX, fingers crossed!
-
[PLUGIN] Intel iGPU SR-IOV - Support Page
[removed while still confirming solution with giganode] HUGE shout out to Giganode for guiding a newb like me through this setup!!
-
Terminal/Logs Popup Windows Instantly Closing
Thank you for helping here! Ok I tried the following but nothing worked: 1. Clearing cookies in chrome 2. Chrome incognito 3. Safari cleared cookies 4. Safari Private 5. Firefox cleared cookies 6. Firefox Private I also disabled all my ad blockers and disabled any in-browser pop-up blocking / site protection I could find. But obviously if it were one of these issues, the problem wouldn't follow me across browsers. Here's the list of previous steps taken that were also unsuccessful:
-
Terminal/Logs Popup Windows Instantly Closing
Oh no - this is back! And restarting my laptop isn't fixing it anymore. I just get this constant "reconnecting" message again (see below). I am able to use the terminal & logs fine with a different mac laptop though. Also I should add that this issue, whatever is causing it, also prevents me from connecting to VMs via VNC. I just get a "Failed to connect to server" error in VNC. Also attached diagnostics although I imagine they won't be relevant since this is clearly a client side issue. Lastly, one other thing I've tried is switching from my 10GBE ethernet wired connection to the router to wifi. I thought maybe there was some issue with the 10gbe connection, but wifi did not resolve the issue. hal9000-diagnostics-20240222-0951.zip
-
qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument
Thanks so much again for helping! The dev just replied here! Yes they are bound to VFIO at boot. I thought I needed to do that to passthrough the iGPU but I guess not. Ok I just unbound both of them and rebooted, but unfortunately exact same behavior. I've attached the VM logs below and updated diagnostics. text error warn system array login 2024-02-20 22:30:23.339+0000: starting up libvirt version: 8.7.0, qemu version: 7.2.0, kernel: 6.1.64-Unraid, hostname: HAL9000 LC_ALL=C \ PATH=/bin:/sbin:/usr/bin:/usr/sbin \ HOME='/var/lib/libvirt/qemu/domain-1-Windows 10' \ XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-1-Windows 10/.local/share' \ XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-1-Windows 10/.cache' \ XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-1-Windows 10/.config' \ /usr/local/sbin/qemu \ -name 'guest=Windows 10,debug-threads=on' \ -S \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-Windows 10/master-key.aes"}' \ -blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \ -blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/9ff111d8-9ac0-34f8-4fdf-cbc8b866a6fa_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine pc-i440fx-7.2,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \ -accel kvm \ -cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \ -m 16384 \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":17179869184}' \ -overcommit mem-lock=off \ -smp 8,sockets=1,dies=1,cores=4,threads=2 \ -uuid 9ff111d8-9ac0-34f8-4fdf-cbc8b866a6fa \ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=35,server=on,wait=off \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=localtime \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device '{"driver":"pci-bridge","chassis_nr":1,"id":"pci.1","bus":"pci.0","addr":"0x2"}' \ -device '{"driver":"pci-bridge","chassis_nr":2,"id":"pci.2","bus":"pci.0","addr":"0x3"}' \ -device '{"driver":"pci-bridge","chassis_nr":3,"id":"pci.3","bus":"pci.0","addr":"0x6"}' \ -device '{"driver":"pci-bridge","chassis_nr":4,"id":"pci.4","bus":"pci.0","addr":"0x8"}' \ -device '{"driver":"pci-bridge","chassis_nr":5,"id":"pci.5","bus":"pci.0","addr":"0x9"}' \ -device '{"driver":"pci-bridge","chassis_nr":6,"id":"pci.6","bus":"pci.0","addr":"0xa"}' \ -device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pci.0","addr":"0x7.0x7"}' \ -device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pci.0","multifunction":true,"addr":"0x7"}' \ -device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pci.0","addr":"0x7.0x1"}' \ -device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pci.0","addr":"0x7.0x2"}' \ -device '{"driver":"ahci","id":"sata0","bus":"pci.0","addr":"0x4"}' \ -device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x5"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/domains/Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \ -device '{"driver":"virtio-blk-pci","bus":"pci.0","addr":"0xc","drive":"libvirt-3-format","id":"virtio-disk2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/Win10_22H2_English_x64v1.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.0","drive":"libvirt-2-format","id":"sata0-0-0","bootindex":2}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.240-1.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.1","drive":"libvirt-1-format","id":"sata0-0-1"}' \ -netdev tap,fd=36,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:73:76:08","bus":"pci.0","addr":"0xb"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=34,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -device '{"driver":"vfio-pci","host":"0000:00:02.2","id":"hostdev0","bus":"pci.6","addr":"0x10"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) 2024-02-20T22:30:25.723211Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T22:30:25.723258Z qemu-system-x86_64: vfio_dma_map(0x14a2a4c48800, 0x381800000000, 0x20000000, 0x14a282a00000) = -2 (No such file or directory) 2024-02-20T22:30:25.778823Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T22:30:25.778839Z qemu-system-x86_64: vfio_dma_map(0x14a2a4c48800, 0x381800000000, 0x20000000, 0x14a282a00000) = -22 (Invalid argument) 2024-02-20T22:30:27.473292Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T22:30:27.473349Z qemu-system-x86_64: vfio_dma_map(0x14a2a4c48800, 0x381800000000, 0x20000000, 0x14a282a00000) = -22 (Invalid argument) 2024-02-20T22:30:27.517960Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T22:30:27.518004Z qemu-system-x86_64: vfio_dma_map(0x14a2a4c48800, 0x381800000000, 0x20000000, 0x14a282a00000) = -22 (Invalid argument) 2024-02-20T22:30:27.591884Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T22:30:27.591939Z qemu-system-x86_64: vfio_dma_map(0x14a2a4c48800, 0x381800000000, 0x20000000, 0x14a282a00000) = -22 (Invalid argument) 2024-02-20T22:30:27.644339Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T22:30:27.644361Z qemu-system-x86_64: vfio_dma_map(0x14a2a4c48800, 0x381800000000, 0x20000000, 0x14a282a00000) = -22 (Invalid argument) 2024-02-20T22:30:29.429010Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T22:30:29.429040Z qemu-system-x86_64: vfio_dma_map(0x14a2a4c48800, 0x381800000000, 0x20000000, 0x14a282a00000) = -22 (Invalid argument) I'm just referring to the following lines from the Unraid Logs. I'm not a dev and have very little linux experience so my interpretation could be totally wrong, but I saw references to 02.0 but not 02.1 or 02.2: Feb 20 12:21:32 HAL9000 kernel: i915 0000:00:02.0: VF1 FLR Feb 20 12:21:58 HAL9000 kernel: i915 0000:00:02.0: VF2 FLR Feb 20 12:21:58 HAL9000 kernel: i915 0000:00:02.0: VF2 FLR Yes I have tried waiting at least 30 minutes but the VMs never recover. Thank you again for responding here! I was about to post in your support thread but you beat me to it!!! hal9000-diagnostics-20240220-1430.zip
-
qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument
No worries - thanks for helping with this!
-
qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument
Thanks so much for taking a look at this! I just checked BIOS and I had memory allocated to iGPU set to "Auto." I just changed it to the maximum allowed, which is 1024mb, but no joy. Same errors (see way below for the VM log errors). However, investigating my unraid log following your lead, it seems the VM is incorrectly attempting to use VF1 (02.0) despite me setting it to VF2 in (00:02.2) VM settings (see attached image). Here are what I think are the relevant Unraid logs starting from when I started the VM. Diagnostics also attached. Could this be an issue with how I setup the VM originally or a bug in how Unraid selects which VF to use? RELEVANT UNRAID LOGS FROM WHEN I STARTED VM: Feb 20 12:21:09 HAL9000 kernel: virbr0: port 1(vnet1) entered blocking state Feb 20 12:21:09 HAL9000 kernel: virbr0: port 1(vnet1) entered disabled state Feb 20 12:21:09 HAL9000 kernel: device vnet1 entered promiscuous mode Feb 20 12:21:09 HAL9000 kernel: virbr0: port 1(vnet1) entered blocking state Feb 20 12:21:09 HAL9000 kernel: virbr0: port 1(vnet1) entered listening state Feb 20 12:21:11 HAL9000 kernel: i915 0000:00:02.0: VF1 FLR Feb 20 12:21:11 HAL9000 kernel: i915 0000:00:02.0: VF1 FLR Feb 20 12:21:11 HAL9000 kernel: virbr0: port 1(vnet1) entered learning state Feb 20 12:21:12 HAL9000 kernel: kvm: vcpu 1: requested 180228 ns lapic timer period limited to 200000 ns Feb 20 12:21:12 HAL9000 kernel: kvm: vcpu 3: requested 180228 ns lapic timer period limited to 200000 ns Feb 20 12:21:12 HAL9000 kernel: kvm: vcpu 2: requested 180228 ns lapic timer period limited to 200000 ns Feb 20 12:21:12 HAL9000 kernel: kvm: vcpu 4: requested 180228 ns lapic timer period limited to 200000 ns Feb 20 12:21:12 HAL9000 kernel: kvm: vcpu 5: requested 180228 ns lapic timer period limited to 200000 ns Feb 20 12:21:12 HAL9000 kernel: kvm: vcpu 6: requested 180228 ns lapic timer period limited to 200000 ns Feb 20 12:21:13 HAL9000 kernel: virbr0: port 1(vnet1) entered forwarding state Feb 20 12:21:13 HAL9000 kernel: virbr0: topology change detected, propagating Feb 20 12:21:25 HAL9000 dnsmasq-dhcp[24945]: DHCPREQUEST(virbr0) 192.168.122.66 52:54:00:73:76:08 Feb 20 12:21:25 HAL9000 dnsmasq-dhcp[24945]: DHCPACK(virbr0) 192.168.122.66 52:54:00:73:76:08 DESKTOP-3DODJSO Feb 20 12:21:32 HAL9000 kernel: virbr0: port 1(vnet1) entered disabled state Feb 20 12:21:32 HAL9000 kernel: device vnet1 left promiscuous mode Feb 20 12:21:32 HAL9000 kernel: virbr0: port 1(vnet1) entered disabled state Feb 20 12:21:32 HAL9000 kernel: i915 0000:00:02.0: VF1 FLR Feb 20 12:21:56 HAL9000 kernel: virbr0: port 1(vnet2) entered blocking state Feb 20 12:21:56 HAL9000 kernel: virbr0: port 1(vnet2) entered disabled state Feb 20 12:21:56 HAL9000 kernel: device vnet2 entered promiscuous mode Feb 20 12:21:56 HAL9000 kernel: virbr0: port 1(vnet2) entered blocking state Feb 20 12:21:56 HAL9000 kernel: virbr0: port 1(vnet2) entered listening state Feb 20 12:21:58 HAL9000 kernel: i915 0000:00:02.0: VF2 FLR Feb 20 12:21:58 HAL9000 kernel: i915 0000:00:02.0: VF2 FLR Feb 20 12:21:59 HAL9000 kernel: virbr0: port 1(vnet2) entered learning state Feb 20 12:22:01 HAL9000 kernel: virbr0: port 1(vnet2) entered forwarding state Feb 20 12:22:01 HAL9000 kernel: virbr0: topology change detected, propagating Feb 20 12:22:13 HAL9000 dnsmasq-dhcp[24945]: DHCPDISCOVER(virbr0) 192.168.122.66 52:54:00:73:76:08 Feb 20 12:22:13 HAL9000 dnsmasq-dhcp[24945]: DHCPOFFER(virbr0) 192.168.122.66 52:54:00:73:76:08 Feb 20 12:22:13 HAL9000 dnsmasq-dhcp[24945]: DHCPREQUEST(virbr0) 192.168.122.66 52:54:00:73:76:08 Feb 20 12:22:13 HAL9000 dnsmasq-dhcp[24945]: DHCPACK(virbr0) 192.168.122.66 52:54:00:73:76:08 DESKTOP-3DODJSO Feb 20 12:24:05 HAL9000 kernel: x86/split lock detection: #AC: CPU 0/KVM/10686 took a split_lock trap at address: 0xfffff8022da42fb3 VM LOGS WITH SAME ERROR AS BEFORE: text error warn system array login 2024-02-20 20:13:29.205+0000: starting up libvirt version: 8.7.0, qemu version: 7.2.0, kernel: 6.1.64-Unraid, hostname: HAL9000 LC_ALL=C \ PATH=/bin:/sbin:/usr/bin:/usr/sbin \ HOME='/var/lib/libvirt/qemu/domain-1-Windows 10' \ XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-1-Windows 10/.local/share' \ XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-1-Windows 10/.cache' \ XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-1-Windows 10/.config' \ /usr/local/sbin/qemu \ -name 'guest=Windows 10,debug-threads=on' \ -S \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-Windows 10/master-key.aes"}' \ -blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \ -blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/9ff111d8-9ac0-34f8-4fdf-cbc8b866a6fa_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine pc-i440fx-7.2,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \ -accel kvm \ -cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \ -m 16384 \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":17179869184}' \ -overcommit mem-lock=off \ -smp 8,sockets=1,dies=1,cores=4,threads=2 \ -uuid 9ff111d8-9ac0-34f8-4fdf-cbc8b866a6fa \ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=35,server=on,wait=off \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=localtime \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device '{"driver":"pci-bridge","chassis_nr":1,"id":"pci.1","bus":"pci.0","addr":"0x3"}' \ -device '{"driver":"pci-bridge","chassis_nr":2,"id":"pci.2","bus":"pci.0","addr":"0x6"}' \ -device '{"driver":"pci-bridge","chassis_nr":3,"id":"pci.3","bus":"pci.0","addr":"0xb"}' \ -device '{"driver":"pci-bridge","chassis_nr":4,"id":"pci.4","bus":"pci.0","addr":"0x8"}' \ -device '{"driver":"pci-bridge","chassis_nr":5,"id":"pci.5","bus":"pci.0","addr":"0x9"}' \ -device '{"driver":"pci-bridge","chassis_nr":6,"id":"pci.6","bus":"pci.0","addr":"0xa"}' \ -device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pci.0","addr":"0x7.0x7"}' \ -device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pci.0","multifunction":true,"addr":"0x7"}' \ -device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pci.0","addr":"0x7.0x1"}' \ -device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pci.0","addr":"0x7.0x2"}' \ -device '{"driver":"ahci","id":"sata0","bus":"pci.0","addr":"0x4"}' \ -device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x5"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/domains/Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \ -device '{"driver":"virtio-blk-pci","bus":"pci.0","addr":"0xc","drive":"libvirt-3-format","id":"virtio-disk2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/Win10_22H2_English_x64v1.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.0","drive":"libvirt-2-format","id":"sata0-0-0","bootindex":2}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.240-1.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.1","drive":"libvirt-1-format","id":"sata0-0-1"}' \ -netdev tap,fd=36,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:73:76:08","bus":"pci.0","addr":"0x2"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=34,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -device '{"driver":"vfio-pci","host":"0000:00:02.1","id":"hostdev0","bus":"pci.6","addr":"0x10"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) 2024-02-20T20:13:31.598676Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T20:13:31.598726Z qemu-system-x86_64: vfio_dma_map(0x1533b5448800, 0x381000000000, 0x20000000, 0x153393200000) = -2 (No such file or directory) 2024-02-20T20:13:31.649529Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T20:13:31.649545Z qemu-system-x86_64: vfio_dma_map(0x1533b5448800, 0x381000000000, 0x20000000, 0x153393200000) = -22 (Invalid argument) 2024-02-20T20:13:36.144856Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T20:13:36.144938Z qemu-system-x86_64: vfio_dma_map(0x1533b5448800, 0x381000000000, 0x20000000, 0x153393200000) = -22 (Invalid argument) 2024-02-20T20:13:36.197494Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T20:13:36.197533Z qemu-system-x86_64: vfio_dma_map(0x1533b5448800, 0x381000000000, 0x20000000, 0x153393200000) = -22 (Invalid argument) 2024-02-20T20:13:36.252206Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T20:13:36.252249Z qemu-system-x86_64: vfio_dma_map(0x1533b5448800, 0x381000000000, 0x20000000, 0x153393200000) = -22 (Invalid argument) 2024-02-20T20:13:36.283888Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T20:13:36.283912Z qemu-system-x86_64: vfio_dma_map(0x1533b5448800, 0x381000000000, 0x20000000, 0x153393200000) = -22 (Invalid argument) 2024-02-20T20:13:38.413536Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T20:13:38.413555Z qemu-system-x86_64: vfio_dma_map(0x1533b5448800, 0x381000000000, 0x20000000, 0x153393200000) = -22 (Invalid argument) hal9000-diagnostics-20240220-1224.zip
-
qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument
Ok I installed the edk2 firmware from 6.11.5 as directed above, however I am still getting the same VFIO_MAP_DMA errors. I've attached my diagnostics but the basic situation is I have a 12600k and am trying to pass through the iGPU to a windows 10 VM. I am using the SR-IOV plug in currently under development here. The author of that plug in has said the issue is not related to SR-IOV. text error warn system array login 2024-02-20T05:20:41.404687Z qemu-system-x86_64: vfio_dma_map(0x1483cec48800, 0x381000000000, 0x20000000, 0x1483aca00000) = -22 (Invalid argument) 2024-02-20T05:20:42.966784Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:20:42.966833Z qemu-system-x86_64: vfio_dma_map(0x1483cec48800, 0x381000000000, 0x20000000, 0x1483aca00000) = -22 (Invalid argument) 2024-02-20T05:20:43.017611Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:20:43.017651Z qemu-system-x86_64: vfio_dma_map(0x1483cec48800, 0x381000000000, 0x20000000, 0x1483aca00000) = -22 (Invalid argument) 2024-02-20T05:20:43.072592Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:20:43.072615Z qemu-system-x86_64: vfio_dma_map(0x1483cec48800, 0x381000000000, 0x20000000, 0x1483aca00000) = -22 (Invalid argument) 2024-02-20T05:20:43.108840Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:20:43.108863Z qemu-system-x86_64: vfio_dma_map(0x1483cec48800, 0x381000000000, 0x20000000, 0x1483aca00000) = -22 (Invalid argument) 2024-02-20T05:20:44.578237Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:20:44.578261Z qemu-system-x86_64: vfio_dma_map(0x1483cec48800, 0x381000000000, 0x20000000, 0x1483aca00000) = -22 (Invalid argument) 2024-02-20T05:21:43.977750Z qemu-system-x86_64: terminating on signal 15 from pid 18602 (/usr/sbin/libvirtd) 2024-02-20 05:21:44.402+0000: shutting down, reason=shutdown 2024-02-20 17:53:18.103+0000: starting up libvirt version: 8.7.0, qemu version: 7.2.0, kernel: 6.1.64-Unraid, hostname: HAL9000 LC_ALL=C \ PATH=/bin:/sbin:/usr/bin:/usr/sbin \ HOME='/var/lib/libvirt/qemu/domain-8-Windows 10' \ XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-8-Windows 10/.local/share' \ XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-8-Windows 10/.cache' \ XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-8-Windows 10/.config' \ /usr/local/sbin/qemu \ -name 'guest=Windows 10,debug-threads=on' \ -S \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-8-Windows 10/master-key.aes"}' \ -blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \ -blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/9ff111d8-9ac0-34f8-4fdf-cbc8b866a6fa_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine pc-i440fx-7.2,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \ -accel kvm \ -cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \ -m 16384 \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":17179869184}' \ -overcommit mem-lock=off \ -smp 8,sockets=1,dies=1,cores=4,threads=2 \ -uuid 9ff111d8-9ac0-34f8-4fdf-cbc8b866a6fa \ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=35,server=on,wait=off \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=localtime \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device '{"driver":"pci-bridge","chassis_nr":1,"id":"pci.1","bus":"pci.0","addr":"0x3"}' \ -device '{"driver":"pci-bridge","chassis_nr":2,"id":"pci.2","bus":"pci.0","addr":"0x6"}' \ -device '{"driver":"pci-bridge","chassis_nr":3,"id":"pci.3","bus":"pci.0","addr":"0xb"}' \ -device '{"driver":"pci-bridge","chassis_nr":4,"id":"pci.4","bus":"pci.0","addr":"0x8"}' \ -device '{"driver":"pci-bridge","chassis_nr":5,"id":"pci.5","bus":"pci.0","addr":"0x9"}' \ -device '{"driver":"pci-bridge","chassis_nr":6,"id":"pci.6","bus":"pci.0","addr":"0xa"}' \ -device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pci.0","addr":"0x7.0x7"}' \ -device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pci.0","multifunction":true,"addr":"0x7"}' \ -device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pci.0","addr":"0x7.0x1"}' \ -device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pci.0","addr":"0x7.0x2"}' \ -device '{"driver":"ahci","id":"sata0","bus":"pci.0","addr":"0x4"}' \ -device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x5"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/domains/Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \ -device '{"driver":"virtio-blk-pci","bus":"pci.0","addr":"0xc","drive":"libvirt-3-format","id":"virtio-disk2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/Win10_22H2_English_x64v1.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.0","drive":"libvirt-2-format","id":"sata0-0-0","bootindex":2}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.240-1.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.1","drive":"libvirt-1-format","id":"sata0-0-1"}' \ -netdev tap,fd=36,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:73:76:08","bus":"pci.0","addr":"0x2"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=34,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -device '{"driver":"vfio-pci","host":"0000:00:02.1","id":"hostdev0","bus":"pci.6","addr":"0x10"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) 2024-02-20T17:54:01.680257Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T17:54:01.687495Z qemu-system-x86_64: vfio_dma_map(0x14f69d048800, 0x381000000000, 0x20000000, 0x14f67ae00000) = -2 (No such file or directory) 2024-02-20T17:54:01.745119Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T17:54:01.745135Z qemu-system-x86_64: vfio_dma_map(0x14f69d048800, 0x381000000000, 0x20000000, 0x14f67ae00000) = -22 (Invalid argument) 2024-02-20T17:54:03.650076Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T17:54:03.650107Z qemu-system-x86_64: vfio_dma_map(0x14f69d048800, 0x381000000000, 0x20000000, 0x14f67ae00000) = -22 (Invalid argument) 2024-02-20T17:54:03.679258Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T17:54:03.679274Z qemu-system-x86_64: vfio_dma_map(0x14f69d048800, 0x381000000000, 0x20000000, 0x14f67ae00000) = -22 (Invalid argument) 2024-02-20T17:54:03.732239Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T17:54:03.732283Z qemu-system-x86_64: vfio_dma_map(0x14f69d048800, 0x381000000000, 0x20000000, 0x14f67ae00000) = -22 (Invalid argument) 2024-02-20T17:54:03.764302Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T17:54:03.764316Z qemu-system-x86_64: vfio_dma_map(0x14f69d048800, 0x381000000000, 0x20000000, 0x14f67ae00000) = -22 (Invalid argument) 2024-02-20T17:54:05.426380Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T17:54:05.426401Z qemu-system-x86_64: vfio_dma_map(0x14f69d048800, 0x381000000000, 0x20000000, 0x14f67ae00000) = -22 (Invalid argument) hal9000-diagnostics-20240220-0955.zip
-
[PLUGIN] Intel iGPU SR-IOV - Support Page
I stopped binding the sound card at startup (tools>system devices) and set Sound Card to "none" in VM settings. But still getting the same error "VFIO_MAP_DMA failed". text error warn system array login -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.240-1.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.1","drive":"libvirt-1-format","id":"sata0-0-1"}' \ -netdev tap,fd=36,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:73:76:08","bus":"pci.0","addr":"0xc"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=34,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -vnc 0.0.0.0:0,websocket=5700,audiodev=audio1 \ -k en-us \ -device '{"driver":"qxl-vga","id":"video0","max_outputs":1,"ram_size":67108864,"vram_size":67108864,"vram64_size_mb":0,"vgamem_mb":16,"bus":"pci.0","addr":"0x2"}' \ -device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","addr":"0xe"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) qxl_send_events: spice-server bug: guest stopped, ignoring 2024-02-20T05:13:29.846302Z qemu-system-x86_64: terminating on signal 15 from pid 18602 (/usr/sbin/libvirtd) 2024-02-20 05:13:30.271+0000: shutting down, reason=shutdown 2024-02-20 05:14:00.278+0000: starting up libvirt version: 8.7.0, qemu version: 7.2.0, kernel: 6.1.64-Unraid, hostname: HAL9000 LC_ALL=C \ PATH=/bin:/sbin:/usr/bin:/usr/sbin \ HOME='/var/lib/libvirt/qemu/domain-6-Windows 10' \ XDG_DATA_HOME='/var/lib/libvirt/qemu/domain-6-Windows 10/.local/share' \ XDG_CACHE_HOME='/var/lib/libvirt/qemu/domain-6-Windows 10/.cache' \ XDG_CONFIG_HOME='/var/lib/libvirt/qemu/domain-6-Windows 10/.config' \ /usr/local/sbin/qemu \ -name 'guest=Windows 10,debug-threads=on' \ -S \ -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-6-Windows 10/master-key.aes"}' \ -blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \ -blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/9ff111d8-9ac0-34f8-4fdf-cbc8b866a6fa_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine pc-i440fx-7.2,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \ -accel kvm \ -cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \ -m 16384 \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":17179869184}' \ -overcommit mem-lock=off \ -smp 8,sockets=1,dies=1,cores=4,threads=2 \ -uuid 9ff111d8-9ac0-34f8-4fdf-cbc8b866a6fa \ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=35,server=on,wait=off \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=localtime \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device '{"driver":"pci-bridge","chassis_nr":1,"id":"pci.1","bus":"pci.0","addr":"0x3"}' \ -device '{"driver":"pci-bridge","chassis_nr":2,"id":"pci.2","bus":"pci.0","addr":"0x6"}' \ -device '{"driver":"pci-bridge","chassis_nr":3,"id":"pci.3","bus":"pci.0","addr":"0xb"}' \ -device '{"driver":"pci-bridge","chassis_nr":4,"id":"pci.4","bus":"pci.0","addr":"0x8"}' \ -device '{"driver":"pci-bridge","chassis_nr":5,"id":"pci.5","bus":"pci.0","addr":"0x9"}' \ -device '{"driver":"pci-bridge","chassis_nr":6,"id":"pci.6","bus":"pci.0","addr":"0xa"}' \ -device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pci.0","addr":"0x7.0x7"}' \ -device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pci.0","multifunction":true,"addr":"0x7"}' \ -device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pci.0","addr":"0x7.0x1"}' \ -device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pci.0","addr":"0x7.0x2"}' \ -device '{"driver":"ahci","id":"sata0","bus":"pci.0","addr":"0x4"}' \ -device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x5"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/domains/Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \ -device '{"driver":"virtio-blk-pci","bus":"pci.0","addr":"0xc","drive":"libvirt-3-format","id":"virtio-disk2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/Win10_22H2_English_x64v1.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.0","drive":"libvirt-2-format","id":"sata0-0-0","bootindex":2}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.240-1.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.1","drive":"libvirt-1-format","id":"sata0-0-1"}' \ -netdev tap,fd=36,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:73:76:08","bus":"pci.0","addr":"0x2"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=34,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -device '{"driver":"vfio-pci","host":"0000:00:02.1","id":"hostdev0","bus":"pci.6","addr":"0x10"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) 2024-02-20T05:14:06.722207Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:06.722263Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -2 (No such file or directory) 2024-02-20T05:14:06.774309Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:06.774325Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -22 (Invalid argument) 2024-02-20T05:14:43.108555Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:43.108571Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -22 (Invalid argument) 2024-02-20T05:14:46.343716Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:46.343732Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -22 (Invalid argument) 2024-02-20T05:14:46.398145Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:46.398160Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -22 (Invalid argument) 2024-02-20T05:14:48.175406Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:48.175432Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -22 (Invalid argument) 2024-02-20T05:14:48.203421Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:48.203440Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -22 (Invalid argument) 2024-02-20T05:14:48.249706Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:48.249734Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -22 (Invalid argument) 2024-02-20T05:14:48.276368Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:48.276391Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -22 (Invalid argument) 2024-02-20T05:14:50.563239Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-20T05:14:50.563261Z qemu-system-x86_64: vfio_dma_map(0x14c7a0048800, 0x381000000000, 0x20000000, 0x14c77de00000) = -22 (Invalid argument)
-
Terminal/Logs Popup Windows Instantly Closing
Weirdly this went away when I restarted my mac laptop. No idea why restarting the client (not the server) would affect this, but glad it's resolved!! Hope this helps someone else!
-
[PLUGIN] Intel iGPU SR-IOV - Support Page
I can confirm that cycle arrow icon is NOT visible next to my intel audio controller. I've attached my full IOMMU groups. I'll try not binding the audio device at startup and also not passing through a sound card. I don't need audio on the vm. thanks for the quick reply!
-
[PLUGIN] Intel iGPU SR-IOV - Support Page
Hello! Thank you for continuing to work on this! I would hugely appreciate any help you may be able to offer here. With the recent Wyze security breach I really want to switch to blueiris and want to be able to pass my igpu through to a windows vm. I removed the old plugin and reinstalled your new one but am getting the exact same VFIO_dma_map errors: 1. I am able to successfully get the 2 VFs (02.1 and 02.2) to show up in settings > system devices in their own IOMMU groups and bind them to VFIO at boot in Tools > System Devices. 2. The alder lake sound card cannot be separated into its own IOMMU group for my motherboard, so it's in a group with the ISA bridge, SMBus, and Serial Bus. 3. I double checked that the drive my domains folder is in still has plenty of space (another person with the VFIO_dma_map error encountered this) 4. I thought the error might have something to do with me disabling the sound card in UEFI, but I re-enabled audio and got the same error. 5. I also tried enabling & disabling multi-monitor igpu setting in UEFI and it had no effect. For anyone else having trouble getting the new VFs to show up make sure you haven't bound the primary VF 02.0 to VFIO at boot as this will prevent the new VFs from showing up. I'm posting the full VM log here along with my diagnostics in case anyone might be able to help: -object '{"qom-type":"secret","id":"masterKey0","format":"raw","file":"/var/lib/libvirt/qemu/domain-1-Windows 10/master-key.aes"}' \ -blockdev '{"driver":"file","filename":"/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd","node-name":"libvirt-pflash0-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash0-format","read-only":true,"driver":"raw","file":"libvirt-pflash0-storage"}' \ -blockdev '{"driver":"file","filename":"/etc/libvirt/qemu/nvram/[removed]_VARS-pure-efi.fd","node-name":"libvirt-pflash1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-pflash1-format","read-only":false,"driver":"raw","file":"libvirt-pflash1-storage"}' \ -machine pc-i440fx-7.2,usb=off,dump-guest-core=off,mem-merge=off,memory-backend=pc.ram,pflash0=libvirt-pflash0-format,pflash1=libvirt-pflash1-format \ -accel kvm \ -cpu host,migratable=on,hv-time=on,hv-relaxed=on,hv-vapic=on,hv-spinlocks=0x1fff,hv-vendor-id=none,host-cache-info=on,l3-cache=off \ -m 16384 \ -object '{"qom-type":"memory-backend-ram","id":"pc.ram","size":17179869184}' \ -overcommit mem-lock=off \ -smp 8,sockets=1,dies=1,cores=4,threads=2 \ -uuid [removed]\ -display none \ -no-user-config \ -nodefaults \ -chardev socket,id=charmonitor,fd=35,server=on,wait=off \ -mon chardev=charmonitor,id=monitor,mode=control \ -rtc base=localtime \ -no-hpet \ -no-shutdown \ -boot strict=on \ -device '{"driver":"pci-bridge","chassis_nr":1,"id":"pci.1","bus":"pci.0","addr":"0x2"}' \ -device '{"driver":"pci-bridge","chassis_nr":2,"id":"pci.2","bus":"pci.0","addr":"0x3"}' \ -device '{"driver":"pci-bridge","chassis_nr":3,"id":"pci.3","bus":"pci.0","addr":"0x6"}' \ -device '{"driver":"pci-bridge","chassis_nr":4,"id":"pci.4","bus":"pci.0","addr":"0x8"}' \ -device '{"driver":"pci-bridge","chassis_nr":5,"id":"pci.5","bus":"pci.0","addr":"0x9"}' \ -device '{"driver":"pci-bridge","chassis_nr":6,"id":"pci.6","bus":"pci.0","addr":"0xa"}' \ -device '{"driver":"ich9-usb-ehci1","id":"usb","bus":"pci.0","addr":"0x7.0x7"}' \ -device '{"driver":"ich9-usb-uhci1","masterbus":"usb.0","firstport":0,"bus":"pci.0","multifunction":true,"addr":"0x7"}' \ -device '{"driver":"ich9-usb-uhci2","masterbus":"usb.0","firstport":2,"bus":"pci.0","addr":"0x7.0x1"}' \ -device '{"driver":"ich9-usb-uhci3","masterbus":"usb.0","firstport":4,"bus":"pci.0","addr":"0x7.0x2"}' \ -device '{"driver":"ahci","id":"sata0","bus":"pci.0","addr":"0x4"}' \ -device '{"driver":"virtio-serial-pci","id":"virtio-serial0","bus":"pci.0","addr":"0x5"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/domains/Windows 10/vdisk1.img","node-name":"libvirt-3-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-3-format","read-only":false,"cache":{"direct":false,"no-flush":false},"driver":"raw","file":"libvirt-3-storage"}' \ -device '{"driver":"virtio-blk-pci","bus":"pci.0","addr":"0xc","drive":"libvirt-3-format","id":"virtio-disk2","bootindex":1,"write-cache":"on","serial":"vdisk1"}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/Win10_22H2_English_x64v1.iso","node-name":"libvirt-2-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-2-format","read-only":true,"driver":"raw","file":"libvirt-2-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.0","drive":"libvirt-2-format","id":"sata0-0-0","bootindex":2}' \ -blockdev '{"driver":"file","filename":"/mnt/user/isos/virtio-win-0.1.240-1.iso","node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \ -blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \ -device '{"driver":"ide-cd","bus":"sata0.1","drive":"libvirt-1-format","id":"sata0-0-1"}' \ -netdev tap,fd=36,id=hostnet0 \ -device '{"driver":"virtio-net","netdev":"hostnet0","id":"net0","mac":"52:54:00:73:76:08","bus":"pci.0","addr":"0xb"}' \ -chardev pty,id=charserial0 \ -device '{"driver":"isa-serial","chardev":"charserial0","id":"serial0","index":0}' \ -chardev socket,id=charchannel0,fd=34,server=on,wait=off \ -device '{"driver":"virtserialport","bus":"virtio-serial0.0","nr":1,"chardev":"charchannel0","id":"channel0","name":"org.qemu.guest_agent.0"}' \ -device '{"driver":"usb-tablet","id":"input0","bus":"usb.0","port":"1"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -device '{"driver":"vfio-pci","host":"0000:00:02.2","id":"hostdev0","bus":"pci.6","addr":"0x10"}' \ -device '{"driver":"vfio-pci","host":"0000:00:1f.3","id":"hostdev1","bus":"pci.0","addr":"0xd"}' \ -sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \ -msg timestamp=on char device redirected to /dev/pts/0 (label charserial0) 2024-02-06T08:45:42.252270Z qemu-system-x86_64: vfio: Cannot reset device 0000:00:1f.3, no available reset mechanism. 2024-02-06T08:45:42.256264Z qemu-system-x86_64: vfio: Cannot reset device 0000:00:1f.3, no available reset mechanism. 2024-02-06T08:45:42.755580Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:42.755597Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x38200010c000, 0x4000, 0x147a2884a000) = -22 (Invalid argument) 2024-02-06T08:45:42.755679Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:42.755682Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x382000000000, 0x100000, 0x1476252ff000) = -22 (Invalid argument) 2024-02-06T08:45:42.761136Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:42.761146Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x381800000000, 0x20000000, 0x1475fec00000) = -22 (Invalid argument) 2024-02-06T08:45:42.762136Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:42.762143Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x38200010c000, 0x4000, 0x147a2884a000) = -22 (Invalid argument) 2024-02-06T08:45:42.762282Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:42.762286Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x382000000000, 0x100000, 0x1476252ff000) = -22 (Invalid argument) 2024-02-06T08:45:42.811477Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:42.811492Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x381800000000, 0x20000000, 0x1475fec00000) = -22 (Invalid argument) 2024-02-06T08:45:42.814038Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:42.814046Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x38200010c000, 0x4000, 0x147a2884a000) = -22 (Invalid argument) 2024-02-06T08:45:42.814165Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:42.814169Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x382000000000, 0x100000, 0x1476252ff000) = -22 (Invalid argument) 2024-02-06T08:45:44.531401Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:44.531442Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x381800000000, 0x20000000, 0x1475fec00000) = -22 (Invalid argument) 2024-02-06T08:45:44.533997Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:44.534011Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x38200010c000, 0x4000, 0x147a2884a000) = -22 (Invalid argument) 2024-02-06T08:45:44.534318Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:44.534323Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x382000000000, 0x100000, 0x1476252ff000) = -22 (Invalid argument) 2024-02-06T08:45:44.577147Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:44.577193Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x381800000000, 0x20000000, 0x1475fec00000) = -22 (Invalid argument) 2024-02-06T08:45:44.584370Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:44.584398Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x38200010c000, 0x4000, 0x147a2884a000) = -22 (Invalid argument) 2024-02-06T08:45:44.584584Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:44.584590Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x382000000000, 0x100000, 0x1476252ff000) = -22 (Invalid argument) 2024-02-06T08:45:44.635492Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:44.635553Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x381800000000, 0x20000000, 0x1475fec00000) = -22 (Invalid argument) 2024-02-06T08:45:44.677263Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:44.677285Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x381800000000, 0x20000000, 0x1475fec00000) = -22 (Invalid argument) 2024-02-06T08:45:46.544729Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:46.544760Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x381800000000, 0x20000000, 0x1475fec00000) = -22 (Invalid argument) 2024-02-06T08:45:46.583933Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:46.583951Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x38200010c000, 0x4000, 0x147a2884a000) = -22 (Invalid argument) 2024-02-06T08:45:46.584150Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:46.584156Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x382000000000, 0x100000, 0x1476252ff000) = -22 (Invalid argument) 2024-02-06T08:45:57.747577Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:57.747600Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x38200010c000, 0x4000, 0x147a2884a000) = -22 (Invalid argument) 2024-02-06T08:45:57.747862Z qemu-system-x86_64: VFIO_MAP_DMA failed: Invalid argument 2024-02-06T08:45:57.747872Z qemu-system-x86_64: vfio_dma_map(0x147620e48800, 0x382000000000, 0x100000, 0x1476252ff000) = -22 (Invalid argument) hal9000-diagnostics-20240206-0053.zip
-
Terminal/Logs Popup Windows Instantly Closing
Anyone else have any ideas on this one? I would immensely appreciate any help!! From Safari, the window actually has something in it: "reconnecting" which blinks rapidly:
-
Terminal/Logs Popup Windows Instantly Closing
I do but in have disabled them and no luck in chrome, edge or safari. I also added my server URL (both hal9000.local and the IP address) to Chrome's white list for allowing popups and still no joy.