nvidia drivers
ciao a tutti
ho installato etch a 32 bit su una macchina AMD64, e sto tentndo invano
di far funzionare il driver della scheda grafica. La scheda è una Nvidia
G-force 6600, fornita di driver linux dal produttore (
http://www.nvidia.com/object/linux_display_ia32_1.0-6629.html ). Ho
lanciato come da isruzioni il loro eseguibile, e ovviamente (siccome uso
il kernel 2.6.12 di etch) non ha trovato il modulo precompilato per quel
kernel, quindi tenta di compilarlo. Innanzitutto, è un problema il fatto
che ci sia compilato nativamente il supporto per il modulo rivafb?
perchè l'installer dice che sono mutumente esclusivi (rivafb e nvidia),
ma che va avanti lo stesso (tanto io non carico rivafb). però poi si
pianta in compilazione e non c'è stato verso.
allego il cat del file su cui scrive gli errori,
/var/log/nvidia-installer.log:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Oct 27 18:52:15 2005
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 : (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: 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.
-> Kernel source path: '/lib/modules/2.6.12-1-k7/build'
-> 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=/lib/modules/2.6.12-1-k7/bui
ld SYSOUT=/lib/modules/2.6.12-1-k7/build'...
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 /lib/modules/2.6.12-1-k7/build
SUBDIRS=/tmp/
selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
mkdir -p
/tmp/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers
ions
[quì ci sono una serie di compilazioni, ma non ci sono mai errori,
solo i soliti warning]
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:864,
from
/tmp/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv/nv-linux.h:75,
from
/tmp/selfgz8576/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:253: warning: wrong type argument to increment
/tmp/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:
At top l
evel:
/tmp/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:48: error
: syntax error before '*' token
/tmp/selfgz8576/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/selfgz8576/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/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:
In funct
ion 'KernInitAGP':
/tmp/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:76: warni
ng: assignment discards qualifiers from pointer target type
/tmp/selfgz8576/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/selfgz8576/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:568
)
/tmp/selfgz8576/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/selfgz8576/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/selfgz8576/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/selfgz8576/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:56
8)
/tmp/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:
In funct
ion 'KernTeardownAGP':
/tmp/selfgz8576/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/selfgz8576/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:56
8)
/tmp/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:
In funct
ion 'KernAllocAGPPages':
/tmp/selfgz8576/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/selfgz8576/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/selfgz8576/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/selfgz8576/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/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:
In funct
ion 'KernMapAGPPages':
/tmp/selfgz8576/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/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c:
In funct
ion 'KernFreeAGPPages':
/tmp/selfgz8576/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/selfgz8576/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/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-a
gp.o] Error 1
make[2]: ***
[_module_/tmp/selfgz8576/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv] 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.
non so più cosa fare, ho tentato i vari make clean, ho provato a
iniziare a compilare il kernel (si sa mai che crei qualche variabile
necessaria, mi è già capitato), ma nulla....
google segnala tanta gente con i miei stessi problemi, ma poche
soluzioni, o in lingue a me non note....
grazie e ciao
Ste
Reply to: