Hello everyone.

I have a Knoppix HD installation. Newest CD with 2.6.11 kernel.

I tried following many how-to-install-NVIDIA-drivers but failed. I tried following this ftp://download.nvidia.com/XFree86/Li...174/README.txt and http://www.linuxforums.org/tutorials...ial-44103.html and this http://www.knoppix.net/forum/viewtop...947&highlight= tutorial. All of them seem to explain everything in different ways yet I think I'm missing something.

Let's do it the NVIDIA way.

I do su in the terminal and then init 3 to get out of x and have a shell. AIght. Then I go to the directory where my NVIDIA driver is. cd /usr/src. I do sh NVIDIA--File--Name--Here. Then I wait and I see a welcome EULA screen. I say yes. Then it prompts me if it should go look for the kernel source online (nvidia.com). I say yes. It prompts me that it didn't find anything and it will use my exsisting kernel, or something like that. I say yes. Then I way 10 seconds or so and the installation menu pops up. It goes up to 40%-90% and then gives me an error message.

ERROR: Unable to build the NVIDIA kernel module.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
I say ok. I then go to /var/log to check out what it says.

Here's the full text.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon May 30 22:00:28 2005

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: No)
-> 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.11/source'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.11/source S
YSOUT=/lib/modules/2.6.11/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.11/build KBUILD_VERBOSE=1 -C /lib/
modules/2.6.11/source SUBDIRS=/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg
1/usr/src/nv modules
make -C /lib/modules/2.6.11/build \
KBUILD_SRC=/usr/src/linux-2.6.11 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1
/usr/src/nv" \
-f /usr/src/linux-2.6.11/Makefile modules
mkdir -p /tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.tmp_ver
sions
make -f /usr/src/linux-2.6.11/scripts/Makefile.build obj=/tmp/selfgz12400/NV
IDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz12400/NV
IDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.nv.
o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERNEL_
_ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11/include -I/tmp/selfgz12400/N
VIDIA-Linux-x86-1.0-7174-pkg1/us
r/src/nv -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-
common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferre
d-stack-boundary=2 -march=i386 -I/usr/src/linux-2.6.11/include/asm-i386/mach
-default -Iinclude/asm-i386/mach-default -I/tmp/selfgz12400/NVIDIA-Linux-x8
6-1.0-7174-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES
-D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL_
_ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7174 -D
NV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_
SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESEN
T -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV_PCI_
GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD
_MODNAME=nvidia -c -o /tmp/selfgz12
400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.o /tmp/selfgz12400/NVIDIA-L
inux-x86-1.0-7174-pkg1/usr/src/nv/nv.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:19,
from include/linux/module.h:10,
from /tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
c/nv/nv-linux.h:46,
from /tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
c/nv/nv.c:14:
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
metic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
c/nv/nv-linux.h:69,
from /tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
c/nv/nv.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c: In function
`nvidia_init_module':
/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:970: warning
: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:1036: warnin
g: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c: In function
`nvidia_exit_module':
/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:1119: warnin
g: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/bin/sh: scripts/basic/fixdep: No such file or directory
make[4]: *** [/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.
o] Error 1
make[3]: *** [_module_/tmp/selfgz12400/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
c/nv] Error 2
make[2]: *** [modules] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
I also tried downloading a 2.6.11 kernel and putting it into /usr/src/linux-2.6.11/ (but first extracting it). No luck. Any ideas? Yes, I am a Linux noob. Had it only for a couple of days. All I'm trying to do is to get the most out of my NVIDIA 6800.

Thanks, Matt W.