Ciao a tutti
mi intrufolo perchè anch'io con quelst'ultimo kernel 2.6.25-2-686
faccio a botte con i driver NVIDIA-Linux-x86-173.14.09-pkg1.run
Finora con gli altri kernel ho sempre usato l'installer
ctrl+alt+F1
cd /etc/init.d
./kdm stop
cd /dir/driver
sh NVIDIA-Linux-x86-173.14.09-pkg1.run
cd /etc/init.d
./kdm start
al riavvio ho sempre avuto i driver funzionanti.
Con il kernel 2.6.25-2-686 subito ho avuto problemi
l'installazione si fermava per via di un kernel XEN che non sapevo di avere
allora in giro trovo questo
http://blog.creonfx.com/linux/how-to-install-nvidia-driver-on-2625-2-debian-kernel-with-xene questo
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=481485ho eseguito come detto
cd /lib/modules/2.6.25-2-686 (or wherever are your modules)
grep CONFIG_XEN . -Rl | xargs -i sed -i -e ’s/CONFIG_XEN/CONFIG_LUPO/g’ {}
export IGNORE_XEN_PRESENCE=1
CC=/usr/bin/gcc-4.1 sh NVIDIA-Linux-x86-173.14.09-pkg1.run
adesso non ho più l'errore di XEN ma l'installazione non va a termine
ecco il file di log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Jul 15 23:57:08 2008
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 : false
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : false
no backup : false
kernel module only : true
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 : true
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 : 2.6.25-2-686
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
-> Only installing a kernel module for a non-running kernel; skipping the "is
an X server running?" test.
-> Only installing a kernel module for a non-running kernel; skipping the "is
an NVIDIA kernel module loaded?" test.
-> License accepted.
-> Installing NVIDIA driver version 173.14.09.
-> Not probing for precompiled kernel interfaces.
-> Performing CC sanity check with CC="/usr/bin/gcc-4.1".
-> Kernel source path: '/lib/modules/2.6.25-2-686/build'
-> Kernel output path: '/lib/modules/2.6.25-2-686/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.25-2-686/bu
ild SYSOUT=/lib/modules/2.6.25-2-686/build'...
NVIDIA: calling KBUILD...
make CC=/usr/bin/gcc-4.1 KBUILD_VERBOSE=1 -C /lib/modules/2.6.25-2-686/buil
d SUBDIRS=/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv 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/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.tmp_ver
sions ; rm -f /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.tm
p_versions/*
make -f scripts/Makefile.build obj=/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.0
9-pkg1/usr/src/nv
/usr/bin/gcc-4.1 -Wp,-MD,/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/u
sr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/incl
ude -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-
implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -m
regparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffr
eestanding -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-3dn
ow -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-s
tatement -Wno-pointer-sign -I/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pk
g1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscr
ipts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compa
re -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRIN
G=\"173.14.09\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"
KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/.tmp_nv.o /tmp/se
lfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/n
v.c
In file included from include/linux/list.h:8,
from include/linux/preempt.h:11,
from include/linux/spinlock.h:49,
from include/linux/seqlock.h:29,
from include/linux/time.h:8,
from include/linux/timex.h:57,
from include/linux/sched.h:54,
from include/linux/utsname.h:35,
from /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/asm/dma-mapping_32.h:5,
from include/asm/dma-mapping.h:2,
from include/linux/dma-mapping.h:52,
from include/asm-generic/pci-dma-compat.h:7,
from include/asm/pci.h:90,
from include/linux/pci.h:945,
from /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/nv/nv-linux.h:86,
from /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/nv/nv.c:14:
include/linux/scatterlist.h: In function ‘sg_virt’:
include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used
in arithmetic
In file included from /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/nv/nv-linux.h:109,
from /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/nv/nv.c:14:
include/linux/highmem.h: In function ‘zero_user_segments’:
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/nv/nv.c:14:
/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv-linux.h:112:23
: error: asm/maddr.h: No such file or directory
In file included from /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/nv/nv-linux.h:113,
from /tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/nv/nv.c:14:
include/xen/interface/memory.h: At top level:
include/xen/interface/memory.h:32: error: expected specifier-qualifier-list
before ‘GUEST_HANDLE’
include/xen/interface/memory.h:53: warning: data definition has no type or s
torage class
include/xen/interface/memory.h:53: warning: type defaults to ‘int’ in de
claration of ‘DEFINE_GUEST_HANDLE_STRUCT’
include/xen/interface/memory.h:53: warning: parameter names (without types)
in function declaration
include/xen/interface/memory.h:89: error: expected specifier-qualifier-list
before ‘GUEST_HANDLE’
include/xen/interface/memory.h:97: warning: data definition has no type or s
torage class
include/xen/interface/memory.h:97: warning: type defaults to ‘int’ in de
claration of ‘DEFINE_GUEST_HANDLE_STRUCT’
include/xen/interface/memory.h:97: warning: parameter names (without types)
in function declaration
include/xen/interface/memory.h:107: error: expected specifier-qualifier-list
before ‘domid_t’
include/xen/interface/memory.h:120: warning: data definition has no type or
storage class
include/xen/interface/memory.h:120: warning: type defaults to ‘int’ in d
eclaration of ‘DEFINE_GUEST_HANDLE_STRUCT’
include/xen/interface/memory.h:120: warning: parameter names (without types)
in function declaration
include/xen/interface/memory.h:129: error: expected specifier-qualifier-list
before ‘domid_t’
include/xen/interface/memory.h:143: warning: data definition has no type or
storage class
include/xen/interface/memory.h:143: warning: type defaults to ‘int’ in d
eclaration of ‘DEFINE_GUEST_HANDLE_STRUCT’
include/xen/interface/memory.h:143: warning: parameter names (without types)
in function declaration
/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c: In function
‘nv_kern_open’:
/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.c:2044: error:
implicit declaration of function ‘HYPERVISOR_memory_op’
make[3]: *** [/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/src/nv/nv.
o] Error 1
make[2]: *** [_module_/tmp/selfgz9290/NVIDIA-Linux-x86-173.14.09-pkg1/usr/sr
c/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.
adesso continuo a usare il kenel 2.6.24-1-686 con i driver 173.14.09
e va benissimo
purtroppo vedo in giro che sono molti ad avere problemi.
Se qualcuno ne sapesse saltarci fuori
ne sarei grato