[Pkg-alsa-devel] Bug#261618: alsa-source: Disable alsa modules supplied by kernel package

Sam Morris Sam Morris <sam@netcity.co.uk>, 261618@bugs.debian.org
Tue, 27 Jul 2004 03:03:57 +0100


Package: alsa-source
Severity: important

Recent stock kernels in Debian provide alsa modules in
/lib/modules/$KVERS/kernel/sound/ that conflict with the ones installed
by packages created by alsa-source, that are in
/lib/modules/$KVERS/alsa/.

As a result, modprobe sometimes loads ALSA modules from one directory,
and sometimes from another; this results in `unresolved symbol' errors,
similar to those seen in
<http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=199705>.

I worked around the problem on my machine by moving all the directories
in /lib/modules/$KVERS/kernel/sound/ out of the way (soundcore.ko must
remain) and running depmod -a. It would be nice if packages generated
from alsa-source could automatically ensure that modprobe favours
/lib/modules/$KVERS/alsa/ over /lib/modules/$KVERS/kernel/sound/
somehow.

Could the ALSA modules in /lib/modules/$KVERS/kernel/sound/ be moved
away automatically with dpkg-divert?

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (700, 'testing'), (600, 'unstable'), (550, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8