Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 71788

Summary: vmware-workstation cannot install networking
Product: Gentoo Linux Reporter: Don Seiler (RETIRED) <rizzo>
Component: New packagesAssignee: Chris Gianelloni (RETIRED) <wolf31o2>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Don Seiler (RETIRED) gentoo-dev 2004-11-19 13:38:40 UTC
I thought this might be a dupe of Bug #70772, but the output is different, so I filed separately.

When I run vmware-config.pl, networking is screwed.  Here is my config output:

 # /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
   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.9-gentoo-r1/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-config3/vmmon-only'
make -C /lib/modules/2.6.9-gentoo-r1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/
. modules
make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r1'
  CC [M]  /tmp/vmware-config3/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config3/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config3/vmmon-only/common/task.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC 
but not for C++
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid f
or C/ObjC but not for C++
cc1plus: warning: command line option "-Wstrict-prototypes" is valid for C/ObjC 
but not for C++
  CC [M]  /tmp/vmware-config3/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config3/vmmon-only/vmcore/compat.o
  CC [M]  /tmp/vmware-config3/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config3/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config3/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config3/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r1'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config3/vmmon-only'
The module loads perfectly in the running kernel.

This program previously created the file /dev/vmmon, and was about to remove it.
Somebody else apparently did it already.

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-config3/vmnet-only'
make -C /lib/modules/2.6.9-gentoo-r1/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/
. modules
make[1]: Entering directory `/usr/src/linux-2.6.9-gentoo-r1'
  CC [M]  /tmp/vmware-config3/vmnet-only/driver.o
/tmp/vmware-config3/vmnet-only/driver.c: In function `init_module':
/tmp/vmware-config3/vmnet-only/driver.c:503: warning: label `err_ioctl' defined 
but not used
  CC [M]  /tmp/vmware-config3/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config3/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config3/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config3/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config3/vmnet-only/procfs.o
  LD [M]  /tmp/vmware-config3/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config3/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config3/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.9-gentoo-r1'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config3/vmnet-only'
The module loads perfectly in the running kernel.

This program previously created the file /dev/vmnet0, and was about to remove 
it.  Somebody else apparently did it already.

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) [no] 

Starting VMware services:
   Virtual machine monitor                                             done
   Virtual ethernet                                                    done
   Bridged networking on /dev/vmnet0                                  failed

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

# /etc/init.d/vmware start
 * VMware Workstation is installed, but it has not been (correctly) configured
 * for the running kernel. To (re-)configure it, invoke the
 * following command: /opt/vmware/bin/vmware-config.pl.
 * VMware is not properly configured! See above.
Comment 1 Don Seiler (RETIRED) gentoo-dev 2004-11-19 13:45:06 UTC
Note that -r1 works.  wolf31o2 stated in #gentoo-dev that this breakage occurs with -r2 and udev < 049.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-11-19 16:27:31 UTC

*** This bug has been marked as a duplicate of 70237 ***