I did a HD install of the 2.6 kernel. I'm having problems installing the nvidia drivers for my geforce2 MX card running on my shuttleX ss51g.
I downloaded the nvidia drivers,
In inittab, I set it to runtime level 3
rebooted
logged in as root in runtime 3
ran the installer:
# sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
received errors "set the cc enviornment variable to the name of the compiler used to compile your kernel"
so I ran
# export CC=/usr/bin/gcc-2.95
next I got error:
Error: unable to determine the nvidia kernel module filename
so i ran:
# export SYSSRC=/usr/src/linux
next I got error: "Unable to load the kernel module 'nvidia.o'. Install the kernel source files for your kernel"
so I ran
# uname -a
to determine kernel name and got:
Linux box 2.6.5 #1 SMP Sat May 1 22:31:22 CEST 2004 i686 GNU/Linux
so i ran
# apt-get install kernel-headers-2.6.5-1-686-smp
next, removed symbolic link to the 2.4 kernel
# cd /usr/src
# rm linux
next, created symbolic link to my new kernel headers
# ln -s /usr/src/kernel-headers-2.6.5-1-686-smp/ /usr/src/linux
ran the installer again but got error:
ERROR: The kernel header file '/usr/src/linux/include/linux/kernel.h' does not
exist. The most likely reason for this is that the kernel source path
'/usr/src/linux' is incorrect. 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.

If I follow the path /usr/src/linux/include/linux/ I can see the file kernel.h right there!! Why won't the installer see it? I've tried changing the --kernel-source-path commandline option but nothing.
I've also tried apt-get remove kernel-header i686 and then install kernel header K7 but still nothing. Has anyone else experienced this problem? Is there a more simple way to install the nvidia drivers on a 2.6.5 HD install?

Thanks for you help,
JC