Bug 135283 - Symbol __VMALLOC_RESERVE will not find by a module
Summary: Symbol __VMALLOC_RESERVE will not find by a module
Keywords:
Status: CLOSED DUPLICATE of bug 73733
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Dave Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-11 18:41 UTC by Jochen Schmitt
Modified: 2015-01-04 22:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:06:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch for insert EXPORT_SYMBOL(__VMALLOC_RESERVE) (345 bytes, patch)
2004-10-11 18:43 UTC, Jochen Schmitt
no flags Details | Diff

Description Jochen Schmitt 2004-10-11 18:41:16 UTC
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.

Best Regards:

Jochen Schmitt

Comment 1 Jochen Schmitt 2004-10-11 18:43:46 UTC
Created attachment 105021 [details]
Patch for insert EXPORT_SYMBOL(__VMALLOC_RESERVE)

Please add this patch to the kernel RPM for solving the reported bug.

Comment 2 Andrew Farris 2004-10-18 20:35:25 UTC
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 
nvidia driver.

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).
http://ngc891.blogdns.net/index.php?2004/09/21/3-patched-nvidia-
drivers

--- 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 @@
 MODULE_ALIAS_CHARDEV_MAJOR(NV_MAJOR_DEVICE_NUMBER);
 #endif
 
+/* fix for 2.6.9-rc# kernels where __VMALLOC_RESERVE is not exported 
*/
+#define __VMALLOC_RESERVE (128 << 20)
+
 /*
  * our global state; one per device
  */


Comment 3 Pekka Pietikäinen 2004-10-23 11:31:27 UTC

*** This bug has been marked as a duplicate of 73733 ***

Comment 4 Red Hat Bugzilla 2006-02-21 19:06:16 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.