Bug 220925 - when I insmod kernel module I build it fails due to version magic mismatch
Summary: when I insmod kernel module I build it fails due to version magic mismatch
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: module-init-tools
Version: 6
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jon Masters
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-12-28 22:25 UTC by Paolo Galtieri
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-12-29 05:56:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
cpuinfo and /etc/rpm/platform info (752 bytes, text/plain)
2006-12-28 22:25 UTC, Paolo Galtieri
no flags Details
ls -l output of recent kernel module dirs showing links to i686 kernel trees (2.18 KB, application/octet-stream)
2006-12-29 06:46 UTC, Paolo Galtieri
no flags Details
attempt to install i686 kernel (2.74 KB, text/plain)
2006-12-29 07:17 UTC, Paolo Galtieri
no flags Details

Description Paolo Galtieri 2006-12-28 22:25:44 UTC
Description of problem:
I installed VMplayer of FC6 with latest set of patches.  When the vmplayer
config attempts to install the vmmon module it built I get the following message
in /var/log/messages:

Dec 28 06:49:18 localhost kernel: vmmon: 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'

Same thing happened when I built the uvcvideo kernel module and tried to insmod
it.  I worked around this one using the --force-vermagic option to modprobe.

Version-Release number of selected component (if applicable):
module-init-tools-3.3-0.pre1.4.17


How reproducible:
Install VMplayer and run the /usr/bin/vmware-config.pl when it tries to install
the vmmon module it will fail with the error described above.


Steps to Reproduce:
1.
2.
3.
  
Actual results:
Dec 28 06:49:18 localhost kernel: vmmon: 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'


Expected results:
The module should install cleanly


Additional info:

Comment 1 Paolo Galtieri 2006-12-28 22:25:44 UTC
Created attachment 144500 [details]
cpuinfo and /etc/rpm/platform info

Comment 2 Jon Masters 2006-12-29 05:55:23 UTC
You've got an i586 kernel installed and have built modules for an i686 kernel.
You'll need to install a correct kernel package or switch kernel-devel package -
and note that it's not possible to provide any support to users of such binary
modules anyway :-)

Jon.


Comment 3 Jon Masters 2006-12-29 05:56:29 UTC
This is correct behavior for module-init-tools - refusing to load a module built
for the wrong kernel. The user needs to upgrade/switch kernel and dev. packages.

Comment 4 Paolo Galtieri 2006-12-29 06:46:03 UTC
Created attachment 144526 [details]
ls -l output of recent kernel module dirs showing links to i686 kernel trees

The last 2 FC6 kernel updates create links to i686 dirs.  Yet when I build
kernel modules against those trees they wont install because of a version
mismatch.

Comment 5 Paolo Galtieri 2006-12-29 07:17:23 UTC
Created attachment 144527 [details]
attempt to install i686 kernel

this is the out of a yum -y install kernel.i686


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