Re: Show stoppers

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 13 Oct 1998 14:19:19 +0100 (BST)


> So how do you fix that ? I know `options -k sound cs4232.o' "solves"
> part of the problem by preventing unloading. But I *want* the sound
> modules to be unloaded

There are two ways to fix it. The one I consider most elegant is to be
able to tell kerneld or the cron run kmod support stuff that this module
must only be removed in combination. Ie you can say

options -t sound cs4232.o

or similar and kerneld will not remove cs4232 first, and when it removes
sound will remove cs4232 with it

The second approach is to generate module requests when you open a minor
device from soundcore and sound. I accept patches for these, or for any
even more inventive approaches

Alan

-
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/