Christian Marillat a écrit :
>Légaut Gédéon <gedeon.legaut@???> writes:
>
>[...]
>
>
>
>>J'ai finalement installé le package "kernel-source-2.6.8" mais j'ai un
>>message d'erreur lors de l'installation du driver de la carte mère qui a
>>une carte son intégrée qui dit que les sources du noyau ne sont pas les
>>bonnes.
>>
>>
>
>Tu peux faire voir le message d'erreur ?
>
>Christian
>
>
>
le script qui construit le driver et l'installe est lancé via
#sh NFORCE-Linux-x86_64-1.0-0310-pkg1.run
le premier message d'info est
No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
la compilation semble bien se passée (100 % est affiché), mais la partie
"testing" finit par
ERROR: Unable to load the kernel module 'nvsound.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.
quand je relance avec l'option '--kernel-source-path' pointant sur
/usr/src/linux/ ou /usr/src/kernel-source-2.6.8/,
l'installation donne le même message d'erreur!
le log de l'installation (/var/log/nvidia-nforce-installer.log) est
donné après
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Mon Feb 20 12:36:40 2006
option status:
license pre-accepted : false
expert : false
uninstall : false
driver info : false
no precompiled interface : false
no ncurses color : false
no questions : false
silent : false
Installer install prefix : /usr
kernel source path : (not specified)
net kernel install path : (not specified)
audio kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
Using: nvidia-installer ncurses user interface
-> Found package NVIDIA audio driver for Linux-x86_64
-> Found package NVIDIA network driver for Linux-x86_64
-> Please select packages for installation:
Selections:
NVIDIA audio driver for Linux-x86_64 (1.0-7)
-> Starting install of NVIDIA audio driver for Linux-x86_64
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.8-11-amd64-generic (root@athlon) (gcc
version 3.4.4 20050314 (prerelease) (Debian 3.4.3-13)) #1 Sun Oct 2
22:11:39
CEST 2005
-> No precompiled kernel interface was found to match your kernel; this
means
that the installer will need to compile a new kernel interface.
-> Kernel source path: '/lib/modules/2.6.8-11-amd64-generic/build'
-> Kernel output path: '/lib/modules/2.6.8-11-amd64-generic/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.8-11-amd64-generic/build/Makefile | /usr/bin/cut -d
" " -f
3
-> Kernel module filename is nvsound.ko
Cleaning kernel module build directory.
executing: 'cd ./nvsound/main; make clean'...
rm -f *.ko *mod.* *.cmd nv*.o *~ core
-> Building kernel module:
executing: 'cd ./nvsound/main; make module
SYSSRC=/lib/modules/2.6.8-11-amd6
4-generic/build SYSOUT=/lib/modules/2.6.8-11-amd64-generic/build'...
make -C /lib/modules/2.6.8-11-amd64-generic/build \
KBUILD_SRC=/usr/src/kernel-headers-2.6.8-11-amd64-generic
KBUILD_VERBOS
E=1 \
KBUILD_CHECK=
KBUILD_EXTMOD="/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pk
g1/nvsound/main" \
-f /usr/src/kernel-headers-2.6.8-11-amd64-generic/Makefile
modules
mkdir -p
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/.tmp
_versions
make -f
/usr/src/kernel-headers-2.6.8-11-amd64-generic/scripts/Makefile.buil
d obj=/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main
cc
-Wp,-MD,/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/
.nvalinux.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude
-Iinclud
e2 -I/usr/src/kernel-headers-2.6.8-11-amd64-generic/include
-I/tmp/selfgz28
32/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main -Wall
-Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -mno-red-zone
-mcmodel=kerne
l -pipe -fno-reorder-blocks -Wno-sign-compare
-fno-asynchronous-unwind-table
s -Os -fomit-frame-pointer -I/
tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main -Wall
-Wimplic
it -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses
-Wpointer
-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-error
-DREMAP_NEW -
DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -DKBUILD_BASENAME=nvalinux
-DKBUILD_MO
DNAME=nvsound -c -o
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsoun
d/main/.tmp_nvalinux.o
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvs
ound/main/nvalinux.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:14,
from include/asm/semaphore.h:42,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvalinux.c:19:
include/linux/prefetch.h: Dans la fonction prefetch_range :
include/linux/prefetch.h:62: attention : usage en arithmtique d'un
pointeur
de type void *
In file included from include/asm/dma-mapping.h:4,
from include/linux/dma-mapping.h:16,
from include/asm/pci.h:362,
from include/linux/pci.h:861,
from
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvalinux.c:29:
include/asm-generic/dma-mapping.h: Dans la fonction dma_map_page :
include/asm-generic/dma-mapping.h:79: attention : usage en
arithmtique d'un
pointeur de type void *
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvalinux.c: D
ans la fonction AosMemoryPhysicalAddressListGet :
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvalinux.c:71
0: attention : unused variable `phys_addr'
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvalinux.c: H
ors de toute fonction :
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvavm.h:208:
attention : `nv_flush_caches' defined but not used
cc
-Wp,-MD,/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/
.nvmixer.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude
-Iinclude
2 -I/usr/src/kernel-headers-2.6.8-11-amd64-generic/include
-I/tmp/selfgz283
2/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main -Wall
-Wstrict-prototypes -
Wno-trigraphs -fno-strict-aliasing -fno-common -mno-red-zone
-mcmodel=kernel
-pipe -fno-reorder-blocks -Wno-sign-compare
-fno-asynchronous-unwind-tables
-Os -fomit-frame-pointer
-I/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg
1/nvsound/main -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subsc
ripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD
-Wno-cast-
qual -Wno-error -DREMAP_NEW -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE
-DKBUILD_
BASENAME=nvmixer -DKBUILD_MODNAME=nvsound -c -o
/tmp/selfgz2832/NFORCE-Linux
-x86_64-1.0-0310-pkg1/nvsound/main/.tmp_nvmixer.o
/tmp/selfgz2832/NFORCE-Lin
ux-x86_64-1.0-0310-pkg1/nvsound/main/nvmixer.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:14,
from include/asm/semaphore.h:42,
from include/linux/sched.h:18,
from
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvhw.h:29,
from
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvmixer.c:14:
include/linux/prefetch.h: Dans la fonction prefetch_range :
include/linux/prefetch.h:62: attention : usage en arithmtique d'un
pointeur
de type void *
In file included from include/asm/dma-mapping.h:4,
from include/linux/dma-mapping.h:16,
from include/asm/pci.h:362,
from include/linux/pci.h:861,
from
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvhw.h:35,
from
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvmixer.c:14:
include/asm-generic/dma-mapping.h: Dans la fonction dma_map_page :
include/asm-generic/dma-mapping.h:79: attention : usage en
arithmtique d'un
pointeur de type void *
cc
-Wp,-MD,/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/
.nvmain.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude
-Iinclude2
-I/usr/src/kernel-headers-2.6.8-11-amd64-generic/include
-I/tmp/selfgz2832/
NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main -Wall
-Wstrict-prototypes -Wn
o-trigraphs -fno-strict-aliasing -fno-common -mno-red-zone
-mcmodel=kernel -
pipe -fno-reorder-blocks -Wno-sign-compare
-fno-asynchronous-unwind-tables -
Os -fomit-frame-pointer
-I/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1
/nvsound/main -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat
-Wchar-subscr
ipts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -MD
-Wno-cast-q
ual -Wno-error -DREMAP_NEW -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE
-DKBUILD_B
ASENAME=nvmain -DKBUILD_MODNAME=nvsound -c -o
/tmp/selfgz2832/NFORCE-Linux-x
86_64-1.0-0310-pkg1/nvsound/main/.tmp_nvmain.o
/tmp/selfgz2832/NFORCE-Linux-
x86_64-1.0-0310-pkg1/nvsound/main/nvmain.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:14,
from include/asm/semaphore.h:42,
from include/linux/sched.h:18,
from include/linux/module.h:10,
from
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvmain.c:27:
include/linux/prefetch.h: Dans la fonction prefetch_range :
include/linux/prefetch.h:62: attention : usage en arithmtique d'un
pointeur
de type void *
In file included from include/asm/dma-mapping.h:4,
from include/linux/dma-mapping.h:16,
from include/asm/pci.h:362,
from include/linux/pci.h:861,
from
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvhw.h:35,
from
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvmain.c:29:
include/asm-generic/dma-mapping.h: Dans la fonction dma_map_page :
include/asm-generic/dma-mapping.h:79: attention : usage en
arithmtique d'un
pointeur de type void *
ld -m elf_x86_64 -d -r -o
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg
1/nvsound/main/nvsound.o
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/n
vsound/main/mcpmain.o
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvso
und/main/nvalinux.o
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsoun
d/main/nvmixer.o
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/m
ain/nvmain.o
Building modules, stage 2.
make -rR -f
/usr/src/kernel-headers-2.6.8-11-amd64-generic/scripts/Makefile.
modpost
scripts/mod/modpost -i
/usr/src/kernel-headers-2.6.8-11-amd64-generic/Modu
le.symvers
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/nv
sound.o
cc
-Wp,-MD,/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsound/main/
.nvsound.mod.o.d -nostdinc -iwithprefix include -D__KERNEL__
-Iinclude -Iinc
lude2 -I/usr/src/kernel-headers-2.6.8-11-amd64-generic/include
-I/usr/src/ke
rnel-headers-2.6.8-11-amd64-generic/ -I -Wall -Wstrict-prototypes
-Wno-trigr
aphs -fno-strict-aliasing -fno-common -mno-red-zone -mcmodel=kernel
-pipe -f
no-reorder-blocks -Wno-sign-compare -fno-asynchronous-unwind-tables
-Os -fom
it-frame-pointer -DKBUILD_BASEN
AME=nvsound -DKBUILD_MODNAME=nvsound -DMODULE -c -o
/tmp/selfgz2832/NFORCE-L
inux-x86_64-1.0-0310-pkg1/nvsound/main/nvsound.mod.o
/tmp/selfgz2832/NFORCE-
Linux-x86_64-1.0-0310-pkg1/nvsound/main/nvsound.mod.c
ld -m elf_x86_64 -r -o
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/n
vsound/main/nvsound.ko
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvs
ound/main/nvsound.o
/tmp/selfgz2832/NFORCE-Linux-x86_64-1.0-0310-pkg1/nvsoun
d/main/nvsound.mod.o
-> done.
-> Kernel module compilation complete.
-> Testing kernel module:
-> Copying test module ./nvsound/main/nvsound.ko to
/lib/modules/2.6.8-11-amd64-generic/kernel/sound/oss/nvsound.ko
ERROR: Unable to load the kernel module 'nvsound.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: FATAL: Error inserting nvsound
(/lib/modules/2.6.8-11-amd64-generic/kernel/sound/oss/nvsound.ko):
Invalid
module format
-> Testing completed.