Bug 13513 - best_copy_from_user fail.
best_copy_from_user fail.
Product: Red Hat Linux
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
Depends On:
  Show dependency treegraph
Reported: 2000-07-05 23:44 EDT by owlhuang
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-07-05 23:44:19 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description owlhuang 2000-07-05 23:44:17 EDT
I use copy_from_user function in my module.

The kernel rejects to insert the module due to no best_copy_from_user 
symbol exported.  I have checked the /proc/ksyms, there do be 
best_copy_from_user_Rsmpe183bad0 exported.  

I precompiled my source to assembly code and there is best_copy_from_user 
but not best_copy_from_user_Rsmpe183bad0.  So, I 
checked /usr/include/linux/modules-smp/i386_ksyms.ver 
and /usr/include/linux/modules-smp/ksyms.ver, there are no relative 
definition there!!

It works if I add the following lines in i386_ksyms.ver:

#define __ver_best_copy_from_user smpe183bad0
#define best_copy_from_user _set_ver(best_copy_from_user)

Is it a bug?

RedHat 6.2 with original i386 smp kernel
smp motherboard with one PIII on it.

yours, Dennis
Comment 1 Alan Cox 2000-08-22 12:22:13 EDT
Looks like some kind of module versioning problem yes
We dont have the PIII patches enabled in rawhide so closing this

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