Instalacao do drive Nvidia

1. Instalacao do drive Nvidia

Tiago Alves de Oliveira
tiagofga

(usa Ubuntu)

Enviado em 17/11/2011 - 11:30h

Ao tentar instalar o drive da nvidia no kernetl rt que uso, apareceu o seguinte erro no arquivo de log gerado:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Nov 17 09:20:43 2011
installer version: 285.05.09

PATH:
/usr/lib64/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib64/ccache:/u
sr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

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
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
no cc version check : false
run distro scripts : true
no nouveau check : false
run nvidia-xconfig : false
sigwinch work around : true
force tls : (not specified)
force compat32 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)
compat32 install chroot : (not specified)
compat32 install prefix : (not specified)
compat32 install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
installer prefix : (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)
precompiled kernel interfaces path : (not specified)
precompiled kernel interfaces url : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)
selinux chcon type : (not specified)

Using: nvidia-installer ncurses user interface
-> Tagging shared libraries with chcon -t textrel_shlib_t.
-> License accepted.
-> Installing NVIDIA driver version 285.05.09.
-> There appears to already be a driver installed on your system (version: 285.
05.09). As part of installing this driver (version: 285.05.09), the existin
g driver will be uninstalled. Are you sure you want to continue? ('no' will
abort installation) (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.29.6-rt24/source'
-> Kernel output path: '/lib/modules/2.6.29.6-rt24/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./kernel; make clean'...
-> Building kernel module:
executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.29.6-rt24/sourc
e SYSOUT=/lib/modules/2.6.29.6-rt24/build'...
NVIDIA: calling KBUILD...
make -C /lib/modules/2.6.29.6-rt24/build \
KBUILD_SRC=/usr/src/kernels/linux-2.6.29.6 \
KBUILD_EXTMOD="/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel" -f /us
r/src/kernels/linux-2.6.29.6/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/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/.tmp_versions
; rm -f /tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/.tmp_versions/*
make -f /usr/src/kernels/linux-2.6.29.6/scripts/Makefile.build obj=/tmp/self
gz3323/NVIDIA-Linux-x86_64-285.05.09/kernel
cc -Wp,-MD,/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/.nv.o.d -
nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.4.1/include -Iinclude -
Iinclude2 -I/usr/src/kernels/linux-2.6.29.6/include -I/usr/src/kernels/linux
-2.6.29.6/arch/x86/include -include include/linux/autoconf.h -I/tmp/selfgz
3323/NVIDIA-Linux-x86_64-285.05.09/kernel -D__KERNEL__ -Wall -Wundef -Wstric
t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implici
t-function-declaration -Os -m64 -march=core2 -mno-red-zone -mcmodel=kernel -
funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI
_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno
-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-prote
ctor -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaratio
n-after-statement -Wno-pointer-sign -fwrapv -fno-dwarf2-cfi-asm -I/tmp/sel
fgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel -Wall -MD -Wsign-compare -Wno-c
ast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"285.0
5.09\" -Wno-unused-function -mno-red-zone -mcmodel=kernel -UDEBUG -U_DEBUG -
DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENA
ME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz
3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.o /tmp/selfgz3323/NVIDIA-Linux-
x86_64-285.05.09/kernel/nv.c
In file included from /tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/n
v.c:14:
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv-linux.h:267: error:
expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘nv_spinlock_t’
In file included from /tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/n
v.c:14:
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv-linux.h:1468: error:
expected specifier-qualifier-list before ‘nv_spinlock_t’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c: In function ‘nv
_alloc_file_private’:
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:1730: error: impli
cit declaration of function ‘semaphore_init’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:1732: error: ‘nv
_file_private_t’ has no member named ‘waitqueue’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:1733: error: impli
cit declaration of function ‘atomic_spin_lock_init’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:1733: error: ‘nv
_file_private_t’ has no member named ‘fp_lock’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c: In function ‘nv
_kern_poll’:
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:2513: error: ‘nv
_file_private_t’ has no member named ‘waitqueue’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:2516: error: impli
cit declaration of function ‘atomic_spin_lock_irqsave’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:2516: error: ‘nv
_file_private_t’ has no member named ‘fp_lock’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:2527: error: impli
cit declaration of function ‘atomic_spin_unlock_irqrestore’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:2527: error: ‘nv
_file_private_t’ has no member named ‘fp_lock’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c: In function ‘nv
_post_event’:
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:3573: error: ‘nv
_file_private_t’ has no member named ‘fp_lock’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:3590: error: ‘nv
_file_private_t’ has no member named ‘waitqueue’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:3591: error: ‘nv
_file_private_t’ has no member named ‘fp_lock’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c: In function ‘nv
_get_event’:
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:3605: error: ‘nv
_file_private_t’ has no member named ‘fp_lock’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:3608: error: ‘nv
_file_private_t’ has no member named ‘fp_lock’
/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.c:3633: error: ‘nv
_file_private_t’ has no member named ‘fp_lock’
make[4]: *** [/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel/nv.o] Err
or 1
make[3]: *** [_module_/tmp/selfgz3323/NVIDIA-Linux-x86_64-285.05.09/kernel]
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.



Alguem poderia me ajudar a resolver isso


  


2. Re: Instalacao do drive Nvidia

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 17/11/2011 - 12:00h

Dica até ubuntu 10.10
1-conecte-se na internet
2-sistema >. admistração >. drivers
3-ative driver recomendado
4-reinicie o pc

Dica p/ ubuntu 11.04 e 11.10
1-conecte-se na internet
2-tecla super/windows
3-digite driver no campo de busca
4-click driver adicinoais
5-ative driver recomendado
5-reinicie o pc






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts