2.1.12[3-4p1]: soundcore module won't unload

Arjan Filius (arjan@arjan.dyn.ml.org)
Thu, 1 Oct 1998 02:12:19 +0200 (CEST)


Hello,

With the latest kernels it's _impossible_ to unload the soundcore module,
here's the stipped output of 'lsmod;rmmod -a;rmmod -a;..;lsmod'
lsmod:
Module Size Used by
adlib_card 548 0 (autoclean)
opl3 10312 0 (autoclean) [adlib_card]
sb 22876 0 (autoclean)
uart401 5624 0 (autoclean) [sb]
sound 56184 0 (autoclean) [adlib_card opl3 sb uart401]
soundcore 1948 6 (autoclean) [sb sound]

rmmod -a;rmmod -a...;lsmod:
Module Size Used by
soundcore 1948 1 (autoclean)

Now autoloading of the SB fails/doesn't do anything, but doing a:
modprobe sound
modprobe sb
I get my sound modules in again and i'm able to play music. but any
program accessing the mixer device gives a:
Oct 1 02:01:34 sjoerd modprobe: can't locate module mixer0
relevant lsmod:
Module Size Used by
adlib_card 548 0 (autoclean)
opl3 10312 0 (autoclean) [adlib_card]
sb 22876 0
uart401 5624 0 [sb]
sound 56184 0 [adlib_card opl3 sb uart401]
soundcore 1948 7 (autoclean) [sb sound]

Notice the soundcore-Used counter is now 7 instead 6 at the first load of
the sound modules. And the soudcore-Used counter stays at '1' when
unloading all sound modules (except soundcore of course).

Arjan Filius
mailto:iafilius@xs4all.nl
--------------------------------------------------------------
Argh! All right, so how am I supposed to work with Linux when
everything's already been done?! Can't these people leave some
broken MSDOS like parts so there's problems left to solve!?....

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/