On Tue Jun 15 2010 at 17:10:55 -0700, Paul Goyette wrote:
Actually reading the first email in the thread also ...
I have to admit I haven't been following your work too closely, but
builtin modules are initialized either when all of them are initialized
per class or when their initialization is explicitly requested. So if
whatever uses PCIVERBOSE requests the load of the PCIVERBOSE module,
it should be initialized and you should be fine (see module_do_load()).
The only "but" is that explicit loads must be accompanied by
MODCTL_LOAD_FORCE. I wrote it that way because of the security use case:
if you disable a builtin module due to a security hole, you don't want
it to get autoloaded later. For file system modules you can always use
rm, but for builtins you don't have that luxury. So if that is actually
what you're chocking on, I suggest adding some flag to determine if the
module has ever been loaded and ignore the need for -F if it hasn't.