PDA

View Full Version : Unable to load the kernel module 'nvsound.ko'.



anasazi
13th December 2005, 12:56 AM
When I run the latest NFORCE-Linux-x86=1.0-0310-pkg1.run, it gives me this error:

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.


I've tried specifying the kernel source path and it gives the same error. Linux distro is Fedora 4. I also installed the network portion of the driver and it works just fine.


This is the log file it creates:

nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Mon Dec 12 18:43:42 2005

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
-> Found package NVIDIA network driver for Linux-x86
-> Please select packages for installation:
Selections:
NVIDIA audio driver for Linux-x86 (1.0-7)
-> Starting install of NVIDIA audio driver for Linux-x86
-> Checking for loaded module nvsound
-> Checking for loaded module nvaudio
-> License accepted.
-> Skipping check for conflicting rpms.
-> /proc/version is Linux version 2.6.14-1.1644_FC4smp
(bhcompile@hs20-bc1-1.build.redhat.com) (gcc version 4.0.1 20050727 (Red Hat
4.0.1-5)) #1 SMP Sun Nov 27 03:39:31 EST 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.14-1.1644_FC4smp/source'
-> Kernel output path: '/lib/modules/2.6.14-1.1644_FC4smp/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.14-1.1644_FC4smp/source/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.14-1.1644
_FC4smp/source SYSOUT=/lib/modules/2.6.14-1.1644_FC4smp/build'...
make -C /lib/modules/2.6.14-1.1644_FC4smp/build \
KBUILD_SRC=/usr/src/kernels/2.6.14-1.1644_FC4-smp-i686 \
KBUILD_EXTMOD="/tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main"
-f /usr/src/kernels/2.6.14-1.1644_FC4-smp-i686/Makefile modules
mkdir -p /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_ve
rsions
make -f /usr/src/kernels/2.6.14-1.1644_FC4-smp-i686/scripts/Makefile.build o
bj=/tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
cc -Wp,-MD,/tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
alinux.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.2/include
-D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.14-1.1644_FC4-smp-i
686/include -I/tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -
Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-co
mmon -ffreestanding -O2 -fomit-frame-pointer -g -pipe -msoft-float -fno-buil
tin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2
-fno-unit-at-a-time -
march=i686 -mtune=pentium4 -mregparm=3 -I/usr/src/kernels/2.6.14-1.1644_FC4-
smp-i686/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/us
r/src/kernels/2.6.14-1.1644_FC4-smp-i686/include/asm-i386/mach-default -Iinc
lude/asm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign
-I/tmp/selfgz3130/NFORCE-Linux-x86-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 -DNV_REMAP_PF
N_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -DKBUILD_BASENAME=nva
linux -DKBUILD_MODNAME=nvsound -c -o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-03
10-pkg1/nvsound/main/.tmp_nvalinux.o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-03
10-pkg1/nvsound/main/nvalinux.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:19:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic

anasazi
13th December 2005, 12:56 AM
In file included from /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvalinux.c:25:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:253: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
mixer.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.2/include -
D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.14-1.1644_FC4-smp-i6
86/include -I/tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -W
all -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-com
mon -ffreestanding -O2 -fomit-frame-pointer -g -pipe -msoft-float -fno-built
in-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2
-fno-unit-at-a-time -march=
i686 -mtune=pentium4 -mregparm=3 -I/usr/src/kernels/2.6.14-1.1644_FC4-smp-i6
86/include/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr/src/
kernels/2.6.14-1.1644_FC4-smp-i686/include/asm-i386/mach-default -Iinclude/a
sm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp
/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wimplicit -Wr
eturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith
-Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-error -DNV_REMAP_PFN_RANGE
_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -DKBUILD_BASENAME=nvmixer -D
KBUILD_MODNAME=nvsound -c -o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/
nvsound/main/.tmp_nvmixer.o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/n
vsound/main/nvmixer.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvhw.h:29,
from /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvmixer.c:14:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:448,
from /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvhw.h:35,
from /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvmixer.c:14:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:253: warning: wrong type argument to increment
cc -Wp,-MD,/tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
main.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.2/include -D
__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.14-1.1644_FC4-smp-i68
6/include -I/tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wa
ll -Wundef -Wstrict-prototypes -
Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-fra
me-pointer -g -pipe -msoft-float -fno-builtin-sprintf -fno-builtin-log2 -fno
-builtin-puts -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -
mtune=pentium4 -mregparm=3 -I/usr/src/kernels/2.6.14-1.1644_FC4-smp-i686/inc
lude/asm-i386/mach-generic -Iinclude/asm-i386/mach-generic -I/usr/src/kernel
s/2.6.14-1.1644_FC4-smp-i686/include/asm-i386/mach-default -Iinclude/asm-i38
6/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfg
z3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wimplicit -Wreturn-
type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-
multichar -Werror -O -MD -Wno-cast-qual -Wno-error -DNV_REMAP_PFN_RANGE_PRES
ENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -DKBUILD_BASENAME=nvmain -DKBUILD
_MODNAME=nvsound -c -o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsoun
d/main/.tmp_nvmain.o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/
main/nvmain.c
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvmain.c:27:
include/linux/prefetch.h: In function ‘prefetch_range’:
include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
rithmetic
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:448,
from /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvhw.h:35,
from /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvmain.c:29:
include/asm/io.h: In function ‘check_signature’:
include/asm/io.h:253: warning: wrong type argument to increment
ld -m elf_i386 -m elf_i386 -d -r -o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0
310-pkg1/nvsound/main/nvsound.o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pk
g1/nvsound/main/mcpmain.o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvs
ound/main/nvalinux.o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/
main/nvmixer.o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/n
vmain.o
Building modules, stage 2.
make -rR -f /usr/src/kernels/2.6.14-1.1644_FC4-smp-i686/scripts/Makefile.mod
post
scripts/mod/modpost -m -a -i /usr/src/kernels/2.6.14-1.1644_FC4-smp-i686/M
odule.symvers /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nv
sound.o
Warning: could not find /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsou
nd/main/.mcpmain.o.cmd for /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nv
sound/main/mcpmain.o
cc -Wp,-MD,/tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
sound.mod.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.0.2/inclu
de -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/kernels/2.6.14-1.1644_FC4-sm
p-i686/include -I/usr/src/kernels/2.6.14-1.1644_FC4-smp-i686/ -I -Wall -Wund
ef -Wstrict-prototypes -Wno-trigraphs -fno-strict-al
iasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -g -pipe -msoft-f
loat -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts -mpreferred-st
ack-boundary=2 -fno-unit-at-a-time -march=i686 -mtune=pentium4 -mregparm=3 -
I/usr/src/kernels/2.6.14-1.1644_FC4-smp-i686/include/asm-i386/mach-generic -
Iinclude/asm-i386/mach-generic -I/usr/src/kernels/2.6.14-1.1644_FC4-smp-i686
/include/asm-i386/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration
-after-statement -Wno-pointer-sign -DKBUILD_BASENAME=nvsound -DKBUILD_MODNA
ME=nvsound -DMODULE -c -o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvs
ound/main/nvsound.mod.o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsou
nd/main/nvsound.mod.c
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310
-pkg1/nvsound/main/nvsound.ko /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1
/nvsound/main/nvsound.o /tmp/selfgz3130/NFORCE-Linux-x86-1.0-0310-pkg1/nvsou
nd/main/nvsound.mod.o
-> done.
-> Kernel module compilation complete.
-> Testing kernel module:
-> Copying test module ./nvsound/main/nvsound.ko to
/lib/modules/2.6.14-1.1644_FC4smp/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.14-1.1644_FC4smp/kernel/sound/oss/nvsound.ko): Unknown
symbol in module, or unknown parameter (see dmesg)
-> Testing completed.
ERROR: Installation of the audio driver has failed. Please see the file
'/var/log/nvidia-nforce-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.

anasazi
13th December 2005, 02:50 AM
nvidia says this is known bug # 200265 and there is no known workaround

:(