LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-20-2008, 04:56 PM   #16
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16

Hi, I'm jumping into this thread since I have also Slack 12.0 and a GeForce4 MX.

Today I have moved my Pentium 4 to Linux so after installation I went to look for the drivers that forrest said worked for him (NVIDIA-Linux-x86-71.86.04-pkg1.run) but when trying to install I get an error and I'm not so sure on how to work that out.

I've googled about it and got some hints which I tried to follow but they were of no use. Can someone point me in the right direction?

This are the contents of my /var/log/nvidia-installer.log:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Sep 20 18:46:30 2008

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : 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
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.21.5/source'
-> Kernel output path: '/lib/modules/2.6.21.5/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.21.5/source
   SYSOUT=/lib/modules/2.6.21.5/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.21.5/build KBUILD_VERBOSE=1 -C /li
   b/modules/2.6.21.5/source SUBDIRS=/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-
   pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.21.5/build \
   	KBUILD_SRC=/usr/src/linux-2.6.21.5 \
   	KBUILD_EXTMOD="/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv" -
   f /usr/src/linux-2.6.21.5/Makefile modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";	\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.tmp_vers
   ions
   rm -f /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.tmp_version
   s/*
   make -f /usr/src/linux-2.6.21.5/scripts/Makefile.build obj=/tmp/selfgz6392/N
   VIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/include -D__K
   ERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.21.5/include -include incl
   ude/linux/autoconf.h  -I/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/s
   rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
   -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferr
   ed-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoing-args -D
   CONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.21.5/inc
   lude/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-frame-poin
   ter -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign  -I
   /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv -Wall -Wimplicit -
   Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ari
   th -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LO
   OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM
    -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_VERSION_STRI
   NG=\"71.86.04\" -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DE
   BUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)
   "  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6392/NVIDIA-Linux-
   x86-71.86.04-pkg1/usr/src/nv/nv.o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-
   pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /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
     cc -Wp,-MD,/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.nv-v
   m.o.d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/include -D
   __KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.21.5/include -include i
   nclude/linux/autoconf.h  -I/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/us
   r/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasi
   ng -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpref
   erred-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoing-args
   -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.21.5/i
   nclude/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-frame-po
   inter -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign  
   -I/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv -Wall -Wimplicit
   -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar
   ith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_L
   OOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL
   _NAMES -D__KERNEL_
   _ -DMODULE -DNV_VERSION_STRING=\"71.86.04\" -DNV_UNIX -DNV_LINUX -DNV_INT64_
   OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KB
   UILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -
   o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv-vm.o /tmp/sel
   fgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv-vm.c
   In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-vm.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
   metic
     cc -Wp,-MD,/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.os-a
   gp.o.d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/include -
   D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.21.5/include -include 
   include/linux/autoconf.h  -I/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/u
   sr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-alias
   ing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpre
   ferred-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoing-arg
   s -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.21.5
   /include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-frame-
   pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign
    -I/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv -Wall -Wimplici
   t -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-
   arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -D
   _LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERN
   EL_NAMES -D__KERNEL__ -DMODULE -DNV_VERSION_STRING=\"71
   .86.04\" -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DN
   DEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)"  
   -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6392/NVIDIA-Linux-x86
   -71.86.04-pkg1/usr/src/nv/os-agp.o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04
   -pkg1/usr/src/nv/os-agp.c
   In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-agp.c:24:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
   metic
     cc -Wp,-MD,/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.os-i
   nterface.o.d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/inc
   lude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.21.5/include -in
   clude include/linux/autoconf.h  -I/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-
   pkg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict
   -aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return
   -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoin
   g-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6
   .21.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-f
   rame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer
   -sign  -I/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv -Wall -Wi
   mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
   inter-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-er
   ror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOS
   E_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_VERSION_STRING=\"71.86.04\" -DNV_U
   NIX -DNV_L
   INUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_
   STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)"  -D"KBUILD_MODNAME=K
   BUILD_STR(nvidia)" -c -o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/
   src/nv/os-interface.o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-interface.c
   In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-interface.c:26:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
   metic
     cc -Wp,-MD,/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.os-r
   egistry.o.d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/incl
   ude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.21.5/include -inc
   lude include/linux/autoconf.h  -I/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-p
   kg1/usr/src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-
   aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return 
   -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoin
   g-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6
   .21.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-f
   rame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer
   -sign  -I/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv -Wall -Wi
   mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
   inter-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-er
   ror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOS
   E_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_VERSION_STRING=\"71.86.04\" -DNV_U
   NIX -DNV_LIN
   UX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_ST
   R(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUI
   LD_STR(nvidia)" -c -o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-registry.o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/
   os-registry.c
   In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src
   /nv/os-registry.c:14:
   include/linux/prefetch.h: In function 'prefetch_range':
   include/linux/prefetch.h:62: warning: pointer of type 'void *' used in arith
   metic
     ld -m elf_i386 -m elf_i386  -r -o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.0
   4-pkg1/usr/src/nv/nvidia.o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/us
   r/src/nv/nv-kernel.o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/
   nv/nv.o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nv-vm.o /t
   mp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-agp.o /tmp/selfgz
   6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-interface.o /tmp/selfgz639
   2/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/os-registry.o
     Building modules, stage 2.
   make -f /usr/src/linux-2.6.21.5/scripts/Makefile.modpost
     scripts/mod/modpost   -i /usr/src/linux-2.6.21.5/Module.symvers -I /tmp/se
   lfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/Module.symvers -o /tmp/se
   lfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/Module.symvers -w  /tmp/s
   elfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/nvidia.o
     cc -Wp,-MD,/tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/.nvid
   ia.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/inclu
   de -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.21.5/include -incl
   ude include/linux/autoconf.h -I/usr/src/l
   inux-2.6.21.5/ -I -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-stri
   ct-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-retu
   rn -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outg
   oing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-
   2.6.21.5/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomi
   t-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-poin
   ter-sign  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nvidia.mod)"  -
   D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMODULE -c -o /tmp/selfgz6392/NVIDIA-L
   inux-x86-71.86.04-pkg1/usr/src/nv/nvidia.mod.o /tmp/selfgz6392/NVIDIA-Linux-
   x86-71.86.04-pkg1/usr/src/nv/nvidia.mod.c
     ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04
   -pkg1/usr/src/nv/nvidia.ko /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/us
   r/src/nv/nvidia.o /tmp/selfgz6392/NVIDIA-Linux-x86-71.86.04-pkg1/usr/src/nv/
   nvidia.mod.o
   NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s).
       
       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
   -1 Invalid module format
-> Kernel messages:
   ROM checksum self-test: passed (0x04f4518b).
   ACPI: PCI Interrupt 0000:00:1f.5[B] -> Link [LNKB] -> GSI 9 (level, low) ->
   IRQ 9
   PCI: Setting latency timer of device 0000:00:1f.5 to 64
   intel8x0_measure_ac97_clock: measured 55923 usecs
   intel8x0: clocking to 41165
   Adding 1959920k swap on /dev/hda2.  Priority:-1 extents:1 across:1959920k
   input: PC Speaker as /class/input/input2
   input: ImPS/2 Generic Wheel Mouse as /class/input/input3
   parport: PnPBIOS parport detected.
   parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
   lp0: using parport0 (interrupt-driven).
   lp0: console ready
   Capability LSM initialized
   kjournald starting.  Commit interval 5 seconds
   EXT3 FS on hda3, internal journal
   EXT3-fs: mounted filesystem with ordered data mode.
   Intel ISA PCIC probe: not found.
   Databook TCIC-2 PCMCIA probe: not found.
   NET: Registered protocol family 10
   lo: Disabled Privacy Extensions
   eth0: no IPv6 routers present
   nvidia: version magic '2.6.21.5-smp SMP mod_unload 686 ' should be '2.6.21.5
   mod_unload 486 '
   nvidia: version magic '2.6.21.5-smp SMP mod_unload 686 ' should be '2.6.21.5
   mod_unload 486 '
   nvidia: version magic '2.6.21.5-smp SMP mod_unload 686 ' should be '2.6.21.5
   mod_unload 486 '
   nvidia: version magic '2.6.21.5-smp SMP mod_unload 686 ' should be '2.6.21.5
   mod_unload 486 '
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.
 
Old 09-20-2008, 07:14 PM   #17
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
Update: I also tried the latest installer (NVIDIA-Linux-x86-96.43.07-pkg1.run) with the same results.
 
Old 09-20-2008, 08:15 PM   #18
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
hi ,I was about to say wrong driver 71 but you installed the 96

DID you first remove the 71 driver .If not then some of the 71 is still being used
Code:
su - ( or sudo)
telinit 3 ( shutdown X )
cd ( to file)
sh ./NVIDIA-Linux-x86-71.86.04-pkg1.run --uninstall
reboot to text
cd ( to file)
sh ./NVIDIA-Linux-x86-96.43.07-pkg1.run
 
Old 09-21-2008, 09:03 PM   #19
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
I tried that but I get a message stating that there was no driver to uninstall.

Maybe I was not clear about my problem, I apologize for that. I made a fresh installation of Slackware and one of the first thing I did was come into this thread and look for the drivers that Forrest said had actually worked for him. When I did
Code:
#sh NVIDIA-Linux-x86-71.86.04-pkg1.run
I was taken to the installation menu and asked if I agreed with the terms, selected ok and the following was the message:

Code:
   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.
After that the status bar appeared and went up to a 100% and then the message:

Code:
       Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s).
       
       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
What I don't know/understand is if there's something I'm missing. Shouldn't it work with and out of the box kernel? I'm using the huge.s kernel. Would it be better if I use the hugesmp.s?
 
Old 09-21-2008, 10:40 PM   #20
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,622

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
the " installer " compiles the driver on your box THEN installs it .Inorder to do this you MUST have the kernel source ( build the kernel from the source ) OR have installed the kernel-devel ( dev) for your distribution and the xorg dev code.
then the .run file will build for the driver .
You are on Slackware , i have not used that distro, so
1)
install the kernel headers and or the kernel dev ( or build)
run " uname -r " or the equivalent to get the kernel number you are using
2)
your GeForce4 MX needs the NVIDIA-Linux-x86-96.43.07-pkg1.run package
http://www.nvidia.com/object/linux_d..._96.43.07.html
You will most likely need to edit your xorg.conf to suite your needs/machine.
http://us.download.nvidia.com/XFree8...DME/README.txt
 
Old 09-21-2008, 10:56 PM   #21
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
In a full Slackware installation, the kernel source should already be installed. You should probably use one of the SMP kernels instead -- otherwise, you will have to patch your kernel sources since they are configured for the SMP kernels. I would recommend using the generic-smp kernel instead of the huge-smp kernel (see CHANGES_AND_HINTS.TXT from your install CD/DVD or at your favourite mirror for reasons), which requires the use of an initrd (initial ramdisk). For instructions on how to create an initrd, see /boot/README.initrd. Alien Bob has a nice script that tries to guess the correct mkinitrd command that you can use to create your initrd. If you choose to use the huge-smp kernel instead of the generic-smp, you won't need an initrd (but I would still advise using the generic-smp kernel). Here is an excerpt from CHANGES_AND_HINTS.TXT that explains your problem:
Quote:
Originally Posted by CHANGES_AND_HINTS.TXT
As stated earlier, it is recommended that you use one of the generic kernels
rather than the huge kernels; the huge kernels are primarily intended as
"installer" and "emergency" kernels in case you forget to make an initrd.
For most systems, you should use the generic SMP kernel if it will run,
even if your system is not SMP-capable. Some newer hardware needs the
local APIC enabled in the SMP kernel, and theoretically there should not be
a performance penalty with using the SMP-capable kernel on a uniprocessor
machine, as the SMP kernel tests for this and makes necessary adjustments.
Furthermore, the kernel sources shipped with Slackware are configured for
SMP usage, so you won't have to modify those to build external modules
(such as NVidia or ATI proprietary drivers) if you use the SMP kernel.

If you decide to use one of the non-SMP kernels, you will need to follow the
instructions in /extra/linux-2.6.24.5-nosmp-sdk/README.TXT to modify your
kernel sources for non-SMP usage. Note that this only applies if you are
using the Slackware-provided non-SMP kernel - if you build a custom kernel,
the symlinks at /lib/modules/$(uname -r)/{build,source} will point to the
correct kernel source so long as you don't (re)move it.

If you decide to use one of the huge kernels anyway, you will encounter
errors like this:
kobject_add failed for uhci_hcd with -EEXIST, don't try to register
These occur because the respective drivers are compiled statically into the
huge kernels but udev tries to load them anyway. These errors should be safe
to ignore, but if you really don't want them to appear, you can blacklist the
modules that try to load in /etc/modprobe.d/blacklist. However, make sure you
remove them from the blacklist if you ever decide to use the (recommended)
generic kernels.
If you choose to use one of the non-SMP kernels, you will have to patch the kernel sources as explained above.
 
Old 09-22-2008, 10:13 AM   #22
Choucete
Member
 
Registered: Dec 2007
Location: Buenos Aires
Distribution: Slackware 12.0
Posts: 83

Rep: Reputation: 16
Solved =)

Thanks T3Slider for the explanation. This morning the first thing I did was to reinstall with the hugesmp.s kernel, afterwards I was able to install the nvidia latest driver without any trouble. I'm really happy with all the pointless eye candy I'm now able to use, mostly if you think that this same machine running Windows would die with only half the eye candy I'm now using with Linux.

For the moment I think I'll stick to the hugesmp kernel since I don't feel experienced enough like to start playing with the initrd. I hope you don't think less of me for that. And actually I'm very short on time these days, but fully migrating to Linux at home was something I just had to do.

Thanks a lot for your help as always!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Beryl/Ati/XGL half working, half not! LDJ Ubuntu 4 04-23-2007 04:05 PM
Half-Life and OpenGL on CVSCedega [NVIDIA] DoddyUK Linux - Games 2 08-06-2005 12:42 PM
opengl running slow (but only half the time????) alaindu Linux - Software 2 03-11-2005 06:23 AM
Running OpenGL for a Visiontek ti4600 geforce4 in slack Flat_Tire_ Slackware 1 02-05-2003 01:27 AM
DVD Player, GeForce4, and OpenGL Difficulties Xilimyth Linux - Hardware 12 08-12-2002 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration