Nobara 39 virtuelle Maschinenverwaltung GPU Passthrough

PC-Freak82

Cadet 3rd Year
Registriert
Okt. 2012
Beiträge
41
Hallo liebe Community,

ich bekomme meine VM nicht zum laufen. Ich wollte win 11 als VM in Linux. Ich habe das Problem, dass ich bei der Karte den Kernel driver nicht auf VFIO umstellen kann ich hab schon einiges Versucht. Hat hier jemand einen Tipp? Vd-t ist aktiviert.

01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106BM [GeForce GTX 1060 Mobile 6GB] [10de:1c60]
(rev a1)
Subsystem: ASUSTeK Computer Inc. Device
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidia
 
die einzige
Ergänzung ()

IOMMU Group 0:
00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM
Registers [8086:5910] (rev 05)
IOMMU Group 1:
00:01.0 PCI bridge [0604]: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) [8086:1
901] (rev 05)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP106BM [GeForce GTX 1060 Mobile 6GB] [10
de:1c60] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GP106 High Definition Audio Controller [10de:10f1] (re
v a1)
IOMMU Group 10:
00:1c.4 PCI bridge [0604]: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Po
rt #5 [8086:a114] (rev f1)
IOMMU Group 11:
00:1f.0 ISA bridge [0601]: Intel Corporation HM175 Chipset LPC/eSPI Controller [8086:a152] (rev 31)
00:1f.2 Memory controller [0580]: Intel Corporation 100 Series/C230 Series Chipset Family Power Manage
ment Controller [8086:a121] (rev 31)
00:1f.3 Audio device [0403]: Intel Corporation CM238 HD Audio Controller [8086:a171] (rev 31)
00:1f.4 SMBus [0c05]: Intel Corporation 100 Series/C230 Series Chipset Family SMBus [8086:a123] (rev 3
1)
IOMMU Group 12:
03:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
IOMMU Group 13:
04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express
Gigabit Ethernet Controller [10ec:8168] (rev 10)
IOMMU Group 14:
lspci: -s: Invalid slot number

IOMMU Group 15:
lspci: -s: Invalid slot number

IOMMU Group 16:
lspci: -s: Invalid slot number

IOMMU Group 17:
lspci: -s: Invalid slot number

IOMMU Group 2:
00:04.0 Signal processing controller [1180]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core
Processor Thermal Subsystem [8086:1903] (rev 05)
IOMMU Group 3:
00:14.0 USB controller [0c03]: Intel Corporation 100 Series/C230 Series Chipset Family USB 3.0 xHCI Co
ntroller [8086:a12f] (rev 31)
00:14.2 Signal processing controller [1180]: Intel Corporation 100 Series/C230 Series Chipset Family T
hermal Subsystem [8086:a131] (rev 31)
IOMMU Group 4:
00:15.0 Signal processing controller [1180]: Intel Corporation 100 Series/C230 Series Chipset Family S
erial IO I2C Controller #0 [8086:a160] (rev 31)
00:15.1 Signal processing controller [1180]: Intel Corporation 100 Series/C230 Series Chipset Family S
erial IO I2C Controller #1 [8086:a161] (rev 31)
IOMMU Group 5:
00:16.0 Communication controller [0780]: Intel Corporation 100 Series/C230 Series Chipset Family MEI C
ontroller #1 [8086:a13a] (rev 31)
IOMMU Group 6:
00:17.0 SATA controller [0106]: Intel Corporation HM170/QM170 Chipset SATA Controller [AHCI Mode] [808
6:a103] (rev 31)
IOMMU Group 7:
00:1c.0 PCI bridge [0604]: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Po
rt #1 [8086:a110] (rev f1)
IOMMU Group 8:
00:1c.2 PCI bridge [0604]: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Po
rt #3 [8086:a112] (rev f1)
IOMMU Group 9:
00:1c.3 PCI bridge [0604]: Intel Corporation 100 Series/C230 Series Chipset Family PCI Express Root Po
rt #4 [8086:a113] (rev f1)
Ergänzung ()

GRUB_DEFAULT='saved'
GRUB_DISABLE_RECOVERY='true'
GRUB_DISABLE_SUBMENU='true'
GRUB_ENABLE_BLSCFG='true'
GRUB_TERMINAL_OUTPUT='console'
GRUB_TIMEOUT='5'
GRUB_CMDLINE_LINUX='rd.driver.pre=vfio-pci rd.driver.blacklist=nouveau modprobe.blacklist=nouveau rhgb quiet >
vfio_pci.ids=10de:1c60,10de:10f1 kvm.ignore_msrs=1'
GRUB_DISTRIBUTOR='Nobara Linux'
Ergänzung ()

0.015411] ACPI: DMAR 0x000000006F298F28 0000B8 (v01 INTEL KBL 00000001 INTL 00000001)
[ 0.015444] ACPI: Reserving DMAR table memory at [mem 0x6f298f28-0x6f298fdf]
[ 0.055960] DMAR: IOMMU enabled
[ 0.127205] DMAR: Host address width 39
[ 0.127207] DMAR: DRHD base: 0x000000fed90000 flags: 0x1
[ 0.127215] DMAR: dmar0: reg_base_addr fed90000 ver 1:0 cap d2008c40660462 ecap f050da
[ 0.127220] DMAR: RMRR base: 0x0000006e9a7000 end: 0x0000006e9c6fff
[ 0.127224] DMAR: ANDD device: 1 name: \_SB.PCI0.I2C0
[ 0.127226] DMAR: ANDD device: 2 name: \_SB.PCI0.I2C1
[ 0.127230] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed90000 IOMMU 0
[ 0.127233] DMAR-IR: HPET id 0 under DRHD base 0xfed90000
[ 0.127235] DMAR-IR: Queued invalidation will be enabled to support x2apic and Intr-remapping.
[ 0.128702] DMAR-IR: Enabled IRQ remapping in x2apic mode
[ 0.318178] DMAR: ACPI device "device:81" under DMAR at fed90000 as 00:15.0
[ 0.318185] DMAR: ACPI device "device:82" under DMAR at fed90000 as 00:15.1
[ 0.318195] DMAR: No ATSR found
[ 0.318197] DMAR: No SATC found
[ 0.318200] DMAR: dmar0: Using Queued invalidation
[ 0.318567] DMAR: Intel(R) Virtualization Technology for Directed I/O
 
Zuletzt bearbeitet:
Funktioniert auch nicht.
Ergänzung ()

Installation konnte nicht fertiggestellt werde: Interner Fehler: Failes to load PCI driver module vfio-pci

Das ist die ständige Antwort.
Ergänzung ()

failed
Ergänzung ()

Das ist die xml aus der VM Erstellung:

<hostdev mode="subsystem" type="pci" managed="yes">
<source>
<address domain="0" bus="1" slot="0" function="0"/>
</source>
<rom file="/var/lib/libvirt/vgabios/patched.rom"/>
</hostdev>
 
Das ist was ich erhalte:


Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 72, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 108, in tmpcb
callback(*args, **kwargs)
File "/usr/share/virt-manager/virtManager/object/libvirtobject.py", line 57, in newfn
ret = fn(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/virt-manager/virtManager/object/domain.py", line 1402, in startup
self._backend.create()
File "/usr/lib64/python3.12/site-packages/libvirt.py", line 1373, in create
raise libvirtError('virDomainCreate() failed')
libvirt.libvirtError: internal error: Failed to load PCI driver module vfio-pci

Hat jemand eine Idee was ich falsch mache? Hab mich an die Anweisungen des oben genannten videos gehalten.
Ergänzung ()

https://github.com/martinopiaggi/Single-GPU-Passthrough-for-Dummies
Ergänzung ()

Das passiert sobald ich die Graka und die Soundkarte von Nvidia hinzufüge
Ergänzung ()

ohne diese läuft die VM
Ergänzung ()

Hat jemand vielleicht grade eine Idee zur Hand?
 
Zuletzt bearbeitet:
Hast du auf deinem System 'SELinux' aktiviert, und im 'Enforcing'-Mode am laufen?

Das kannst du checken mit: sudo getenforce
 
Zurück
Oben