Bug 221334

Summary: error loading compiled module
Product: [Fedora] Fedora Reporter: Nadav Kavalerchik <nadavkav>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED NOTABUG QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 6CC: jonstanley, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-09 06:48:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 427887    

Description Nadav Kavalerchik 2007-01-03 21:25:41 UTC
Description of problem:
i've downloaded some source code for some module (r1000 - realtek RTL8168B/8111)
and compiled it successfully.

while trying to load it (modprobe) i get:
r1000: version magic '2.6.18-1.2868.fc6 SMP mod_unload 686 REGPARM 4KSTACKS
gcc-4.1' should be '2.6.18-1.2868.fc6 SMP mod_unload 586 REGPARM 4KSTACKS gcc-4.1'

btw. loading it with modprobe -f works and the module works just fine.
and in order to use it when the machine boot i've changed the version magic
inside the ko file and now it loads without the -f option.

and i'm using the same kernel headers and devel packages the came with a yum
install.

rpm -qa kernel*
kernel-headers-2.6.18-1.2868.fc6
kernel-devel-2.6.18-1.2868.fc6
kernel-2.6.18-1.2868.fc6
kernel-PAE-2.6.18-1.2868.fc6

Version-Release number of selected component (if applicable):
kernel-devel-2.6.18-1.2868.fc6

How reproducible:
download any source code for any kernel module and install it.
now, try to modprobe it.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Nadav Kavalerchik 2007-07-13 11:02:21 UTC
fixed in fc7 :-)
let's close this one.

Comment 2 Jon Stanley 2008-01-08 01:49:07 UTC
(This is a mass-update to all current FC6 kernel bugs in NEW state)

Hello,

I'm reviewing this bug list as part of the kernel bug triage project, an attempt
to isolate current bugs in the Fedora kernel.

http://fedoraproject.org/wiki/KernelBugTriage

I am CC'ing myself to this bug, however this version of Fedora is no longer
maintained.

Please attempt to reproduce this bug with a current version of Fedora (presently
Fedora 8). If the bug no longer exists, please close the bug or I'll do so in a
few days if there is no further information lodged.

Thanks for using Fedora!

Comment 3 Nadav Kavalerchik 2008-01-08 11:58:07 UTC
please close it down.

it has to do with the kernel's headers that produce wrong version magic when
compiling new (additional) modules. it was producing modules that were unable to
load into kernel.