Cannot unload some modules
Hello all :))
I have a problem with some modules, specially with 'dummy.o' (the
dummy network device driver) and some USB ones: they aren't unloaded, even when unused and autocleanable, issuing two or more 'rmmod -a' commands.
This leaded me to think that the 'cleanup()' functions of those
modules did hang, but the modules are correctly unloaded if called by their name in rmmod, but no if 'rmmod -a' is used :((
I've took a look at 'module.c' and I'm clueless. I've checked the
modules and are loaded with 'modprobe -k', are marked as autocleanable and marked as unused, too.
BTW, I've noticed too that the serial module sometimes has a
negative value in its 'use' count :!!
Can anybody tell me what could be happening?. Thanks a lot.
Ra�l
Quoted 4 lines · On Thu, 27 Sep 2001 15:54:19 +0200, =?ISO-8859-1?Q?Ra=FAl?=…
I have a problem with some modules, specially with 'dummy.o' (the
dummy network device driver) and some USB ones: they aren't unloaded, even when unused and autocleanable, issuing two or more 'rmmod -a' commands.
Auto unload ignores modules that have not been used, to avoid a race condition. Either use the module or don't auto load them in the first place.
Quoted 2 lines
BTW, I've noticed too that the serial module sometimes has a
negative value in its 'use' count :!!
That could be the serial driver saying that it handles its own unload count but is more likely to be a bug in the code. Report it to the serial driver maintainer.