Recently I get a NVIDIA tesla k40 card and I want to install it in my PC. Yet, however, the driver installation fails all the time so I want to look for answers from you professionals. My system runs on a Fedora 20 OS, and the motherboard of my PC is ASUS Z87-PLUS, you may also need to know that this motherboard has integrated graphics card on it and since tesla K40 does not have video output, I use the integrated graphics video output. The NVIDIA driver version I use is NVIDIA-Linux-x86_64-340.58.run
Here is what I got from /var/log/nvidia-installer.log:
ERROR
: Unable to load the kernel module ‘nvidia.ko’. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if a driver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel module from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed in this system is supported by this NVIDIA Linux graphics driver release.
Please see the log entries ‘Kernel module load error’ and ‘Kernel messages’ at the end of the file ‘/var/log/nvidia-installer.log’ for more information.
→ Kernel module load error: No such device
→ Kernel messages:
[ 516.835201] [] warn_slowpath_fmt+0x5c/0x80
[ 516.835204] [] ? proc_alloc_inum+0x46/0xe0
[ 516.835205] [] proc_register+0xc0/0x140
[ 516.835206] [] proc_mkdir_data+0x52/0x80
[ 516.835208] [] proc_mkdir_mode+0x13/0x20
[ 516.835245] [] nv_register_procfs+0x4c/0x1d0 [nvidia]
[ 516.835275] [] nvidia_init_module+0x2a6/0x7d1 [nvidia]
[ 516.835297] [] ? nv_drm_init+0x15/0x15 [nvidia]
[ 516.835321] [] nvidia_frontend_init_module+0x86/0x81a [nvidia]
[ 516.835326] [] do_one_initcall+0xfa/0x1b0
[ 516.835328] [] ? set_memory_nx+0x43/0x50
[ 516.835331] [] load_module+0x1d92/0x25e0
[ 516.835333] [] ? store_uevent+0x70/0x70
[ 516.835336] [] ? kernel_read+0x50/0x80
[ 516.835338] [] SyS_finit_module+0xa6/0xd0
[ 516.835341] [] system_call_fastpath+0x16/0x1b
[ 516.835342] —[ end trace 52008cc294abb559 ]—
[ 516.835366] NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 16384M @ 0x0 (PCI:0000:01:00.0)
[ 516.835367] NVRM: The system BIOS may have misconfigured your GPU.
[ 516.835370] nvidia: probe of 0000:01:00.0 failed with error -1
[ 516.835746] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 516.835747] NVRM: None of the NVIDIA graphics adapters were initialized!
[ 516.835747] [drm] Module unloaded
[ 516.835806] NVRM: NVIDIA init module failed!
The result from ‘lspci | grep NVIDIA’ give me this:
01:00.0 3D controller: NVIDIA Corporation GK110BGL [Tesla K40m] (rev a1)
So the card should be installed physically right, I googled this problem on Google for a while, I found several reasons that may be responsible for this problem.
First, someone says this may caused due to no blacklising drivers by other implementator, so I edited the file /etc/modprobe.d/blacklist.conf, added these lines in it:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
Second, one of the reasons may also be that gcc version is not the same for building linux kernel and NVIDIA driver module, so I checked it:
‘cat /proc/version’ gives me this:
Linux version 3.15.10-200.fc20.x86_64 (mockbuild@bkernel02.phx2.fedoraproject.org) (gcc version 4.8.3 20140624 (Red Hat 4.8.3-1) (GCC) ) #1 SMP Thu Aug 14 15:39:24 UTC 2014
‘gcc -v’ gives me this:
gcc version 4.8.3 20140624 (Red Hat 4.8.3-1) (GCC)
So I think the compiler version should not be a problem.
I tried to add ‘acpi=off’ to my grub line (though I don’t know what this command does), and I also enabled the ‘above 4G memory mapping’ in BIOS. However, this problem still exists after everything I’ve done.
So do you have any suggestions? I’m looking forward to your professional advices. Thank you in advance.