Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98414 - media-sound/alsa-driver-1.0.8 fails to clean out /lib/modules/<kernel>/alsa-driver properly
Summary: media-sound/alsa-driver-1.0.8 fails to clean out /lib/modules/<kernel>/alsa-d...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High trivial (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-08 16:32 UTC by postmodern
Modified: 2005-09-01 17:08 UTC (History)
0 users

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 postmodern 2005-07-08 16:32:26 UTC
After building alsa-driver with +oss for testing and then rebuilding with -oss I
found that the /etc/init.d/alsasound script was still trying to load oss
modules. I found that /lib/modules/<kernel>/alsa-driver/acore/oss still existed
with snd-mixer-oss and snd-pcm-oss inside. The existence of any modules matching
the pattern "snd.*oss$" triggered the script to load all oss modules. This was a
problem considering there were only two oss modules, which resulted in lots of
modprobe errors complaining about missing symbols.

Reproducible: Always
Steps to Reproduce:
1. USE="oss" ALSA_CARDS="emu10k1" emerge alsa-driver
2. USE="-oss" ALSA_CARDS="emu10k1" emerge alsa-driver
3. /etc/init.d/alsasound restart

Actual Results:  
10 or so modprobe errors

Expected Results:  
oss is gone and no errors

Gentoo Base System version 1.6.12
Portage 2.0.51.22-r1 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3400+
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.9
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O3 -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -O3 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa berkdb bitmap-fonts cdr crypt curl dvd encode esd fam
flac font-server fortran gif gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6
java jp2 jpeg libvisual libwww lzw lzw-tiff mad motif mp3 multilib ncurses
network nls ogg oggvorbis opengl pam perl png python quicktime readline samba
sdl softmmu speex spell sqlite ssl tcltk tcpd tetex theora tiff truetype
truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xrandr
xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Sven Wegener gentoo-dev 2005-07-08 16:42:52 UTC
Files in /lib/modules are CONFIG_PROTECTed
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-01 17:08:07 UTC
Don't think it's the case to un-protect them right now.