VMWare Workstation 7 Error! Help Please!

Hi,

im running suse 11.3_x64 clean install along side with Win7 Pro _x64

had a big fight installing Vbox 3.2.8 PUEL edition but i need to test some VMWare products like 'VMWare vShpere (ESXi 4…0.1 - which i couldn’t install in a vm in Vbox) ’ before putting it in production enviroment in some of my clients.

version: VMware-Workstation-Full-7.0.0-203739.x86_64

The installation of vmware was quite simple with no errors. the problem kicks in after the first reboot when i try to run it.

before installing vmware i installed the following:

gcc —> shows up in Yast with 0 Bytes…wtf?
gcc-++ —> zypper don’t even know what this is…
kernel-syms —> supposedly installed
kernel-default-devel
kernel-desktop
kernel-desktop-devel
kernel-devel
kernel-pae-devel —> zypper doesn’t even know what this is??? wtf?
kernel-source
kernel-syms
kernel-xen-devel

When i try to run vmware workstation the 1st error kicks in:

Before you can run vmware, several modules must be compiled and loaded into the running kernel:


Kernel Headers 2.6.34.7-0.2-desktop. ‘Kernel Headers version 2.6.34.7-0.2-desktop where not found’. If you installed them in a non default path you can specify it below. otherwise refer to your distributor bla bla bla…

question 1: where are the kernel-headers ?

iv tried to install every dependencies again via Yast and i still have this issue with 0 bytes with gcc version 4.5

then i tried to run /usr/bin/vmware and the stdout shows the following:

linux-l0y2:~/vmware-modules # /usr/bin/vmware
Logging to /tmp/vmware-root/setup-13713.log
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
ERROR: modinfo: could not find module vmmon
ERROR: modinfo: could not find module vmnet
ERROR: modinfo: could not find module vmblock
ERROR: modinfo: could not find module vmci
ERROR: modinfo: could not find module vsock
linux-l0y2:~/vmware-modules #

here is the /tmp/vmware-root/setup-13713.log:

linux-l0y2:~/vmware-modules # cd ~
linux-l0y2:~ # cat /tmp/vmware-root/setup-13713.log
Sep 21 22:52:31.397: app-139873416578816| Log for VMware Workstation pid=13713 version=7.0.0 build=build-203739 option=Release
Sep 21 22:52:31.397: app-139873416578816| The process is 64-bit.
Sep 21 22:52:31.397: app-139873416578816| Host codepage=UTF-8 encoding=UTF-8
Sep 21 22:52:31.397: app-139873416578816| Logging to /tmp/vmware-root/setup-13713.log
Sep 21 22:52:31.512: app-139873416578816| System distribution is SuSE
Sep 21 22:52:31.512: app-139873416578816| System version is 11.3
Sep 21 22:52:31.512: app-139873416578816| modconf query interface initialized
Sep 21 22:52:31.512: app-139873416578816| modconf library initialized
Sep 21 22:52:31.556: app-139873416578816| Your GCC version: 4.5
Sep 21 22:52:31.560: app-139873416578816| Your GCC version: 4.5
Sep 21 22:52:31.590: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.592: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.594: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.597: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.601: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.626: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.630: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.635: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.638: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.640: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.645: app-139873416578816| Your GCC version: 4.5
Sep 21 22:52:31.685: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.686: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.688: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.690: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.691: app-139873416578816| Trying to find a suitable PBM set for kernel 2.6.34.7-0.2-desktop.
Sep 21 22:52:31.696: app-139873416578816| Your GCC version: 4.5

uname -a gave the following output:

linux-l0y2:~ # uname -a
Linux linux-l0y2.site 2.6.34.7-0.2-desktop #1 SMP PREEMPT 2010-09-14 14:21:06 +0200 x86_64 x86_64 x86_64 GNU/Linux

after issuing ‘vmware-modconfig --console --install-all’ i got this:

linux-l0y2:~ # vmware-modconfig --console --install-all
gcc and kernel headers must be installed

ok, now im lost :frowning:

help?

ps: i followed some tips on a couple of sites but i cant get this to work…

Hi
Run the script here and you should be good to go.
VMWare Installation Problem

thank you for the help but i got no luck, now im even more confused:

linux-l0y2:~ # ./vmware7_script.sh
dd: unrecognized operand missing' Try dd --help’ for more information.
sed: can’t read vmnet-only/vnetUserListener.c: No such file or directory
sed: can’t read vmci-only/include/pgtbl.h: No such file or directory
sed: can’t read *-only/include/compat_wait.h: No such file or directory
tar: vmblock-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vmci-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vmmon-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vmnet-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vmppuser-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vsock-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: *** /tmp/vmware-root/modules/vmmon-only: No such file or directory. Stop.
Unable to install vmmon

‘No such file or directory’ ****…what happened now?

help :open_mouth:

EDIT: i was tryiing to update from zypper after rebooting and now i got this:

linux-l0y2:~ # zypper up
Failed to download /content from http://download.opensuse.org/distribution/11.3/repo/non-oss/
Abort, retry, ignore? [a/r/i/?] (a): i
Error retrieving metadata for ‘openSUSE-11.3-Non-Oss’:
[ExpatMetalinkProcessor.cc:163] Cannot parse metalink XML file. XML may be malformed.
Warning: Disabling repository ‘openSUSE-11.3-Non-Oss’ because of the above error.
Loading repository data…
Reading installed packages…

Nothing to do.
linux-l0y2:~ #

****…you think this is too bad or it can be handled?

thank you fro the help man but im really stuck on this.

Hi
That would indicate you have a typo in the script. There is no dd but cd…

now i got this:

linux-l0y2:~ # ./vmware7_script.sh
sed: can’t read vmnet-only/vnetUserListener.c: No such file or directory
sed: can’t read vmci-only/include/pgtbl.h: No such file or directory
sed: can’t read *-only/include/compat_wait.h: No such file or directory
tar: vmblock-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vmci-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vmmon-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vmnet-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vmppuser-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
tar: vsock-only: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: *** /tmp/vmware-root/modules/vmmon-only: No such file or directory. Stop.
Unable to install vmmon

i dont understand why its not finding the directories if vmware was installed, can you please help me to understand this here? really need this to work…

Few comments about the questions in 1st post…

gcc-++ —> zypper don’t even know what this is…

Shouldn’t that be gcc-c++ not gcc-++?

kernel-pae-devel —> zypper doesn’t even know what this is??? wtf?

I don’t think you need this with kernel-desktop.

Unfortunatley, I can’t help you with workstation since I haven’t touched it for 2 years.
Using VirtualBox at the moment, works fine.

hey,

unfortunately, Vbox wont let me test ‘vSphere Hypervisor’ a.k.a ‘ESXi 4.1’
iv configured a vbox machine with 2G ram, 2 processors, and chosen redhat x64 as the OS, no luck.

by the way can you help me with this zypper update repositorie error:

linux-l0y2:~ # zypper up
Retrieving repository ‘openSUSE-11.3-Debug’ metadata [error]
Repository ‘openSUSE-11.3-Debug’ is invalid.
File /var/tmp/TmpFile.Hmb6FW doesn’t contain public key data
Please check if the URIs defined for this repository are pointing to a valid repository.
Warning: Disabling repository ‘openSUSE-11.3-Debug’ because of the above error.
Loading repository data…
Reading installed packages…

Nothing to do.

I’m only using oss, non-oss, update, packman and kde45. Never really needed the debug repo so I just remove it after 1st setup.
I remember having some repo issues in the past, but I had none since I switched to stable mirror.
Remove that repo, delete the key and try adding it again if you really need it.

yes, it seams that the debug repo is not pointing for the corret url, resolved the update issue by removing the debug repo :wink:

as for the vmware problem and this script, i really need help :frowning:

I had similar issues using OpenSuSE 11.1 and the older version of VMWare … 6.5.2.

VMWare version 7.0.0 as noted in your OP is getting dated.

The newer version (7.1.1-282343) boasts that it recompiles the required items after upgrading the kernel etc… VMWare Workstation 7.1.1

After running 7.1.1-282343 for a few days now … it’s much smoother and definitely worth getting…

As someone else noted that there are known issues with older versions of VMWare Workstation under SuSE (etc.)

I was able to resolve them using the links posted elsewhere, but why bother, when you can get the updated version of VMWW.

You have better things to do than TS the software that’s supposed to be helping you achieve what you really need.

yes you are right that is why it gets frustrating at some point :frowning:

not that i don’t like the chalange because i do, but some things i find it really hard to understand and i get really frustraded.

im gonna take your advice, just help out here rechaping the pre-requisits:

-should i remove vmware 7 first?
-check for which dependancies?
-install VMware Workstation 7.1.1 for Linux build 282343? will it work with the serial i already have for 7?

Go get 7.1.1 first.

When you install the *.bundle (I prefer the 300MB (with tools) release) it will detect the current install and remove it. It retains favorites etc… and your key.

Then it installs the upgrade.

If everything goes as programmed you should see a popup at first run of 7.1.1 telling you that it’s compiling the resources.

sidetrack: I updated the my kernel a few days ago with the recommended OpenSuSE kernel update and after reboot and restarting VMWare (then it was 7.0.1 I think) it recompiled resources. Completed in about 2 mins or less and was all ready.

It’s a very comprehensive script.

You’ve already cleaned up all your repo’s etc… personally, I always make sure that I have kernel sources (and KDE Sources for some desktop applets).

you think i can get away with ‘VMware Workstation 7.1 for Linux build 261024’ ?

when i installed vmware 7.0 it didnt even asked my for a key and i didnt had the change to run it so i dont know if i will be able to do this.

this is my current kernel version:

nuno@linux-l0y2:~> uname -r
2.6.34.7-0.2-desktop

by the way, i got this from trying to get latest kernel sources, any ideas?

nuno@linux-l0y2:~> sudo zypper in kernel-sources
Loading repository data…
Reading installed packages…
‘kernel-sources’ not found in package names. Trying capabilities.
No provider of ‘kernel-sources’ found.
Resolving package dependencies…

Nothing to do.

There shouldn’t be any ‘getting away with anything’.

Login to their website with your user code or just create a new user account and get the 60 (30) day demo at the least.

Your entitlement based on your key, or lack there of, will entitle you to at least 30 day usage.

If you have to upgrade based on your entitlement I’m sure that it’s nominal fee.

Workstation isn’t that expensive after all.

AND from your OP it appears that’s the whole issue.

(un)Educated Guess: Version 7.x should NOT have asked about header files etc… I think that was a version < 6.5.2 issue.

In any event, since I upgraded to 7.0.1+ (and yesterday up to 7.1.1) I’ve had no problems on OpenSuSE 11.3. VMWare WS is one of the first thing that I install.

After you experience having to track down the issues listed in your OP it makes upgrading an ordeal filled with apprehension.

Edit to append: VMWare WS is one of the first thing that I install. (onto OpenSuSE) … Along with just the Kernel Sources & KDE Sources from the ‘Patterns’ (no symbols)

admin:/home/admin/Documents # uname -r
2.6.34.7-0.2-desktop

i meant getting away with installing it and getting it to work, not about the licencing.

for me is the second thing i am installing, the first was vbox and the second is gonna be vmware :slight_smile:

and your right, upgrading makes a lot of sense. ill post out the result in a wile. thank you for you tips bud.

I hope that it works for you.

ok now iv iinstalled ‘VMware Workstation 7.1 for Linux build 261024’ with no errors and i was able to run it and create the first vm ESXi 4.

only got the described error when started the vm, the error is as follows:

“Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon’ is loaded.”

i was thinking about running malcolmlewi’s script or upgrading to 7.1.1 like mentioned above what do you think?

ok i ran the script and now it works, i think im gonna try upgrading to the latest one as you mentioned, what you think? im pushing to hard? :slight_smile:

here is malcolmlew’s script:

===Start Script===

#!/bin/bash
cd
cp -prn /usr/lib/vmware/modules/source /usr/lib/vmware/modules/source-backup
mkdir fixed
cd fixed
find /usr/lib/vmware/modules/source -name “*.tar” -exec tar xf ‘{}’ ;

add missing header on kernels

sed -i ‘/#include “compat_wait.h”/a#include “compat_sched.h”’ vmnet-only/vnetUserListener.c
sed -i ‘/#include “compat_page.h”/a#include “compat_sched.h”’ vmci-only/include/pgtbl.h

comment out an invalid definition

sed -i ‘s|(extern void poll_initwait(compat_poll_wqueues *);)|//\1|’ *-only/include/compat_wait.h

tar cf vmblock.tar vmblock-only
tar cf vmci.tar vmci-only
tar cf vmmon.tar vmmon-only
tar cf vmnet.tar vmnet-only
tar cf vmppuser.tar vmppuser-only
tar cf vsock.tar vsock-only

cp -p *.tar /usr/lib/vmware/modules/source

cd /lib/modules/uname -r/build/include/linux
ln -s …/generated/autoconf.h
ln -s …/generated/utsrelease.h
cd

vmware-modconfig --console --install-all

clean up

cd
rm -rf fixed
cd /lib/modules/uname -r/build/include/linux
rm autoconf.h utsrelease.h
cd /usr/lib/vmware/modules/
rm -rf source-backup
cd

===End Script===

VMWare Workstation 7.1.1.282343 :: 2010/08/13
Workstation for Linux 64-bit with VMware Tools
File size: 314MB
File type: .bundle
MD5SUM: 2dd1e0abbba47e88d53f1b8837b65db8
SHA1SUM: b26ee2abf37fe7311a2bbd3c5f383d1c9dcd7c22

Can’t go wrong.

I’ve been known to remove the kernel sources via YaST.

THEN go back re-add them double checking that I’m not getting extra unnecessary stuff like the debug kernel … kernel-debug.

In fact, I just checked what I have installed under the kernel development patterns and I have the whole pattern EXCEPT the kernel-debug.

And C/C++ is completely installed also. Can’t go wrong with the complete C/C++ pattern. Even though I don’t use them much yet, I presume some programs use the libs etc.

I would save the script until you’ve tried the obvious easy stuff.

VMWare didn’t make a crappy installer this time.

I’ve only installed VMWare under Win32 & OpenSuSE and I only had the problems that you are having once under OpenSuSE 11.1 and VMWare 6.5.2.

Those were crappy installers for unix.

The fix is widely published over internet. (Not the script in other posts) but easily found when looking.

Thusly… (and in fact was the fix that worked for me back in 2007?):

This may not fix your problem, but I came here looking for answers to the same problem you had. My circumstance was a little different, in that this system was working at one point, but nobody could get it started–same error as what you describe.

I reran the vmware-config.pl script, and tried again–it worked!

Dumb fix, and probably not guaranteed to work, but it did the trick for me!

Cheers!

I’ve seen (and tried this also) this fix also…

sudo modprobe vmmon

AND another… Again, this is an issue with VMWare NOT unix.

the exact error is

Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon’ is loaded

i have to run as root this command to fix it every time

vmware-modconfig --console --install-all

but why?
it there a way to fix this?

This seemed to work for him temporarily … AND I used a variation (I can’t find the EXACT command line that I used but this one looks very familiar) of it to fix a broken install that remained fixed on my machine at that time that I used it… Looks like it didn’t completely fix the issue for him. =\

Anyhow, if this were happening to my machine again, I’d remove all the source patterns that are installed … you double checked the repostories again and removed the extranious ones I hope… :smiley: … perhaps a reboot would be good too… then re-add the complete Base & Linux Kernel Development (minus the debug-kernel) pattern & the C/C++ Development pattern (can’t go wrong with C) & I always add the KDE Development pattern as well… optional to you of course.

Then reinstall the VMWare 7.1.1.282343 Bundle

  • su
  • sh ./VMware-Workstation-Full-7.1.1-282343.x86_64.LINUX.bundle
  • exit :smiley:

hey, that sounds encouraging but…hmm…i think im gonna make a clonezilla out of my partitions before trying anything else.

btw, i was kind of confused with all the necessary source code and dev tools before installing it again, let me re-check this again because it might help more noobs like me to easily find a way out of this :slight_smile:

Requirements for installing vmware workstation 7.1xxx _x64 on opensuse_x64 2.6.34.7-0-2:

kernel-default-devel
kernel-desktop
kernel-desktop-devel
kernel-devel
kernel-pae-devel
kernel-source
kernel-syms
kernel-xen-devel

Development tools:

GCC 4.5
GCC-c++
make

note:in my case i use gnome so i wont be installing kde desktop headers

i really am tented to install latest 7.1.1.282343 bundle with tools but i’m really afraid to at this point :open_mouth: