can't install nvidia displa driver any more

From: Volker Hartmann (vh01_at_virtuatron.de)
Date: 09/27/03


Date: Sat, 27 Sep 2003 00:46:50 +0200

Hi,

I have a strange problem. Suddenly my screen was shifted to the left. I
tried to reconfigure XF86 using SAX2, but I could not activate
3D-acceleration. So I tried to reinstall the nvidia-driver. This failed
giving me the following error message:

-> Kernel include path: '/lib/modules/2.4.20-4GB-athlon/build/include'
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
   /bin/sh: -c: line 1: syntax error near unexpected token `('
   /bin/sh: -c: line 1: `gcc version 3.3 20030226 (prerelease) (SuSE Linux)
-v
   2>&1 | tail -n 1'
   rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o
nv_compiler.h *
   .d NVdriver nvidia.o
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib
modules/2.4.20-4G
   B-athlon/build/include'...
   /bin/sh: -c: line 1: syntax error near unexpected token `('
   /bin/sh: -c: line 1: `gcc version 3.3 20030226 (prerelease) (SuSE Linux)
-v
   2>&1 | tail -n 1'
   echo \#define NV_COMPILER \"`gcc version 3.3 20030226 (prerelease) (SuSE
Lin
   ux) -v 2>&1 | tail -n 1`\" > nv_compiler.h
   /bin/sh: command substitution: line 1: syntax error near unexpected token
`(
   '
   /bin/sh: command substitution: line 1: `gcc version 3.3 20030226
(prerelease
   ) (SuSE Linux) -v 2>&1 | tail -n 1'
   gcc version 3.3 20030226 (prerelease) (SuSE Linux) -c -Wall -Wimplicit
-Wret
   urn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
-Wpointer-arith -
   Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAME
   S -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
-DNV_MAJ
   OR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4496 -DNV_UNIX
-DNV_LIN
   UX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PAGE_RANGE_4 -I. -I/lib
modul
   es/2.4.20-4GB-athlon/build/include -Wno-cast-qual nv.c
   /bin/sh: -c: line 1: syntax error near unexpected token `('
   /bin/sh: -c: line 1: `gcc version 3.3 20030226 (prerelease) (SuSE Linux)
-c
   -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts
-Wparenth
   eses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__
-DMODUL
   E -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES
-D__KERNE
   L__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=4496
    -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86
-DREMAP_PAGE_RANG
   E_4 -I. -I/lib/modules/2.4.20-4GB-athlon/build/include -Wno-cast-qual
nv.c'
   make: *** [nv.o] Error 2
-> Error.
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.

the nvidia-installer complains about the gcc the kernel being compiled with
not beeing the sam as the one installed now. I did not update gcc though.
Recently installs where gcj from the original suse 8.2 pro dvd and an
security update for xf86. Specs for the kernel and gcc are:
vha@ragged:~> cat /proc/version
Linux version 2.4.20-4GB-athlon (root@Athlon.suse.de) (gcc version 3.3
20030226 (prerelease) (SuSE Linux)) #1 Wed Aug 6 18:27:52 UTC 2003
vha@ragged:~> gcc -v
Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr
--with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr
share/man --libdir=/usr/lib --enable-languages=c,c++,f77,objc,java,ada
--disable-checking --enable-libgcj --with-gxx-include-dir=/usr/include/g++
--with-slibdir=/lib --with-system-zlib --enable-shared
--enable-__cxa_atexit i486-suse-linux
Thread model: posix
gcc version 3.3 20030226 (prerelease) (SuSE Linux)

the gcc versions seem to be the same. Kernel sources are updated via YOU and
configured (make oldconfig && make dep).

Any hints on how to get the nvidia display driver installed again?

TIA Volker

-- 
# life is like a videogame with no chance to win
# SPAM-Count since 09/2003: 115 UCEs.
 12:36am up  0:10, 3 users, load average: 0.19, 0.29, 0.20


Relevant Pages

  • Redhat 7.2 and Nvidia
    ... Sound Card and Ethernet are on-board NVIDIA chipsets. ... Unfortunately, during the installation, it's said that no precompiled kernel ... Cleaning kernel module build directory. ...
    (alt.os.linux.redhat)
  • cant install nvidia displa driver any more
    ... -> Cleaning kernel module build directory. ... Unable to build the NVIDIA kernel module. ... ERROR: Installation has failed. ... I did not update gcc though. ...
    (alt.os.linux.suse)
  • Re: Nforce2
    ... My card is nvidia. ... NVIDIA Linux x86 nvidia.o Kernel Module 1.0-4496 Wed Jul 16 ... GCC version: gcc version 3.3.1 ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: XF86 crashes when logging out, NVIDIA driver...
    ... you ever read the NVIDIA manual/pdf/readme, you would have known that a KT133 ... The evil binary-only nVidia kernel module is ... made many files corrupt as much of the files was ... modules to be installed for two different kernels (install it for 2.4.23 and ...
    (comp.os.linux.x)
  • nvidia driver problem
    ... as root i installed this driver. ... NVIDIA: left KBUILD. ... Unable to load the kernel module 'nvidia.ko'. ... NVRM: The NVIDIA probe routine was not called for 1 device. ...
    (Debian-User)