I upgraded one of my Debian 6 machines to Debian 7 but the graphical login never appears. All I get is a blinking cursor. When I switch to tty and try to install the proprietary Nvidia driver, something strange happens: the Nvidia installer warns me that I should use gcc 4.6 since my 2.6 kernel is built with this version of gcc. I am actually using Linux 3.2 and I purged all 2.6.* kernels from the system after the upgrade. When I continue, I get this error ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com. The log file contains exactly the same message.
I use Debian 7.6, kernel linux-image-3.2.0-4-amd64 (3.2.60-1+deb7u3), driver NVIDIA-Linux-x86_64-280.13.