# Tesla k40m

**URL:** <https://forums.developer.nvidia.com/t/tesla-k40m/270966>\
**Category:** CUDA Setup and Installation\
**Created:** [October 28, 2023, 12:53am UTC](https://forums.developer.nvidia.com/t/tesla-k40m/270966 "2023-10-28T00:53:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mehmet5](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mehmet5](https://forums.developer.nvidia.com/u/mehmet5)\
**Post date:** [October 28, 2023, 12:53am UTC](https://forums.developer.nvidia.com/t/tesla-k40m/270966/1 "2023-10-28T00:53:33Z")

</div>

Hello,  
We have a Tesla K40M GPU card.

# [0b:00.0 3D controller: NVIDIA Corporation GK110BGL [Tesla K40m] (rev a1)]

# uname -m && cat /etc/\*release x86\_64 NAME=“Red Hat Enterprise Linux” VERSION="7.7 "

# gcc (GCC) 4.5.0

We are trying to install Cuda but we are having problems when we run the nvidia-smi code.

nvidia-smi  
No devices were found

> **[CUDA Toolkit Documentation](https://docs.nvidia.com/cuda/archive/11.2.0/)**

In this document, we are installing with RHEL 7, but we cannot run nvidia-smi.

> **[NVIDIA packaging guide: RHEL7](https://developer.download.nvidia.com/compute/github-demos/yum-packaging-nvidia-driver/guide-rhel7/)**

We could not find a solution to our problem through this document.

Can you send us a real and understandable document so that we can run nvidia-smi over Rhel 7 when we install the device?

---

<div class="post-metadata">

**Author:** ![rs277](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rs277](https://forums.developer.nvidia.com/u/rs277)\
**Post date:** [October 30, 2023, 5:53pm UTC](https://forums.developer.nvidia.com/t/tesla-k40m/270966/2 "2023-10-30T17:53:17Z")

</div>

You could try installing using the installation guide which is for 11.2, [here.](https://docs.nvidia.com/cuda/archive/11.2.0/cuda-installation-guide-linux/index.html)

---

<div class="post-metadata">

**Author:** ![mehmet5](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mehmet5](https://forums.developer.nvidia.com/u/mehmet5)\
**Post date:** [October 30, 2023, 5:58pm UTC](https://forums.developer.nvidia.com/t/tesla-k40m/270966/3 "2023-10-30T17:58:59Z")

</div>

I did this but the error is the same “nvidia-smi No device”

---

<div class="post-metadata">

**Author:** ![rs277](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rs277](https://forums.developer.nvidia.com/u/rs277)\
**Post date:** [October 30, 2023, 6:07pm UTC](https://forums.developer.nvidia.com/t/tesla-k40m/270966/4 "2023-10-30T18:07:15Z")

</div>

Has the driver loaded and if not, what does the log say.

---

<div class="post-metadata">

**Author:** ![mehmet5](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mehmet5](https://forums.developer.nvidia.com/u/mehmet5)\
**Post date:** [October 30, 2023, 10:53pm UTC](https://forums.developer.nvidia.com/t/tesla-k40m/270966/5 "2023-10-30T22:53:15Z")

</div>

[root@tesla deviceQuery]# ./deviceQuery  
./deviceQuery Starting…

CUDA Device Query (Runtime API) version (CUDART static linking)

cudaGetDeviceCount returned 100  
 → no CUDA-capable device is detected  
Result = FAIL

==============  
[root@tesla ~]# lspci | grep -i NVIDIA  
0b:00.0 3D controller: NVIDIA Corporation GK110BGL [Tesla K40m] (rev a1)

==================

[root@tesla ~]# uname -m && cat /etc/\*release  
x86\_64  
NAME=“Red Hat Enterprise Linux Server”  
VERSION=“7.9 (Maipo)”  
ID=“rhel”  
ID\_LIKE=“fedora”  
VARIANT=“Server”  
VARIANT\_ID=“server”  
VERSION\_ID=“7.9”  
PRETTY\_NAME=“Red Hat Enterprise Linux”  
ANSI\_COLOR=“0;31”  
CPE\_NAME=“cpe:/o:redhat:enterprise\_linux:7.9:GA:server”  
HOME\_URL=“[https://www.redhat.com/](https://www.redhat.com/)”  
BUG\_REPORT\_URL=“[https://bugzilla.redhat.com/](https://bugzilla.redhat.com/)”

REDHAT\_BUGZILLA\_PRODUCT=“Red Hat Enterprise Linux 7”  
REDHAT\_BUGZILLA\_PRODUCT\_VERSION=7.9  
REDHAT\_SUPPORT\_PRODUCT=“Red Hat Enterprise Linux”  
REDHAT\_SUPPORT\_PRODUCT\_VERSION=“7.9”  
Red Hat Enterprise Linux Server release 7.9 (Maipo)  
Red Hat Enterprise Linux Server release 7.9 (Maipo)

============================

[root@tesla ~]# gcc --version  
gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44)

=======================

[root@tesla ~]# uname -r  
3.10.0-1160.102.1.el7.x86\_64

===========================

[root@tesla ~]# grep “X Driver” /var/log/Xorg.0.log  
[9.683] (II) NVIDIA dlloader X Driver 460.27.04 Fri Dec 11 23:28:50 UTC 2020

===============  
[root@tesla ~]# cat /proc/driver/nvidia/version  
NVRM version: NVIDIA UNIX x86\_64 Kernel Module 460.27.04 Fri Dec 11 23:35:05 UTC 2020  
GCC version: gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)

========================

# [root@tesla ~]# modinfo nvidia | more filename: /lib/modules/3.10.0-1160.102.1.el7.x86\_64/extra/nvidia.ko.xz alias: char-major-195-\* version: 460.27.04 supported: external license: NVIDIA retpoline: Y rhelversion: 7.9 srcversion: 6DD1E1542F06F23051EAB43 alias: pci:v000010DEd_sv_sd_bc03sc02i00_ alias: pci:v000010DEd_sv_sd_bc03sc00i00_ depends: vermagic: 3.10.0-1160.102.1.el7.x86\_64 SMP mod\_unload modversions signer: DKMS module signing key sig\_key: 2F:64:26:E8:AE:B5:0F:D2:27:49:B5:52:69:76:A2:8F:A4:9B:6B:95 sig\_hashalgo: sha256 parm: NvSwitchRegDwords:NvSwitch regkey (charp) parm: NvSwitchBlacklist:NvSwitchBlacklist=uuid[,uuid…] (charp) parm: nv\_cap\_enable\_devfs:Enable (1) or disable (0) nv-caps devfs suppor t. Default: 1 (int) parm: NVreg\_ResmanDebugLevel:int parm: NVreg\_RmLogonRC:int parm: NVreg\_ModifyDeviceFiles:int parm: NVreg\_DeviceFileUID:int parm: NVreg\_DeviceFileGID:int parm: NVreg\_DeviceFileMode:int parm: NVreg\_InitializeSystemMemoryAllocations:int parm: NVreg\_UsePageAttributeTable:int parm: NVreg\_RegisterForACPIEvents:int parm: NVreg\_EnablePCIeGen3:int parm: NVreg\_EnableMSI:int parm: NVreg\_TCEBypassMode:int parm: NVreg\_EnableStreamMemOPs:int parm: NVreg\_EnableBacklightHandler:int parm: NVreg\_RestrictProfilingToAdminUsers:int parm: NVreg\_PreserveVideoMemoryAllocations:int parm: NVreg\_EnableS0ixPowerManagement:int parm: NVreg\_S0ixPowerManagementVideoMemoryThreshold:int parm: NVreg\_DynamicPowerManagement:int parm: NVreg\_DynamicPowerManagementVideoMemoryThreshold:int parm: NVreg\_EnableUserNUMAManagement:int parm: NVreg\_MemoryPoolSize:int parm: NVreg\_KMallocHeapMaxSize:int parm: NVreg\_VMallocHeapMaxSize:int parm: NVreg\_IgnoreMMIOCheck:int parm: NVreg\_NvLinkDisable:int parm: NVreg\_EnablePCIERelaxedOrderingMode:int parm: NVreg\_RegisterPCIDriver:int parm: NVreg\_RegistryDwords:charp parm: NVreg\_RegistryDwordsPerDevice:charp parm: NVreg\_RmMsg:charp parm: NVreg\_GpuBlacklist:charp parm: NVreg\_TemporaryFilePath:charp

[root@tesla ~]# modinfo nvidia | grep -E ‘firmware|version|filename’  
filename: /lib/modules/3.10.0-1160.102.1.el7.x86\_64/extra/nvidia.ko.xz  
version: 460.27.04  
rhelversion: 7.9  
srcversion: 6DD1E1542F06F23051EAB43  
vermagic: 3.10.0-1160.102.1.el7.x86\_64 SMP mod\_unload modversions

================

[root@tesla 0000:0b:00.0]# cat information  
Model: Tesla K40m  
IRQ: 59  
GPU UUID: GPU-???-???-???-???-???  
Video BIOS: ??.??.??.??.??  
Bus Type: PCIe  
DMA Size: 40 bits  
DMA Mask: 0xffffffffff  
Bus Location: 0000:0b:00.0  
Device Minor: 0  
Blacklisted: No

=============================

cuda driver = installed  
nvidia driver = installed

error persists

Could it be that the nvidia tesla 40m firmware needs to be updated?  
It communicates with the card, but since it does not see it, could it be a firmware error?

---

<div class="post-metadata">

**Author:** ![rs277](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@rs277](https://forums.developer.nvidia.com/u/rs277)\
**Post date:** [October 31, 2023, 12:37am UTC](https://forums.developer.nvidia.com/t/tesla-k40m/270966/6 "2023-10-31T00:37:04Z")

</div>

> [@mehmet5](#):
>
> could it be a firmware error?

In all likelihood, it’s the same problem many have struck, if you search this forum - inadequate PCI BAR1 resources. [Here’s](https://forums.developer.nvidia.com/t/tesla-k40m-not-recognized-but-driver-works-find-for-quadro-k420/42613) a representative post.

---

<div class="post-metadata">

**Author:** ![mehmet5](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@mehmet5](https://forums.developer.nvidia.com/u/mehmet5)\
**Post date:** [December 8, 2023, 9:33am UTC](https://forums.developer.nvidia.com/t/tesla-k40m/270966/7 "2023-12-08T09:33:41Z")

</div>

[Solved] The problem is caused by the malfunction of the card. If it is not seen on these cards, it is clearly proven that there is a card malfunction. It was this [article that helped](http://www.hpcturkey.com/nvidia-smi-hatasi-ve-cozumu/) us. We would like to thank HPC Turkey Company.
