Lucas De Marchi
2013-05-23 18:13:16 UTC
Hi David,
On Thu, May 23, 2013 at 2:38 PM, David Henningsson
unless "-b" is given (which I would expect to be the normal behavior,
but this inherited from module-init-tools).
Since symbol:i915_gpu_busy is treated as an alias, the blacklist
applies for this one though.
Why do you want to load i915 by symbol if it's blacklisted?
Lucas De Marchi
On Thu, May 23, 2013 at 2:38 PM, David Henningsson
Hi Lucas,
I'm not sure if you're the right person to contact, if not, feel free to
redirect me.
Yes, but make sure to CC the mailing list (done now).I'm not sure if you're the right person to contact, if not, feel free to
redirect me.
While debugging and testing some other code, we were trying to use the
kernel symbol_request() call. This does not work if the module to be loaded
is blacklisted, whereas module_request() for the same module succeeds.
E g, when "i915" is blacklisted, loading "i915" still succeeds, but not
"symbol:i915_gpu_busy".
I think I've traced this down to this commit [1]. Is this expected
behaviour? We certainly did not expect it.
Yes, that's because blacklist doesn't apply to the module names,kernel symbol_request() call. This does not work if the module to be loaded
is blacklisted, whereas module_request() for the same module succeeds.
E g, when "i915" is blacklisted, loading "i915" still succeeds, but not
"symbol:i915_gpu_busy".
I think I've traced this down to this commit [1]. Is this expected
behaviour? We certainly did not expect it.
unless "-b" is given (which I would expect to be the normal behavior,
but this inherited from module-init-tools).
Since symbol:i915_gpu_busy is treated as an alias, the blacklist
applies for this one though.
Why do you want to load i915 by symbol if it's blacklisted?
Lucas De Marchi