Red Hat Bugzilla – Bug 834789
Zsmalloc kernel doesn't come with a licence information
Last modified: 2012-06-23 12:28:00 EDT
Description of problem:
Can't load module zcache nor zram on 3.4.x kernel series.
The problem appears to be with licence declaration of the module, as described here http://driverdev.linuxdriverproject.org/pipermail/devel/2012-June/027377.html and here http://lists.debian.org/debian-kernel/2012/06/msg00588.html .
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install kmod-staging from rpmfusion, or build a new kernel with zsmalloc and zcache/zram as module
2. Try to load any of the modules
# modprobe zcache
ERROR: could not insert 'zcache': No such file or directory
# tail /var/log/messages
zsmalloc: Unknown symbol alloc_vm_area (err 0)
zsmalloc: Unknown symbol free_vm_area (err 0)
zsmalloc: Unknown symbol __supported_pte_mask (err 0)
The module load without errors
There is already a patch for it: http://driverdev.linuxdriverproject.org/pipermail/devel/2012-June/027377.html. I haven't tried building it, and don't know if the patch has hit upstream.
Fedora doesn't build or support ZSMALLOC and this is an issue that needs to be fixed upstream.