XenServer issue with Nvidia GRID K2 (Gpu-passtrhough)
Hi all, i have an issue on my XenServer Host. Infact, after a reboot of this, i receive some permission errors like these: [root@snsg02044 ~]# nvidia-smi No devices were found. Please make sure /dev/nvidia* files are readable by current user. [root@snsg02044 ~]# nvidia-debugdump --list Found 1 NVIDIA devices Warning: No permission to talk to device 0000:9F:00.0. [root@snsg02044 ~]# nvidia-smi -L Unable to determine the device handle for gpu 0000:9F:00.0: Insufficient Permissions --------------------------------------------------------------------------------------- [root@snsg02044 ~]# lspci | grep NVIDIA 9f:00.0 VGA compatible controller: NVIDIA Corporation GK104GL [GRID K2] (rev a1) a0:00.0 VGA compatible controller: NVIDIA Corporation GK104GL [GRID K2] (rev a1) Only one Virtual machine succeeds to start correctly through gpu-passthrough while another one return this error: No devices were found. Please make sure /dev/nvidia* files are readable by current user. Before the host reboot, all works fine. Can you help me? Thanks
Hi all,

i have an issue on my XenServer Host. Infact, after a reboot of this, i receive some permission errors like these:

[root@snsg02044 ~]# nvidia-smi
No devices were found. Please make sure /dev/nvidia* files are readable by current user.

[root@snsg02044 ~]# nvidia-debugdump --list
Found 1 NVIDIA devices
Warning: No permission to talk to device 0000:9F:00.0.

[root@snsg02044 ~]# nvidia-smi -L
Unable to determine the device handle for gpu 0000:9F:00.0: Insufficient Permissions

---------------------------------------------------------------------------------------

[root@snsg02044 ~]# lspci | grep NVIDIA
9f:00.0 VGA compatible controller: NVIDIA Corporation GK104GL [GRID K2] (rev a1)
a0:00.0 VGA compatible controller: NVIDIA Corporation GK104GL [GRID K2] (rev a1)

Only one Virtual machine succeeds to start correctly through gpu-passthrough while another one return this error:

No devices were found. Please make sure /dev/nvidia* files are readable by current user.

Before the host reboot, all works fine.

Can you help me?

Thanks

#1
Posted 04/23/2017 01:07 PM   
Are you trying to use vGPU or Passthrough? ... It sounds like Passthrough. If so, then no need to install the GRID .rpm in Xen as it's not used. If there is no .rpm installed, nvidia-smi won't be available as it's a feature of vGPU. Regarding the second VM not starting, has Xen consumed one of the GPUs for its self? Regards
Are you trying to use vGPU or Passthrough? ...

It sounds like Passthrough. If so, then no need to install the GRID .rpm in Xen as it's not used. If there is no .rpm installed, nvidia-smi won't be available as it's a feature of vGPU.

Regarding the second VM not starting, has Xen consumed one of the GPUs for its self?

Regards

#2
Posted 04/24/2017 05:43 PM   
Scroll To Top