KVM PCI passthrough. Nvidia Tesla K40

asked 2015-06-19 07:29:10 -0600

nlamember gravatar image

Hello everyone, Could anybody help me with my problem? Here is the situation: 1. Compute Node [Ubuntu 14.04.02, KVM, Kilo] with Nvidia Tesla K40 I passed it by using this method: https://wiki.openstack.org/wiki/Pci_passthrough I download all drivers and CUDA libraries + I compiled all sample files succesfully. However when I run them they run but in the end the do not finish =(. For example run log of deviceQuery:

deviceQuery Starting... CUDA Device Query (Runtime API) version (CUDART static linking) Detected 1 CUDA Capable device(s) Device 0: "Tesla K40m" //INFO ABOUT IT Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) >

deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 7.0, CUDA Runtime Version = 7.0, NumDevs = 1, Device0 = Tesla K40m Result = PASS

And then it just hangs, only option is to ctrl+c. Moreover I installed everything on host too and there it finished sucessfully without any problems. Any help will be appreciated.

dmesg on VM says only: [ 1475.225692] nvidia 0000:00:08.0: irq 51 for MSI/MSI-X dmesg on host: kernel: [ 2897.503162] vfio-pci 0000:02:00.0: irq 324 for MSI/MSI-X

edit retag flag offensive close merge delete


Hi, I have some tesla K20s and i plan to try almost the same configuration as your post. My concern is also the pci passthrough support. May i ask if you have any progress on this?

Zheng Xing gravatar imageZheng Xing ( 2015-12-13 06:47:16 -0600 )edit