View Single Post
Old 01-21-06, 10:14 AM   #1
mehim
Registered User
 
Join Date: Nov 2005
Posts: 5
Default Install problemss...

Ok here goes.
A little background: I have a custom built kernel as am using a mother board that needs custom module support to run sata and so-on.. I have compiled kernel with kpackage so have a .deb for headers source and linux image...

Now it should be known that just after the compile i installed the nvidia driver fine (yah running quake 4 on linux was great hehe).. Now i have upgraded my system and it put new kernel in.. as with each kernel mod nvidia driver need to be recompiled.. But i don't want to use their kernel i want to use mine.. So i edit the /boot/grub/menu.lst file to boot off my old kernel..
Now i goto install Nvidia video drivers as they dont work ne more.. but it give me an error (this is output of install log):

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jan 21 16:50:40 2006

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : true
  no questions            : false
  silent                  : 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
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : (not specified)
  installer install prefix: /usr
  utility install prefix  : /usr
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  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.
-> There appears to already be a driver installed on your system (version: 1.0-
   7676).  As part of installing this driver (version: 1.0-7676), the existing 
   driver will be uninstalled.  Are you sure you want to continue? ('no' will a
   bort installation) (Answer: Yes)
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.10.09112005.2/source'
-> Performing CC test with CC="gcc-3.3".
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.
Right as u can see i had to pass the gcc compiler to use using:

Code:
sudo env CC=gcc-3.3 ./Nvidia-install.run
i installed headers and source (succesfully) using:

Code:
sudo dpkg -i kernel-headers-`uname`.deb
and
Code:
sudo dpkg -i kernel-source-`uname -r`.deb
I have tried everything from specifying kernel source dir (/lib/modules/`uname -r`/build) on command with nvidia installer and specifiying install dir etc.. and i keep coming up with that msg??

Any ideas on how to tell that the sources ARE their and the headers ARE their?

I regret not repackaging the installer when i got the first ones to work fine...

Thanx

Tim

P.S.
I just noticed it even finds the source dir correctly:
-> Kernel source path: '/lib/modules/2.6.10.09112005.2/source'
mehim is offline   Reply With Quote