[vfio-users] PCI Passthrough of GTX 980 on guest getting "unable to determine the device handle"

Kevin Vasko kvasko at gmail.com
Wed Dec 7 21:45:52 UTC 2016


I am doing passthrough from Ubuntu 14.04 3.19 (Host) to an Ubuntu 14.04
guest 3.19. I have been testing with a GeForce GTX 980 and GTX 1080. I have
seen people do PCI Passthrough without a problem with GeForce cards.

I can see device inside the guest VM:

    lspci -vnn | grep VGA

 00:05.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)

OR if I have the GTX 980 passed through.

00:05.0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX
980] (rev a1)

I was able to successfully install the driver (370.2, latest driver). I
have tried with several other driver versions with same results. It
installs, but is not recognized by nvidia-smi (same result both cards):

    nvidia-smi

> Unable to determine the device handle for GPU 0000:00:05.0: Unknown
> Error


Looking in dmesg I see the following error message

> [   29.535583] nvidia 0000:00:05.0: irq 45 for MSI/MSI-X [
> 29.577727] NVRM: RmInitAdapter failed! (0x23:0x56:458) [   29.577807]
NVRM: rm_init_adapter failed for device bearing minor number 0

Another person on the NVidia forums had the SAME exact issue as me (but no
answer).

https://devtalk.nvidia.com/default/topic/957757/gtx-1080-amp-kvm-pci-passthrough-to-guest/?offset=2#5033118

Is there anyway to debug this further? I'm currently trying to narrow this
down to either drivers or passthrough causing it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20161207/80cbf07d/attachment.htm>


More information about the vfio-users mailing list