Jump to content
XPEnology Community
  • 0

KVM PCI Passthrough && Access Error on drive


jdewb

Question

Hello! I searched, and didn't see this anywhere sorry if I missed it.

 

Proxmox VE 5.4-13

DSM 6.2.2-24922 Update 6

DS918+

Jun's Loader v1.04b DS918+ 

 

Trying to build a second XP DSM node in proxmox with a LSI 9240-8i flashed to IT mode and a ConnectX-3 10gbe ethernet card.

  • I can't get the node to start when I try to passthrough the ConnectX-3 card.
  • When I press the Health Info button it says "Access Error An error occurred when accessing this drive. This may indicate that issues have occurred on the drive and/or with the connection between the drive and DiskStation." It health status is normal otherwise, and proxmox can read the SMART data on the drives. 

 

Proxmox Config

balloon: 0
bios: ovmf
boot: cdn
bootdisk: sata0
cores: 4
efidisk0: local-lvm:vm-103-disk-1,size=4M
ide2: none,media=cdrom
machine: q35
memory: 4096
name: XDSM62x
net0: e1000=A6:XX:XX:XX:XX:01,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
sata0: local-lvm:vm-103-disk-2,size=52M
sata1: /dev/disk/by-id/ata-ST6000VN0033-2EE110_ZADAA2B1,size=5860522584K
sata2: /dev/disk/by-id/ata-ST6000NE0023-2EX110_ZAD9XGJ5,size=5860522584K
sata3: /dev/disk/by-id/ata-ST6000NE0023-2EX110_ZAD98QHG,size=5860522584K
sata4: /dev/disk/by-id/ata-ST6000VN0033-2EE110_ZAD9E3X2,size=5860522584K
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=32137da6-3ab3-4806-97bc-078d83976665
sockets: 1

Hardware Info

Intel i3 8100

ASUS Prime H370M-Plus/CSM LGA1151

Dell Perc H310 / LSI 9240-8i - Flashed to P19 2118 IT 

Mellanox ConnectX-3 MCX311A-XCAT CX311A

 

 

Screen Shot 2020-04-10 at 12.01.52 PM.png

 

 

Error Code for ConnectX-3

kvm: -device vfio-pci,host=04:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0: vfio error: 0000:04:00.0: failed to setup INTx fd: Operation not permitted
start failed: command '/usr/bin/kvm -id 103 -name XDSM62x -chardev 'socket,id=qmp,path=/var/run/qemu-server/103.qmp,server,nowait' -mon 'chardev=qmp,mode=control' -chardev 'socket,id=qmp-event,path=/var/run/qmeventd.sock,reconnect=5' -mon 'chardev=qmp-event,mode=control' -pidfile /var/run/qemu-server/103.pid -daemonize -smbios 'type=1,uuid=32137da6-3ab3-4806-97bc-078d83976665' -drive 'if=pflash,unit=0,format=raw,readonly,file=/usr/share/pve-edk2-firmware//OVMF_CODE.fd' -drive 'if=pflash,unit=1,format=raw,id=drive-efidisk0,file=/dev/pve/vm-103-disk-1' -smp '4,sockets=1,cores=4,maxcpus=4' -nodefaults -boot 'menu=on,strict=on,reboot-timeout=1000,splash=/usr/share/qemu-server/bootsplash.jpg' -vnc unix:/var/run/qemu-server/103.vnc,x509,password -cpu kvm64,+lahf_lm,+sep,+kvm_pv_unhalt,+kvm_pv_eoi,enforce -m 4096 -device 'vmgenid,guid=708f7b34-e4f5-4f70-aff8-1a24f4958302' -readconfig /usr/share/qemu-server/pve-q35.cfg -device 'usb-tablet,id=tablet,bus=ehci.0,port=1' -device 'vfio-pci,host=04:00.0,id=hostpci0,bus=ich9-pcie-port-1,addr=0x0' -chardev 'socket,id=serial0,path=/var/run/qemu-server/103.serial0,server,nowait' -device 'isa-serial,chardev=serial0' -device 'VGA,id=vga,bus=pcie.0,addr=0x1' -iscsi 'initiator-name=iqn.1993-08.org.debian:01:b290e3ce623' -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' -device 'ahci,id=ahci0,multifunction=on,bus=pci.0,addr=0x7' -drive 'file=/dev/pve/vm-103-disk-2,if=none,id=drive-sata0,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ahci0.0,drive=drive-sata0,id=sata0,bootindex=100' -drive 'file=/dev/disk/by-id/ata-ST6000VN0033-2EE110_ZADAA2B1,if=none,id=drive-sata1,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ahci0.1,drive=drive-sata1,id=sata1' -drive 'file=/dev/disk/by-id/ata-ST6000NE0023-2EX110_ZAD9XGJ5,if=none,id=drive-sata2,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ahci0.2,drive=drive-sata2,id=sata2' -drive 'file=/dev/disk/by-id/ata-ST6000NE0023-2EX110_ZAD98QHG,if=none,id=drive-sata3,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ahci0.3,drive=drive-sata3,id=sata3' -drive 'file=/dev/disk/by-id/ata-ST6000VN0033-2EE110_ZAD9E3X2,if=none,id=drive-sata4,format=raw,cache=none,aio=native,detect-zeroes=on' -device 'ide-hd,bus=ahci0.4,drive=drive-sata4,id=sata4' -netdev 'type=tap,id=net0,ifname=tap103i0,script=/var/lib/qemu-server/pve-bridge,downscript=/var/lib/qemu-server/pve-bridgedown' -device 'e1000,mac=A6:XX:XX:XX:XX:01,netdev=net0,bus=pci.0,addr=0x12,id=net0,bootindex=300' -machine 'type=q35'' failed: exit code 1

 

Edited by jdewb
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...