Non en fait j'avais installé au début les drivers nvidia officiels en passant par le .run dispo sur leur site.
C'était passé comme une lettre à la poste, car mon noyau et ses headers étaient bien dans /usr/src, mais depuis que j'ai recompilé un noyau de chez kernel.org, ça passe plus. Normal, me direz-vous, sauf que même avec les sources de mon kernel dans /usr/src, le .run plante désormais, avec dans les logs :
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
OpenGL header files : true
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
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 : (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.
-> There appears to already be a driver installed on your system (version: 100.
14.11). As part of installing this driver (version: 100.14.11), the existin
g driver will be uninstalled. Are you sure you want to continue? ('no' will
abort installation) (Answer: Yes)
-> 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 sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.23.8/source'
-> Kernel output path: '/lib/modules/2.6.23.8/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen 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 nvacpi.
o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
a.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 Modules.symvers
rm -f -rf .tmp_versions
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.23.8/source
SYSOUT=/lib/modules/2.6.23.8/build'...
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23.8/source /lib/modules/2.6.23.
8/build cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23.8/source /lib/modules/2.6.23.
8/build select_makefile full_output
make --no-print-directory -f Makefile module
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.23.8/build KBUILD_VERBOSE=1 -C /li
b/modules/2.6.23.8/source SUBDIRS=/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11
-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.23.8/build \
KBUILD_SRC=/usr/src/linux-2.6.23.8 \
KBUILD_EXTMOD="/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv"
-f /usr/src/linux-2.6.23.8/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/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_ver
sions
rm -f /tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_versio
ns/*
make -f /usr/src/linux-2.6.23.8/scripts/Makefile.build obj=/tmp/selfgz4528/N
VIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4528/NVI
DIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.nv.
o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL
__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.23.8/include -include include/l
inux/autoconf.h -I/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/n
v -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno
-common -Werror-implicit-function-declaration -Os -pipe -msoft-float -mregpa
rm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestan
ding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRA
ME=1 -I/usr/src/linu
x-2.6.23.8/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fo
mit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-po
inter-sign -I/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv -Wa
ll -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthese
s -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Ws
ign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DM
ODULE -DNVRM -DNV_VERSION_STRING=\"100.14.11\" -UDEBUG -U_DEBUG -DNDEBUG -DN
V_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_PC
I_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOI
NT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_A
CQUIRE_CONSOLE_SEM_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
-o /tmp/selfgz4528/NVIDIA-Linux-x8
6-100.14.11-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz4528/NVIDIA-Linux-x86-100.1
4.11-pkg1/usr/src/nv/nv.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:53,
from include/linux/utsname.h:35,
from /tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1326: error:
too many arguments to function ‘kmem_cache_create’
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1435: error:
too many arguments to function ‘kmem_cache_create’
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1569: error:
void value not ignored as it ought to be
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In function
‘nvidia_exit_module’:
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1601: error:
void value not ignored as it ought to be
make[4]: *** [/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.
o] Erreur 1
make[3]: *** [_module_/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv] Erreur 2
make[2]: *** [modules] Erreur 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Erreur 1
make: *** [module] Erreur 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.
[^] # Re: uvcvideo + xorg
Posté par cho7 (site web personnel) . En réponse au message Debian sur HP Pavilion dv9660ef : 1er essai. Évalué à 1.
C'était passé comme une lettre à la poste, car mon noyau et ses headers étaient bien dans /usr/src, mais depuis que j'ai recompilé un noyau de chez kernel.org, ça passe plus. Normal, me direz-vous, sauf que même avec les sources de mon kernel dans /usr/src, le .run plante désormais, avec dans les logs :
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Nov 27 19:58:53 2007
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
OpenGL header files : true
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
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 : (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.
-> There appears to already be a driver installed on your system (version: 100.
14.11). As part of installing this driver (version: 100.14.11), the existin
g driver will be uninstalled. Are you sure you want to continue? ('no' will
abort installation) (Answer: Yes)
-> 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 sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.23.8/source'
-> Kernel output path: '/lib/modules/2.6.23.8/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen 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 nvacpi.
o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
a.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 Modules.symvers
rm -f -rf .tmp_versions
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.23.8/source
SYSOUT=/lib/modules/2.6.23.8/build'...
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23.8/source /lib/modules/2.6.23.
8/build cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23.8/source /lib/modules/2.6.23.
8/build select_makefile full_output
make --no-print-directory -f Makefile module
NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.23.8/build KBUILD_VERBOSE=1 -C /li
b/modules/2.6.23.8/source SUBDIRS=/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11
-pkg1/usr/src/nv modules
make -C /lib/modules/2.6.23.8/build \
KBUILD_SRC=/usr/src/linux-2.6.23.8 \
KBUILD_EXTMOD="/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv"
-f /usr/src/linux-2.6.23.8/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/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_ver
sions
rm -f /tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_versio
ns/*
make -f /usr/src/linux-2.6.23.8/scripts/Makefile.build obj=/tmp/selfgz4528/N
VIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz4528/NVI
DIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.nv.
o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL
__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.23.8/include -include include/l
inux/autoconf.h -I/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/n
v -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno
-common -Werror-implicit-function-declaration -Os -pipe -msoft-float -mregpa
rm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestan
ding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRA
ME=1 -I/usr/src/linu
x-2.6.23.8/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fo
mit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-po
inter-sign -I/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv -Wa
ll -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthese
s -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-float -MD -Ws
ign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DM
ODULE -DNVRM -DNV_VERSION_STRING=\"100.14.11\" -UDEBUG -U_DEBUG -DNDEBUG -DN
V_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_PC
I_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOI
NT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_A
CQUIRE_CONSOLE_SEM_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c
-o /tmp/selfgz4528/NVIDIA-Linux-x8
6-100.14.11-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz4528/NVIDIA-Linux-x86-100.1
4.11-pkg1/usr/src/nv/nv.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:53,
from include/linux/utsname.h:35,
from /tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In function
‘nvidia_init_module’:
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1326: error:
too many arguments to function ‘kmem_cache_create’
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1435: error:
too many arguments to function ‘kmem_cache_create’
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1569: error:
void value not ignored as it ought to be
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c: In function
‘nvidia_exit_module’:
/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.c:1601: error:
void value not ignored as it ought to be
make[4]: *** [/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv.
o] Erreur 1
make[3]: *** [_module_/tmp/selfgz4528/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv] Erreur 2
make[2]: *** [modules] Erreur 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Erreur 1
make: *** [module] Erreur 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.