nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Compile Kernel Interface for Debian (Kernel 2.6.8-1-k7) (http://www.nvnews.net/vbulletin/showthread.php?t=36732)

topi 09-13-04 10:10 AM

Compile Kernel Interface for Debian (Kernel 2.6.8-1-k7)
I tried to compile the kernel interface for Debian.

I use the kernel 2.6.8-1-k7. I have installed:
- kernel-headers-2.6.8-1,
- kernel-headers-2.6.8-1-k7
- kernel-image-2.6.8-1-k7
- kernel-source-2.6.8

I have also copied the config file form /boot/config-2.6.8-1-k7 to .config in /usr/src/kernel-source-2.6.8.

But, I always get en error! Does someone know this problem? (See Log-file)


nvidia-installer log file:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Sep 13 16:26:18 2004

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 : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : /usr/src/kernel-source-2.6.8/
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> There appears to already be a driver installed on your system (version: 1.0-
6111). As part of installing this driver (version: 1.0-6106), 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.
-> Using the kernel source path '/usr/src/kernel-source-2.6.8/' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/kernel-source-2.6.8/'
-> Performing cc_version_check with CC="cc".
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.
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.

SED 09-14-04 03:42 AM

Re: Compile Kernel Interface for Debian (Kernel 2.6.8-1-k7)
Not sure mate...

but did you use apt-get to get the kernel-source image? Because debain installs other depandencies u may need. I think the error may be implying you don't have the correct compiler for your kernel... try apt-get update and apt-get upgrade.

But I have no idea mate.... just shooting in the dark.

Oh and I just remebered.... maybe you're missing kernel-package which is debians compiler for kerenels

djsynthesis 09-15-04 01:17 PM

Re: Compile Kernel Interface for Debian (Kernel 2.6.8-1-k7)
I have the same problem... apt-get installed kernel-package and apt-get update/upgraded already too... but I still get the same error. Also tried changing $CC to make-kpkg and gcc, both of which don't help. Will keep hacking away at it.

Leech 09-15-04 07:33 PM

Re: Compile Kernel Interface for Debian (Kernel 2.6.8-1-k7)
Since you're using the pre-compiled kernel, all you have to do is download the appropriate kernel-headers package, and THEN MAKE A LINK TO IT.

So in the case of 'kernel-image-2.6.8-1-k7' you need to 'apt-get install kernel-headers-2.6.8-1-k7' then run 'ln -s /usr/src/kernel-headers-2.6.8-1-k7 /usr/src/linux'

Then it will find the proper headers for that kernel and will install. Though for some reason, it didn't like it when I tried to install the nvidia kernel module using the nvidia installer. It would just go up to 100% and say that the nvidia kernel module would taint the kernel, then the installer stopped. Though it worked just fine with the 2.6.7 kernel. I'm using the 686 variety now, and it works great.

Also as a side note... there IS an EASIER way even.. .:-) go to this site


And you can install the proper modules for the kernel images with just apt-get.

Hope that solves all your problems. It solved mine.


All times are GMT -5. The time now is 05:42 PM.

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