[SOLVED] SatKarte als nach Win10 durchreichen

HoTi

New Member
Jan 26, 2019
12
1
3
43
Hallo zusammen,

ich heiße Tim und habe mir einen Proxmox Server gebaut mit derzeit zwei VM's. Ich habe mich in vieles eingelesen und konnte schon einiges selber lösen nun komme ich aber leider nicht weiter.

Ich möchte meine PCIe Sat Karte an Windows 10 weiter geben. Den Bootloader Grube habe ich angepasst.

lspci gibt folgendes aus:

Code:
root@pve:~# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 (rev c4)
00:1c.7 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Z77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04)
02:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
04:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)

Wenn ich das nun richtig sehe ist 02:00.0 meine SAT Karte.

Nun habe ich 101.conf angepasst und hostpci0: 02:00.0,pcie=1 hinzugefügt:

Code:
root@pve:/etc/pve/qemu-server# cat 101.conf
bootdisk: virtio0
cores: 2
hostpci0: 02:00.0,pcie=1
hostpci1: 03:00
ide0: local:iso/virtio-win-0.1.160.iso,media=cdrom,size=315276K
ide2: local:iso/17763.134-X64-DE-PRO.ISO,media=cdrom
memory: 4096
name: Windows10
net0: virtio=66:88:2D:5E:C9:5D,bridge=vmbr0
numa: 0
ostype: win10
scsihw: virtio-scsi-pci
smbios1: uuid=e1a140b8-443a-4077-a122-f6285bdcf628
sockets: 1
virtio0: local-lvm:vm-101-disk-0,cache=writeback,size=30G
vmgenid: 8052f91a-6f96-404b-87d6-2727a13a5fd8

Wenn ich nun mein VM Starten will kommt folgende Fehlermeldung:

TASK ERROR: q35 machine model is not enabled at /usr/share/perl5/PVE/QemuServer.pm line 3528.

Was mache ich nun falsch?

Wenn noch Infos benötigt werden, kann ich die gerne nachreichen.
 
entweder das 'pcie=1' weglassen, oder machine type auf q35 stellen
der default machine type (i440fx) kann kein pci

ist aber sowieso alles nur virtuell, sollte für die geschwindigkeit also keine rolle spielen
 
wenn ich auf q35 umstelle oder pcie=1 weg lasse bekomme ich las Ausgabe:

Code:
TASK ERROR: IOMMU not present

Ich habe da irgendwas noch nicht verstanden.
 
Ich habe aber alles gemacht. jetzt habe ich sogar ein BIOS update gemacht. eingeschaltet ist es :-(
 
Also nochmal zu dem was ich bis jetzt Verstanden habe:

BIOS Update von meinem ASROCK Z77 Pro4-M habe ich gemacht, und VT-d ist Aktiviert!

Das ist meine 101.conf
Code:
bootdisk: virtio0
cores: 2
hostpci0: 03:00
machine: q35
hostpci1: 02:00.0 pcie=1
machine: q35
ide0: local:iso/virtio-win-0.1.160.iso,media=cdrom,size=315276K
ide2: local:iso/17763.134-X64-DE-PRO.ISO,media=cdrom
memory: 4096
name: Windows10
net0: virtio=xx:xx,bridge=vmbr0
numa: 0
ostype: win10
scsihw: virtio-scsi-pci
smbios1: uuid=xxx
sockets: 1
virtio0: local-lvm:vm-101-disk-0,cache=writeback,size=30G
vmgenid: xxx

Hier die dmesg ausgabe:
Code:
root@pve:/etc/pve/qemu-server# dmesg | grep -e DMAR -e IOMMU

[    0.000000] DMAR: IOMMU enabled

in der Datei /etc/modules steht drin:
Code:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd

Wenn ich das mit dem IOMMU interrupt remapping richtig gemacht habe gibt es die Ausgabe:
Code:
root@pve:/# sh test.sh
No interrupt remapping support found

also habe ich die unsafe interrupts erlaubt.

Beim Starten der VM kommt nun: TASK ERROR: IOMMU not present
 
die /etc/default/grub wurde angepasst (intel_iommu=on)?
und danach ein update-grub gemacht?

bitte mal den output von 'dmesg | grep Intel' posten
 
Ja habe ich angepasst und das update gemacht.

Code:
...
GRUB_DISTRIBUTOR="Proxmox Virtual Environment"
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
GRUB_CMDLINE_LINUX=""
...

Hier die Ausgabe:
Code:
root@pve:~# dmesg | grep Intel
[    0.000000]   Intel GenuineIntel
[    0.000000] ACPI: SSDT 0x00000000CD98D000 0007E1 (v01 Intel_ AoacTabl 00001000 INTL 20091112)
[    0.000000] Reserving Intel graphics memory at 0x00000000cfa00000-0x00000000df9fffff
[    0.032058] smpboot: CPU0: Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz (family: 0x6, model: 0x3a, stepping: 0x9)
[    0.032110] Performance Events: PEBS fmt1+, IvyBridge events, 16-deep LBR, full-width counters, Intel PMU driver.
[    0.643367] intel_pstate: Intel P-state driver initializing
[    7.026430] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[    7.026471] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[    7.026507] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[    7.026546] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    7.026583] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[    7.026637] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[    7.026941] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
[    7.026999] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input13
[    7.027055] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input14
 
Na toll VT-x aber kein VT-d.

Brauche einen Tipp für ein neues CPU. Also eine CPU die auf das ASROCK Z77-M Pro4 passt :-(
 
Hallo,

ich habe nun heute mein I5-3330 bekommen.

Leider immer noch das gleiche!

Code:
root@pve:~# dmesg | grep Intel
[    0.000000]   Intel GenuineIntel
[    0.000000] ACPI: SSDT 0x00000000CD98D000 0007E1 (v01 Intel_ AoacTabl 00001000 INTL 20091112)
[    0.000000] Reserving Intel graphics memory at 0x00000000cfa00000-0x00000000df9fffff
[    0.032059] smpboot: CPU0: Intel(R) Core(TM) i5-3330 CPU @ 3.00GHz (family: 0x6, model: 0x3a, stepping: 0x9)
[    0.032117] Performance Events: PEBS fmt1+, IvyBridge events, 16-deep LBR, full-width counters, Intel PMU driver.
[    0.687474] intel_pstate: Intel P-state driver initializing
[    4.621130] input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input4
[    4.621174] input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card0/input5
[    4.621210] input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card0/input6
[    4.621245] input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card0/input7
[    4.621281] input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card0/input8
[    4.621471] input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card0/input9
[    4.621514] input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card0/input10
[    4.621550] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input11
[    4.621585] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1b.0/sound/card0/input12
 
Ok OK... die option war im BIOS sehr versteckt. nun habe ich es gefunden und schon geht es auch!

Danke euch für die Hilfe. Nun ist mein Server auch etwas schneller unterwegs :)
 
  • Like
Reactions: fireon
@HoTi freut mich sehr für dich das es nun funktioniert. Sei doch so nett und markiere deinen Thread als gelöst. Das erreichst du wenn du deinen ersten Beitrag editierst und das Flag im Header anklickst.

Danke :)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!