Installation des drivers Nvidia sur Mandrake 10.1 - Linux et OS Alternatifs
Marsh Posté le 14-03-2005 à 15:46:58
Il n'y a pas de kernel 2.6.11 dans la 10.1 c'est un kernel cooker !
Dit moi est ce que c'est pas tout simplement parce que tu bootes avec le kernel-smp-2.6.8.1.10mdk-1-1mdk (qui est passé en kernel-smp-2.6.8.1.24mdk-1-1mdk dans les updates) et qu'il compile les drivers nvidia pour le 2.6.11 ainsi il ne peut pas le charger. Si c'est le cas supprime le kernel source du 2.6.11 et remplace le par le 2.6.8.1
Marsh Posté le 14-03-2005 à 12:42:27
Bonjour,
Je précise que j'ai lu le poste de Tomake sur l'installation. Mais la version a changé, la ligne de nvidia.c avec PM_SAVE_STATE n'existe plus. La version que j'ai essayé est la 1.0-7167.
En fait il me dit que la compilation s'est bien passée mais qu'il ne peut pas le charger, car il n'a pas été construit avec les bonnes sources...
Mon uname -r donne : 2.6.11-1mdk
Et rpm -qa | grep kernel :
kernel-source-2.6-2.6.11-1mdk
kernel-2.6.11.1mdk-1-1mdk
kernel-smp-2.6.8.1.10mdk-1-1mdk
Je joins le log.
Merci bien si vous avez des idées :-)
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Mar 14 11:52:02 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 : /usr/src/linux-2.6.11-1mdk
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.11-1mdk' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.6.11-1mdk'
-> Performing CC test with CC="cc".
-> Performing rivafb 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.11-1mdk S
YSOUT=/usr/src/linux-2.6.11-1mdk'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux-2.6.11-1mdk SUBDIRS=/root/tmp
/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv modules
mkdir -p /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/.tm
p_versions
make -f scripts/Makefile.build obj=/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.
0-7167-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz115
86/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv
/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/inclu
de -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-str
ict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer -pip
e -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/as
m-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/selfgz11586/N
VIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wsw
itch
-Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -
Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOS
E_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_N
AMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_P
ATCHLEVEL=7167 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -U
DEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT
-DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIM
PLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE
-DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz11586/NVI
DIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.o /root/tmp/selfgz11586/NVIDIA-Lin
ux-x86-1.0-7167-pkg1/usr/src/nv/nv.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/nv.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In fun
ction `nvidia_init_module':
/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:970: wa
rning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1036: w
arning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c: In fun
ction `nvidia_exit_module':
/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv.c:1119: w
arning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111)
cc -Wp,-MD,/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv
/.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/in
clude -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-
strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer -
pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude
/asm-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/selfgz1158
6/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -
Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multi
char -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error
-D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_K
ERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=7167 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86
-UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PR
ESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLA
SS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DM
ODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /root/tm
p/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-vm.o /root/tmp/se
lfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-vm.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/nv-vm.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv
/.os-agp.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.1/i
nclude -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno
-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer
-pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclud
e/asm-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/selfgz115
86/NVIDIA-Linux-x86-1.0
-7167-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wcha
r-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-
common -MD -Wsign-compare -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=7167
-DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -
DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAG
E_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRES
ENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENA
ME=os_agp -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz11586/NVIDIA-Linux-x
86-1.0-7167-pkg1/usr/src/nv/os-agp.o /root/tmp/selfgz11586/NVIDIA-Linux-x86-
1.0-7167-pkg1/usr/src/nv/os-agp.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/os-agp.c:24:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv
/.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3
.4.1/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraph
s -fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-po
inter -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -I
include/asm-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/sel
fgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn
-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wn
o-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno
-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_
LOOSE_K
ERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0
-DNV_PATCHLEVEL=7167 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86
-UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PR
ESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLA
SS_SIMPLE_CREATE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DM
ODULE -DKBUILD_BASENAME=os_interface -DKBUILD_MODNAME=nvidia -c -o /root/tmp
/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/os-interface.o /root/
tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/os-interface.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/os-interface.c:26:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
cc -Wp,-MD,/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv
/.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.
4.1/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-poin
ter -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iin
clude/asm-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/selfg
z11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-t
ype -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-
multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-e
rror -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LO
OSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERS
ION=0 -DNV_PATCHLEVEL=7167 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU
_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_R
ANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_P
RESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DNV
_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=os_re
gistry -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz11586/NVIDIA-Linux-x86-
1.0-7167-pkg1/usr/src/nv/os-registry.o /root/tmp/selfgz11586/NVIDIA-Linux-x8
6-1.0-7167-pkg1/usr/src/nv/os-registry.c
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/u
sr/src/nv/os-registry.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
ld -m elf_i386 -r -o /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1
/usr/src/nv/nvidia.o /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/us
r/src/nv/nv-kernel.o /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/us
r/src/nv/nv.o /root/tmp/selfgz11586/
NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nv-vm.o /root/tmp/selfgz11586/NVID
IA-Linux-x86-1.0-7167-pkg1/usr/src/nv/os-agp.o /root/tmp/selfgz11586/NVIDIA-
Linux-x86-1.0-7167-pkg1/usr/src/nv/os-interface.o /root/tmp/selfgz11586/NVID
IA-Linux-x86-1.0-7167-pkg1/usr/src/nv/os-registry.o
Building modules, stage 2.
make -rR -f /usr/src/linux-2.6.11-1mdk/scripts/Makefile.modpost
scripts/mod/modpost -i /usr/src/linux-2.6.11-1mdk/Module.symvers /root/t
mp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nvidia.o
cc -Wp,-MD,/root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv
/.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4
.1/include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-poin
ter -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iin
clude/asm-i386/mach-default -Wdeclaration-after-statement -DKBUILD_BASEN
AME=nvidia -DKBUILD_MODNAME=nvidia -DMODULE -c -o /ro
ot/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nvidia.mod.o /r
oot/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/src/nv/nvidia.mod.c
ld -m elf_i386 -r -o /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/
usr/src/nv/nvidia.ko /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/us
r/src/nv/nvidia.o /root/tmp/selfgz11586/NVIDIA-Linux-x86-1.0-7167-pkg1/usr/s
rc/nv/nvidia.mod.o
NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely
because the kernel module was built using the wrong kernel source files.
Please make sure you have installed the kernel source files for your
kernel; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Unknown symbol in module
-> Kernel messages:
nvidia: Unknown symbol agp_enable
nvidia: Unknown symbol agp_backend_acquire
nvidia: Unknown symbol agp_free_memory
nvidia: Unknown symbol agp_allocate_memory
nvidia: Unknown symbol agp_unbind_memory
nvidia: Unknown symbol agp_copy_info
nvidia: Unknown symbol agp_backend_release
nvidia: Unknown symbol agp_bind_memory
nvidia: Unknown symbol agp_enable
nvidia: Unknown symbol agp_backend_acquire
nvidia: Unknown symbol agp_free_memory
nvidia: Unknown symbol agp_allocate_memory
nvidia: Unknown symbol agp_unbind_memory
nvidia: Unknown symbol agp_copy_info
nvidia: Unknown symbol agp_backend_release
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.