[Résolu]Build kernel module

Salut,

J’ai des problème avec les drivers nvidia suite au passage d’une debian Etch en Lenny. La 3D fonctionnait à merveille sur la Etch mais depuis le passage en Lenny ça ne fonvtionne plus. Au reboot après l’upgrade l’interface graphique ne fonctionnait pas, j’ai donc fait un:

Après un nouveau reboot, kde se lance mais le pilote graphique ne fonctionne plus. Je me dis tant pis je vais le réinstaller. du coup je fait:

[code]# /etc/init.d/kdm stop

sh NVIDIA-Linux-x86-100.14.11-pkg1.run[/code]

Et là nouveau problème:

Je ne sais pas trop quoi faire maintenant, est-ce que quelqu’un pourrait éclairer ma lanterne? :slightly_smiling:

bonjour,
tu as probablement changé de noyau en passant en lenny, tente d’utiliser module-assistant : [code]# m-a prepare

m-a update

m-a a-i nvidiamachin[/code]

ça va te remettre le module nvidia pour le noyau que tu utilises je crois …

Bonjour,
Merci de ta réponse rapide, j’essaie ça de suite :slightly_smiling:

EDIT: J’ai un problème de dépendances non configurées :confused:

[code]Etch:/home/cam# m-a prepare
Récupération des sources du noyau de la version : 2.6.21-2-686
En-têtes du noyau disponibles dans /lib/modules/2.6.21-2-686/build
Création du lien symbolique…
apt-get install build-essential
Lecture des listes de paquets… Fait
Construction de l’arbre des dépendances
Lecture des informations d’état… Fait
Les NOUVEAUX paquets suivants seront installés :
build-essential
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
2 partiellement installés ou enlevés.
Il est nécessaire de prendre 6982o dans les archives.
Après dépaquetage, 20,5ko d’espace disque supplémentaires seront utilisés.
Réception de : 1 http://ftp.fr.debian.org testing/main build-essential 11.3 [6982B]
6982o réceptionnés en 0s (82,8ko/s)
Lecture des champs des paquets… Fait
Lecture de l’état des paquets… Fait
Récupération des rapports de bogue… Fait
Analyse des informations Trouvé/Corrigé… Fait
Sélection du paquet build-essential précédemment désélectionné.
(Lecture de la base de données… 226943 fichiers et répertoires déjà installés.)
Dépaquetage de build-essential (à partir de …/build-essential_11.3_i386.deb) …
Paramétrage de ccs (1.03.00-2) …
Starting cluster configuration system: /etc/cluster/cluster.conf: file not found.
Please ensure an initial copy of this file is present on all cluster nodes.
invoke-rc.d: initscript ccs, action “start” failed.
dpkg : erreur de traitement de ccs (–configure) :
le sous-processus post-installation script a retourné une erreur de sortie d’état 1
dpkg : des problèmes de dépendances empêchent la configuration de cman :
cman dépend de ccs (>> 1.03.00) ; cependant :
Le paquet ccs n’est pas encore configuré.
cman dépend de ccs (<< 1.03.01) ; cependant :
Le paquet ccs n’est pas encore configuré.
dpkg : erreur de traitement de cman (–configure) :
problèmes de dépendances - laissé non configuré
Paramétrage de build-essential (11.3) …
Des erreurs ont été rencontrées pendant l’exécution :
ccs
cman
E: Sub-process /usr/bin/dpkg returned an error code (1)

Fait.[/code]

Qu’est ce que c’est que c’est histoire de cluster???

[quote]Paramétrage de ccs (1.03.00-2) …
Starting cluster configuration system: /etc/cluster/cluster.conf: file not found.
Please ensure an initial copy of this file is present on all cluster nodes.
invoke-rc.d: initscript ccs, action “start” failed. [/quote]En tlout cas tout le pbm est là. Fais ton /etc/cluster/cluster.conf

Oui le problème est là mais j’y mets quoi la dedans?? :laughing:
Avant l’upgrade, je n’ai pas eu à faire de fichier comme celui-ci.

re,
je n’ai pas ces paquets cman et ccs, et tu ne les avais pas non plus avant l’upgrade : vires les, et refais les commandes.
pour virer: # apt-get remove --purge ccs cman
Quittes à les réinstaller aprés si tu en avais vraiment besoin, avec un peu de chance, la réinstallation pondra un cluster.conf.
À mon avis l’install d’un des deux ne s’est pas complétement terminé, pour qu’il te manque ce fichier …
cherche le dans /usr/share/doc, fais un locate -b cluster.conf, s’il est là, c’est un exemple par défaut, que tu peux placer dans ton /etc/cluster …
S’il est pas là, vires comme je disais, et on verra.

J’ai viré ccs et cman mais ca ne change rien. Je n’arrive toujours pas à installer le driver graphique (j’ai toujours: unable to build nvidia kernel module.)

Voici mon nvidia-installer.log:

[code]nvidia-installer log file '/var/log/nvidia-installer.log’
creation time: Sun Sep 9 12:45:41 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.
-> 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.21-2-686/build’
-> Kernel output path: ‘/lib/modules/2.6.21-2-686/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.21-2-686/bu
ild SYSOUT=/lib/modules/2.6.21-2-686/build’…
sh ./conftest.sh “cc” “cc” /lib/modules/2.6.21-2-686/build /lib/modules/2.6.
21-2-686/build cc_sanity_check full_output
sh ./conftest.sh “cc” “cc” /lib/modules/2.6.21-2-686/build /lib/modules/2.6.
21-2-686/build select_makefile full_output
make --no-print-directory -f Makefile module

NVIDIA: calling KBUILD…
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.21-2-686/build SUBDIRS=/tmp
/selfgz5248/NVIDIA-Linux-x86-100.14.11-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/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_ver
sions
rm -f /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_versio
ns/*
make -f scripts/Makefile.build obj=/tmp/selfgz5248/NVIDIA-Linux-x86-100.14.1
1-pkg1/usr/src/nv
echo #define NV_COMPILER “cc -v 2>&1 | tail -n 1” > /tmp/selfgz5248/NVI
DIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.nv.
o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL
__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-proto
types -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-floa
t -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686
-ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_
SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-st
ack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5
248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-typ
e -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-mu
ltichar -Werror -O -fno-common -msoft-float -MD -Wsign-compare
-Wno-cast-qual -Wno-error -D_LOOSE_K
ERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“100.14.11”
-UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGA
RT_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_PRES
ENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CH
ANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_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/selfgz5248/NVIDIA-Linux-x86-100.14.11
-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/u
sr/src/nv/nv.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz5248/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
cc -Wp,-MD,/tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.nv-
vm.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KER
NEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-pr
ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-f
loat -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i6
86 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
FI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno
-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/self
gz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-
type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno
-multichar -We
rror -O -fno-common -msoft-float -MD -Wsign-compare -Wno-cast-qu
al -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSI
ON_STRING=“100.14.11” -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -D
NV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_MA
X_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT
-DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_P
FN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRES
ENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KB
UILD_STR(nv_vm)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz524
8/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz5248/NV
IDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/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 a
rithmetic
cc -Wp,-MD,/tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.os-
agp.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KE
RNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-p
rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-
float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i
686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_
CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fn
o-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/sel
fgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv -Wal
l -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
-Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-float
-MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__K
ERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“100.14.11” -UDEBUG -U_DEBUG
-DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_P
CI_GET_CLASS_PRESENT -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRE
SENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_K
GDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PR
ESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUI
LD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(os_agp)" -D"KBUILD_MODNAME=KBUI
LD_STR(nvidia)" -c -o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/.tmp_os-agp.o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/n
v/os-agp.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/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 a
rithmetic
cc -Wp,-MD,/tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.os-
interface.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wst
rict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -
msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -m
arch=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONF
IG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointe
r -fno-stack-
protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5248/
NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -W
switch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multic
har -Werror -O -fno-common -msoft-float -MD -Wsign-compare -Wno
-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -D
NV_VERSION_STRING=“100.14.11” -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT
RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_S
YSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE

PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV
REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE
SEM_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BAS
ENAME=KBUILD_STR(os_interface)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o
/tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_os-interface
.o /tmp/selfgz5248/NVIDIA-Linux-x86
-100.14.11-pkg1/usr/src/nv/os-interface.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/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 a
rithmetic
cc -Wp,-MD,/tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.os-
registry.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -
D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstr
ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -m
soft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -ma
rch=i686 -ffreestan
ding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRA
ME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protec
tor -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz5248/NVIDIA
-Linux-x86-100.14.11-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch
-Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -W
error -O -fno-common -msoft-float -MD -Wsign-compare -Wno-cast-q
ual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERS
ION_STRING=“100.14.11” -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -
DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_SYSCTL_M
AX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT
-DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_P
FN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRES
ENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KB
UILD_STR(os_registry)" -D"KBUILD_
MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11
-pkg1/usr/src/nv/.tmp_os-registry.o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.
11-pkg1/usr/src/nv/os-registry.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/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 a
rithmetic
cc -Wp,-MD,/tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.nv-
i2c.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KE
RNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-p
rototypes -Wno-trigraphs -fno
-strict-aliasing -fno-common -Os -pipe -msoft-float -mregparm=3 -freg-struc
t-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -maccumula
te-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/
asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclarati
on-after-statement -Wno-pointer-sign -I/tmp/selfgz5248/NVIDIA-Linux-x86-100.
14.11-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wcha
r-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno
-common -msoft-float -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=“10
0.14.11” -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_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_PRESE
NT -DNV_CHANGE_PAGE_ATTR_PRESENT -D
NV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s
)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)" -D"KBUILD_MODNAME=KBUILD_STR(n
vidia)" -c -o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.tm
p_nv-i2c.o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv-i2c
.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/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 a
rithmetic
cc -Wp,-MD,/tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/.nva
cpi.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KE
RNEL
_ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-p
rototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Os -pipe -msoft-
float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i
686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_
CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fn
o-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/sel
fgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn
-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wn
o-multichar -Werror -O -fno-common -msoft-float -MD -Wsign-comp
are -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -
DNVRM -DNV_VERSION_STRING=“100.14.11” -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNA
L_STRUCT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESEN
T -DNV_SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOS
E_STATE_PRESENT -DNV_VM_I
NSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -DNV_REMAP_PFN_RANGE_
PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOLE_SEM_PRESENT -DNV_
VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(
nvacpi)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz5248/NVIDIA
-Linux-x86-100.14.11-pkg1/usr/src/nv/.tmp_nvacpi.o /tmp/selfgz5248/NVIDIA-Li
nux-x86-100.14.11-pkg1/usr/src/nv/nvacpi.c
In file included from include/linux/list.h:8,
from include/linux/wait.h:22,
from include/asm/semaphore.h:41,
from include/linux/sched.h:59,
from include/linux/utsname.h:35,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nv-linux.h:19,
from /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/sr
c/nv/nvacpi.c:15:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.
11-pkg1/usr/src/nv/nvidia.o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/
usr/src/nv/nv-kernel.o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/s
rc/nv/nv.o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv-vm.
o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/os-agp.o /tmp/s
elfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/os-interface.o /tmp/sel
fgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/os-registry.o /tmp/selfgz
5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nv-i2c.o /tmp/selfgz5248/NVI
DIA-Linux-x86-100.14.11-pkg1/usr/src/nv/nvacpi.o
Building modules, stage 2.
make -f /usr/src/linux-headers-2.6.21-2-686/scripts/Makefile.modpost
scripts/mod/modpost -m -i /usr/src/linux-headers-2.6.21-2-686/Module.symv
ers -I /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/Module.sym
vers -o /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src/nv/Module.sy
mvers -w /tmp/selfgz5248/NVIDIA-Linux-x86-100.14.11-pkg1/usr/src
/nv/nvidia.o
FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol ‘para
virt_ops’
make[3]: *** [__modpost] Erreur 1
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.
[/code]

Donnes tes messages d’erreurs…

J’ai du le poster en même temps que toi :stuck_out_tongue:

je ne pense pas que fran.b mette 15 minute à poster un “donnes tes messages d’erreur”.
enfin moi en ce qui me concerne, je demande de passer par module-assistant, après c’est toi qui vois … les proprios ou le module nvidia de xorg.

Salut,

option de paravirtualisation, souvent traité sur le forum.

tuto avec noyau 2.6.21 --> http://scorpio810.tuxfamily.org/kernel%202.6.21.html

[quote=“usinagaz”]je ne pense pas que fran.b mette 15 minute à poster un “donnes tes messages d’erreur”.
enfin moi en ce qui me concerne, je demande de passer par module-assistant, après c’est toi qui vois … les proprios ou le module nvidia de xorg.[/quote]

Regarde l’heure d’édition de mon post :wink: module-assistant ne fonctionne pas, il ne va pas au bout…

ah okay … ben pourquoi il va pas au bout ? vu qu’il n’y a plus de problème de cluster.conf ?

Solution trouvée ici. Merci pour le coup de main :wink:

J’ai vu que tu as trouvé la solution à ton pbm, le message d’erreur dans ta compilation est curieux:

[quote]GPL-incompatible module nvidia.ko uses GPL-only symbol ‘para
virt_ops’ [/quote] mais ton lien l’explique bien. J’ignorais que la restriction d’usage des fonctions du noyau aux modules non GPL allait jusque là…