I have had some issues on the installation of 1.0-5336 driver, but at last
managed to make it work with a self-compiled 2.6 kernel.
Go ahead to the SUMMARY section :)
STORY
The first one was the one that started this thread.
ERROR: Unable to determine the NVIDIA kernel module filename.
After copying somewhere the installation files that are tarred in the installer
to read them (they are swept from /tmp as soon as the installer fails),
i saw that there are two makefiles, and the installer chooses one
depending on the version of the kernel that it is running.
The following line is called from the makefile:
NVIDIA-Linux-x86-1.0-5336-pkg1/usr/src/nv/conftest.sh select_makefile
So, after reading the bash function, I saw that the script is trying to find
a $SYSSRC/include somewhere, being, i guessed, $SYSSRC the directory where
the source code of the kernel is. (usually /usr/src/linux).
Then, the first solution was to:
# export SYSSRC=/usr/src/linux
and then
# sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --kernel-source-path=/usr/src/linux
Then I got a message saying that the newly compiled module nvidia.ko
could not be loaded. Then I realized that, as I don't use any module in the
kernel except of the nvidia one (for obvious reasons),
I didn't made a 'make install_modules' as a previous message stated, so i typed:
# cd /usr/src/linux; make modules_install
It made the actions needed, but told something about reading
http://www.codemonkey.org.uk/docs/po...loween-2.6.txt
and installing new module utilities. Those modules are on
http://www.kernel.org/pub/linux/kern...usty/modules/,
and included into the Debian packages tree for convenient installation,
as the 'module-init-tools' package.
SUMMARY
So, at last, after all, the full sequence of ...
+ # cd /usr/src/linux; make modules_install
+ Installing the new module loading utilities (your mileage may vary).
# apt-get install module-init-tools (on Debian)
+ # export SYSSRC=/usr/src/linux
+ # sh NVIDIA-Linux-x86-1.0-5336-pkg1.run --kernel-source-path=/usr/src/linux
(replace the /usr/src/linux path with the real path of the linux source in
your system -- _usually that_ )
... everything works.
Perhaps the next nvidia installer fixes all this and compiles seamlessly, as it
did the 1.0-4496 on a 2.4 kernel.
NB: 1.0-5336 is the first version that supports 2.6.x kernels, running a
previous version over a 2.6 kernel will display something about a missing
header file, as it has changed (or disappeared, whatever) from 2.4 to 2.6.