View Single Post
Old 10-11-09, 11:02 AM   #1
renard
Registered User
 
Join Date: Oct 2008
Posts: 5
Default Problem with nvidia-installer on ubuntu (kernel sources not found)

Ok, I recently reinstalled my computer with ubuntu. As it has a quadro fx 770M, I have no choice than to install the drivers myself.
I used the NVIDIA-Linux-x86-177.80-pkg1.run package, which I used in the past, and worked fine back then.
However, when I tried to install it this time, it returned me an error, stating that the kernel source files were not found. I checked everything, they are installed fine, and are located in /lib/modules/2.6.28-15-generic/build, which is a link to the /usr/src/linux-headers-2.6.28-15-generic
These files do exist, so I see no problem there.
I tried both:
sudo sh NVIDIA-Linux-x86-177.80-pkg1.run --kernel-source-path /lib/modules/2.6.28-15-generic/build
and sudo sh NVIDIA-Linux-x86-177.80-pkg1.run --kernel-source-path /usr/src/linux-headers-2.6.28-15-generic

Both these gave me the same error as before.
I have really no clue what is wrong. (It is probably some stupid mistake I'm making, but I'm quite a newbie )
I searched on google, but most of the sites I found didn't provide a working solution.


Here is the content of the nvidia-installer.log

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Oct 11 17:56:39 2009
installer version: 1.0.7

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  no cc version check     : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : /usr/src/linux-headers-2.6.28-15-generic
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 177.80.
-> No precompiled kernel interface was found to match your kernel; would you li
   ke the installer to attempt to download a kernel interface for your kernel f
   rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Using the kernel source path '/usr/src/linux-headers-2.6.28-15-generic' as
   specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-headers-2.6.28-15-generic'
-> Kernel output path: '/usr/src/linux-headers-2.6.28-15-generic'
ERROR: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.
       
       If you are using a Linux 2.6 kernel, please make sure
       you have configured kernel sources matching your kernel
       installed on your system. If you specified a separate
       output directory using either the "KBUILD_OUTPUT" or
       the "O" KBUILD parameter, make sure to specify this
       directory with the SYSOUT environment variable or with
       the equivalent nvidia-installer command line option.
       
       Depending on where and how the kernel sources (or the
       kernel headers) were installed, you may need to specify
       their location with the SYSSRC environment variable or
       the equivalent nvidia-installer command line option.
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.
I am really desperate. Please, oh mighty Nvidia-community, please show me what I am doing wrong.

Kind regards,

Renerad
renard is offline   Reply With Quote