Ich suche mich nun schon seit Tagen wirklich dumm und dämlich... leide bin ich bis jetzt noch auf nichts Brauchbares gestoßen.
Ich habe mich daran versucht einen RaidController an eine VM durchzureichen...
Ich bekomme aber ständig folgende Ausgabe:
Ich hoffe mir kann damit jemand helfen...
System:
Proliant Microserver Gen8
8 x Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (1 Socket)
16 GB Ram
VM config:
Ich habe mich daran versucht einen RaidController an eine VM durchzureichen...
Ich bekomme aber ständig folgende Ausgabe:
Code:
kvm: -device vfio-pci,host=07:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio: failed to set iommu for container: Operation not permitted
kvm: -device vfio-pci,host=07:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio: failed to setup container for group 1
kvm: -device vfio-pci,host=07:00.0,id=hostpci0,bus=pci.0,addr=0x10: vfio: failed to get group 1
kvm: -device vfio-pci,host=07:00.0,id=hostpci0,bus=pci.0,addr=0x10: Device initialization failed
Code:
TASK ERROR: start failed: command '/usr/bin/kvm -id 101 -chardev 'socket,id=qmp,path=/var/run/qemu-server/101.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -pidfile /var/run/qemu-server/101.pid -daemonize -smbios 'type=1,uuid=5da287d8-6d3c-4b25-9dfd-f7f1a0b5b2ed' -name NAS -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vga cirrus -vnc unix:/var/run/qemu-server/101.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 8192 -k de -device 'pci-bridge,id=pci.1,chassis_nr=1,bus=pci.0,addr=0x1e' -device 'pci-bridge,id=pci.2,chassis_nr=2,bus=pci.0,addr=0x1f' -device 'piix3-usb-uhci,id=uhci,bus=pci.0,addr=0x1.0x2' -device 'usb-tablet,id=tablet,bus=uhci.0,port=1' -device 'vfio-pci,host=07:00.0,id=hostpci0,bus=pci.0,addr=0x10' -device 'virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:801b4b2e85f' -drive 'if=none,id=drive-ide2,media=cdrom,aio=threads' -device 'ide-cd,bus=ide.1,unit=0,drive=drive-ide2,id=ide2,bootindex=200' -drive 'file=/var/lib/vz/images/101/vm-101-disk-1.qcow2,if=none,id=drive-virtio0,format=qcow2,cache=none,aio=native,detect-zeroes=on' -device 'virtio-blk-pci,drive=drive-virtio0,id=virtio0,bus=pci.0,addr=0xa,bootindex=100' -netdev 'type=tap,id=net0,ifname=tap101i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown,vhost=on' -device 'virtio-net-pci,mac=12:1F:B8:71:8E:16,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300'' failed: exit code 1
Ich hoffe mir kann damit jemand helfen...
System:
Proliant Microserver Gen8
8 x Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (1 Socket)
16 GB Ram
Code:
proxmox-ve: 4.3-71 (running kernel: pve-kernel-4.4.21-1-pve)
pve-manager: 4.3-10 (running version: 4.3-10/7230e60f)
pve-kernel-4.4.21-1-pve: 4.4.21-71
pve-kernel-4.4.24-1-pve: 4.4.24-72
lvm2: 2.02.116-pve3
corosync-pve: 2.4.0-1
libqb0: 1.0-1
pve-cluster: 4.0-47
qemu-server: 4.0-94
pve-firmware: 1.1-10
libpve-common-perl: 4.0-80
libpve-access-control: 4.0-19
libpve-storage-perl: 4.0-68
pve-libspice-server1: 0.12.8-1
vncterm: 1.2-1
pve-docs: 4.3-14
pve-qemu-kvm: 2.7.0-8
pve-container: 1.0-81
pve-firewall: 2.0-31
pve-ha-manager: 1.0-35
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 2.0.5-1
lxcfs: 2.0.4-pve2
criu: 1.6.0-1
novnc-pve: 0.5-8
smartmontools: 6.5+svn4324-1~pve80
Code:
dmesg | grep -e DMAR -e IOMMU
[ 0.000000] ACPI: DMAR 0x00000000F1DE4A80 0003B4 (v01 HP ProLiant 00000001 \xffffffd2? 0000162E)
[ 0.000000] Intel-IOMMU: enabled
[ 0.014567] dmar: IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c9008020660262 ecap f010da
[ 0.014642] IOAPIC id 8 under DRHD base 0xfed90000 IOMMU 0
[ 0.315512] DMAR: No ATSR found
[ 0.315527] IOMMU 0 0xfed90000: using Queued invalidation
[ 0.315528] IOMMU: Setting RMRR:
[ 0.315535] IOMMU: Setting identity map for device 0000:01:00.0 [0xf1dee000 - 0xf1deefff]
[ 0.315552] IOMMU: Setting identity map for device 0000:01:00.2 [0xf1dee000 - 0xf1deefff]
[ 0.315564] IOMMU: Setting identity map for device 0000:01:00.4 [0xf1dee000 - 0xf1deefff]
[ 0.315575] IOMMU: Setting identity map for device 0000:00:1f.2 [0xe8000 - 0xe8fff]
[ 0.315590] IOMMU: Setting identity map for device 0000:07:00.0 [0xe8000 - 0xe8fff]
[ 0.315604] IOMMU: Setting identity map for device 0000:03:00.0 [0xe8000 - 0xe8fff]
[ 0.315618] IOMMU: Setting identity map for device 0000:03:00.1 [0xe8000 - 0xe8fff]
[ 0.315630] IOMMU: Setting identity map for device 0000:04:00.0 [0xe8000 - 0xe8fff]
[ 0.315640] IOMMU: Setting identity map for device 0000:01:00.0 [0xe8000 - 0xe8fff]
[ 0.315647] IOMMU: Setting identity map for device 0000:01:00.2 [0xe8000 - 0xe8fff]
[ 0.315654] IOMMU: Setting identity map for device 0000:00:1f.2 [0xf4000 - 0xf4fff]
[ 0.315656] IOMMU: Setting identity map for device 0000:07:00.0 [0xf4000 - 0xf4fff]
[ 0.315657] IOMMU: Setting identity map for device 0000:03:00.0 [0xf4000 - 0xf4fff]
[ 0.315658] IOMMU: Setting identity map for device 0000:03:00.1 [0xf4000 - 0xf4fff]
[ 0.315660] IOMMU: Setting identity map for device 0000:04:00.0 [0xf4000 - 0xf4fff]
[ 0.315661] IOMMU: Setting identity map for device 0000:01:00.0 [0xf4000 - 0xf4fff]
[ 0.315662] IOMMU: Setting identity map for device 0000:01:00.2 [0xf4000 - 0xf4fff]
[ 0.315663] IOMMU: Setting identity map for device 0000:00:1f.2 [0xf1f7e000 - 0xf1f7efff]
[ 0.315670] IOMMU: Setting identity map for device 0000:07:00.0 [0xf1f7e000 - 0xf1f7efff]
[ 0.315678] IOMMU: Setting identity map for device 0000:03:00.0 [0xf1f7e000 - 0xf1f7efff]
[ 0.315684] IOMMU: Setting identity map for device 0000:03:00.1 [0xf1f7e000 - 0xf1f7efff]
[ 0.315691] IOMMU: Setting identity map for device 0000:04:00.0 [0xf1f7e000 - 0xf1f7efff]
[ 0.315698] IOMMU: Setting identity map for device 0000:01:00.0 [0xf1f7e000 - 0xf1f7efff]
[ 0.315702] IOMMU: Setting identity map for device 0000:01:00.2 [0xf1f7e000 - 0xf1f7efff]
[ 0.315706] IOMMU: Setting identity map for device 0000:00:1f.2 [0xf1f7f000 - 0xf1f8efff]
[ 0.315708] IOMMU: Setting identity map for device 0000:07:00.0 [0xf1f7f000 - 0xf1f8efff]
[ 0.315710] IOMMU: Setting identity map for device 0000:03:00.0 [0xf1f7f000 - 0xf1f8efff]
[ 0.315711] IOMMU: Setting identity map for device 0000:03:00.1 [0xf1f7f000 - 0xf1f8efff]
[ 0.315712] IOMMU: Setting identity map for device 0000:04:00.0 [0xf1f7f000 - 0xf1f8efff]
[ 0.315714] IOMMU: Setting identity map for device 0000:01:00.0 [0xf1f7f000 - 0xf1f8efff]
[ 0.315715] IOMMU: Setting identity map for device 0000:01:00.2 [0xf1f7f000 - 0xf1f8efff]
[ 0.315716] IOMMU: Setting identity map for device 0000:00:1f.2 [0xf1f8f000 - 0xf1f92fff]
[ 0.315718] IOMMU: Setting identity map for device 0000:07:00.0 [0xf1f8f000 - 0xf1f92fff]
[ 0.315719] IOMMU: Setting identity map for device 0000:03:00.0 [0xf1f8f000 - 0xf1f92fff]
[ 0.315720] IOMMU: Setting identity map for device 0000:03:00.1 [0xf1f8f000 - 0xf1f92fff]
[ 0.315722] IOMMU: Setting identity map for device 0000:04:00.0 [0xf1f8f000 - 0xf1f92fff]
[ 0.315723] IOMMU: Setting identity map for device 0000:01:00.0 [0xf1f8f000 - 0xf1f92fff]
[ 0.315725] IOMMU: Setting identity map for device 0000:01:00.2 [0xf1f8f000 - 0xf1f92fff]
[ 0.315726] IOMMU: Setting identity map for device 0000:00:1f.2 [0xf1f93000 - 0xf1f94fff]
[ 0.315728] IOMMU: Setting identity map for device 0000:07:00.0 [0xf1f93000 - 0xf1f94fff]
[ 0.315729] IOMMU: Setting identity map for device 0000:03:00.0 [0xf1f93000 - 0xf1f94fff]
[ 0.315730] IOMMU: Setting identity map for device 0000:03:00.1 [0xf1f93000 - 0xf1f94fff]
[ 0.315731] IOMMU: Setting identity map for device 0000:04:00.0 [0xf1f93000 - 0xf1f94fff]
[ 0.315732] IOMMU: Setting identity map for device 0000:01:00.0 [0xf1f93000 - 0xf1f94fff]
[ 0.315734] IOMMU: Setting identity map for device 0000:01:00.2 [0xf1f93000 - 0xf1f94fff]
[ 0.315735] IOMMU: Setting identity map for device 0000:01:00.0 [0xf1ff6000 - 0xf1ffcfff]
[ 0.315736] IOMMU: Setting identity map for device 0000:01:00.2 [0xf1ff6000 - 0xf1ffcfff]
[ 0.315737] IOMMU: Setting identity map for device 0000:01:00.4 [0xf1ff6000 - 0xf1ffcfff]
[ 0.315746] IOMMU: Setting identity map for device 0000:00:1a.0 [0xf1ffd000 - 0xf1ffffff]
[ 0.315757] IOMMU: Setting identity map for device 0000:00:1d.0 [0xf1ffd000 - 0xf1ffffff]
[ 0.315764] IOMMU: Prepare 0-16MiB unity mapping for LPC
[ 0.315769] IOMMU: Setting identity map for device 0000:00:1f.0 [0x0 - 0xffffff]
[ 0.323201] AMD IOMMUv2 driver by Joerg Roedel <joerg.roedel@amd.com>
[ 0.323203] AMD IOMMUv2 functionality not available on this system
[ 266.465090] vfio-pci 0000:07:00.0: Device is ineligible for IOMMU domain attach due to platform RMRR requirement. Contact your platform vendor.
Code:
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:07:00.0
/sys/kernel/iommu_groups/2/devices/0000:00:06.0
/sys/kernel/iommu_groups/3/devices/0000:00:1a.0
/sys/kernel/iommu_groups/4/devices/0000:00:1c.0
/sys/kernel/iommu_groups/5/devices/0000:00:1c.4
/sys/kernel/iommu_groups/6/devices/0000:00:1c.6
/sys/kernel/iommu_groups/7/devices/0000:00:1c.7
/sys/kernel/iommu_groups/8/devices/0000:00:1d.0
/sys/kernel/iommu_groups/9/devices/0000:00:1e.0
/sys/kernel/iommu_groups/10/devices/0000:00:1f.0
/sys/kernel/iommu_groups/10/devices/0000:00:1f.2
/sys/kernel/iommu_groups/11/devices/0000:03:00.0
/sys/kernel/iommu_groups/11/devices/0000:03:00.1
/sys/kernel/iommu_groups/12/devices/0000:04:00.0
/sys/kernel/iommu_groups/13/devices/0000:01:00.0
/sys/kernel/iommu_groups/13/devices/0000:01:00.1
/sys/kernel/iommu_groups/13/devices/0000:01:00.2
/sys/kernel/iommu_groups/13/devices/0000:01:00.4
VM config:
Code:
bootdisk: virtio0
cores: 4
ide2: none,media=cdrom
memory: 8192
name: NAS
net0: virtio=12:1F:B8:71:8E:16,bridge=vmbr0
numa: 0
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=5da287d8-6d3c-4b25-9dfd-f7f1a0b5b2ed
sockets: 1
virtio0: local:101/vm-101-disk-1.qcow2,size=10G
hostpci0: 07:00.0