I’m running a new machine with Linux Mint 16 64bit (Ubuntu 13.10) and a GK104. I wanted to install cuda from the repository offered by nvidia.
I did the following steps:
- Installed the operating system
- Updated all packages
- Downloaded NVIDIA Repository (the 13.04 64bit one)
- Updated package list and called: 'sudo apt-get install cuda'
- It begins the installation, but the generation of the kernel module fails (see below)
derigs@cuda ~ $ sudo apt-get install --reinstall nvidia-331 [...] INFO:Enable nvidia-331 DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad Loading new nvidia-331-331.62 DKMS files... Building only for 3.11.0-12-generic Building for architecture x86_64 Building initial module for 3.11.0-12-generic Error! Application of patch buildfix_kernel_3.10.patch failed.
Obviously my kernel is ‘3.11.0-12-generic’ (this is true). However, the installation wants to apply the patch buildfix_kernel_3.10.patch.
I think this is why the installation fails.
What do I have to do in order to get everything running for CUDA development on this machine?