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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-13-04, 10:10 AM   #1
topi
Registered User
 
Join Date: Jul 2004
Posts: 2
Send a message via ICQ to topi Send a message via MSN to topi
Default 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)

tobi


==========================
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".
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.
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.
topi is offline   Reply With Quote
Old 09-14-04, 03:42 AM   #2
SED
Registered User
 
Join Date: Sep 2004
Posts: 3
Red face 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

Last edited by SED; 09-14-04 at 08:53 PM.
SED is offline   Reply With Quote
Old 09-15-04, 01:17 PM   #3
djsynthesis
Registered User
 
Join Date: Sep 2004
Posts: 1
Default 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.
djsynthesis is offline   Reply With Quote
Old 09-15-04, 07:33 PM   #4
Leech
Registered User
 
Join Date: Jul 2004
Posts: 86
Default 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

http://people.debian.org/~rdonald/index.php

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

Hope that solves all your problems. It solved mine.

Leech
Leech 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
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 06:52 PM.


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