Hi everyone
I have just installed openSUSE 11.1 with KDE desktop (4.1), along with the ‘default kernel’, ‘kernel source’, ‘make’ & ‘gcc’ packages installed.
My PC has an old agp card (GeFORCE FX 5500 with 256 MB RAM).
I have a very slow dialup connection, so I manually downloaded the legacy driver (NVIDIA-Linux-x86-173.14.12-pkg1) for it from a friend’s place.
Then I ran the command ‘sh NVIDIA-Linux-x86-173.14.12-pkg1) –q’ on it, when it tries to build the kernel module it reported
“Unable to build the NVIDIA kernel module. 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 am posting the some of the contents of '/var/log/nvidia-installer.log' below.
What puzzles me most is that this same driver was installed on version 11.0 of openSUSE using the same method, & it worked fine!!
Thanking you all in advance
Emon
*********************************
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Jan 2 08:27:36 2009
installer version: 1.0.7
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 : true
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
no cc version 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.
-> Installing NVIDIA driver version 173.14.12.
-> 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: Yes)
ERROR: Unable to connect to download.nvidia.com (unknown host)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.27.7-9-default/source'
-> Kernel output path: '/lib/modules/2.6.27.7-9-default/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.27.7-9-defa
ult/source SYSOUT=/lib/modules/2.6.27.7-9-default/build'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.27.7-9-default/build KBUILD_VERBOS
E=1 -C /lib/modules/2.6.27.7-9-default/source SUBDIRS=/tmp/selfgz4267/NVIDIA
-Linux-x86-173.14.12-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.27.7-9-default/build \
KBUILD_SRC=/usr/src/linux-2.6.27.7-9 \
KBUILD_EXTMOD="/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv"
-f /usr/src/linux-2.6.27.7-9/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/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/.tmp_ver
sions ; rm -f /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/.tm
p_versions/*
make -f /usr/src/linux-2.6.27.7-9/scripts/Makefile.build obj=/tmp/selfgz4267
/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv
cc -Wp,-MD,/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/.nv.
o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.3/include -D__KERNEL_
_ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.27.7-9/include -I/usr/src/linux-
2.6.27.7-9/arch/x86/include -include include/linux/autoconf.h -I/tmp/selfgz
4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv -Wall -Wundef -Wstrict-proto
types -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-funct
ion-declaration -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpref
erred-stack-boundary=2 -march=i586 -mtune=generic -ffreestanding -DCONFIG_AS
_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -mno-sse -mno-
mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.27.7-9/include/asm-x86/mach-ge
neric -Iinclude/asm-x86/mach-generic -I/usr/src/linux-2.6.27.7-9/include/asm
-x86/mach-default -Iinclude/asm-x86/mach-default -fno-stack-protector -fomit
-frame-pointer -fasynchronous-unwind-tables -Wdeclaration-after-statement -
Wno-pointer-sign -I/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/
nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare
ntheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-
qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"173.14.12
\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAM
E=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -D"DEBUG_HASH=38" -
D"DEBUG_HASH2=4" -c -o /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/s
rc/nv/.tmp_nv.o /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/n
v.c
In file included from /usr/src/linux-2.6.27.7-9/include/linux/bitops.h:17,
from /usr/src/linux-2.6.27.7-9/include/linux/kernel.h:15,
from /usr/src/linux-2.6.27.7-9/include/linux/sched.h:52,
from /usr/src/linux-2.6.27.7-9/include/linux/utsname.h:35,
from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv.c:14:
include2/asm/bitops.h: In function ‘set_bit’:
include2/asm/bitops.h:60: warning: pointer of type ‘void *’ used in arit
hmetic
include2/asm/bitops.h: In function ‘clear_bit’:
include2/asm/bitops.h:97: warning: pointer of type ‘void *’ used in arit
hmetic
In file included from /usr/src/linux-2.6.27.7-9/include/linux/list.h:6,
from /usr/src/linux-2.6.27.7-9/include/linux/preempt.h:11,
from /usr/src/linux-2.6.27.7-9/include/linux/spinlock.h:50,
from /usr/src/linux-2.6.27.7-9/include/linux/seqlock.h:29,
from /usr/src/linux-2.6.27.7-9/include/linux/time.h:8,
from /usr/src/linux-2.6.27.7-9/include/linux/timex.h:57,
from /usr/src/linux-2.6.27.7-9/include/linux/sched.h:54,
from /usr/src/linux-2.6.27.7-9/include/linux/utsname.h:35,
from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv.c:14:
/usr/src/linux-2.6.27.7-9/include/linux/prefetch.h: In function ‘prefetch_
range’:
/usr/src/linux-2.6.27.7-9/include/linux/prefetch.h:57: warning: pointer of t
ype ‘void *’ used in arithmetic
In file included from /usr/src/linux-2.6.27.7-9/include/linux/utsname.h:35,
from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv.c:14:
/usr/src/linux-2.6.27.7-9/include/linux/sched.h: In function ‘object_is_on
_stack’:
/usr/src/linux-2.6.27.7-9/include/linux/sched.h:1989: warning: pointer of ty
pe ‘void *’ used in arithmetic
In file included from include2/asm/dma-mapping.h:9,
from /usr/src/linux-2.6.27.7-9/include/linux/dma-mapping.h:
52,
from /usr/src/linux-2.6.27.7-9/include/asm-generic/pci-dma-
compat.h:7,
from include2/asm/pci.h:96,
from /usr/src/linux-2.6.27.7-9/include/linux/pci.h:1009,
from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv-linux.h:86,
from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv.c:14:
/usr/src/linux-2.6.27.7-9/include/linux/scatterlist.h: In function ‘sg_vir
t’:
/usr/src/linux-2.6.27.7-9/include/linux/scatterlist.h:199: warning: pointer
of type ‘void *’ used in arithmetic
In file included from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv.c:14:
/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv-linux.h:107:27
: error: asm/semaphore.h: No such file or directory
In file included from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv-linux.h:109,
from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv.c:14:
/usr/src/linux-2.6.27.7-9/include/linux/highmem.h: In function ‘zero_user_
segments’:
/usr/src/linux-2.6.27.7-9/include/linux/highmem.h:138: warning: pointer of t
ype ‘void *’ used in arithmetic
/usr/src/linux-2.6.27.7-9/include/linux/highmem.h:138: warning: pointer of t
ype ‘void *’ used in arithmetic
/usr/src/linux-2.6.27.7-9/include/linux/highmem.h:138: warning: pointer of t
ype ‘void *’ used in arithmetic
/usr/src/linux-2.6.27.7-9/include/linux/highmem.h:138: warning: pointer of t
ype ‘void *’ used in arithmetic
/usr/src/linux-2.6.27.7-9/include/linux/highmem.h:141: warning: pointer of t
ype ‘void *’ used in arithmetic
/usr/src/linux-2.6.27.7-9/include/linux/highmem.h:141: warning: pointer of t
ype ‘void *’ used in arithmetic
/usr/src/linux-2.6.27.7-9/include/linux/highmem.h:141: warning: pointer of t
ype ‘void *’ used in arithmetic
/usr/src/linux-2.6.27.7-9/include/linux/highmem.h:141: warning: pointer of t
ype ‘void *’ used in arithmetic
In file included from /tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv/nv.c:14:
/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv-linux.h: In fu
nction ‘nv_execute_on_all_cpus’:
/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv-linux.h:674: e
rror: too many arguments to function ‘on_each_cpu’
/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_cpu_callback’:
/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.c:1299: error:
too many arguments to function ‘smp_call_function’
/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.c:1306: error:
too many arguments to function ‘smp_call_function’
make[4]: *** [/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv/nv.
o] Error 1
make[3]: *** [_module_/tmp/selfgz4267/NVIDIA-Linux-x86-173.14.12-pkg1/usr/sr
c/nv] Error 2
make[2]: *** [sub-make] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] 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.
*********************************