LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-30-2011, 08:47 AM   #1
pbmddt
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Rep: Reputation: 0
"disagrees about version of symbol struct_module" despite same vermagic


Hi all,
trying to compile vmware tools modules for a kernel which I don't have sources for in a vendor-modified hardened distro I sneaked into which originally shipped with a different kernel version (uninteresting details below).

(mii.ko given for comparison)


Code:
[root@csacs linux]# modprobe vmmemctl
FATAL: Error inserting vmmemctl (/lib/modules/2.6.18.8-ADEVM/misc/vmmemctl.ko): Invalid module format
[root@csacs linux]# dmesg | tail -1
vmmemctl: disagrees about version of symbol struct_module
[root@csacs linux]# modinfo /lib/modules/2.6.18.8-ADEVM/misc/vmmemctl.ko | grep ver
description:    VMware Memory Control Driver
version:        1.2.1.0
vermagic:       2.6.18.8-ADEVM SMP mod_unload 686 REGPARM gcc-3.4
srcversion:     3E235EF512CAFDC7A3431A0
[root@csacs linux]# modinfo /lib/modules/2.6.18.8-ADEVM/kernel/drivers/net/mii.ko | grep ver
filename:       /lib/modules/2.6.18.8-ADEVM/kernel/drivers/net/mii.ko
vermagic:       2.6.18.8-ADEVM SMP mod_unload 686 REGPARM gcc-3.4
Any ideas?
 
Old 05-01-2011, 06:47 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,535

Rep: Reputation: 148Reputation: 148
The error is here:
Quote:
vmmemctl: disagrees about version of symbol struct_module
It seems that your vendor has changed the structure. If at all possible, try to get the sources. Without it it will be quite hard (but not impossible) to tell what was changed.
 
Old 05-09-2011, 06:29 AM   #3
pbmddt
LQ Newbie
 
Registered: Apr 2011
Posts: 2

Original Poster
Rep: Reputation: 0
I had to drop any hope to get the modules running. It's a pity but there's nothing I can do
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
insmod hello.ko: -1 Invalid module format ("vermagic" and "uname -r" are the same!) courteous Linux - Kernel 8 02-16-2011 11:09 PM
Installer nvidia: disagrees about version of symbol module_layout? lugoteehalt Linux - Software 1 01-02-2010 04:59 PM
Can someone give me the definition of "Kernel Symbol" and "EXPORT_SYMBOL" ?? Raynus Programming 2 08-30-2008 07:19 PM
"symbol __pthread_initialize, version GLIBC_2.0 not defined in file libpthread.so.0" citrus Linux - Software 6 01-05-2007 11:24 PM
avgscan "relocation error" "undefined symbol: __dynamic_cast_2" Monster_user Linux - Software 0 02-22-2006 11:57 AM


All times are GMT -5. The time now is 08:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration