nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   debian sid kernel 2.6 ERROR: The kernel header file (http://www.nvnews.net/vbulletin/showthread.php?t=22548)

ianus 12-21-03 06:37 AM

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...

r3pek 12-21-03 07:39 AM

the installer does not support kernel 2.6.0. go to www.minion.de and get the patch.

ianus 12-22-03 05:31 AM

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

MNKyDeth 12-22-03 09:33 AM

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

All times are GMT -5. The time now is 05:01 AM.

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