VMware Communities
MagicalAkrus
Contributor
Contributor

Installing VMWare 5.5.3/Linux under Kubuntu (Kernel 2.6.20)

Hello!

I have a problem with VMware installation under Kubuntu with Kernel version 2.6.20. Compilation fails with this error message:

CC /tmp/vmware-config0/vmmon-only/linux/driver.o

In file included from /tmp/vmware-config0/vmmon-only/linux/driver.c:80:

/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’

/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’

/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’

make[2]: *** Error 1

make[1]: *** \[_module_/tmp/vmware-config0/vmmon-only] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-1-generic'

make: *** \[vmmon.ko] Error 2

make: Leaving directory `/tmp/vmware-config0/vmmon-only'

Unable to build the vmmon module.

Actually I need 2.6.20 due to missing sound card module in previous versions.

Under 2.6.19 compilation is okay.

Could someone help me with patching it or something like? Smiley Happy

Thanks!

Reply
0 Kudos
10 Replies
selinux
Contributor
Contributor

I posted a patch that 'works for me' under Fedora Core 2.6.20 kernels:

http://www.vmware.com/community/thread.jspa?threadID=65982&tstart=30

Does that work for you?

tom

Reply
0 Kudos
Jeff_Chua
Contributor
Contributor

I just tested the patch and this works for me on Linux-2.6.20-rc2.

Thank,

Jeff.

Reply
0 Kudos
0nn0
Contributor
Contributor

I tried the patch on Ubuntu 7.04 Feisty Fawn with the 2.6.20 kernel and it works for me too.

Reply
0 Kudos
Jorge_Bastos
Contributor
Contributor

Hi,

I can compile this sucessfull, but only uncompressing the tar and compiling.

Is the correct mode for this, uncompress the tar, made the changes and then recreate the tar and compile it normally?

Jorge

Reply
0 Kudos
selinux
Contributor
Contributor

Yeah.

You need to untar 'vmmon.tar', apply the patch, save a copy of the tar file, and create a new tar version of vmmon.tar.

vmware-config.pl should then use this new tar file ....

tom

Reply
0 Kudos
Jorge_Bastos
Contributor
Contributor

Working but,

When starting vmware, with 2.6.20-rc2 it just start to make high load on the server.

Normal?

Reply
0 Kudos
Jorge_Bastos
Contributor
Contributor

Ok fixed with -rc3

All ok

😛

Reply
0 Kudos
Jeff_Chua
Contributor
Contributor

Does anyone has a patch for Linux-2.6.20-rc5 with CONFIG_PARAVIRT enabled in the kernel?

The vmmon.ko compiled ok, but can't load. got a paravirt_ops unknown symbol while loading.

Thanks in advance,

Jeff Chua.

Reply
0 Kudos
MarkE78
Contributor
Contributor

I cannot get the patch to work with the Release version of AMD 64 Feisty Fawn and VMWare Workstation 5.5.3

vmware is installed, but it has not been (correctly) configured

for this system. To (re-)configure it, invoke the following command:

/usr/bin/vmware-config.pl.

Very handy error is shown... Are there any debug logs or anything I can look at?

Reply
0 Kudos
evilhomer
Contributor
Contributor

The patch works fine for me, but I must configure after EVERY reboot. I see /etc/vmware/not_configured gets written every time, but I can't figure out why.

Reply
0 Kudos