Logo Hardware.com.br
joadiv
joadiv Membro Junior Registrado
192 Mensagens 0 Curtidas

Driver nvidia kernel-2.6.16.4 não consigo instalar

#1 Por joadiv 12/04/2006 - 23:53
Compilei o kernel 2.6.16.4 e tentei inumeras vezes instalar o nvidia-instaler todas sem sucesso. Segue abaixo o log do instalador.

Uso debian stable. Alguém pode ajudar?

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Apr 12 23:14:42 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 : /usr/src/linux-2.6.16.4/
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
WARNING: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this
system is supported through the NVIDIA legacy Linux graphics drivers.
Please visit http://www.nvidia.com/object/unix.html for more
information. The 1.0-8756 NVIDIA Linux graphics driver will ignore
this GPU.
WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-8756
NVIDIA Linux graphics driver installed in this system. For further
details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in
the README available on the Linux driver download page at
www.nvidia.com.
-> 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: Yes)
-> 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 test with CC="cc".
-> Using the kernel source path '/usr/src/linux-2.6.16.4/' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.6.16.4/'
-> Kernel output path: '/usr/src/linux-2.6.16.4/'
-> 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=/usr/src/linux-2.6.16.4/ SYS
OUT=/usr/src/linux-2.6.16.4/'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux-2.6.16.4/ SUBDIRS=/tmp/selfgz
8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv modules
mkdir -p /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.tmp_vers
ions
make -f scripts/Makefile.build obj=/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz8780/NVI
DIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERNEL_
_ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march
=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz8780/NVIDIA-Linux-x86-1.0
-8756-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wcha
r-subscripts -Wparentheses -Wp
ointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -W
no-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM
-DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLE
VEL=8756 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BR
IDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PR
ESENT -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 -DN
V_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_ST
R(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8780/NVIDIA-L
inux-x86-1.0-8756-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz8780/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/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz8780/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/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz8780/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
cc -Wp,-MD,/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERN
EL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O
s -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
-march=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz8780/NVIDIA-Linux-x
86-1.0-8756-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O
-fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_N
AMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=
1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8756 -UDEBUG -U_DEBUG -DNDEBUG -DNV_
SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_P
RESENT -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_PRESEN
T -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(
s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(n
vidia)" -c -o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.tmp
_nv-vm.o /tmp/selfgz8780/NVIDIA-Lin
ux-x86-1.0-8756-pkg1/usr/src/nv/nv-vm.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/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-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
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-vm.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KER
NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -ma
rch=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz8780/NVIDIA-Linux-x86-
1.0-8756-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -W
char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAM
ES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8756 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SI
GNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRE
SENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CH
OOSE_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(os_agp)" -D"KBUILD_MO
DNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pk
g1/usr/src/nv/.tmp_os-agp.o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/u
sr/src/nv/os-agp.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/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-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
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.os-i
nterface.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -
D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstr
ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestandin
g -Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary
=2 -march=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz8780/NVIDIA-Lin
ux-x86-1.0-8756-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wfo
rmat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werro
r -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KER
NEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VER
S
ION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8756 -UDEBUG -U_DEBUG -DNDEBUG -
DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLA
SS_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_PR
ESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_
STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=K
BUILD_STR(nvidia)" -c -o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/
src/nv/.tmp_os-interface.o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/us
r/src/nv/os-interface.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/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-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
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/os-interface.c:26:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.os-r
egistry.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D
__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstri
ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding
-Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
-march=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz
8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-typ
e -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-mu
ltichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-err
or -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8756 -UDEBUG -U_D
EBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -
DNV_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_REM
AP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMO
DULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_registry)" -D"KB
UILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-
8756-pkg1/usr/src/nv/.tmp_os-registry.o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0
-8756-pkg1/usr/src/nv/os-registry.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/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-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
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/os-registry.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.nv-i
2c.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KER
NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -ma
rch=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz8780/NVIDIA-Linux-x86-
1.0-8756-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -W
char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAM
ES -D__KERNEL__ -DMODULE -DNTRM -DNVRM -DDYNAMIC_SLI -DNV_MAJOR_VERSION=1
-DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=8756 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SI
GNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRE
SENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CH
OOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT
-DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)
=#s" -D"
KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -
c -o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.tmp_nv-i2c.o
/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv-i2c.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/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:51,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-i2c.c:8:
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/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-linux.h:76,
from /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv/nv-i2c.c:8:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-875
6-pkg1/usr/src/nv/nvidia.o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/us
r/src/nv/nv-kernel.o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/
nv/nv.o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv-vm.o /t
mp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/os-agp.o /tmp/selfgz
8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/os-interface.o /tmp/selfgz878
0/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/os-registry.o /tmp/selfgz8780/NV
IDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv-i2c.o
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.16.4/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-2.6.16.4/Module.symvers vmlinux
/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nvidia.o
cc -Wp,-MD,/tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.nvid
ia.mod.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D_
_KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstric
t-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding
-Os -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
-march=k6 -Iinclude/asm-i386/mach-default -D"KBUILD_STR(s)=#s" -D"KBUI
LD_BASENAME=KBUILD_STR(nvidia)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -DMOD
ULE -c -o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nvidia.m
od.o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nvidia.mod.c
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756
-pkg1/usr/src/nv/nvidia.ko /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-pkg1/us
r/src/nv/nvidia.o /tmp/selfgz8780/NVIDIA-Linux-x86-1.0-8756-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 No such device
-> Kernel messages:
eth0: Media Link On 100mbps full-duplex
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
lp0: using parport0 (interrupt-driven).
eth0: no IPv6 routers present
nvidia: module license 'NVIDIA' taints kernel.
NVRM: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this
system is
NVRM: supported through the NVIDIA Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 1.0-8756 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
NVRM: No NVIDIA graphics adapter found!
NVRM: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this
system is
NVRM: supported through the NVIDIA Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 1.0-8756 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
NVRM: No NVIDIA graphics adapter found!
NVRM: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this
system is
NVRM: supported through the NVIDIA Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 1.0-8756 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
NVRM: No NVIDIA graphics adapter found!
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.
NeoBlink
NeoBlink Tô em todas Registrado
2.3K Mensagens 14 Curtidas
#2 Por NeoBlink
13/04/2006 - 01:55
Brother, no alto do log diz.....

WARNING: The NVIDIA RIVA TNT2 Model 64/Model 64 Pro GPU installed in this
system is supported through the NVIDIA legacy Linux graphics drivers.
Please visit http://www.nvidia.com/object/unix.html for more
information. The 1.0-8756 NVIDIA Linux graphics driver will ignore
this GPU.
WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-8756
NVIDIA Linux graphics driver installed in this system. For further
details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in
the README available on the Linux driver download page at
www.nvidia.com.


Ta dizendo, que sua placa de video, "NVIDIA RIVA TNT2 Model 64/Model 64 Pro" parece não ser suportada pelo driver....você tem que baixar o nvidia-legacy que suporta placas mais antigas....dá um procurada no site da nvidia....
Você postou o log aqui, mas chegou a ler ? ou não entende inglês ?
Até mais!
joadiv
joadiv Membro Junior Registrado
192 Mensagens 0 Curtidas
#4 Por joadiv
13/04/2006 - 03:28
Pesquisando na internet descobri que o driver que tem suporte para minha placa. Baixei tentei instalar e como no primeiro não deu certo. Posto abaixo o log do instalador:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Apr 13 03:20:31 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 : false
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 : /usr/src/linux-2.6.16.4/
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: Yes)
-> 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.
-> Using the kernel source path '/usr/src/linux-2.6.16.4/' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.6.16.4/'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> 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.o nv-vm.o os-
agp.o os-interface.o os-registry.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 -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-2.6.16.4/ SYS
OUT=/usr/src/linux-2.6.16.4/'...
Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!

*** Failed rivafb module sanity check, but continuing! ***


NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux-2.6.16.4/ SUBDIRS=/tmp/selfgz
9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
mkdir -p /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers
ions
make -f scripts/Makefile.build obj=/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz9910/NVI
DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERNEL_
_ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march
=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz9910/NVIDIA-Linux-x86-1.0
-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wcha
r-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-
common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
MODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -D
NV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -D
NV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_C
HANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUILD_
STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(
nvidia)" -c -o /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tm
p_nv.o /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-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/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-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/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-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
In file included from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:203:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:231:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:626:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:201: warning:
initialization from incompatible pointer type
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:223:5: warnin
g: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nvos_get_agp_device_by_class':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:401: warning:
implicit declaration of function `pci_find_class'
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:401: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:415: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nvidia_init_module':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:930: warning:
implicit declaration of function `pm_register'
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:930: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nvidia_exit_module':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1051: warning
: implicit declaration of function `pm_unregister'
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1097:5: warni
ng: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nv_kern_mmap':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1541: warning
: implicit declaration of function `remap_page_range'
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`_get_phys_address':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2509: warning
: passing arg 1 of `pmd_offset' from incompatible pointer type
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nv_agp_init':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2991: warning
: implicit declaration of function `inter_module_get'
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: warning
: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nvos_count_devices':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:3134: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:3139: warning
: assignment makes pointer from integer without a cast
cc -Wp,-MD,/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERN
EL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -mar
ch=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz9910/NVIDIA-Linux-x86-1
.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wc
har-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fn
o-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__
-DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX
-DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV
_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUIL
D
_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_
STR(nvidia)" -c -o /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
/.tmp_nv-vm.o /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-v
m.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/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-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
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-vm.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
In file included from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-vm.c:14:
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:203:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:231:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:626:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c: At top le
vel:
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: warnin
g: `cache_flush' defined but not used
cc -Wp,-MD,/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KER
NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -ma
rch=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz9910/NVIDIA-Linux-x86-
1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -W
char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__
-DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX
-DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV
_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUIL
D_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUIL
D_STR(nvidia)" -c -o /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/
nv/.tmp_os-agp.o /tmp/selfgz9910/NVIDIA-Linux-x86-1.0
-6629-pkg1/usr/src/nv/os-agp.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/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-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
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
In file included from /tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-agp.c:24:
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:203:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:231:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:626:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: At top l
evel:
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: error
: syntax error before '*' token
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
ng: type defaults to `int' in declaration of `drm_agp_p'
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
ng: data definition has no type or storage class
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernInitAGP':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:76: warni
ng: assignment discards qualifiers from pointer target type
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:85: error
: request for member `acquire' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:88: warni
ng: `inter_module_put' is deprecated (declared at include/linux/module.h:575
)
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:113: erro
r: request for member `copy_info' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:173: erro
r: request for member `enable' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:185: erro
r: request for member `release' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:186: warn
ing: `inter_module_put' is deprecated (declared at include/linux/module.h:57
5)
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernTeardownAGP':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:216: erro
r: request for member `release' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:218: warn
ing: `inter_module_put' is deprecated (declared at include/linux/module.h:57
5)
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernAllocAGPPages':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:265: erro
r: request for member `allocate_memory' in something not a structure or unio
n
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:273: erro
r: request for member `bind_memory' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:290: erro
r: request for member `unbind_memory' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:305: erro
r: request for member `free_memory' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernMapAGPPages':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:337: warn
ing: implicit declaration of function `remap_page_range'
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:345: erro
r: request for member `unbind_memory' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernFreeAGPPages':
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:444: erro
r: request for member `unbind_memory' in something not a structure or union
/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:445: erro
r: request for member `free_memory' in something not a structure or union
make[3]: ** [/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-ag
p.o] Erro 1
make[2]: ** [_module_/tmp/selfgz9910/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/
nv] Erro 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: ** [module] Erro 1
make: ** [module] Erro 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.
joadiv
joadiv Membro Junior Registrado
192 Mensagens 0 Curtidas
#6 Por joadiv
13/04/2006 - 04:03
Tô . O kernel foi compilado por mim. Descarreguei o módulo rivafb e continua dando o mesmo erro.
Será que tem haver com o módulo que suporta placas agp nvidia compilado com o kernel ? Parece que a compilação para nesse modulo.
Vou ver se o kernel 2.6.7 tem esse módulo e comparar com o 2.6.16. Posto depois o resultado. No kernel 2.6.7 o driver instala.
Jeanks
Jeanks Tô em todas Registrado
2K Mensagens 45 Curtidas
#7 Por Jeanks
13/04/2006 - 04:44
Pela mensagem:


The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...



Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!

*** Failed rivafb module sanity check, but continuing! ***


Tente apenas remover o modulo "rivafb", na config do kernel. ta em Device drivers -----------> Graphics support . É uma lista com varios modulos, apenas remova o riva e recompile o kernel.

Se você quiser testar, tem como colocar o modulo "rivafb" no arquivo /etc/hotplug/blacklist , para que ele não seja carregado no boot. Dai reiniciar e tentar instalar o driver novamente. Não sei se vai dar certo, mas é alguma coisa mais rapida do que recompilar o kernel.

Eu não sei aonde que li sobre isso, acho que foi em tutorial para recompilar o kernel, que o cara indicar não usar esse modulo caso queira instalar o driver.
joadiv
joadiv Membro Junior Registrado
192 Mensagens 0 Curtidas
#9 Por joadiv
13/04/2006 - 20:35
Pois bem.
Removi o driver rivafb e recompilei o kernel.

Tentei instalar o driver e, para minha decepção, continua dando erro.
Segue abaixo o log do instalador após a remoção e recompilação do kernel:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Apr 13 20:28:07 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 : false
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 : /usr/src/linux-2.6.16.4/
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.
-> Using the kernel source path '/usr/src/linux-2.6.16.4/' as specified by the
'--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.6.16.4/'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module 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.o nv-vm.o os-
agp.o os-interface.o os-registry.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 -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-2.6.16.4/ SYS
OUT=/usr/src/linux-2.6.16.4/'...

NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux-2.6.16.4/ SUBDIRS=/tmp/selfgz
6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
mkdir -p /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers
ions
make -f scripts/Makefile.build obj=/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629
-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz6065/NVI
DIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERNEL_
_ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
ypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march
=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz6065/NVIDIA-Linux-x86-1.0
-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wcha
r-subscripts -Wparentheses -Wp
ointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -W
no-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -
D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_
VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DN
VCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_P
CI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=
KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz6065
/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz6065/NVIDIA-
Linux-x86-1.0-6629-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/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-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/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-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
In file included from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv.c:14:
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:203:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:231:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:626:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: At top level
:
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:201: warning:
initialization from incompatible pointer type
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:223:5: warnin
g: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nvos_get_agp_device_by_class':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:401: warning:
implicit declaration of function `pci_find_class'
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:401: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:415: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nvidia_init_module':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:930: warning:
implicit declaration of function `pm_register'
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:930: warning:
assignment makes pointer from integer without a cast
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nvidia_exit_module':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1051: warning
: implicit declaration of function `pm_unregister'
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1097:5: warni
ng: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nv_kern_mmap':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:1541: warning
: implicit declaration of function `remap_page_range'
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`_get_phys_address':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2509: warning
: passing arg 1 of `pmd_offset' from incompatible pointer type
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nv_agp_init':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2991: warning
: implicit declaration of function `inter_module_get'
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:2992: warning
: `inter_module_put' is deprecated (declared at include/linux/module.h:575)
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c: In function
`nvos_count_devices':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:3134: warning
: assignment makes pointer from integer without a cast
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c:3139: warning
: assignment makes pointer from integer without a cast
cc -Wp,-MD,/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv-v
m.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERN
EL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pro
totypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer
-pipe -msoft-float -mpreferred-stack-boundary=2 -march=k6 -Iinclude/asm-i38
6/mach-default -I/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
-Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenth
eses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wno-cast
-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_
SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DN
V_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_
OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESEN
T -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_B
ASENAME=KBUILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp
/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/self
gz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.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/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-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
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-vm.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
In file included from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-vm.c:14:
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:203:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:231:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:626:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c: At top le
vel:
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c:59: warnin
g: `cache_flush' defined but not used
cc -Wp,-MD,/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-a
gp.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KER
NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -ma
rch=k6 -Iinclude/asm-i386/mach-default -I/tmp/selfgz6065/NVIDIA-Linux-x86-
1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -W
char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -f
no-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__
-DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE
-DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX
-DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV
_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DMODULE -D"KBUIL
D_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUIL
D_STR(nvidia)" -c -o /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/
nv/.tmp_os-agp.o /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/o
s-agp.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/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:52,
from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-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
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:522,
from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-agp.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:258: warning: wrong type argument to increment
In file included from /tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/os-agp.c:24:
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:203:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:231:5:
warning: "NV_ENABLE_MEM_TRACKING" is not defined
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-linux.h:626:2:
warning: #warning "conftest.sh failed, assuming remap_page_range(4)!"
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: At top l
evel:
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: error
: syntax error before '*' token
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
ng: type defaults to `int' in declaration of `drm_agp_p'
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: warni
ng: data definition has no type or storage class
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernInitAGP':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:76: warni
ng: assignment discards qualifiers from pointer target type
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:85: error
: request for member `acquire' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:88: warni
ng: `inter_module_put' is deprecated (declared at include/linux/module.h:575
)
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:113: erro
r: request for member `copy_info' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:173: erro
r: request for member `enable' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:185: erro
r: request for member `release' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:186: warn
ing: `inter_module_put' is deprecated (declared at include/linux/module.h:57
5)
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernTeardownAGP':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:216: erro
r: request for member `release' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:218: warn
ing: `inter_module_put' is deprecated (declared at include/linux/module.h:57
5)
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernAllocAGPPages':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:265: erro
r: request for member `allocate_memory' in something not a structure or unio
n
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:273: erro
r: request for member `bind_memory' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:290: erro
r: request for member `unbind_memory' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:305: erro
r: request for member `free_memory' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernMapAGPPages':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:337: warn
ing: implicit declaration of function `remap_page_range'
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:345: erro
r: request for member `unbind_memory' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c: In funct
ion `KernFreeAGPPages':
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:444: erro
r: request for member `unbind_memory' in something not a structure or union
/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:445: erro
r: request for member `free_memory' in something not a structure or union
make[3]: ** [/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-ag
p.o] Erro 1
make[2]: ** [_module_/tmp/selfgz6065/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/
nv] Erro 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: ** [module] Erro 1
make: ** [module] Erro 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.
Deancarlos
Deancarlos Super Participante Registrado
620 Mensagens 17 Curtidas
#11 Por Deancarlos
13/04/2006 - 21:17
joadiv
Após isto removi todos os módulos nvidia do kernel e recompilei novamente. Sem sucesso outra vez, continua dando erro.

A sua distribuição não oferece um driver da nvidia pré-compilado ?
No primeiro Kernel 2.6.16 eu tive um problema parecido com esse, porém com o driver 8178.
Precisei aplicar o patch indicado nesse tópico.
Esse foi o patch aplicado ao driver.
O processo é simples até.
Na pasta onde baixei o driver:
$./NVIDIA-Linux-x86-1.0-8178-pkg1.run --extract-only
Depois copiei o patch para a pasta NVIDIA-Linux-x86-1.0-8178-pkg1 (gerada após a extração dos arquivos do driver) e apliquei o patch:
$patch -p0
Depois, em modo texto, acessei a pasta e instalei o driver usando o nvidia-installer:
#./nvidia-installer
Lembrando que fiz isso usando o driver 8178.
Não sei se esse é o ideal para sua placa, em alguns locais eu vejo sendo indicado o driver 7174.
Aqui tem um patch recomendado para ele ser usado no kernel 2.6.16.x, se for usar substitua o nome do driver e do patch baixado nos comandos acima.

Espero que ajude...

DEAN
© 1999-2024 Hardware.com.br. Todos os direitos reservados.
Imagem do Modal