OpenAFK kernel module won't build with linux-rt kernel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openafs (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: openafs-
trying to build a binary module from openafs-
sudo module-assistant -t -l 2.6.22-9-rt build openafs-
fails with
...
LD [M] /usr/src/
Building modules, stage 2.
MODPOST 1 modules
FATAL: modpost: GPL-incompatible module openafs.ko uses GPL-only symbol '__rcu_read_unlock'
OpenAFS is distributed under the IBM Public License 1.0, which is incompatible with GPLv2, and I assume that the -rt kernel relies on GPL-only code, but an end-user should be allowed to build the module himself, since the GPL doesn't cover the derivative work unless it's redistributed (right?).
Building the same source module for linux-image-
Changed in openafs: | |
status: | Fix Committed → Fix Released |
This problem also appears for builds on Sparc64. It seems to come from a problem with the architecture specific system-call tables.
There is a workaround available: mod/modpost. c and do a search for "GPL-incompatible" you will find two lines around line nr 1100 which says fatal(' GPL-incompatibl e.....' ) - go on an change the word fatal to warn. Then save and close the file. Still standing in /usr/src/linux now run "make scripts" to recompile the modpost script.
go to your /usr/src/linux or whereever you have your linux-headers installed, then open scripts/
This workaround enables the module to be loaded, at least for sparc64. Futhermore it does actually seem to work, i have seen no problems so far with 1.4.5 in ubntu 8.10 installed with this workaround.