Tesla C1060 on asus P5ld2 "There is no device supporting cuda"

Dear all,
I installed a Tesla C1060 on asus P5lD2 motherboard. On this machine I configured a S3 ViRGE/DX PCI videocard because I have only one PCi/Express slot on my motherboard. The OS is Ubuntu 8.10. Now my Bios configuraion have PCI slot as priority respect to PCI/Express.
After the installation of cudadriver_2.3_linux_32_190.18.run, cudatoolkit_2.3_linux_32_ubuntu8.10.run and cudasdk_2.3_linux.run I started the deviceQuery command but I recieved this output:

CUDA Device Query (Runtime API) version (CUDART static linking)
There is no device supporting CUDA.

Device 0: “Device Emulation (CPU)”
CUDA Driver Version: 2.30
CUDA Runtime Version: 2.30
CUDA Capability Major revision number: 9999
CUDA Capability Minor revision number: 9999
Total amount of global memory: 4294967295 bytes
Number of multiprocessors: 16
Number of cores: 128
Total amount of constant memory: 65536 bytes
Total amount of shared memory per block: 16384 bytes
Total number of registers available per block: 8192
Warp size: 1
Maximum number of threads per block: 512
Maximum sizes of each dimension of a block: 512 x 512 x 64
Maximum sizes of each dimension of a grid: 65535 x 65535 x 1
Maximum memory pitch: 262144 bytes
Texture alignment: 256 bytes
Clock rate: 1.35 GHz
Concurrent copy and execution: No
Run time limit on kernels: No
Integrated: Yes
Support host page-locked memory mapping: Yes
Compute mode: Default (multiple host threads can use this device simultaneously)

Test PASSED

Press ENTER to exit…

I tried many times to uninstall and reinstall the same packages.
This is the output of my lshw for hardware details
description: Desktop Computer
product: System Product Name
vendor: System manufacturer
version: System Version
serial: System Serial Number
width: 32 bits
capabilities: smbios-2.3 dmi-2.3 smp-1.4 smp
configuration: boot=normal chassis=desktop cpus=2 uuid=9C65279B-74FE-D511-B2FE-384E83DEDC12
*-core
description: Motherboard
product: P5LD2
vendor: ASUSTeK Computer INC.
physical id: 0
version: Rev 1.xx
serial: MB-1234567890
*-firmware
description: BIOS
vendor: American Megatrends Inc.
physical id: 0
version: 0809 (11/01/2005)
size: 64KiB
capacity: 448KiB
capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb agp ls120boot zipboot biosbootspecification
*-cpu:0
description: CPU
product: Intel® Pentium® D CPU 3.20GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: 15.6.2
serial: 0000-0F62-0000-0000-0000-0000
slot: Socket 775
size: 3200MHz
capacity: 3800MHz
width: 64 bits
clock: 200MHz
capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe x86-64 constant_tsc pebs bts pni monitor ds_cpl vmx cid cx16 xtpr lahf_lm
configuration: id=0
*-cache:0
description: L1 cache
physical id: 5
slot: L1-Cache
size: 16KiB
capacity: 16KiB
capabilities: pipeline-burst internal varies data
*-cache:1
description: L2 cache
physical id: 6
slot: L2-Cache
size: 2MiB
capacity: 2MiB
capabilities: pipeline-burst internal varies unified
*-cache:2 DISABLED
description: L3 cache
physical id: 7
slot: L3-Cache
capabilities: internal
*-logicalcpu:0
description: Logical CPU
physical id: 0.1
width: 64 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 0.2
width: 64 bits
capabilities: logical
*-memory
description: System Memory
physical id: 3b
slot: System board or motherboard
size: 4GiB
*-bank:0
description: DIMM SDRAM Synchronous
product: PartNum0
vendor: Manufacturer0
physical id: 0
serial: SerNum0
slot: DIMM0
size: 1GiB
width: 64 bits
*-bank:1
description: DIMM SDRAM Synchronous
product: PartNum1
vendor: Manufacturer1
physical id: 1
serial: SerNum1
slot: DIMM1
size: 1GiB
width: 64 bits
*-bank:2
description: DIMM SDRAM Synchronous
product: PartNum2
vendor: Manufacturer2
physical id: 2
serial: SerNum2
slot: DIMM2
size: 1GiB
width: 64 bits
*-bank:3
description: DIMM SDRAM Synchronous
product: PartNum3
vendor: Manufacturer3
physical id: 3
serial: SerNum3
slot: DIMM3
size: 1GiB
width: 64 bits
*-cpu:1
physical id: 1
bus info: cpu@1
version: 15.6.2
serial: 0000-0F62-0000-0000-0000-0000
size: 18EHz
capabilities: vmx ht
configuration: id=0
*-logicalcpu:0
description: Logical CPU
physical id: 0.1
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 0.2
capabilities: logical
*-pci
description: Host bridge
product: 82945G/GZ/P/PL Memory Controller Hub
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 02
width: 32 bits
clock: 33MHz
*-pci:0
description: PCI bridge
product: 82945G/GZ/P/PL PCI Express Root Port
vendor: Intel Corporation
physical id: 1
bus info: pci@0000:00:01.0
version: 02
width: 32 bits
clock: 33MHz
capabilities: pci pm msi pciexpress bus_master cap_list
configuration: driver=pcieport-driver
*-display
description: 3D controller
product: nVidia Corporation
vendor: nVidia Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=nvidia latency=0 module=nvidia
*-multimedia
description: Audio device
product: 82801G (ICH7 Family) High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 01
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: driver=HDA Intel latency=0 module=snd_hda_intel
*-pci:1
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm bus_master cap_list
configuration: driver=pcieport-driver
*-pci:2
description: PCI bridge
product: 82801G (ICH7 Family) PCI Express Port 4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: 01
width: 32 bits
clock: 33MHz
capabilities: pci pciexpress msi pm bus_master cap_list
configuration: driver=pcieport-driver
*-network
description: Ethernet interface
product: 88E8053 PCI-E Gigabit Ethernet Controller
vendor: Marvell Technology Group Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 19
serial: 00:15:f2:64:78:92
size: 100MB/s
capacity: 1GB/s
width: 64 bits
clock: 33MHz
capabilities: pm vpd msi pciexpress bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=sky2 driverversion=1.22 duplex=full firmware=N/A ip=172.16.26.176 latency=0 link=yes module=sky2 multicast=yes port=twisted pair speed=100MB/s
*-usb:0
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #1
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:1
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #2
vendor: Intel Corporation
physical id: 1d.1
bus info: pci@0000:00:1d.1
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:2
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #3
vendor: Intel Corporation
physical id: 1d.2
bus info: pci@0000:00:1d.2
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:3
description: USB Controller
product: 82801G (ICH7 Family) USB UHCI Controller #4
vendor: Intel Corporation
physical id: 1d.3
bus info: pci@0000:00:1d.3
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=uhci_hcd latency=0 module=uhci_hcd
*-usb:4
description: USB Controller
product: 82801G (ICH7 Family) USB2 EHCI Controller
vendor: Intel Corporation
physical id: 1d.7
bus info: pci@0000:00:1d.7
version: 01
width: 32 bits
clock: 33MHz
capabilities: pm debug bus_master cap_list
configuration: driver=ehci_hcd latency=0 module=ehci_hcd
*-pci:3
description: PCI bridge
product: 82801 PCI Bridge
vendor: Intel Corporation
physical id: 1e
bus info: pci@0000:00:1e.0
version: e1
width: 32 bits
clock: 33MHz
capabilities: pci bus_master cap_list
*-display
description: VGA compatible controller
product: ViRGE/DX or /GX
vendor: S3 Inc.
physical id: 2
bus info: pci@0000:01:02.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master
configuration: driver=s3fb latency=64 maxlatency=255 mingnt=4 module=s3fb
*-storage
description: Mass storage controller
product: ITE 8211F Single Channel UDMA 133
vendor: Integrated Technology Express, Inc.
physical id: 3
bus info: pci@0000:01:03.0
version: 11
width: 32 bits
clock: 66MHz
capabilities: storage pm bus_master cap_list
configuration: driver=pata_it821x latency=64 maxlatency=8 mingnt=8 module=pata_it821x
*-isa
description: ISA bridge
product: 82801GB/GR (ICH7 Family) LPC Interface Bridge
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: latency=0
*-ide
description: IDE interface
product: 82801G (ICH7 Family) IDE Controller
vendor: Intel Corporation
physical id: 1f.1
bus info: pci@0000:00:1f.1
version: 01
width: 32 bits
clock: 33MHz
capabilities: ide bus_master
configuration: driver=ata_piix latency=0 module=ata_piix
*-storage
description: SATA controller
product: 82801GR/GH (ICH7 Family) SATA AHCI Controller
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
logical name: scsi1
version: 01
width: 32 bits
clock: 66MHz
capabilities: storage msi pm bus_master cap_list emulated
configuration: driver=ahci latency=0 module=ahci
*-disk
description: ATA Disk
product: Maxtor 6V300F0
vendor: Maxtor
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/sda
version: VA11
serial: V602Q48G
size: 279GiB (300GB)
capabilities: partitioned partitioned:dos
configuration: ansiversion=5 signature=121f121e
*-volume:0
description: EXT3 volume
vendor: Linux
physical id: 1
bus info: scsi@1:0.0.0,1
logical name: /dev/sda1
logical name: /
logical name: /dev/.static/dev
version: 1.0
serial: b718337f-0c67-4e6b-83f8-6e5bf526815e
size: 273GiB
capacity: 273GiB
capabilities: primary bootable journaled extended_attributes large_files huge_files recover ext3 ext2 initialized
configuration: created=2009-05-27 03:11:12 filesystem=ext3 modified=2009-09-17 18:33:50 mount.fstype=ext3 mount.options=ro,errors=remount-ro,data=ordered mounted=2009-09-17 15:47:56 state=mounted
*-volume:1
description: Extended partition
physical id: 2
bus info: scsi@1:0.0.0,2
logical name: /dev/sda2
size: 5922MiB
capacity: 5922MiB
capabilities: primary extended partitioned partitioned:extended
*-logicalvolume
description: Linux swap / Solaris partition
physical id: 5
logical name: /dev/sda5
capacity: 5922MiB
capabilities: nofs
*-serial UNCLAIMED
description: SMBus
product: 82801G (ICH7 Family) SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 01
width: 32 bits
clock: 33MHz
configuration: latency=0
*-network:0
description: Ethernet interface
physical id: 1
logical name: vnet0
serial: 12:85:f8:02:2c:26
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A ip=192.168.122.1 link=yes multicast=yes
*-network:1 DISABLED
description: Ethernet interface
physical id: 2
logical name: pan0
serial: 82:04:ab:ed:0a:8d
capabilities: ethernet physical
configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes

I don’t have idea if is an hardware or software problem
Thank you in advance for your help
Musem

I also got a “There is no device supporting CUDA” error message. In my case, the CUDA driver was not successfully installed, because of conflicting packages that were already present in Ubuntu (though I’m using 9.04, and the 64-bit version). Here’s what worked for me:

sudo apt-get remove nvidia-common linux-restricted-modules-common linux-restricted-modules-generic linux-restricted-modules-2.6.28-11-generic linux-generic

If you have any other Nvidia-related packages installed, remove those too (nvidia-glx, nvidia-glx-new, nvidia-kernel-common, etc.). Then uninstall and reinstall the CUDA driver using the program provided by Nvidia (cudadriver_2.3_linux_64_190.18.run, for the current 64-bit version). If you already installed the CUDA toolkit and SDK, I don’t think you’ll need to re-do those, but you might have to re-compile the SDK programs (not sure about that).

In any case, removing these Ubuntu-provided Nvidia-related packages made ./deviceQuery work properly for me and detected my CUDA-enabled card (GTX 260).

Thank you very much for your help,
but I tried your advice without changes. I don’t now if there are other packages to unistall that can prevent the correct installation. Can you show me other packages to uninstall or other attempts to follow?
Thank you in advance for your help.
Musem

You used pci VGA card for X-Window display, so the cuda module was not loaded to system.

http://forums.nvidia.com/lofiversion/index.php?t52629.html

Although this is for none X-window system, I think it can solve your problem too.

Thank you very much for your help.

I will try without X-server but How or When can I use the script?

Thank you in advance

Musem

You can use X-window.
But you must insert module and make node by yourself.

Or you can write the following command to a script file.

modprobe nvidia
N3D=/sbin/lspci | grep -i NVIDIA | grep "3D controller" | wc -l
NVGA=/sbin/lspci | grep -i NVIDIA | grep "VGA compatible controller" | wc -l

N=expr $N3D + $NVGA - 1
for i in seq 0 $N; do
mknod -m 666 /dev/nvidia$i c 195 i RETVAL=?
[ “$RETVAL” = 0 ] || exit $RETVAL
done

mknod -m 666 /dev/nvidiactl c 195 255

====================End of File======================================

and excute the following command.

#sudo sh your_script_file_name

This script will make device node for you.
And it works at my platform.

This is my script file.

#!/bin/bash

Startup/shutdown script for nVidia CUDA

chkconfig: 345 80 20

description: Startup/shutdown script for nVidia CUDA

Source function library.

#. /etc/init.d/functions

DRIVER=nvidia
RETVAL=0

Create /dev nodes for nvidia devices

function createnodes() {

Count the number of NVIDIA controllers found.

N3D=/usr/bin/lspci | grep -i NVIDIA | grep "3D controller" | wc -l
NVGA=/usr/bin/lspci | grep -i NVIDIA | grep "VGA compatible controller" | wc -l

N=expr $N3D + $NVGA - 1
for i in seq 0 $N; do
mknod -m 666 /dev/nvidia$i c 195 i RETVAL=?
[ “$RETVAL” = 0 ] || exit $RETVAL
done

mknod -m 666 /dev/nvidiactl c 195 255
RETVAL=$?
[ “$RETVAL” = 0 ] || exit $RETVAL
}

Remove /dev nodes for nvidia devices

function removenodes() {
rm -f /dev/nvidia*
}

Start daemon

function start() {
echo -n $"Loading $DRIVER kernel module: "
modprobe DRIVER RETVAL=?
echo
[ “$RETVAL” = 0 ] || exit $RETVAL

echo -n "Initializing CUDA /dev entries: " createnodes RETVAL=?
echo
[ “$RETVAL” = 0 ] || exit $RETVAL
}

Stop daemon

function stop() {
echo -n $"Unloading $DRIVER kernel module: "
rmmod -f DRIVER RETVAL=?
echo
[ “$RETVAL” = 0 ] || exit $RETVAL

echo -n "Removing CUDA /dev entries: " removenodes RETVAL=?
echo
[ “$RETVAL” = 0 ] || exit $RETVAL
}

See how we were called

case "1" in start) start ;; stop) stop ;; restart) stop start ;; *) echo “Usage: $0 {start|stop|restart}”
RETVAL=1
esac
exit $RETVAL

================================================
I copied my script to /etc/init.d/ .
And add the script to startup serivice.

#sudo update-rc.d script-name defaults