
Ich habe 3 GPUs in meinem Dual-XEON-Server.
ich folgteAnweisungen im Arch-Wikiund eingerichtet vfio-pci
mit ids=10de:100c,10de:0e1a
:
$ modprobe -c | grep vfio
options vfio_iommu_type1 allow_unsafe_interrupts=1
options vfio_pci ids=10de:100c,10de:0e1a
...
Aber laut dmesg
vfio wird diese Option ignoriert:
[ 1.278976] VFIO - User Level meta-driver version: 0.3
[ 1.306193] vfio_pci: add [1002:7142[ffff:ffff]] class 0x000000/00000000
[ 1.326139] vfio_pci: add [1002:7162[ffff:ffff]] class 0x000000/00000000
Darüber hinaus habe ich, wenn ich die Karte mit 1002:7142
den 1002:7162
integrierten Geräten ausstecke und neu starte, immer noch solche Einträge in dmesg
der Ausgabe und nicht mehr!
Ich habe die Linux-Kernel-Version aktualisiert und vfio_pci
begonnen, eine weitere Karte hinzuzufügen, die ids
Option ist jedoch immer noch unabhängig!
Ich weiß nicht, was ich tun soll, um dieses Problem zu lösen. Ich möchte eine bestimmte GPU einrichten, die als vfio_pci
Gerät hinzugefügt werden soll. Ich weiß nicht einmal, wo ich suchen soll.
Liste der GPUs:
#IOMMU group 17
# 02:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] [1002 :6798]
# 02:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series] [1002:aaa0]
#IOMMU group 18
# 03:00.0 VGA compatible controller [0300]: NVIDIA Corporation GK110B [GeForce GTX TITAN Black] [10de:100c] (rev a1)
# 03:00.1 Audio device [0403]: NVIDIA Corporation GK110 HDMI Audio [10de:0e1a] (rev a1)
#IOMMU group 30
# 83:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] RV515 PRO [Radeon X1300/X1550 Series] [1002:7142]
# 83:00.1 Display controller [0380]: Advanced Micro Devices, Inc. [AMD/ATI] RV515 PRO [Radeon X1300/X1550 Series] (Secondary) [1002:7162]
Modprobe-Einstellungen:
$ cat /etc/modprobe.d/vfio.conf
options vfio-pci ids=10de:100c,10de:0e1a
Linux-Version:
$ uname -a
Linux localhost 4.4.21-1-lts #1 SMP Thu Sep 15 20:38:36 CEST 2016 x86_64 GNU/Linux
Antwort1
versuche es in Grub zu speichern:
GRUB_CMDLINE_LINUX_DEFAULT="intel_iommu=on iommu=pt vfio-pci.ids=10de:100c,10de:0e1a"
versuchen Sie, es in vfio.conf einzufügen:
#softdep radeon pre: vfio-pci
#softdep amdgpu pre: vfio-pci
softdep snd_hda_intel pre: vfio-pci
softdep nouveau pre: vfio-pci
softdep nvidia pre: vfio-pci
#softdep drm pre: vfio-pci
#softdep xhci_hdc pre: vfio-pci
#options kvm_amd avic=1
und aktualisieren Sie dann Ihre Boot-Sequenz ...
sudo update-grub
sudo update-initramfs -u -k all