VMware Workstation On OpenSuse 10.2 - Page 3

Want to support HowtoForge? Become a subscriber!
 
Submitted by zcworld (Contact Author) (Forums) on Thu, 2007-01-18 21:09. ::

Step 6.2

Type in

vmware-config.pl

(What you see is an output from my PuTTY session when I installed VMware on opensuse:)

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.

Do you accept? (yes/no)
<-- y

Thank you.

Configuring fallback GTK+ 2.4 libraries.

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

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

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

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]
<-- <enter>

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.18.2-34-default/build/include]
<-- <enter>

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.18.2-34-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/default modules
CC [M] /tmp/vmware-config0/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config0/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config0/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config0/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config0/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config0/vmmon-only/common/task.o
CC [M] /tmp/vmware-config0/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config0/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes]
<-- <enter>
Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

All your ethernet interfaces are already bridged.

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

Configuring a NAT network for vmnet8.

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

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

The subnet 192.168.250.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

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

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

Configuring a host-only network for vmnet1.

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

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

The subnet 192.168.218.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

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

Extracting the sources of the vmnet module.

Building the vmnet module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.18.2-34-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
make -C ../../../linux-2.6.18.2-34 O=../linux-2.6.18.2-34-obj/i386/default modules
CC [M] /tmp/vmware-config0/vmnet-only/driver.o
CC [M] /tmp/vmware-config0/vmnet-only/hub.o
CC [M] /tmp/vmware-config0/vmnet-only/userif.o
CC [M] /tmp/vmware-config0/vmnet-only/netif.o
CC [M] /tmp/vmware-config0/vmnet-only/bridge.o
CC [M] /tmp/vmware-config0/vmnet-only/procfs.o
CC [M] /tmp/vmware-config0/vmnet-only/smac_compat.o
SHIPPED /tmp/vmware-config0/vmnet-only/smac_linux.x386.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST
WARNING: could not open /tmp/vmware-config0/vmnet-only/includeCheck.h: Invalid argument
CC /tmp/vmware-config0/vmnet-only/vmnet.mod.o
LD [M] /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.18.2-34-obj/i386/default'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/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.3 build-34685 for Linux for this
running kernel completed successfully.

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

Enjoy,

--the VMware team

dhcppc5:/tmp #

 

Step 7: Now The Real Fun Part :) ... Let's Play Ball with VMware :)

On the OpenSuSE PC log in (if not already logged in).

Gnome Desktop env: click on the Computer icon OR push the start key, then click on More Applications:


Look for the new application OR type in the filter box “vmware” <enter>.

Then right-click on VMware workstation and select Add to Favourites:
 

To load VMware: click on the start menu, then select VMware workstation from the list. Then you get the EULA to read again. Afterwards you can use VMware.

 

Step 8: Problem And Fix

I found I get a VFS error : invalid parameters error, but I found a way to fix this on the Novell website.

Rename libgcc_s.so.1 in /usr/lib/vmware/lib/libgcc_s.so.1.

Via a terminal window or PuTTY do this as root user:

cd /usr/liv/vmware/lib
mv libgcc_s.so.1 libgcc_s.so.1.old

That's it. All that it does is rename the file from libgcc_s.so.1 to libgcc_s.so.1.old.

I found the fix on the Novell Coolsolutions web site.


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.