alsa: cannot stop (unload modules)
since certain time (months ago) the alsa modules cannot be unloaded, I
tried /etc/alsa/stop and also directly using rmmod, nothing helps.
If there is some process that has one of the sound devices open the
alsa stop complains. However even after I close these programs alsa
cannot be stopped - it does not complain anymore but all modules remain
loaded.
relevant system components:
soundblaster 64 awe
uname -a: Linux jojda 2.4.10 #1 Tue Oct 9 00:14:15 PDT 2001 i686
unknown
ii alsa-source 0.9+0beta7-2 ALSA driver source
ii kernel-image-2 jojda.0 Linux kernel binary image for
version 2.4.10
however it's 0.9+beta7-1 that I cannot unload (I just installed *-2).
rmmod does not have any effect but it does not complain either, here's
the demo of how it works (along with the list of modules currently
loaded):
jojda:/usr/src# rmmod -v snd-mixer-oss
Checking snd-mixer-oss for persistent data
jojda:/usr/src# lsmod
Module Size Used by
snd-mixer-oss 8864 0 (autoclean)
snd-card-sbawe 5856 0 (autoclean)
snd-sb16-dsp 5120 0 (autoclean) [snd-card-sbawe]
snd-pcm 43872 0 (autoclean) [snd-sb16-dsp]
snd-sb16-csp 15200 0 (autoclean) [snd-card-sbawe]
snd-sb-common 5848 0 (autoclean) [snd-card-sbawe
snd-sb16-dsp snd-sb16-csp]
snd-opl3 5120 0 (autoclean) [snd-card-sbawe]
snd-hwdep 3584 0 (autoclean) [snd-sb16-csp snd-opl3]
snd-emu8000 10336 0 (autoclean) [snd-card-sbawe]
snd-mpu401-uart 2480 0 (autoclean) [snd-card-sbawe
snd-sb16-dsp]
snd-rawmidi 11392 0 (autoclean) [snd-mpu401-uart]
smbfs 31008 1 (autoclean)
tdfx 34968 1
ipt_MASQUERADE 1216 1 (autoclean)
iptable_nat 12436 0 (autoclean) [ipt_MASQUERADE]
ip_conntrack 12780 1 (autoclean) [ipt_MASQUERADE
iptable_nat]
parport_pc 13796 1 (autoclean)
lp 5888 0 (autoclean)
parport 23808 1 (autoclean) [parport_pc lp]
snd-seq 37200 2
snd-timer 9184 0 [snd-pcm snd-opl3 snd-seq]
snd-seq-device 3760 0 [snd-opl3 snd-emu8000 snd-rawmidi
snd-seq]
snd 22952 3 [snd-mixer-oss snd-card-sbawe
snd-sb16-dsp snd-pcm snd-sb16-csp snd-sb-common snd-opl3 snd-hwdep
snd-emu8000 snd-mpu401-uart snd-rawmidi snd-seq snd-timer
snd-seq-device]
soundcore 3268 4 [snd]
8139too 11680 2 (autoclean)
nls_cp437 4384 3 (autoclean)
vfat 8380 1 (autoclean)
fat 28856 0 (autoclean) [vfat]
serial 44704 0 (autoclean)
isa-pnp 26920 0 (autoclean) [snd-card-sbawe serial]
ip_tables 10304 4 [ipt_MASQUERADE iptable_nat]
unix 13700 163 (autoclean)
jojda:/usr/src#
(funny thing is that alsamixer does not work right now, gmix (oss
emulation) works, xmms (oss emulation) works, pmidi cannot open
sequencer, etc...)
I didn't any bug that looks related to this problem (checked bugs for
alsa-source and alsa-modules)
any ideas? TIA
erik
Reply to: