December 16, 20232 yr Hi everyone, I'm hoping for some help, as I can't seem to figure out why my Ubuntu VM constantly crashed. I'm speculating overheating of the NVMe drives but I can't really trace it down. I've got a VM that has 2 USB 3.0 PCIe cards passed through to it and a NVIDIA RTX gpu. All seemed to work until recently... Will try to upgrade Unraid right now and see if that may help. The hardware I'm running is a HP Z840 Workstation with 512GB RAM. Cheers! super-diagnostics-20231216-1135.zip
December 17, 20232 yr Community Expert 1 hour ago, theunraidhomeuser said: Hi, if anyone has idea… thanks! If you are not using virtiofs I would remove memfd and shared lines from the XML or update to 6.12.6 which has a newer QEMU version(7.2). There is an issue with VMs locking up normally Windows if this is enabled on QEMU 7.1 <memoryBacking> <nosharepages/> <source type="memfd"/> <access mode="shared"/> </memoryBacking>
December 17, 20232 yr Author 17 minutes ago, SimonF said: If you are not using virtiofs I would remove memfd and shared lines from the XML or update to 6.12.6 which has a newer QEMU version(7.2). There is an issue with VMs locking up normally Windows if this is enabled on QEMU 7.1 <memoryBacking> <nosharepages/> <source type="memfd"/> <access mode="shared"/> </memoryBacking> Hi and thanks for your help. I just updated to 6.12.6 last night and changed the QEMU version to 7.2. Worth mentioning, I never had this issue before, I was running UNRAID with an ubuntu VM for over 2 years, rock-solid. Recently, I changed the scope of the VM, adding to PCI-E USB 3.0 cards and a passthrough GPU. Since, then, I feel that I'm "overwhelming" the VM somehow, resulting in it to freeze. Log files don't really reveal what's going on (or I can't see it). Attached the latest diags. I'm also getting a "Machine error" in the Fix Common Problems plugin all of a sudden, not sure where that is coming from and don't know where to find the mcelog output... Appreciate your thoughts to trouble-shoot, am a bit lost TBH... super-diagnostics-20231217-1237.zip
December 17, 20232 yr Author 32 minutes ago, SimonF said: If you are not using virtiofs oh yes, I am using it. Was using the unraid 9p thing but it's so damn slow to read-write that I switched to virtiofs which seems a lot quicker. Do you suspect this could be a cause? I always used the 9P mode in the past but had much less need for good throughput... I might try out 9p if you think that could be a reason but would love to understand why that would be the case (and in that case, maybe try and address the root cause).
December 17, 20232 yr Community Expert 55 minutes ago, theunraidhomeuser said: oh yes, I am using it. Was using the unraid 9p thing but it's so damn slow to read-write that I switched to virtiofs which seems a lot quicker. Do you suspect this could be a cause? I always used the 9P mode in the past but had much less need for good throughput... I might try out 9p if you think that could be a reason but would love to understand why that would be the case (and in that case, maybe try and address the root cause). There is a newer version of the virtiofsd which has to be used for QEMU 8 onwards so will be in the next release Unraid release. You can download the rust version from here https://gitlab.com/virtio-fs/virtiofsd/-/releases/v1.8.0 and copy to here root@computenode:~# which virtiofsd /usr/bin/virtiofsd root@computenode:~# Note it will not survive a host reboot. There are lots of btrfs errors on your system also. Are you overclocking cpu or memory?
December 17, 20232 yr Author 43 minutes ago, SimonF said: There is a newer version of the virtiofsd which has to be used for QEMU 8 onwards so will be in the next release Unraid release. You can download the rust version from here https://gitlab.com/virtio-fs/virtiofsd/-/releases/v1.8.0 and copy to here root@computenode:~# which virtiofsd /usr/bin/virtiofsd root@computenode:~# Note it will not survive a host reboot. There are lots of btrfs errors on your system also. Are you overclocking cpu or memory? thanks for the suggestion, I might try that. Regarding btrfs errors: no, but I think it’s linked to the drives I’m passing through virtiofs, as I created a pool in unraid to pass through, and it’s formatted with btrfs. I’m thinking of undoing that and passing through the 2 sata drives with UAD to the VM directly, and then potentially creating a raid0 as I want to leverage higher speed. keep you posted! Thanks!
December 23, 20232 yr Author Solution I think I found the issue, created a separate thread for it so easier to find..
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.