Errors when running cuda samples for verification

Hi all,

I basically followed the procedures in CUDA_Getting_Started_Linux.pdf installing cuda 7.0 on Ubuntu 14.04, until i decide to run deviceQuery under ~/NVIDIA_CUDA-7.0_Samples, it shows:

./deviceQuery Starting...

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

modprobe: ERROR: could not insert 'nvidia_331_uvm': Invalid argument
cudaGetDeviceCount returned 30
-> unknown error
Result = FAIL

When I installed cuda, it showed that driver, toolkit, samples are all correctly installed. The driver it installed is nvidia 346.46, but it showed something about “nvidia_331”, which is the old video driver I used before installing cuda. So i figured it might be due to the driver is not configured yet? Also there does not exist /dev/nvidia* folder on my machine. Could someone help me with this? Thank you.

Follow the cleaning/uninstall directions here:

Then reinstall CUDA 7.0 (and the 346.46 driver that comes with it.)