Problems compiling bluetooth module

Mikus Grinbergs mikus at
Wed Jan 5 15:43:55 EST 2011

Each kernel has something I might call a "magic handle".  [I do not know
how that value is constructed - but I suspect that vermagic is only
*part* of that value.]

When a module needs to be dynamically loaded into the kernel, the (my
name) "magic handle" for the include libraries with which that module
was compiled must match the "magic handle" of the running kernel.  If
they don't - the result is the "Invalid module format" message.

Some months ago I tried my best to compile a driver and add it to the
os852 build - but no matter how careful I was - I could NOT satisfy that
"magic handle" comparison when it came time to load that driver.  [I
ended up recompiling the whole kernel (now having the missing driver
specified as part of the configuration for this kernel's compile).]


More information about the Devel mailing list