Logo Hardware.com.br
Agaporn
Agaporn Membro Junior Registrado
187 Mensagens 0 Curtidas

Aguém já instalou Nvidia no ARCH?

#1 Por Agaporn 08/05/2006 - 19:40
Olá pessoal estou tentando instalar o driver da Nvidia no Arch, seguindo este tutorial: http://wiki.archlinux.org/index.php/How_to_install_NVIDIA_driver ; apesar de ter entendido todos os passos recebi o seguinte erro tentando instalar o driver: ERROR: Unable to build the NVIDIA kernel module.
Nesse tutorial é pedido para ser baixado o source do kernel, bom entre vários resolvi baixar o linux-2.6.16 pois meu kernel é o 2.6.16-ARCH... Algum problema aki??

Para ficar mais fácil a ajuda vou colocar meu log aki blz?

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon May 8 18:34:14 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 : (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 test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.16-ARCH/build'
-> Kernel output path: '/lib/modules/2.6.16-ARCH/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv.o nv
-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.16-ARCH/bui
ld SYSOUT=/lib/modules/2.6.16-ARCH/build'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.16-ARCH/build SUBDIRS=/tmp/
selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv modules
mkdir -p /tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.tmp_vers
ions

WARNING: Symbol version dump /usr/src/linux-2.6.16-ARCH/Module.symvers
is missing; modules will have no dependencies and modversions.

make -f scripts/Makefile.build obj=/tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz5307/NVI
DIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include -D__KERN
EL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -mar
ch=i686 -Iinclude/asm-i386
/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5
307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type
-Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-mult
ichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -D
NV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8756 -UDEBUG -U_DEB
UG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DN
V_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_
PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP
_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODU
LE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAM
E=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/u
sr/src/nv/nv.o /tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.
c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-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
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv.c:14:
include/asm/io.h: In function 'check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
/bin/sh: scripts/basic/fixdep: No such file or directory
make[3]: *** [/tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.o
] Error 1
make[2]: *** [_module_/tmp/selfgz5307/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [mdl] 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.
[/list]
Agaporn
Agaporn Membro Junior Registrado
187 Mensagens 0 Curtidas
#32 Por Agaporn
16/05/2006 - 22:55
Pow que bacana em Deancarlos, é por isso e por outras que gosto tanto de usar o linux big_green.png ; eu até ia te pedir antes o que era tão urgente que vc sempre dizia que logo que instalava a distro já recompilava o kernel! Bom vou fazer essa mudança aki e tb vou analisar melhor esse kernel pois acho que tem muitas opções úteis a serem usadas hehehehehe.

Valeu novamente pela força
NeoBlink
NeoBlink Tô em todas Registrado
2.3K Mensagens 14 Curtidas
#33 Por NeoBlink
17/05/2006 - 01:33
Tem sim hehe e outras inúteis...daí aproveita e faz uma limpeza smile.png
Não esquece de compilar o essencial como built in...tipo sistema de arquivos do sistema, chipset e tal.....Aí eu topo o teste de desempenho :twisted:
Não pode ser com algum jogo ao invés do glxgears ? ou usando outro benchmark...acho o glxgears muito instável....cada hora dá um resultado diferente....:roll: ele funciona beleza aí ?
Aproveitando, como instala ele no arch ? vou ter que compilar mesmo ?
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal