Hi everyone,
Sorry to bother, but hard as I have tried I just cannot seem to get around this issue trying to install an old graphics card I have under Linux (a GForce 5200 before anyone asks how old

). I have, however, found it mentioned that nVidia drivers are so easy to install!

Oh yeah, I'm good.
Anyway, hopefully someone can point out where I have gone wrong here; afterall I'm still learning a lot about Linux. My OS is Slackware 10.2, and the kernel version is 2.4.31. Furthermore I do have the sources installed and have explicitly given the path to ensure it is looking at the right place. Everytime I have tried to get the installer to compile the kernel interface it has failed though.
I have also extracted the source with the relevant command and tried to make the install that way, but it seems to issue the similar complaints. It did seem to make nvidia.o, however, and following some advice I read, insmod seems to back this up. I tried reconfiguring my xorg.conf to see if it might have been OK anyway, but it kept failing. I was semi-expecting this, but it said that no screen was defnined (and yes, I did change the screen entry).
Right, I think that is about all the information you may need on what I have tried. Here is the nvidia log of the install:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Mar 22 00:02:37 2006
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 : true
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 : /usr/src/linux-2.4.31
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.
-> Performing CC test with CC="cc".
-> Using the kernel source path '/usr/src/linux-2.4.31' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.4.31'
-> Kernel output path: '/usr/src/linux-2.4.31'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_comp
iler.h *.d NVdriver nvidia.o
rm -f stprof stprof.o symtab.h
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-2.4.31 SYSOUT
=/usr/src/linux-2.4.31'...
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -DNV
RM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
8178 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMA
P_4_PRESENT -I. -I/usr/src/linux-2.4.31/include -Wsign-compare -Wno-cast-qu
al -Wno-error nv.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -DNV
RM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
8178 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMA
P_4_PRESENT -I. -I/usr/src/linux-2.4.31/include -Wsign-compare -Wno-cast-qu
al -Wno-error nv-vm.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -DNV
RM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
8178 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMA
P_4_PRESENT -I. -I/usr/src/linux-2.4.31/include -Wsign-compare -Wno-cast-qu
al -Wno-error os-agp.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -DNV
RM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
8178 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMA
P_4_PRESENT -I. -I/usr/src/linux-2.4.31/include -Wsign-compare -Wno-cast-qu
al -Wno-error os-interface.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -UDEBUG -
U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -DNV
RM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=
8178 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMA
P_4_PRESENT -I. -I/usr/src/linux-2.4.31/include -Wsign-compare -Wno-cast-qu
al -Wno-error os-registry.c
ld -r -o nv-linux.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o
ld -r -o nvidia.o nv-linux.o nv-kernel.o
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.o'. 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 and that they are properly configured; 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' command line option.
-> Kernel module load error: Warning: loading ./usr/src/nv/nvidia.o will taint
the kernel: non-GPL license - NVIDIA
See (URL removed) for information about tainted
modules
./usr/src/nv/nvidia.o: init_module: No such device
./usr/src/nv/nvidia.o: Hint: insmod errors can be caused by incorrect module
parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
-> Kernel messages:
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: shpc_init : shpc_cap_offset == 0
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: PCI Express Hot Plug Controller Driver version: 0.5
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
NVRM: No NVIDIA graphics adapter found!
NVRM: No NVIDIA graphics adapter found!
NVRM: No NVIDIA graphics adapter found!
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 (URL removed).
Here is the make install too, just in case this gives any different information that might help:
Code:
cd usr/src/nv; make install
make[1]: Entering directory `/root/downloads/drivers/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv'
ld -r -o nvidia.o nv-linux.o nv-kernel.o
mkdir -p /lib/modules/2.4.31/kernel/drivers/video && \
install -m 0664 -o root -g root nvidia.o /lib/modules/2.4.31/kernel/drivers/video/nvidia.o && \
PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:/bin:/sbin" depmod -a && \
PATH="/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/opt/kde/bin:/usr/lib/qt/bin:/usr/share/texmf/bin:/bin:/sbin" modprobe nvidia && \
echo "nvidia.o installed successfully."; \
Warning: loading /lib/modules/2.4.31/kernel/drivers/video/nvidia.o will taint the kernel: non-GPL license - NVIDIA
See (URL Removed) for information about tainted modules
/lib/modules/2.4.31/kernel/drivers/video/nvidia.o: init_module: No such device
/lib/modules/2.4.31/kernel/drivers/video/nvidia.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.31/kernel/drivers/video/nvidia.o: insmod /lib/modules/2.4.31/kernel/drivers/video/nvidia.o failed
/lib/modules/2.4.31/kernel/drivers/video/nvidia.o: insmod nvidia failed
make[2]: *** [package-install] Error 255
make[1]: *** [install] Error 2
make[1]: Leaving directory `/root/downloads/drivers/NVIDIA-Linux-x86-1.0-8178-pkg1/usr/src/nv'
make: *** [kernel_module_install] Error 2
Thanks in advance for any help you may be able give.