[OpenAFS] More GPL-only Linux mess with 2.6.20

Russ Allbery rra@stanford.edu
Wed, 18 Apr 2007 14:48:26 -0700

Russ Allbery <rra@stanford.edu> writes:

> When trying to build kernel modules against the 2.6.20 in Debian
> unstable, we're now getting:

> FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only 
>     symbol 'paravirt_ops'

> It looks like asm*/paravirt.h redefines a bunch of operations in terms of
> things in the paravirt struct if CONFIG_PARAVIRT is enabled, which it is
> by default on the Debian kernels, and paravirt_ops is a GPL-only symbol.

> Beyond that, I'm a bit out of my depth.  Is there a way to work around
> this that will work with kernels with CONFIG_PARAVIRT enabled?

Further discussion uncovered:


(thanks, cg2v!) which reveals that this was done because the interface is
experimental and unstable.  I think this is a Debian packaging issue and
Debian kernels should not be enabling this option yet.  I've filed a bug
against the Debian kernel package.

Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>