Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50622 - building vmnet module (vmware) failed with unofficial openmosix kernel.
Summary: building vmnet module (vmware) failed with unofficial openmosix kernel.
Status: VERIFIED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Cluster Team
URL: http://forums.gentoo.org/viewtopic.ph...
Whiteboard:
Keywords:
: 72574 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-10 04:21 UTC by behd
Modified: 2010-09-10 18:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch 2.4.25-r3 om kernel (allow vmnet module to compile) (om_deputy.patch,1.08 KB, text/plain)
2004-05-10 04:23 UTC, behd
Details
same as previous (but w/ stoopid edit fixed) (om_deputy.patch,1.08 KB, patch)
2004-05-10 04:30 UTC, behd
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description behd 2004-05-10 04:21:06 UTC
NB. Problem is solved (it's just a report to unofficial openmosix source maintener)

result of vmware-config.pl:
---
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
Unable to make a vmnet module that can be loaded in the running kernel:
/tmp/vmware-config0/vmnet.o: unresolved symbol deputy_csum_partial_copy_to_user
/tmp/vmware-config0/vmnet.o:
---

Solution apply this patch:
---
--- hpc/export.c 2004-04-26 09:40:40.000000000 +0200
+++ hpc/export.c 2004-05-10 11:14:44.000000000 +0200
@@ -17,6 +17,8 @@

EXPORT_SYMBOL(deputy_copy_to_user);
EXPORT_SYMBOL(deputy_copy_from_user);
+EXPORT_SYMBOL(deputy_csum_partial_copy_from_user);
+EXPORT_SYMBOL(deputy_csum_partial_copy_to_user);
EXPORT_SYMBOL(deputy_clear_user);
EXPORT_SYMBOL(deputy_strncpy_from_user);
EXPORT_SYMBOL(deputy_strnlen_user);

--- include/asm-i386/uaccess.h 2004-04-26 11:30:23.000000000 +0200
+++ include/asm-i386/uaccess.h 2004-05-10 11:52:05.000000000 +0200
@@ -95,6 +95,8 @@

extern unsigned long deputy_copy_from_user(void *, void *, unsigned long, int);
extern unsigned long deputy_copy_to_user(void *, void *, unsigned long, int);
+extern unsigned int deputy_csum_partial_copy_from_user(const char *, char *,int, int, int *);
+extern unsigned int deputy_csum_partial_copy_to_user(const char *, char *, int, int, int *);
extern unsigned long deputy_clear_user(void *, int, int);
extern long deputy_strncpy_from_user(char *, char *, int, int);
extern long deputy_strnlen_user(char *, long); 
---


Reproducible: Always
Steps to Reproduce:
1.vmware-config.pl :)
2.
3.

Actual Results:  
unresolved symbol deputy_csum_partial_copy_to_user

Expected Results:  
module fit perfectly into kernel
Comment 1 behd 2004-05-10 04:23:28 UTC
Created attachment 31091 [details]
patch 2.4.25-r3 om kernel (allow vmnet module to compile)
Comment 2 behd 2004-05-10 04:30:06 UTC
Created attachment 31093 [details, diff]
same as previous (but w/ stoopid edit fixed)
Comment 3 Konstantin Arkhipov (RETIRED) gentoo-dev 2004-05-23 07:18:28 UTC
Merged into migshm-testing patchset, sent to tab and to openmosix-devel@
Comment 4 Konstantin Arkhipov (RETIRED) gentoo-dev 2004-05-23 07:40:52 UTC
Merged into mainline and tab's patchset.
Comment 5 Bel Zébute 2004-11-28 15:24:52 UTC
*** Bug 72574 has been marked as a duplicate of this bug. ***