"WARNING: sound subsystem disabled" message

Associate
Joined
28 Oct 2002
Posts
1,510
Hi i am trying to play Quake 4 demo on linux (Ubuntu) - however in the game settings it shows a default soundcard but not a 'sound device'

i get the following in a terminal as it loads

------ OSS Sound Initialization ------
opened sound device '/dev/dsp'
ioctl SNDCTL_SYSINFO failed: Invalid argument
this ioctl is only available in OSS/Linux implementation. If you run OSS/Free, don't bother.
WARNING: ioctl SNDCTL_DSP_SPEED failed to get the requested frequency 44100, got 48000
close sound device
WARNING: sound subsystem disabled


If its any help here is an excerpt ftom the Q4 config file:
seta bse_rateCost "1.0"

seta bse_rateLimit "1.0"

seta s_maxChannelsMixed "24"

seta s_musicVolume "0.5"

seta s_decompressionLimit "2"

seta s_globalFraction "0.8"

seta s_playDefaultSound "1"

seta s_maxSoundsPerShader "0"

seta s_doorDistanceAdd "150"

seta s_volume "1"

seta s_radioChatterFraction "0.9"

seta s_speakerFraction "0.65"

seta s_numberOfSpeakers "2"

seta s_subFraction "0.5"

seta s_meterTopTime "2000"

seta s_reverse "0"

seta s_spatializationDecay "2"

seta s_dsp "/dev/dsp"

seta s_driver "oss"

seta s_alsa_lib "libasound.so.2"

seta s_alsa_pcm "default"

seta sys_videoRam "0"

Any idea how to correct this?

thanks

Diss
 
Associate
OP
Joined
28 Oct 2002
Posts
1,510
I have found the non-free OSS drivers which don't install properly - i get this message:

Kernel version: Linux ubuntu 2.6.15-22-k7 #1 SMP PREEMPT Sun May 7 17:27:47 UTC 2006 i686 GNU/Linux
Modutils version: 3.2.2
21:48:00 up 1:10, 3 users, load average: 1.10, 0.49, 0.34
=== Running ./bin/soundconf ===
Install directory: /usr/lib/oss
Cannot unload the ALSA modules

not sure what i should do here - my sound card already used OSS- i am using nvidia sound drivers - do i need to uninstall them? and if so how?

thanks

Diss
 
Associate
OP
Joined
28 Oct 2002
Posts
1,510
bugger :(
lost my sound altogether

i tried installing my linux audio drivers again (which installed fine before) but get this message:

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.

need some help on how to get my original sound working again

many thanks

Diss


log file


nforce-installer log file '/var/log/nvidia-nforce-installer.log'
creation time: Sun May 14 22:00:50 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
-> 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.
-> There appears to already be an audio driver installed on your system (versio
n: 1.0-7). As part of installing this driver (version: 1.0-7), the existing
driver will be uninstalled. Are you sure you want to continue? ('no' will a
bort installation) (Answer: Yes)
-> /proc/version is Linux version 2.6.15-22-k7 (buildd@vernadsky) (gcc version
4.0.3 (Ubuntu 4.0.3-1ubuntu5)) #1 SMP PREEMPT Sun May 7 17:27:47 UTC 2006
-> 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.15-22-k7/build'
-> Kernel output path: '/lib/modules/2.6.15-22-k7/build'
-> Performing cc_version_check with CC="cc".
-> running command /bin/grep "^PATCHLEVEL ="
/lib/modules/2.6.15-22-k7/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.15-22-k7/
build SYSOUT=/lib/modules/2.6.15-22-k7/build'...
make -C /lib/modules/2.6.15-22-k7/build \
KBUILD_SRC=/usr/src/linux-headers-2.6.15-22-k7 \
KBUILD_EXTMOD="/tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main"
-f /usr/src/linux-headers-2.6.15-22-k7/Makefile modules
mkdir -p /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_ve
rsions
make -f /usr/src/linux-headers-2.6.15-22-k7/scripts/Makefile.build obj=/tmp/
selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main
cc -Wp,-MD,/tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
alinux.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include -D_
_KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.15-22-k7/include
-include include/linux/autoconf.h -I/tmp/selfgz6463/NFORCE-Linux-x86-1.0-03
10-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-s
trict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -ms
oft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon -I/
usr/src/linux-headers-2.6.15-22-k7/include/asm-i386
/mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement
-Wno-pointer-sign -I/tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/
main -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpa
rentheses -Wpointer-arith -Wno-multichar -Werror -O -MD -Wno-cast-qual -Wno-
error -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -D
KBUILD_BASENAME=nvalinux -DKBUILD_MODNAME=nvsound -c -o /tmp/selfgz6463/NFOR
CE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_nvalinux.o /tmp/selfgz6463/NFOR
CE-Linux-x86-1.0-0310-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/selfgz6463/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
In file included from /tmp/selfgz6463/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/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
mixer.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include -D__
KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.15-22-k7/include
-include include/linux/autoconf.h -I/tmp/selfgz6463/NFORCE-Linux-x86-1.0-03
10-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-s
trict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -ms
oft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon -I/
usr/src/linux-headers-2.6.15-22-k7/include/asm-i386/mach-default -Iinclude/a
sm-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp
/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main -Wall -Wimplicit -Wr
eturn-ty
pe -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-mu
ltichar -Werror -O -MD -Wno-cast-qual -Wno-error -DNV_REMAP_PFN_RANGE_PRESEN
T -DNV_CHANGE_PAGE_ATTR_PRESENT -DMODULE -DKBUILD_BASENAME=nvmixer -DKBUILD_
MODNAME=nvsound -c -o /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/.tmp_nvmixer.o /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/
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/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvhw.h:29,
from /tmp/selfgz6463/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:454,
from /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvhw.h:35,
from /tmp/selfgz6463/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/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
main.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include -D__K
ERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.15-22-k7/include -
include include/linux/autoconf.h -I/tmp/selfgz6463/NFORCE-Linux-x86-1.0-031
0-pkg1/nvsound/main -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-st
rict-aliasing -fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -mso
ft-float -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=athlon -I/u
sr/src/linux-headers-2.6.15-22-k7/include/asm-i386/mach-default -Iinclude/as
m-i386/mach-default -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/
selfgz6463/NFORCE-Linux-x86-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 -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -
DMODULE -DKBUILD_BASENAME=nvmain -DKBUILD_MODNAME=nvsound -c -o /tmp/selfgz6
463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.tmp_nvmain.o /tmp/selfgz646
3/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/selfgz6463/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:454,
from /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound
/main/nvhw.h:35,
from /tmp/selfgz6463/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/selfgz6463/NFORCE-Linux-x86-1.0-0
310-pkg1/nvsound/main/nvsound.o /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pk
g1/nvsound/main/mcpmain.o /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvs
ound/main/nvalinux.o /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/
main/nvmixer.o /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/n
vmain.o
Building modules, stage 2.
make -rR -f /usr/src/linux-headers-2.6.15-22-k7/scripts/Makefile.modpost
scripts/mod/modpost -m -a -i /usr/src/linux-headers-2.6.15-22-k7/Module.sy
mvers /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/nvsound.o
Warning: could not find /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsou
nd/main/.mcpmain.o.cmd for /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nv
sound/main/mcpmain.o
cc -Wp,-MD,/tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1/nvsound/main/.nv
sound.mod.o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.0.3/include
-D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-headers-2.6.15-22-k7/incl
ude -include include/linux/autoconf.h -I/usr/src/linux-headers-2.6.15-22-k7/
-I -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fn
o-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mprefer
red-stack-boundary=2 -fno-unit-at-a-time -march=athlon -I/usr/src/linux-head
ers-2.6.15-22-k7/include/asm-i386/mach-default -Iinclude/asm-i386/mach-defau
lt -Wdeclaration-after-statement -Wno-pointer-sign -DKBUILD_BASENAME=nvsoun
d -DKBUILD_MODNAME=nvsound -DMODULE -c -o /tmp/selfgz6463/NFORCE-Linux-x86-1
.0-0310-pkg1/nvsound/main/nvsound.mod.o /tmp/selfgz6463/NFORCE-Linux-x86-1.0
-0310-pkg1/nvsound/main/nvsound.mod.c
ld -m elf_i386 -m elf_i386 -r -o /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310
-pkg1/nvsound/main/nvsound.ko /tmp/selfgz6463/NFORCE-Linux-x86-1.0-0310-pkg1
/nvsound/main/nvsound.o /tmp/selfgz6463/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.15-22-k7/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.15-22-k7/kernel/sound/oss/nvsound.ko): Unknown symbol in
module, or unknown parameter (see dmesg)
-> Testing completed.
 
Last edited:
Back
Top Bottom