Hello everyone,
I write this little guide for people like me who had problems with driver nvidia cuda latest version of Kali 1.0.6( the drivers used will be those of the backports wheezy repository)
WARNING: The guide has been tested only on a clean installation of kali 1.0.6 32-bit i686 pae, not tested on wm or otherwise. my video card is a nvidia ge force gt 630
the error that generated the nvidia video driver was the following.
ERROR: Unable to build the Unified Memory kernel module.
-> done.
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
the packet error cuda is this:
ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
The driver installation is unable to locate the kernel source. Please make sure that the kernel source packages are installed and set up correctly.
If you know that the kernel source packages are installed and set up correctly, you may pass the location of the kernel source with the '--kernel-source-path' flag.
My personal solution was this:
1
Code:
 apt-get install -y linux-headers-$(uname -r)
2 disable the nouveau drive
Code:
sed 's/quiet/quiet nouveau.modeset=0/g' -i /etc/default/grub
3 update grub and reboot
Code:
 update-grub
Code:
reboot
4 add backports-wheezy repository to the sources.list file and update
Code:
echo 'deb http://ftp.de.debian.org/debian wheezy-backports main contrib non-free' >> /etc/apt/sources.list
Code:
apt-get update
5 install necessary pack
Code:
aptitude install nvidia-kernel-3.12-kali1-686-pae
Code:
aptitude -t wheezy-backports install nvidia-kernel-dkms nvidia-xconfig nvidia-driver nvidia-settings nvidia-installer-cleanup nvidia-cuda-toolkit
enjoy

I hope I can be of help
i have solved my problem in this way