On Friday, September 17, 2010 06:46:34 pm Rudolf Streif wrote:
> Does anybody have success getting the Broadcom Wifi driver for BCM43xx to
> work on the recent MeeGo 1.0.1.90?
Yes.
> [ 3345.634935] wl: module license 'unspecified' taints kernel.
> [ 3345.635508] wl: Unknown symbol lock_is_held (err 0)
> [ 3345.635836] wl: Unknown symbol lockdep_rcu_dereference (err 0)
> [ 3345.638942] wl: Unknown symbol debug_lockdep_rcu_enabled (err 0)
> [ 3345.639606] wl: Unknown symbol debug_locks (err 0)
> [ 3345.639925] wl: Unknown symbol rcu_sched_lock_map (err 0)
> [ 3433.184248] lib80211_crypt: registered algorithm 'TKIP'
>
> The kernel tainting is expected since it is a proprietary driver. However, I
> cannot find an explanation why these symbols cannot be located by the
> module. Any help is appreciated.
The missing symbols are from the "Lockdep RCU" debugging feature of the kernel.
This feature is strictly GPL, and the development MeeGo kernels have it
enabled. (AFAIK, the 1.0 kernel did not have it.)
When you load a module, it must declare what its license is. If the license is
GPL IN-compatible, it will unload all of the GPL features in the kernel
("kernel tainting"). If the module does not declare license info (like the
Broadcom driver)... it is assumed to be GPL incompatible.
The problem is that Lockdep RCU appears in header files as inline functions and
whatnot. So, when you compile the Brodcom driver... it's including stuff from
Lockdep RCU whether you like it or not. Therefore, when it gets unloaded --
you lose things that you need.
I found a patch in Ubuntu that will declare the license of the module.
Something like "Unknown/Proprietary". If you apply this patch, you will not be
able to compile the driver because it detects the in-compatibility with RCU.
So: if you /lie/ and say that the driver /is/ GPL, it compiles and works...
mostly OK.
See http://bugs.meego.com/show_bug.cgi?id=5069 .
-gabriel
_______________________________________________
MeeGo-community mailing list
[email protected]
http://lists.meego.com/listinfo/meego-community