Quote:
Originally posted by serji
]hi friends!
i know this is a common thread and i can find many information on the web. I ve readen several articles, however i cannot find the solution.
i ve followed these steps (i ve got a debian 3.0 woody):
- download the NVIDIA-Linux-x86-1.0-4363.run file from the Nvidia FTP server.
- run this file: #sh NVIDIA-Linux-x86-1.0-4363.run
- The nvidia installer need to compile a new kernel interface
- It cannot load the kernel module "nvidia.o" because the kernel module was built using the wrong kernel header files.
- I ve got installed the 2.4.21 kernel in /usr/src/linux, so i specify the kernel include path with the --kernel-include-path option:
#sh NVIDIA-Linux-x86-1.0-4363.run --kernel-include-path=/usr/src/linux/include
but nvidia-installer doesnt run well.
In the /var/log/nvidia-installer.log file appear this:
kernel module load error: Warning: loading ./usr/src/nv/nvidia.o will taint the kernel: non- GPL license - NVIDIA
./usr/src/nv/nvidia.o : init_module: no such device
Hint: insmod errors can be caused by incorrect modules parameters, including invalid IO or IRQ parameters.
(i dont understand this errors very well)
What have i done wrong?what must i do?
|
The /usr/src/linux is usually a symbolic link to the actual kernel source directory what does ls -l /usr/src/linux tell you does it actually point to the proper directory not the previous kernel you have installed. When I did this a couple of weeks ago I had a similar error because I had moved the source directory to compile a testing kernel and had forgot to move the directory back and recreate the link properly. Also I did not have to specify a path to the kernel it worked properly after I used the correct version of gcc to check which gcc you used to compile the kernel with
dmesg | grep "Linux version" to see your default gcc
ls -l /usr/bin/gcc I had to
export CC=/usr/bin/gcc-2.95 before running the nvidia to use gcc 2.95 which I had compiled the kernel with. Also with the --kernel-include-path you could need a path of /usr/src/linux-2.4.21 this way it will point to the actual directory not the symbolic link it's worth a try anyway.
Quote:
I ve downloaded the kernel-headers-2.4.21 too, but ..is there any difference with the headers contained in the linux-2.4.21.tar file?
Thanks for all and sorry for my poor english!
bye.
|
From the naming of the kernel source file I would presume that you got it from the kernel.org and not a Debian repository did you get the headers you downloaded from Debian if so the version will be different and would include patches for Debian the ones already included in the tarball should be used.