Ubuntu 14.04 hangs after installing Cuda

I have installed Cuda on my machine and have successfully run the deviceQuery example by following the instructions in this link: http://docs.nvidia.com/cuda/cuda-getting-started-guide-for-linux/#axzz3m5Fj01dr.

After restarting the machine, it froze on the Ubuntu booting screen. I had uninstalled cuda in recovery mode in order to get my system working again. However, I need to reinstall Cuda and am not sure how to proceed with it in order to avoid the same problem. Feedback on how to solve this would be greatly appreciated.

Running “lshw -c video” gives the following information:
*-display
description: 3D controller
product: NVIDIA Corporation
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:40 memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:e000(size=128) memory:f7000000-f707ffff
*-display
description: VGA compatible controller
product: 4th Gen Core Processor Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 06
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:35 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)

Same problem here. Any success there?

Hello There,

I was facing similar problem on G2 instance (Ubuntu 14.04 , 64 bit, Cuda 7.0) and I could fix this issue by disabling Message Signal Interrupt in nVIDIA configuration.

My nvidia conf file now looks as below.

ubuntu@ip-172-30-4-159:~$cat /etc/modprobe.d/nvidia-installer-disable-nouveau.conf

generated by nvidia-installer

blacklist nouveau
options nouveau modeset=0
options nvidia NVreg_EnableMSI=0

This should help you.
If problem still persists upgrade nVIDIA driver to 352.xx and again make above config changes.
Should work for sure

Abhijit