Messages in this thread | | | Date | Mon, 12 Oct 1998 11:44:31 -0400 (EDT) | From | Rafael Reilova <> | Subject | soundcore not unloading (Was: Re: Show stoppers) |
| |
On Mon, 12 Oct 1998, Petko Manolov wrote:
> Alex Buell wrote: > > > > One of the show stoppers is the inability for the soundcore module to > > unload itself from memory when not in use. Just ran into this one just > > ;-) As Alan said - fixed ages ago! But still not applied by > Linus (i wrote to Linus and vger but there was not responce).
Are you sure this is a fix? I my system it seems the problem lies in the use count for the sound modules being wrong after loading. So I don't think it is at module unload time but that at load time the use count is not kept right.
tempest# modprobe sb ; lsmod Module Size Used by sb 22780 0 (unused) uart401 5584 0 [sb] sound 55452 0 [sb uart401] soundcore 1840 6 [sb sound]
and then it breaks further when removing it,
tempest# modprobe -r sb soundcore: Device or resource busy tempest# lsmod Module Size Used by soundcore 1840 2
BTW, this is 2.1.125, and modutils 2.1.121. If I reload the modules as above (modprobe sb), then the usage count goes up to 8 and so on. Also note that the sound module should have a use count of 2, but has zero, and uart401 should have 1. It would seem all the usage counts are charged to soundcore.
Anyone with some spare debugging time?, it can't be that hard ;-)
Cheers,
Rafael
- 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/
| |