"Brent S. Elmer Ph.D." <webe...@aim.com> writes:

> Fails to build for kernel 2.6.30 with the following:

> FATAL: modpost: GPL-incompatible module openafs.ko uses GPL-only
> symbol '__rcu_read_unlock'

If you enable kernel debugging, the kernel changes the export status of
that symbol to make it GPL-only and breaks all non-GPL modules that need
to do that type of locking.  I'm afraid that this isn't something that
OpenAFS can fix; it's either an upstream kernel bug or an intentional
kernel incompatibility with all non-GPL modules (even open-source ones
like OpenAFS) depending on which way you want to look at it.

I'm afraid the only solution is to disable CONFIG_LOCK_DEBUG (or
something like that; I'm not sure of the exact setting, but it's one of
the debugging ones) so that __rcu_read_unlock isn't marked GPL-only.

I assume this is a custom 2.6.30 kernel build?  If this is a stock
Debian kernel, we're going to have much more serious problems.  :/

-- 
Russ Allbery (r...@debian.org)               <http://www.eyrie.org/~eagle/>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to