Hi, I had Whonix working until I updated and I didn’t change anything so I’m confused as to why this is happening. I’m using Arch Linux, kernel 5.0.2 and my libvirt version is 5.1.0-1.
Any help or tips are appreciated because I’m pretty lost.
The full error log:
Error starting domain: Unable to write to ‘/sys/fs/cgroup/blkio/machine.slice/machine-qemu\x2d3\x2dWhonix\x2dWorkstation.scope/blkio.weight’: No such file or directory
Traceback (most recent call last):
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 75, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/asyncjob.py”, line 111, in tmpcb
callback(*args, **kwargs)
File “/usr/share/virt-manager/virtManager/libvirtobject.py”, line 66, in newfn
ret = fn(self, *args, **kwargs)
File “/usr/share/virt-manager/virtManager/domain.py”, line 1420, in startup
self._backend.create()
File “/usr/lib/python3.7/site-packages/libvirt.py”, line 1080, in create
if ret == -1: raise libvirtError (‘virDomainCreate() failed’, dom=self)
libvirt.libvirtError: Unable to write to ‘/sys/fs/cgroup/blkio/machine.slice/machine-qemu\x2d3\x2dWhonix\x2dWorkstation.scope/blkio.weight’: No such file or directory
EDIT: Every other virtual machine I have is working fine it’s just Whonix I’m having issues with.
I saw that post but their error isn’t the same as mine. They’re similar in that they both happened after upgrading I didn’t see why that’d be the same issue.
and at the end it specifically says to follow those steps if i have the same error.
Hello. This seems to be a bug in the underlying code and not widely reported. I recommend you downgrade to the last working version if possible and to report this to upstream libvirt bugtracker.
Hi, I have same issue. I downgraded libvirt to 4.9.0-2 but similar error occurred:
601: error : virCgroupSetValueStr:480 : Unable to write to ‘/sys/fs/cgroup/blkio/machine.slice/machine-qemu\x2d1\x2dWhonix\x2dGateway.scope/blkio.weight’: No such file or directory
I tried to determine a suspicious package upgrade by seeing /var/log/pacman.log but it was difficult due to too many upgrades
Most suspicious one would be:
[2019-03-18 14:19] [ALPM] upgraded linux (4.20.3.arch1-1 -> 5.0.2.arch1-1)
It’s obvious blkio.c is missing on Arch for some reason and causes a VM relying on this feature to fail. If you confirm it working I’ll add to the workarounds section on the wiki.