From: Ant on
Hi!

I am using Debian. I had VMware v5.5.7 and upgraded to v5.5.8
(installed into /home/Programs/VMware558/ for doc, man, and lib), but
I am having problems starting my VMware even after running vmware-any-
any-update115.tar.gz (and vmware-any-any-update117d.tar.gz) and making
modules successfully.

When I try to start my old Windows 2000 SP4 VMware v5.5.7 guest image or
start a brand new guest from scratch, I get these three errors:

"Version mismatch with vmmon module: expecting 138.0, got 137.0. You
have an incorrect version of the 'vmmon' kernel module. Try
reinstalling VMware Workstation."

"Failed to initalize monitor device."

"Unable to change virtual machine power state: Cannot find a valid
peer process to connect to."


Twice, I tried uninstalling my VMware v5.5.8 and starting clean.
Extracted VMware-workstation-5.5.8-108000.tar.gz into /storage/
SharedFiles/linux/VMware5/vmware-distrib before using "su" command.

# pwd
/storage/SharedFiles/linux/VMware5/vmware-distrib

# ./vmware-install.pl
Creating a new installer database using the tar3 format.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin] /home/Programs/VMware558/bin

The path "/home/Programs/VMware558/bin" does not exist currently. This
program
is going to create it, including needed parent directories. Is this
what you
want? [yes]

What is the directory that contains the init directories (rc0.d/ to
rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the library files?
[/home/Programs/VMware558/lib/vmware]

The path "/home/Programs/VMware558/lib/vmware" does not exist
currently. This
program is going to create it, including needed parent directories. Is
this
what you want? [yes]

In which directory do you want to install the manual files?
[/home/Programs/VMware558/man]

The path "/home/Programs/VMware558/man" does not exist currently. This
program
is going to create it, including needed parent directories. Is this
what you
want? [yes]

In which directory do you want to install the documentation files?
[/home/Programs/VMware558/doc/vmware]

The path "/home/Programs/VMware558/doc/vmware" does not exist
currently. This
program is going to create it, including needed parent directories. Is
this
what you want? [yes]

The installation of VMware Workstation 5.5.8 build-108000 for Linux
completed
successfully. You can decide to remove this software from your system
at any
time by invoking the following command:
"/home/Programs/VMware558/bin/vmware-uninstall.pl".

Before running VMware Workstation for the first time, you need to
configure it
by invoking the following command:
"/home/Programs/VMware558/bin/vmware-config.pl". Do you want this
program to
invoke the command for you now? [yes]

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor
done

You must read and accept the End User License Agreement to continue.
Press enter to display it. q^H

VMWARE MASTER END USER LICENSE AGREEMENT

NOTICE: BY DOWNLOADING AND INSTALLING,
COPYING OR OTHERWISE USING THE SOFTWARE, YOU
AGREE TO BE BOUND BY THE TERMS OF THIS EULA.
IF YOU DO NOT AGREE TO THE TERMS OF THIS EULA,
YOU MAY NOT DOWNLOAD, INSTALL, COPY OR USE THE
SOFTWARE, AND YOU MAY RETURN THE UNUSED
SOFTWARE TO THE VENDOR FROM WHICH YOU ACQUIRED
IT WITHIN THIRTY (30) DAYS AND REQUEST A
REFUND OF THE LICENSE FEE, IF ANY, ALREADY
PAID UPON SHOWING PROOF OF PAYMENT. "YOU"
MEANS THE NATURAL PERSON OR THE ENTITY THAT IS
AGREEING TO BE BOUND BY THIS EULA, THEIR
EMPLOYEES AND THIRD PARTY CONTRACTORS THAT
PROVIDE SERVICES TO YOU. YOU SHALL BE LIABLE
FOR ANY FAILURE BY SUCH EMPLOYEES AND THIRD
PARTY CONTRACTORS TO COMPLY WITH THE TERMS OF
THIS AGREEMENT.

1. DEFINITIONS

1.1 "Designated Administrative Access" means
that access to the standard user
interfaces of a given instance of the
Software (designated in this section) that
you may grant to a designated third party
for which you have provided advance
written notice to VMware that you are
providing outsourced services and for
whose dedicated benefit you have licensed
such instance of the Software. Designated
Administrative Access is applicable only

Do you accept? (yes/no) yes

Thank you.

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files
have a
..desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

/usr/share/applications/vmware-workstation.desktop: warning: value
"vmware-workstation.png" for key "Icon" in group "Desktop Entry" is an
icon name with an extension, but there should be no extension as
described in the Icon Theme Specification if the value is not an
absolute path
/usr/share/applications/vmware-player.desktop: warning: value "vmware-
player.png" for key "Icon" in group "Desktop Entry" is an icon name
with an extension, but there should be no extension as described in
the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable
for your
running kernel. Do you want this program to try to build the vmmon
module for
your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to
override.

What is the location of the directory of C header files that match
your running
kernel? [/lib/modules/2.6.26-1-686/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.26-1-686/build/include/.. SUBDIRS=3D$PWD
SRCROOT=3D$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
In file included from /tmp/vmware-config0/vmmon-only/./include/
vmware.h:25,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:
48:
/tmp/vmware-config0/vmmon-only/./include/vm_basic_types.h:160: error:
conflicting types for =E2=80=98uintptr_t=E2=80=99
include/linux/types.h:40: error: previous declaration of =E2=80=98uintptr_t=
=E2
=80=99 was here
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:
20,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:
49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:37:5: warning:
"VMW_HAVE_EPOLL" is not defined
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:43:5: warning:
"VMW_HAVE_EPOLL" is not defined
In file included from /tmp/vmware-config0/vmmon-only/linux/driver.h:
20,
from /tmp/vmware-config0/vmmon-only/linux/driver.c:
49:
/tmp/vmware-config0/vmmon-only/./include/compat_wait.h:60: error:
conflicting types for =E2=80=98poll_initwait=E2=80=99
include/linux/poll.h:65: error: previous declaration of =E2
=80=98poll_initwait=E2=80=99 was here
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 =E2=80=98...=E2=80=99 before =E2=80=98co=
mpat_exit=E2=80=99
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: error:
expected declaration specifiers or =E2=80=98...=E2=80=99 before =E2=80=98ex=
it_code=E2=80=99
/tmp/vmware-config0/vmmon-only/./include/compat_kernel.h:21: warning:
type defaults to =E2=80=98int=E2=80=99 in declaration of =E2=80=98_syscall1=
=E2=80=99
/tmp/vmware-config0/vmmon-only/linux/driver.c:144: error: unknown
field =E2=80=98nopage=E2=80=99 specified in initializer
/tmp/vmware-config0/vmmon-only/linux/driver.c:145: warning:
initialization from incompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c:148: error: unknown
field =E2=80=98nopage=E2=80=99 specified in initializer
/tmp/vmware-config0/vmmon-only/linux/driver.c:149: warning:
initialization from incompatible pointer type
/tmp/vmware-config0/vmmon-only/linux/driver.c: In function =E2
=80=98LinuxDriver_Ioctl=E2=80=99:
/tmp/vmware-config0/vmmon-only/linux/driver.c:1661: error: =E2=80=98struct
mm_struct=E2=80=99 has no member named =E2=80=98dumpable=E2=80=99
make[2]: *** [/tmp/vmware-config0/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config0/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems,
please
visit our Web site at "http://www.vmware.com/download/modules/
modules.html" and
"http://www.vmware.com/support/reference/linux/
prebuilt_modules_linux.html".

Execution aborted


$ tar -xzvf vmware-any-any-update117d.tar.gz
vmware-any-any-update117d/
vmware-any-any-update117d/update
vmware-any-any-update117d/services.sh
vmware-any-any-update117d/runme.pl
vmware-any-any-update117d/update.c
vmware-any-any-update117d/vmmon.tar
vmware-any-any-update117d/vmblock.tar
vmware-any-any-update117d/vmnet.tar
$ cd vmware-any-any-update117d
$ ls
runme.pl services.sh update update.c vmblock.tar vmmon.tar
vmnet.tar
$ su
Password:
ANTian:/storage/SharedFiles/linux/VMware5/vmware-any-any-update117d# ./
runme.pl
Updating /home/Programs/VMware558/bin/vmware-config.pl ... corrupted
Updating /home/Programs/VMware558/bin/vmware ... No patch needed/
available
Updating /home/Programs/VMware558/bin/vmnet-bridge ... No patch needed/
available
Updating /home/Programs/VMware558/lib/vmware/bin/vmware-vmx ... No
patch needed/available
Updating /home/Programs/VMware558/lib/vmware/bin-debug/vmware-vmx ...
No patch needed/available
VMware modules in "/home/Programs/VMware558/lib/vmware/modules/source"
has been
updated.

Before running VMware for the first time after update, you need to
configure it
for your running kernel by invoking the following command:
"/home/Programs/VMware558/bin/vmware-config.pl". Do you want this
script to
invoke the command for you now? [yes]

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
Virtual machine monitor
done

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files
have a
..desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

/usr/share/applications/vmware-workstation.desktop: warning: value
"vmware-workstation.png" for key "Icon" in group "Desktop Entry" is an
icon name with an extension, but there should be no extension as
described in the Icon Theme Specification if the value is not an
absolute path
/usr/share/applications/vmware-player.desktop: warning: value "vmware-
player.png" for key "Icon" in group "Desktop Entry" is an icon name
with an extension, but there should be no extension as described in
the Icon Theme Specification if the value is not an absolute path
Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable
for your
running kernel. Do you want this program to try to build the vmmon
module for
your system (you need to have a C compiler installed on your system)?
[yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to
override.

What is the location of the directory of C header files that match
your running
kernel? [/lib/modules/2.6.26-1-686/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmmon-only'
make -C /lib/modules/2.6.26-1-686/build/include/.. SUBDIRS=3D$PWD
SRCROOT=3D$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
CC [M] /tmp/vmware-config1/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config1/vmmon-only/common/comport.o
CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config1/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config1/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config1/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config1/vmmon-only/common/task.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmciContext.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmciDatagram.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmciDriver.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmciDs.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmciGroup.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmciHashtable.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmciProcess.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmciResource.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmciSharedMem.o
CC [M] /tmp/vmware-config1/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config1/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config1/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /tmp/vmware-config1/
vmmon-only/vmmon.o
see include/linux/module.h for more information
WARNING: modpost: module vmmon.ko uses symbol 'init_mm' marked UNUSED
CC /tmp/vmware-config1/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config1/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
The module loads perfectly in the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes]

Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

.. vmnet0 is bridged to eth0

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines?
(yes/no)
[yes]

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/
no/help)
[yes]

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.167.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

.. vmnet8 is a NAT network on private subnet 192.168.167.0.

Do you wish to configure another NAT network? (yes/no) [no]

Do you want to be able to use host-only networking in your virtual
machines?
[yes]

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/
no/help)
[yes]

Probing for an unused private subnet (this can take some time)...

The subnet 172.16.171.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

.. vmnet1 is a host-only network on private subnet 172.16.171.0.

Do you wish to configure another host-only network? (yes/no) [no]

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config1/vmnet-only'
make -C /lib/modules/2.6.26-1-686/build/include/.. SUBDIRS=3D$PWD
SRCROOT=3D$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.26-1-686'
CC [M] /tmp/vmware-config1/vmnet-only/driver.o
CC [M] /tmp/vmware-config1/vmnet-only/hub.o
CC [M] /tmp/vmware-config1/vmnet-only/userif.o
CC [M] /tmp/vmware-config1/vmnet-only/netif.o
CC [M] /tmp/vmware-config1/vmnet-only/bridge.o
CC [M] /tmp/vmware-config1/vmnet-only/filter.o
CC [M] /tmp/vmware-config1/vmnet-only/procfs.o
CC [M] /tmp/vmware-config1/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config1/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config1/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: modpost: missing MODULE_LICENSE() in /tmp/vmware-config1/
vmnet-only/vmnet.o
see include/linux/module.h for more information
CC /tmp/vmware-config1/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config1/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.26-1-686'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config1/vmnet-only'
The module loads perfectly in the running kernel.

Starting VMware services:
Virtual machine monitor
done
Virtual ethernet
done
Bridged networking on /dev/vmnet0
done
Host-only networking on /dev/vmnet1 (background)
done
Host-only networking on /dev/vmnet8 (background)
done
NAT service on /dev/vmnet8
done

The configuration of VMware Workstation 5.5.8 build-108000 for Linux
for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/home/Programs/VMware558/bin/vmware".

Enjoy,

--the VMware team


This happened in both Kernel v2.6.22-K7 and v2.6.26-i686, and VMware
v5.5.8 and v5.5.7. What's wrong? I also posted in
http://communities.vmware.com/message/1045637 forum and
http://groups.google.com/group/vmkernelnewbies/browse_frm/thread/bba056477e5f87ba/b949bf5c6aa45adb
newsgroup, but having no luck either. I tried searching in Google and
trying other suggestions, but that didn't seem to work as well. :(

Thank you in advance. :)
--
"Trivial hurts, tiny human accidents," said Firenze, as his hooves
thudded over the mossy floor. "These are of no more significance than
the scurryings of ants to the wide universe, and are unaffected by
planetary movements." --Harry Potter book
/\___/\
/ /\ /\ \ Phil/Ant @ http://antfarm.home.dhs.org (Personal Web Site)
| |o o| | Ant's Quality Foraged Links (AQFL): http://aqfl.net
\ _ / Remove ANT from e-mail address: philpi(a)earthlink.netANT
( ) or ANTant(a)zimage.com
Ant is currently not listening to any songs on his home computer.
From: Linonut on
* Ant peremptorily fired off this memo:

> I am using Debian. I had VMware v5.5.7 and upgraded to v5.5.8
> (installed into /home/Programs/VMware558/ for doc, man, and lib), but
> I am having problems starting my VMware even after running vmware-any-
> any-update115.tar.gz (and vmware-any-any-update117d.tar.gz) and making
> modules successfully.
>
> When I try to start my old Windows 2000 SP4 VMware v5.5.7 guest image or
> start a brand new guest from scratch, I get these three errors:
>
> "Version mismatch with vmmon module: expecting 138.0, got 137.0. You
> have an incorrect version of the 'vmmon' kernel module. Try
> reinstalling VMware Workstation."
>
> Twice, I tried uninstalling my VMware v5.5.8 and starting clean.
> Extracted VMware-workstation-5.5.8-108000.tar.gz into /storage/
> SharedFiles/linux/VMware5/vmware-distrib before using "su" command.

You have to find a header file in the package (vmmon.h?) and fix the
version number to match.

But I went through all that after I upgraded to the latest Linux kernel,
and kept running into roadblocks, kind of like you seem to be.

I finally said "Screw it", and downloaded the latest VMware Server to
replace the VMware Workstation 5.x (they're now on 6.x).

--
The probability of someone watching you is proportional to the
stupidity of your action.
 | 
Pages: 1
Prev: New video card.
Next: Printing PDFs through CUPS