Red Hat Bugzilla – Bug 135283
Symbol __VMALLOC_RESERVE will not find by a module
Last modified: 2015-01-04 17:10:28 EST
I have installed kernel 2.6.8-1.603.
When I try to compile a third party kernel module like nvidia, which
include asm/page.h, the resulting module complaints, that the kernel
symbol __VMALLOC_RESERVE didn't exist.
This is coused by a change of asm/page.h. To solve this problem, you a
to insert a EXPORT_SYMBOL(__VMALLOC_RESERVE) to arc/i386/mm/init.c.
Created attachment 105021 [details]
Patch for insert EXPORT_SYMBOL(__VMALLOC_RESERVE)
Please add this patch to the kernel RPM for solving the reported bug.
I highly doubt Redhat will include this patch (well.. I'm certain
they won't) since the kernel developers have recently chosen to hide
this symbol deliberately. The drivers that attempt to poke their
noses in where they don't belong should be updated, that include the
In the meantime (since this should be resolved duplicate 73733)see
this link and patch example for the nvidia driver itself (should work
on any x86 hardware for now).
--- nv.c.orig 2004-10-18 13:25:45.825785765 -0700
+++ nv.c 2004-10-12 20:53:33.957353480 -0700
@@ -19,6 +19,9 @@
+/* fix for 2.6.9-rc# kernels where __VMALLOC_RESERVE is not exported
+#define __VMALLOC_RESERVE (128 << 20)
* our global state; one per device
*** This bug has been marked as a duplicate of 73733 ***
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.