LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   "disagrees about version of symbol struct_module" despite same vermagic (https://www.linuxquestions.org/questions/linux-kernel-70/disagrees-about-version-of-symbol-struct_module-despite-same-vermagic-878003/)

pbmddt 04-30-2011 08:47 AM

"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?

Mara 05-01-2011 06:47 AM

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.

pbmddt 05-09-2011 06:29 AM

I had to drop any hope to get the modules running. It's a pity but there's nothing I can do :(


All times are GMT -5. The time now is 04:27 AM.