LoneStarfish
Cadet
- Joined
- Sep 4, 2022
- Messages
- 4
I'm trying to get a VM up and running but having difficulty with passing through my USB controller. I finally got it separated out to a IOMMU group where it's all alone, however I now get a new error:
I have no idea what to make of it and haven't been able to resolve with any of my googling and guide reading.
The system I'm on is an old Dell T7400 (Xeon E5430) that should be fully capable of virtualization, and I've made sure to enable all of the virtualization features in the bios. Running TrueNAS-SCALE-22.02.3
As always, I'm sure I've left things out so let me know if there are any other specs or info you'd like me to get. Thanks in advance to any of you kind folk that may help out
Code:
Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/supervisor/supervisor_base.py", line 165, in start if self.domain.create() < 0: File "/usr/lib/python3/dist-packages/libvirt.py", line 1353, in create raise libvirtError('virDomainCreate() failed') libvirt.libvirtError: internal error: process exited while connecting to monitor: 2022-09-04T22:23:30.894130Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.0,id=hostdev0,bus=pci.0,addr=0x7: vfio 0000:02:00.0: failed to setup container for group 2: Failed to set iommu for container: Operation not permitted During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 176, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1293, in _call return await methodobj(*prepared_call.args) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1272, in nf return await func(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/schema.py", line 1140, in nf res = await f(*args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_lifecycle.py", line 39, in start await self.middleware.run_in_thread(self._start, vm['name']) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1208, in run_in_thread return await self.run_in_executor(self.thread_pool_executor, method, *args, **kwargs) File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1205, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/vm_supervisor.py", line 62, in _start self.vms[vm_name].start(vm_data=self._vm_from_name(vm_name)) File "/usr/lib/python3/dist-packages/middlewared/plugins/vm/supervisor/supervisor_base.py", line 174, in start raise CallError('\n'.join(errors)) middlewared.service_exception.CallError: [EFAULT] internal error: process exited while connecting to monitor: 2022-09-04T22:23:30.894130Z qemu-system-x86_64: -device vfio-pci,host=0000:02:00.0,id=hostdev0,bus=pci.0,addr=0x7: vfio 0000:02:00.0: failed to setup container for group 2: Failed to set iommu for container: Operation not permitted
I have no idea what to make of it and haven't been able to resolve with any of my googling and guide reading.
The system I'm on is an old Dell T7400 (Xeon E5430) that should be fully capable of virtualization, and I've made sure to enable all of the virtualization features in the bios. Running TrueNAS-SCALE-22.02.3
As always, I'm sure I've left things out so let me know if there are any other specs or info you'd like me to get. Thanks in advance to any of you kind folk that may help out