Return to Level1Techs.com

GPU passthrough & Kernel updates


#1

Hi guys,
I’m pretty new to gpu passthrough and just got a running system with Fedora 29 / Windows 10.
Now I’ve a question regarding kernel updates:
Is there any specific procedure I’ve to do, to make my VM usable again after an kernel update?
Yesterday I updated to 4.20.14 and my VM wouldn’t start. I can’t remember the errormessage unfortunately.
My very first attempt in solving this problem in an earlier kernel update was to try following two steps:

dracut --add-drivers "vfio vfio-pci vfio_iommu_type1" -f
grub2-mkconfig > /etc/grub2-efi.cfg

For me it worked again after that.
But for my latest two Kernel-Updates this isn’t working

I’ve three kernels now:
4.20.10: only working Kernel
4.20.13: last thing while booting is showing the Fedora-Logo right before loading the UI
4.20.14: same as above

I really don’t know how to handle this for feature Kernel-Updates. Would really apprecheate any help!


#2

Hey, so I just updated to 4.20.16 and my only working kernel disappeared…
After starting the VM I’m getting this error:

Screenshot%20from%202019-03-19%2020-10-56
And from Virtual Machine Manager I’m getting this Error-Message:

Error starting domain: Cannot recv data: Connection reset by peer
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/lib64/python3.7/site-packages/libvirt.py", line 1080, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirt.libvirtError: Cannot recv data: Connection reset by peer

I really hope someone can help my - I can’t use my VM anymore and really don’t know what to do.