Kubuntu 7.04 - hypervisor: disagrees about version of symbol struct_module

richard_ctv

Bit poster
I have been attempting to get parallels running on kubuntu:

Linux my-desktop 2.6.20-15-386 #2 Sun Apr 15 07:34:00 UTC 2007 i686 GNU/Linux

I have:

* added the sh links
* updated prlnet.c
* reinstalled the kernel headers.

The compilation session:
=====================================
Compiling Parallels Workstation 2.2 drivers.
Drivers have been compiled successfully.
Installing drivers...
Starting drivers...
Loading Parallels Workstation 2.2 hypervisor ...
FATAL: Error inserting hypervisor (/lib/modules/2.6.20-15-386/kernel/drivers/misc/parallels/hypervisor.ko): Invalid module format
Can not load hypervisor module.
Parallels Workstation drivers were successfully configured
and compiled but cannot be started (insmod command failed).
Run 'dmesg' command for more information.
=====================================

dmseg says this:

[ 1916.583351] hypervisor: disagrees about version of symbol struct_module

I have not done any C for about 10 years, so if someone can give me a steer on how to fix this, I'd really appreciate it.
 
If my suspicion is correct, I'd wager that your kernel doesn't have module versioning support. Let's skip that for a bit......

Does the kernel headers that you downloaded match the running kernel exactly? It could be a subtle revision number that's different between the two. If that's the case, it would've worked if your running kernel had the module versioning support enabled, automagically doing some workaround to allow modules of a different version to work with your kernel. So your choices are: download the kernel-source and recompile your kernel so you have both in one shot or use apt/aptitude to upgrade/downgrade your kernel and matching kernel-headers at the same time to rule out versioning problems with your modules. After you're done, re-run parallels-config as root.

Titetanium
 
Thanks. The headers I have in /usr/src are:

linux-headers-2.6.20-15/ linux-headers-2.6.20-15-generic/

while the kernel is

2.6.20-15-386

so I'll go get the correct ones that match and see how I go.
 
apt-get install linux-headers-2.6.20-15-386

And here is the result:

Compiling Parallels Workstation 2.2 drivers...
Drivers have been compiled successfully.
Installing drivers...
Starting drivers...
Loading Parallels Workstation 2.2 hypervisor ...
Loading Parallels Workstation 2.2 vm-main ...
Loading Parallels Workstation 2.2 vm-bridge ...
Loading Parallels Workstation 2.2 vmvirtualnic ...
Parallels Workstation has been successfully configured


:-)

cheers
Richard
 
Back
Top