Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82542 - vmware doen't start after installation
Summary: vmware doen't start after installation
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-19 01:23 UTC by Denny Reeh
Modified: 2005-03-10 08:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
error window at start of vmware (Bildschirmfoto.png,50.31 KB, image/png)
2005-02-19 01:24 UTC, Denny Reeh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Denny Reeh 2005-02-19 01:23:42 UTC
during installation (/opt/vmware/bin/vmware-config.pl) i've got errors:

Starting VMware services:
   Virtual machine monitor                                            failed
   Virtual ethernet                                                   failed
   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


so vmware doesn't start after finishing the config.



Reproducible: Always
Steps to Reproduce:
1. emerge vmware-workstation
2. /opt/vmware/bin/vmware-config.pl
3. /opt/vmware/bin/vmware
Actual Results:  
there comes a error window (see attachment)
Comment 1 Denny Reeh 2005-02-19 01:24:14 UTC
Created attachment 51569 [details]
error window at start of vmware
Comment 2 Denny Reeh 2005-02-19 01:25:20 UTC
here the complete output of /opt/vmware/bin/vmware-config.pl:



root@moe_gentoo denny # /opt/vmware/bin/vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   DHCP server on /dev/vmnet1                                          done
   SMB share server on /dev/vmnet1                                     done
   SMB name server on /dev/vmnet1                                      done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done

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.10-gentoo-r6/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 4.5.2 or VMware GSX Server 3.1.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.10-gentoo-r6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r6'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
In Datei, eingef
Comment 3 Denny Reeh 2005-02-19 01:25:20 UTC
here the complete output of /opt/vmware/bin/vmware-config.pl:



root@moe_gentoo denny # /opt/vmware/bin/vmware-config.pl
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done
   Bridged networking on /dev/vmnet0                                   done
   DHCP server on /dev/vmnet1                                          done
   SMB share server on /dev/vmnet1                                     done
   SMB name server on /dev/vmnet1                                      done
   Host-only networking on /dev/vmnet1                                 done
   DHCP server on /dev/vmnet8                                          done
   NAT service on /dev/vmnet8                                          done
   Host-only networking on /dev/vmnet8                                 done
   Virtual ethernet                                                    done

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.10-gentoo-r6/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 4.5.2 or VMware GSX Server 3.1.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.10-gentoo-r6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r6'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
In Datei, eingefügt von /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
/tmp/vmware-config0/vmmon-only/linux/driver.h:88:1: Warnung: »DEVICE_NAME_SIZE« redefiniert
In Datei, eingefügt von include/linux/miscdevice.h:5,
                    von /tmp/vmware-config0/vmmon-only/linux/driver.h:12,
                    von /tmp/vmware-config0/vmmon-only/linux/driver.c:49:
include/linux/device.h:25:1: Warnung: dies ist die Stelle der vorherigen Definition
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
In Datei, eingefügt von /tmp/vmware-config0/vmmon-only/linux/hostif.c:57:
/tmp/vmware-config0/vmmon-only/linux/driver.h:88:1: Warnung: »DEVICE_NAME_SIZE« redefiniert
In Datei, eingefügt von include/linux/miscdevice.h:5,
                    von /tmp/vmware-config0/vmmon-only/linux/driver.h:12,
                    von /tmp/vmware-config0/vmmon-only/linux/hostif.c:57:
include/linux/device.h:25:1: Warnung: dies ist die Stelle der vorherigen Definition
  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/compat.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.10-gentoo-r6'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Extracting the sources of the vmnet module.

Building the vmnet module.

Building for VMware Workstation 4.5.2 or VMware GSX Server 3.1.0.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.10-gentoo-r6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r6'
  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
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST
  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.10-gentoo-r6'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

You have already setup networking.

Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

Do you want this program to automatically configure your system to allow your
virtual machines to access the host's filesystem? (yes/no/help) [yes]

The version of Samba used in this version of VMware Workstation is licensed as
described in the "/opt/vmware/doc/SAMBA-LICENSE" file.

Hit enter to continue.

Starting VMware services:
   Virtual machine monitor                                            failed
   Virtual ethernet                                                   failed
   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

You have successfully configured VMware Workstation to allow your virtual
machines to access the host's filesystem.  Your system appears to already be set
up with usernames and passwords for accessing the host's filesystem via network
interface vmnet1. Would you like to add another username and password at this
time? (yes/no/help) [no]

You can add more usernames at any time by invoking the following command as
root: "/opt/vmware/bin/vmware-smbpasswd vmnet1 -a <username>"

The configuration of VMware Workstation 4.5.2 build-8848 for Linux for this
running kernel completed successfully.

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

Enjoy,

--the VMware team

Comment 4 Peter Renchen 2005-02-20 09:34:12 UTC
Solution:
First, lookup if yoour kernel was build with modul unload support. [CONFIG_MODULE_UNLOAD=y]
If not, set this to "Y" and recompile your kernel


Second verify if vmmon and vmnet modules are loaded:
gentoo linux # lsmod |grep -i vm
vmnet                  31632  8
vmmon                 156108  0

If you just see one digit number for each modul (here: 31632 ans 156108) and not the second digit (here: 8 and 0) then your module are not used by your kernel.

Get latest vmware-any-any-update89.taar.gz from http://ftp.cvut.cz/vmware/
Copy this file to /usr/portage/distfiles/

re-emerge vmware-workstation.Continue as usual after emerging with /opt/vmware/bin/vmware-config.pl

This steps solved my vmware problem, i just can guess if it was the kernel thing or the update of vmware-any-any-update89.tar.gz 

Greeting Peter
Comment 5 Denny Reeh 2005-03-10 08:36:54 UTC
> First, lookup if yoour kernel was build with modul unload support. [CONFIG_MODULE_UNLOAD=y]
> If not, set this to "Y" and recompile your kernel

ok, this was the problem!