Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 50622

Summary: building vmnet module (vmware) failed with unofficial openmosix kernel.
Product: Gentoo Linux Reporter: behd <colomailbe>
Component: [OLD] Core systemAssignee: Gentoo Cluster Team <cluster>
Status: VERIFIED LATER    
Severity: minor CC: stephane
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic.php?t=170081
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch 2.4.25-r3 om kernel (allow vmnet module to compile)
same as previous (but w/ stoopid edit fixed)

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. ***