Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
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
Old 01-21-06, 11:07 AM   #2
mehim
Registered User
 
Join Date: Nov 2005
Posts: 5
Default Re: Install problemss...

Ok i downloaded the lates driver and i come up with new message (install log file

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jan 21 18:04:46 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-8178), 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: 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 test with CC="gcc-3.3".
ERROR: The kernel header file
       '/lib/modules/2.6.10.09112005.2/build/include/linux/version.h' does not
       exist.  The most likely reason for this is that the kernel source files
       in '/lib/modules/2.6.10.09112005.2/build' have not been configured.
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.
And here is my uname -a output:

Code:
mehim@i46station:~$ uname -a
Linux i46station 2.6.10.09112005.2 #1 Wed Nov 9 10:54:20 CET 2005 i686 GNU/Linux
Figured i'd at some output:
Code:
mehim@i46station:~$ ls /lib/modules/2.6.10.09112005.2/
total 1096
drwxr-xr-x   3 root root   4096 2006-01-21 18:32 .
drwxr-xr-x   8 root root   4096 2006-01-21 16:46 ..
lrwxrwxrwx   1 root root     40 2006-01-21 18:31 build -> /usr/src/kernel-source-2.6.10.09112005.2
drwxr-xr-x  10 root root   4096 2006-01-21 16:46 kernel
-rw-r--r--   1 root root 204009 2006-01-21 16:46 modules.alias
-rw-r--r--   1 root root     69 2006-01-21 16:46 modules.ccwmap
-rw-r--r--   1 root root 280814 2006-01-21 16:46 modules.dep
-rw-r--r--   1 root root    517 2006-01-21 16:46 modules.ieee1394map
-rw-r--r--   1 root root   1141 2006-01-21 16:46 modules.inputmap
-rw-r--r--   1 root root  16427 2006-01-21 16:46 modules.isapnpmap
-rw-r--r--   1 root root 186558 2006-01-21 16:46 modules.pcimap
-rw-r--r--   1 root root     43 2006-01-21 16:46 modules.seriomap
-rw-r--r--   1 root root 108530 2006-01-21 16:46 modules.symbols
-rw-r--r--   1 root root 262639 2006-01-21 16:46 modules.usbmap
lrwxrwxrwx   1 root root     40 2006-01-21 18:32 source -> /usr/src/kernel-source-2.6.10.09112005.2



mehim@i46station:~$ ls /usr/src/kernel-*-2.6.10.09112005.2
/usr/src/kernel-headers-2.6.10.09112005.2:
total 128
drwxr-xr-x   4 root root  4096 2006-01-21 16:59 .
drwxrwsr-x  36 root src   4096 2006-01-21 18:15 ..
drwxr-xr-x   3 root root  4096 2005-12-12 16:25 arch
-rw-r--r--   1 root root 59873 2005-11-09 10:49 .config
drwxr-xr-x  39 root root  4096 2005-12-12 16:25 include
-rw-r--r--   1 root root    13 2005-11-09 11:35 kernel-headers.revision
-rw-r--r--   1 root root 43247 2004-12-24 22:35 Makefile

/usr/src/kernel-source-2.6.10.09112005.2:
total 340
drwxr-sr-x  18 mehim src  4096 2005-11-09 11:33 .
drwxrwsr-x  36 root  src  4096 2006-01-21 18:15 ..
drwxr-sr-x  24 mehim src  4096 2005-10-10 13:13 arch
-rw-r--r--   1 mehim src   971 2005-11-09 10:49 conf.vars
-rw-r--r--   1 mehim src 18691 2004-12-24 22:34 COPYING
-rw-r--r--   1 mehim src 88255 2005-10-10 13:13 CREDITS
drwxr-sr-x   2 mehim src  4096 2005-11-09 11:32 crypto
-rw-r--r--   1 mehim src 20656 2005-11-09 10:49 Debian.src.changelog
drwxr-sr-x  46 mehim src  4096 2005-10-10 13:13 Documentation
drwxr-sr-x  46 mehim src  4096 2005-11-09 11:33 drivers
drwxr-sr-x  55 mehim src  4096 2005-11-09 11:33 fs
drwxr-sr-x  38 mehim src  4096 2005-11-09 11:33 include
drwxr-sr-x   2 mehim src  4096 2005-11-09 11:33 init
drwxr-sr-x   2 mehim src  4096 2005-11-09 11:33 ipc
drwxr-sr-x   4 mehim src  4096 2005-11-09 11:33 kernel
drwxr-sr-x   5 mehim src  4096 2005-11-09 11:33 lib
-rw-r--r--   1 mehim src 55119 2004-12-24 22:35 MAINTAINERS
-rw-r--r--   1 mehim src 43247 2004-12-24 22:35 Makefile
drwxr-sr-x   2 mehim src  4096 2005-11-09 11:33 mm
drwxr-sr-x  32 mehim src  4096 2005-11-09 11:33 net
-rw-r--r--   1 mehim src 13970 2004-12-24 22:35 README
-rw-r--r--   1 mehim src   934 2005-11-09 11:33 README.Debian
-rw-r--r--   1 mehim src  2815 2004-12-24 22:34 REPORTING-BUGS
drwxr-sr-x   9 mehim src  4096 2005-11-09 11:33 scripts
drwxr-sr-x   4 mehim src  4096 2005-11-09 11:33 security
drwxr-sr-x  15 mehim src  4096 2005-11-09 11:33 sound
drwxr-sr-x   2 mehim src  4096 2005-11-09 11:33 usr

Another question is: In all your posts u say u need the header files? But where do they come in? where can i specify their location?
(Oh and in the header files their is a version.h ie: if i link the headers dir to 'build/' in the modules dir it starts building the module then spits out an error.. If i don't link it that way it kicks out before even trying to build the module..)

Any suggestions?

Thanx again,

Tim

Last edited by mehim; 01-21-06 at 11:41 AM.
mehim is offline   Reply With Quote
Old 01-21-06, 12:16 PM   #3
mehim
Registered User
 
Join Date: Nov 2005
Posts: 5
Default Re: Install problemss...

Ok am getting their i did a :

Code:
mehim@i46station:~$ env CC=gcc-3.3 ./Nvidia.installer.run --kernel-source-path=/usr/src/kernel-headers-2.6.10.09112005.2
And the module starts compile and i get new errors in log file:

Code:
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-8178), 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: 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 test with CC="gcc-3.3".
-> Using the kernel source path '/usr/src/kernel-headers-2.6.10.09112005.2' as
   specified by the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/kernel-headers-2.6.10.09112005.2'
-> Kernel output path: '/usr/src/kernel-headers-2.6.10.09112005.2'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
   agp.o os-interface.o os-registry.o nvidia.mod.o
   rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
   rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
   rm -f -f stprof stprof.o symtab.h
   rm -f -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/kernel-headers-2.6.
   10.09112005.2 SYSOUT=/usr/src/kernel-headers-2.6.10.09112005.2'...

   NVIDIA: calling KBUILD...
   make CC=gcc-3.3  KBUILD_VERBOSE=1 -C /usr/src/kernel-headers-2.6.10.09112005
   .2 SUBDIRS=/tmp/selfgz10040/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv module
   s
   /bin/sh: /usr/src/kernel-headers-2.6.10.09112005.2/scripts/gcc-version.sh: N
   o such file or directory
   mkdir -p /tmp/selfgz10040/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv/.tmp_ver
   sions
   make -f scripts/Makefile.build obj=/tmp/selfgz10040/NVIDIA-Linux-x86-1.0-817
   8-pkg1/usr/src/nv
   make[3]: scripts/Makefile.build: No such file or directory
   make[3]: *** No rule to make target `scripts/Makefile.build'.  Stop.
   make[2]: *** [_module_/tmp/selfgz10040/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/sr
   c/nv] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [mdl] Error 1
   make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.
Looks like something is missing in my headers (see previous post for ls output)?
Looks like some files are in kernel-source and some are in kernel-headers? Am going to go bonkers here! LOL


Pls help
mehim is offline   Reply With Quote
Old 01-21-06, 02:58 PM   #4
mehim
Registered User
 
Join Date: Nov 2005
Posts: 5
Default Re: Install problemss...

Well i give up i'll just recompile the kernel and update it while i'm at it..
If anyone can explain these kpackage debs to me and what they're usefull for? I find them useless.. They dont act like real headers or source..
Thanx for reading LOL

Tim
mehim is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 kbulgrien NVIDIA Linux 3 06-29-12 08:27 AM
nForce + RedHat 7.3 Success Story rtz NVIDIA Linux 47 02-15-03 02:20 AM
Red Hat null(limbo beta 3), guide to install Nvidia Drivers utiel NVIDIA Linux 21 09-30-02 05:32 PM
can't install old det's after 40.41's m!n!0n NVIDIA Windows Graphics Drivers 1 09-16-02 11:58 AM
How to install Divx+player to SUSE linux guide... kaarelcool NVIDIA Linux 1 08-27-02 07:54 AM

All times are GMT -5. The time now is 03:50 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.