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

Newegg Daily Deals

Thread Tools
Old 12-21-03, 06:37 AM   #1
Registered User
Join Date: Sep 2003
Posts: 6
Default debian sid kernel 2.6 ERROR: The kernel header file

Hi all,
I have just install debian sid from 0 and compile the new stable kernel 2.6.
Using the latest nvidia-installer I got this message:
ERROR: The kernel header file
'/lib/modules/2.6.0/build/include/linux/modversions.h' does not exist.
The most likely reason for this is that the kernel header files in
'/lib/modules/2.6.0/build/include' have not been configured.
any idea?

thanks in advance...
ianus is offline   Reply With Quote
Old 12-21-03, 07:39 AM   #2
Registered User
Join Date: Jul 2003
Posts: 40
Send a message via ICQ to r3pek

the installer does not support kernel 2.6.0. go to www.minion.de and get the patch.
r3pek is offline   Reply With Quote
Old 12-22-03, 05:31 AM   #3
Registered User
Join Date: Sep 2003
Posts: 6

thanks a lot r3pek
I did what the README in minion.de told me, but I got this problem:
-> 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.0/build'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
executing: 'cd ./usr/src/nv; make KERNDIR=/lib/modules/2.6.0/build module'..
make[1]: Entering directory `/usr/local/src/linux-2.6.0'
CHK include/linux/version.h
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > /tmp/selfgz1925/NV
CC [M] /tmp/selfgz1925/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nv.o
CC [M] /tmp/selfgz1925/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/os-agp.o
CC [M] /tmp/selfgz1925/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/os-inter
CC [M] /tmp/selfgz1925/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/os-regis
LD [M] /tmp/selfgz1925/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.o
Building modules, stage 2.
/usr/local/src/linux-2.6.0/scripts/Makefile.modpost:17: *** Uh-oh, you have
stale module entries. You messed with SUBDIRS,
/usr/local/src/linux-2.6.0/scripts/Makefile.modpost:18: do not complain if s
omething goes wrong.
CC /tmp/selfgz1925/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.m
LD [M] /tmp/selfgz1925/NVIDIA-Linux-x86-1.0-4496-pkg2/usr/src/nv/nvidia.k
make[1]: Leaving directory `/usr/local/src/linux-2.6.0'
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
-> Kernel module load error: insmod: QM_MODULES: Function not implemented

insmod: cannot open /proc/ksyms No such file or directory
For say the true I'm not using the NVIDIA-Linux-x86-1.0-4496-pkg0.run as it say the README, but NVIDIA-Linux-x86-1.0-4496-pkg2.run, now I am going to download the pkg0 and try again
What do you think?
Thanks again..

P.S.: Sorry for my English, but it is not my mother language
ianus is offline   Reply With Quote
Old 12-22-03, 09:33 AM   #4
Registered User
Join Date: Dec 2003
Location: Michigan
Posts: 44
Send a message via AIM to MNKyDeth

The error with this line QM_MODULES
tells me that you need module-init-tools installed for your system. 2.6 kernel no longer uses modutils, instead it uses module-init-tools.
I use Arch linux wich already implements this new change so for me it was easy, you may need to find the src code and do it on your own for debian, but am not for sure. GL
MNKyDeth is offline   Reply With Quote

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
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
RPM Source problems LaoTzuTao NVIDIA Linux 10 01-19-03 05:15 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 04:57 AM.

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