Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 22226 - Can't locate snd-mixer-oss + snd-pcm-oss modules
Summary: Can't locate snd-mixer-oss + snd-pcm-oss modules
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-04 14:17 UTC by Narada Sage
Modified: 2003-06-06 16:34 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Narada Sage 2003-06-04 14:17:37 UTC
This bug reports the problematic after effects of bug 22107 which requested new
ebuilds for alsa-driver, alsa-lib, alsa-utils, alsa-tools, alsa-oss.

ALSA_CARDS="cs46xx"

After upgrading all alsa packages to 0.9.4 and rebooting there was no sound. 
The /etc/init.d/alsasound script complained on boot that it could not locate
module snd-cs46xx.  Also, I could not modprobe snd-mixer-oss and snd-pcm-oss
either since they also could not be found.  Typing alsamixer it gave the
following error message.

alsamixer: function snd_ctl_open failed for default: No such file or directory

When I downgraded to alsa-driver-0.9.3c and restarted the alsasound init script
I had sound and was able to modprobe above the mixer and oss modules  and also
alsamixer was working.  So, it can be perhaps narrowed down to that package.

$ emerge info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
GENTOO_MIRRORS="http://194.83.57.7/sites/www.ibiblio.org/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
rsync://ftp.belnet.be/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 3dnow avi cups encode gif jpeg mmx mpeg ncurses pdflib png quicktime
truetype xml2 xmms xv zlib directfb alsa berkdb slang readline aalib svga java
mysql X sdl tcpd pam libwww ssl perl python imlib oggvorbis gtk motif opengl cdr
acpi acpi4linux apache2 dvd fbcon imap maildir nptl sse tiff usb xml -oss -apm
-crypt -libg++ -mikmod -nls -spell -gtkhtml -gdbm -arts -tetex -bonobo -tcltk
-guile -gpm -esd -gnome -qt -kde"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
FEATURES="sandbox distcc ccache"
Comment 1 Narada Sage 2003-06-06 11:41:37 UTC
This is to inform you of the progress of the bug.

The new version of alsa-driver (0.9.4-r1) now gives sound and alsamixer now loads fine too so those problems are solved.  However the problem of loading mixer and oss modules still remains.  I have the following in my /etc/conf.d/local.start.

modprobe snd-mixer-oss
modprobe snd-pcm-oss

With alsa-driver-0.9.3c this worked fine and allowed me to save volume and mixer settings.  However, after installing 0.9.4-r1 and rebooting I get the error below.

modprobe: Can't locate module snd-mixer-oss
modprobe: Can't locate module snd-pcm-oss
Failed to start local.

I'd be grateful if this was addressed as volume control and preservation of settings is very useful to have.
Comment 2 Arcady Genkin (RETIRED) gentoo-dev 2003-06-06 16:34:36 UTC
You have -oss in your USE flags.  Change that to "oss" and re-merge alsa-driver if you want OSS emulation.