Re: negative mod use count

2001-03-02 Thread Boris Dragovic
> Not necessarily. Please read the other replies (specifically mine) to > discover the real answer as to why modules can _legally_ have negative > use counts. thanks to all the replies, I think it is a bug in the module since the use count is -3 :). it is ltmodem driver for lucent win

Re: negative mod use count

2001-03-02 Thread Russell King
On Thu, Mar 01, 2001 at 04:55:30PM -0800, Dr. Kelsey Hudson wrote: > On Wed, 28 Feb 2001, Boris Dragovic wrote: > > what does negative module use count mean? > > That means that there's a bug in someone's driver. Not necessarily. Please read the other replies (specifically mine) to discover

Re: negative mod use count

2001-03-02 Thread Russell King
On Thu, Mar 01, 2001 at 04:55:30PM -0800, Dr. Kelsey Hudson wrote: On Wed, 28 Feb 2001, Boris Dragovic wrote: what does negative module use count mean? That means that there's a bug in someone's driver. Not necessarily. Please read the other replies (specifically mine) to discover the

Re: negative mod use count

2001-03-02 Thread Boris Dragovic
Not necessarily. Please read the other replies (specifically mine) to discover the real answer as to why modules can _legally_ have negative use counts. thanks to all the replies, I think it is a bug in the module since the use count is -3 :). it is ltmodem driver for lucent win modems...

Re: negative mod use count

2001-03-01 Thread Dr. Kelsey Hudson
On Wed, 28 Feb 2001, Boris Dragovic wrote: > what does negative module use count mean? That means that there's a bug in someone's driver. For some reason, the function to decrement the module use is called more than once when a controlling process releases use of a module. This will prevent

Re: negative mod use count

2001-03-01 Thread Dr. Kelsey Hudson
On Wed, 28 Feb 2001, Boris Dragovic wrote: what does negative module use count mean? That means that there's a bug in someone's driver. For some reason, the function to decrement the module use is called more than once when a controlling process releases use of a module. This will prevent you

Re: negative mod use count

2001-02-28 Thread Keith Owens
On Wed, 28 Feb 2001 20:58:06 +0100, Boris Dragovic <[EMAIL PROTECTED]> wrote: >what does negative module use count mean? Either an extra MOD_DEC_USE_COUNT was issued (buggy code) or the module has a can_unload() function. When modules define a can_unload() routine then the use count is always

Re: negative mod use count

2001-02-28 Thread Russell King
On Wed, Feb 28, 2001 at 09:31:46PM +0100, Frank v Waveren wrote: > On Wed, Feb 28, 2001 at 03:08:11PM -0500, Brian Gerst wrote: > > > what does negative module use count mean? > > A bugged module. > > Not at all. A non-zero usage count means the module can't be unloaded. > Whatever the module

Re: negative mod use count

2001-02-28 Thread Frank v Waveren
On Wed, Feb 28, 2001 at 03:08:11PM -0500, Brian Gerst wrote: > > what does negative module use count mean? > A bugged module. Not at all. A non-zero usage count means the module can't be unloaded. Whatever the module does with the usage count apart from that is completely it's own choice. --

Re: negative mod use count

2001-02-28 Thread Brian Gerst
Boris Dragovic wrote: > > hi, > what does negative module use count mean? A bugged module. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

negative mod use count

2001-02-28 Thread Boris Dragovic
hi, what does negative module use count mean? lynx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

negative mod use count

2001-02-28 Thread Boris Dragovic
hi, what does negative module use count mean? lynx - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: negative mod use count

2001-02-28 Thread Brian Gerst
Boris Dragovic wrote: hi, what does negative module use count mean? A bugged module. -- Brian Gerst - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: negative mod use count

2001-02-28 Thread Frank v Waveren
On Wed, Feb 28, 2001 at 03:08:11PM -0500, Brian Gerst wrote: what does negative module use count mean? A bugged module. Not at all. A non-zero usage count means the module can't be unloaded. Whatever the module does with the usage count apart from that is completely it's own choice. --

Re: negative mod use count

2001-02-28 Thread Russell King
On Wed, Feb 28, 2001 at 09:31:46PM +0100, Frank v Waveren wrote: On Wed, Feb 28, 2001 at 03:08:11PM -0500, Brian Gerst wrote: what does negative module use count mean? A bugged module. Not at all. A non-zero usage count means the module can't be unloaded. Whatever the module does with

Re: negative mod use count

2001-02-28 Thread Keith Owens
On Wed, 28 Feb 2001 20:58:06 +0100, Boris Dragovic [EMAIL PROTECTED] wrote: what does negative module use count mean? Either an extra MOD_DEC_USE_COUNT was issued (buggy code) or the module has a can_unload() function. When modules define a can_unload() routine then the use count is always