Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 04-30-2011, 08:47 AM   #1
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)

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

Rep: Reputation: 171Reputation: 171
The error is here:
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
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


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" 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 02:44 PM.

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