Ich hoffe man kann mir hier weiterhelfen, ich bin für jeden Tipp dankbar!
Es geht um meinen Home-Server. Der lief bis letzte Woche noch unter Debian Wheezy als Host BS und KVM/Qemu als Virtualisierung. Der Digital Devices GmbH Cine S2 V6 DVB Adapter wurde mittels passthrough an eine VM durchgereicht, in der MythtTV als Backend läuft. Das ganze hat sehr gut und ohne Probleme funktioniert. (Als Kernel musste ich aber einen 3.16 aus bpo benutzen.)
Seit dem update auf Debian jessie startet die VM nicht mehr und gibt folgenden Fehler aus:
Code: Alles auswählen
Fehler beim Starten der Domain: internal error: process exited while connecting to monitor: 2016-06-19T10:57:38.648568Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: error, group 6 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.
2016-06-19T10:57:38.648670Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to get group 6
2016-06-19T10:57:38.648763Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.0,addr=0x6: Device initialization failed.
2016-06-19T10:57:38.648836Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.0,addr=0x6: Device 'vfio-pci' could not be initialized
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 117, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/domain.py", line 1162, in startup
self._backend.create()
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 866, in create
if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: internal error: process exited while connecting to monitor: 2016-06-19T10:57:38.648568Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: error, group 6 is not viable, please ensure all devices within the iommu_group are bound to their vfio bus driver.
2016-06-19T10:57:38.648670Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.0,addr=0x6: vfio: failed to get group 6
2016-06-19T10:57:38.648763Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.0,addr=0x6: Device initialization failed.
2016-06-19T10:57:38.648836Z qemu-system-x86_64: -device vfio-pci,host=02:00.0,id=hostdev0,bus=pci.0,addr=0x6: Device 'vfio-pci' could not be initialized
Code: Alles auswählen
find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/0/devices/0000:00:00.0
/sys/kernel/iommu_groups/1/devices/0000:00:01.0
/sys/kernel/iommu_groups/1/devices/0000:00:01.1
/sys/kernel/iommu_groups/2/devices/0000:00:10.0
/sys/kernel/iommu_groups/2/devices/0000:00:10.1
/sys/kernel/iommu_groups/3/devices/0000:00:11.0
/sys/kernel/iommu_groups/4/devices/0000:00:12.0
/sys/kernel/iommu_groups/4/devices/0000:00:12.2
/sys/kernel/iommu_groups/5/devices/0000:00:14.0
/sys/kernel/iommu_groups/5/devices/0000:00:14.3
/sys/kernel/iommu_groups/5/devices/0000:00:14.4
/sys/kernel/iommu_groups/6/devices/0000:00:15.0
/sys/kernel/iommu_groups/6/devices/0000:00:15.1
/sys/kernel/iommu_groups/6/devices/0000:02:00.0
/sys/kernel/iommu_groups/6/devices/0000:03:00.0
/sys/kernel/iommu_groups/7/devices/0000:00:18.0
/sys/kernel/iommu_groups/7/devices/0000:00:18.1
/sys/kernel/iommu_groups/7/devices/0000:00:18.2
/sys/kernel/iommu_groups/7/devices/0000:00:18.3
/sys/kernel/iommu_groups/7/devices/0000:00:18.4
/sys/kernel/iommu_groups/7/devices/0000:00:18.5
Code: Alles auswählen
[11:09]root@server:/usr/local/bin# lspci -nnk
00:15.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0) [1022:43a0]
Kernel driver in use: pcieport
00:15.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 1) [1022:43a1]
Kernel driver in use: pcieport
02:00.0 Multimedia controller [0480]: Digital Devices GmbH Octopus DVB Adapter [dd01:0003]
Subsystem: Digital Devices GmbH Cine S2 V6 DVB adapter [dd01:0020]
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 09)
Subsystem: ASUSTeK Computer Inc. P8 series motherboard [1043:8505]
Kernel driver in use: r8169
Mir ist nun leider nicht klar wie ich weitermachen soll. Kann man die Gruppen irgendwie splitten? Ich habe schon mit
gespielt, habe aber leider keinen Erfolg gehabt.allow_unsafe_interrupts=1 und "pcie_acs_override=downstream
Wie kann es sein, dass das ganze unter Wheezy problemlos funktionierte und ich jetzt da hänge?
Wer kann mir helfen? Vielen Dank im Voraus!
TomTom2
PS: den Thread viewtopic.php?f=13&t=154790&hilit=PCI+Passthrough habe ich gefunden, aber er hat mir leider auch nicht weitergeholfen.