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

Steve Kowalik Steve Kowalik <stevenk@debian.org>, 261618@bugs.debian.org
Tue, 27 Jul 2004 14:44:32 +1000


severity 261618 normal
thanks

On Tue, 27 Jul 2004 03:03:57 +0100, Sam Morris uttered
> 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?
> 
Kernel versions >= 2.5.70 or so contain ALSA, and the Debian kernel
builds ALSA in as modules. I personally find that more than
acceptable, since I don't have to have alsa-modules installed for each
kernel I have. I am loath to implement a hack that checks for
/lib/modules/$KVERS/kernel/sound and diverts them away.

Cheers,
-- 
					Steve
"I'm a doctor, not a doorstop"
         - EMH, USS Enterprise