derolph
February 12, 2010, 3:35pm
1
Hello,
I have installed the 2.3 cuda driver, sdk, and toolkit onto Fedora 12:
NVIDIA-Linux-x86_64-190.53-pkg2.run
cudatoolkit_2.3_linux_64_fedora10.run
cudasdk_2.3_linux.run
When I execute an “lspci | grep 9800” I see the card:
05:00.0 VGA compatible controller: nVidia Corporation GeForce 9800 GTX+ (rev a2)
When I execute deviceQuery I get the following;
CUDA Device Query (Runtime API) version (CUDART static linking)
There is no device supporting CUDA.
I am not seeing an nvidia device in /dev.
Is there a step that I have overlooked? Any advice?
Thank you very much!
Dan
avidday
February 12, 2010, 3:45pm
2
If you are not running X11, you have to create the /dev entries yourself. It is explained in the Toolkit release notes - see here if you haven’t got a copy of your own to look at.
derolph
February 12, 2010, 5:20pm
3
I added the script. Thank you for the text. When “modprobe nvidia” executes, I get the error:
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Module nvidia not found.
I searched google and saw that the /etc/modprobe.d/* files need to have “.conf”, which mine already were:
/etc/modprobe.d/
anaconda.conf
blacklist-visor.conf
dist.conf
openfwwf.conf
blacklist.conf
dist-alsa.conf
dist-oss.conf
Is there something that I have to do to create the nvidia module that it is complaining about?
Thanks again,
Dan
avidday
February 12, 2010, 5:25pm
4
if you don’t have that module, you haven’t installed the driver. You should be able to see the driver (its called nvidia.ko) using this:
ls /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko
If it isn’t there, you have not got the driver installed.
derolph
February 12, 2010, 7:28pm
5
if you don’t have that module, you haven’t installed the driver. You should be able to see the driver (its called nvidia.ko) using this:
ls /lib/modules/`uname -r`/kernel/drivers/video/nvidia.ko
If it isn’t there, you have not got the driver installed.
The nvidia.ko file is there:
[user@oc ~]$ ls /lib/modules/uname -r
/kernel/drivers/video/nvidia.ko
/lib/modules/2.6.31.9-174.fc12.x86_64/kernel/drivers/video/nvidia.ko
[user@oc ~]$ modprobe nvidia
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Error inserting nvidia (/lib/modules/2.6.31.9-174.fc12.x86_64/kernel/drivers/video/nvidia.ko): Operation not permitted
I installed the driver with: ./NVIDIA-Linux-x86_64-190.53-pkg2.run -k $(uname -r)
Thank you very much for your help and advice!
avidday
February 12, 2010, 9:03pm
6
[user@oc ~]$ modprobe nvidia
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Error inserting nvidia (/lib/modules/2.6.31.9-174.fc12.x86_64/kernel/drivers/video/nvidia.ko): Operation not permitted
You have to have root privileges to insert the kernel module.
derolph
February 15, 2010, 12:05pm
7
I’m unfortunately getting the same error when I execute the modprobe as root:
[root@oc ~]# modprobe nvidia
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Error inserting nvidia (/lib/modules/2.6.31.9-174.fc12.x86_64/kernel/drivers/video/nvidia.ko): No such device
[root@oc ~]# ls /lib/modules/2.6.31.9-174.fc12.x86_64/kernel/drivers/video/nvidia.ko
/lib/modules/2.6.31.9-174.fc12.x86_64/kernel/drivers/video/nvidia.ko
[root@oc ~]#
avidday
February 15, 2010, 12:22pm
8
I’m unfortunately getting the same error when I execute the modprobe as root:
[root@oc ~]# modprobe nvidia
WARNING: Deprecated config file /etc/modprobe.conf, all config files belong into /etc/modprobe.d/.
FATAL: Error inserting nvidia (/lib/modules/2.6.31.9-174.fc12.x86_64/kernel/drivers/video/nvidia.ko): No such device
[root@oc ~]# ls /lib/modules/2.6.31.9-174.fc12.x86_64/kernel/drivers/video/nvidia.ko
/lib/modules/2.6.31.9-174.fc12.x86_64/kernel/drivers/video/nvidia.ko
[root@oc ~]#
Sorry that is incorrect. Look at the text you posted -that is not the same error at all. Before, you were getting a not permitted error - because you didn’t have root permissions. Now you are getting a no such device error, which means that the is something wrong with either the /dev entries you have or don’t have, or something is otherwise broken with your driver installation, kernel or hardware.