And the installation seemed to go okay, but i couldn’t enable the vmware-mgmt, vmware-guest, vmware-core, vmware-autostart in the “system services” and I’m getting this in the terminal:
VMware Server is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /usr/bin/vmware-config.pl.
(And i already tried the command).
Could someone help me out here? or maybe explain a better way to install it if this one is incorrect
I had a problem similar to this loading up VMware. What version of server do you have? I had to update a version I remember to get it working right with the kernel. I was trying to install 6.0.3 and needed 6.0.4 or better to get it going.
There was another error I encountered. The the config/install process would tell me the kernel was compiled using gcc 4.3.1 but I had compiled VMware with gcc 4.3 and it wasn’t “safe” to have a mixed setup. If you don’t read that question and skip on, it will end the config/install process and you’ll have to start over.
Last case is that there is a patch that needs to be applied. But, I don’t think that is the case.
What I’d start out doing is running through the vmware-config.pl and see if that isn’t the problem. If not, see if you need a more recent version. Other than that, I’m not too familiar with the patch.
VMware Server is installed, but it has not been (correctly) configured
for the running kernel. To (re-)configure it, invoke the
following command: /usr/bin/vmware-config.pl.
When typing vmware service start.
And with the vmware-config.pl there are errors, like:
None of the pre-built vmmon modules for VMware Server 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]
but i just keep pressing yes …
Your kernel was built with "gcc" version "4.3.2", while you are trying to use
"/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware
Server may crash if you'll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.3" anyway? [no]
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.27.7-9-default/build/include]
i just type the location it gives me in the ] every time it asks a question like that
and then i enter the code and everything seems to finish nicely; says it was installed successfully.
Aha… ok, so you need the kernel-sources and gcc packages first. Without these packages the vmware script won’t be able to build the modules.
first:
su -
zypper install kernel-source gcc gcc-c++
That should install any missing packages.
After this retry the vmware-config.pl script.
As added note: If you are using VMWare on the openSUSE 11.x series… it’s best to disable parallel boot. Otherwise the services might not automatically start after a reboot.
But see if you can get the modules built first…
VMWare is indeed very good but I tried Xen because I didn’t see a VMWare server package.
Xen’s performance was AMAZINGLY BAD on a 3 GHZ Core 2 Dual box with 4G of RAM, but I have to give credit to the guys who packaged it for SUSE, it is absolutely brilliant, nothing was forgotten.
After that didn’t work I installed VirtualBox. VirtualBox is great. It performs amazingly well and is very similar to VMWare in function. If you just need a good VM to run guests in try the VirtualBox package in the repo. The only thing you will need to do is chmod +x /etc/init.d/rc.vboxdrv so the kernel module will get installed after next boot.
Just to add: If you are talking Windows performance on Xen… you probably did not install the guest add on tools. Without the guest tools you will basically run at +/-20% of what you could be running. When installing the tools, bits of Windows will be put into semi para mode.
SLES uses the Virtual Driver add-on and there are free drivers available at XenSource. Haven’t tried those with openSUSE though.
If you run other Linux guests on a Xen host you will surely blast Virtual Box, VMWare workstation out of the water. But for a desktop virtualization product Xen does not have enough management tools on board. Virtual Box and VMWare are a breeze in that sense.
And I’m also getting these warnings, does it mean anything?
WARNING: Can't read module /lib/modules/2.6.27.7-9-default/weak-updates/updates/vmxnet.ko: No such file or directory
WARNING: Can't read module /lib/modules/2.6.27.7-9-default/weak-updates/updates/vmci.ko: No such file or directory
WARNING: Can't read module /lib/modules/2.6.27.7-9-default/weak-updates/updates/vmhgfs.ko: No such file or directory
WARNING: Can't read module /lib/modules/2.6.27.7-9-default/weak-updates/updates/vmmemctl.ko: No such file or directory
WARNING: Can't read module /lib/modules/2.6.27.7-9-default/weak-updates/updates/vboxvfs.ko: No such file or directory
WARNING: Can't read module /lib/modules/2.6.27.7-9-default/weak-updates/updates/vboxadd.ko: No such file or directory
WARNING: Can't read module /lib/modules/2.6.27.7-9-default/weak-updates/updates/vmsync.ko: No such file or directory
WARNING: Can't read module /lib/modules/2.6.27.7-9-default/weak-updates/updates/vmblock.ko: No such file or directory
WARNING: Can't read module /lib/modules/2.6.27.7-9-default/weak-updates/updates/vsock.ko: No such file or directory
Hi Wj yeah I was really surprised after reading all the hype on Xen. Now what you are saying makes sense I couldn’t believe how slow it was, that must be it. Because all I read says the performance can’t be beat. Anyway I’m happily running VirtualBox so until next time…
Hmmmm… you’ve got yourself allot of nice kernels there. Been testing a bit?
If it where me, I’d install the kernel-pae packages , reboot using the pae kernel selection and retry rebuilding vmware.
try :
su -
zypper install kernel-pae*
This will probably deinstall the kernel-default packages… but if, for any reason, you can’t boot with the pae kernel you can revert by booting into the xen kernel and reinstall the kernel-default packages.
After the pae kernel is installed, reboot, check the boot selection and retry the vmware-config.pl script.
Thanks for your help, but i give up.
I think i did something wrong in the terminal cause my computer started freezing, and the screen kept going white/black and wouldn’t respond and now i can’t even open suse at all.
Maybe you know how i can reinstall suse? I wanna start all over - this time I’ll try Vbox again.:’(
When did (after which action) things go belly up? could still be fixable but a reinstall might be quicker and cleaner (removing packages you were testing).
Is there any data you want to keep? I always reinstall my desktops keeping my /home partition in tack. A technique many use…
Do you have a separate partition for your /home? And/or any other specific things/data you want to keep?
Your kernel was built with "gcc" version "4.3.2", while you are trying to use
"/usr/bin/gcc" version "4.3". This configuration is not recommended and VMware
Server may crash if you'll continue. Please try to use exactly same compiler as
one used for building your kernel. Do you want to go with compiler
"/usr/bin/gcc" version "4.3" anyway? [no]
wrong answer, choose: yes, it’s just checking on .2, and that doesn’t matter