Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 43034 - vmware startup, virtual machine monitor doesn't start
Summary: vmware startup, virtual machine monitor doesn't start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-26 14:24 UTC by Pavel
Modified: 2004-03-24 03:54 UTC (History)
1 user (show)

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


Attachments
vmware ebuild output (vmware-workstation-4.5.1-7568.output,34.82 KB, application/octet-stream)
2004-03-19 08:26 UTC, Pavel
Details
vmware-config-pl output (vmware-config.pl.output,7.17 KB, text/plain)
2004-03-19 08:27 UTC, Pavel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel 2004-02-26 14:24:23 UTC
virtual machine monitor doesn't start, I have a smp system



DETAIL

/opt/vmware/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.
 
Stopping VMware services:
   Virtual machine monitor                                             done
 
Trying to find a suitable vmmon module for your running kernel.
 
None of VMware Workstation's pre-built vmmon modules 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.3-mm3/build/include]
 
Extracting the sources of the vmmon module.
 
Building the vmmon module.
 
Building for VMware Workstation 4.0.x.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config25/vmmon-only'
make -C /lib/modules/2.6.3-mm3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.3-mm3'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  /tmp/vmware-config25/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config25/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config25/vmmon-only/common/task.o
cc1plus: warning: "-Wdeclaration-after-statement" is valid for C/ObjC but not
   for C++
  LD [M]  /tmp/vmware-config25/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config25/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config25/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.3-mm3'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config25/vmmon-only'
The module loads perfectly in the running kernel.
 
Extracting the sources of the vmnet module.
 
Building the vmnet module.
 
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config25/vmnet-only'
make -C /lib/modules/2.6.3-mm3/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.3-mm3'
*** Warning: Overriding SUBDIRS on the command line can cause
***          inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CC [M]  /tmp/vmware-config25/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config25/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config25/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config25/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config25/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config25/vmnet-only/procfs.o
  LD [M]  /tmp/vmware-config25/vmnet-only/vmnet.o
  Building modules, stage 2.
/usr/src/linux-2.6.3-mm3/scripts/Makefile.modpost:17: Trouble: fs/fat/fat.ko net/ipv4/netfilter/ip_conntrack.ko net/ipv4/netfilter/ip_conntrack_ftp.ko net/ipv4/netfilter/ip_conntrack_irc.ko net/ipv4/netfilter/ip_nat_ftp.ko net/ipv4/netfilter/ip_nat_irc.ko net/ipv4/netfilter/ip_nat_snmp_basic.ko net/ipv4/netfilter/ip_tables.ko net/ipv4/netfilter/ipt_NETMAP.ko net/ipv4/netfilter/ipt_REDIRECT.ko net/ipv4/netfilter/ipt_REJECT.ko net/ipv4/netfilter/ipt_SAME.ko net/ipv4/netfilter/ipt_ah.ko net/ipv4/netfilter/ipt_conntrack.ko net/ipv4/netfilter/ipt_dscp.ko net/ipv4/netfilter/ipt_ecn.ko net/ipv4/netfilter/ipt_esp.ko net/ipv4/netfilter/ipt_helper.ko net/ipv4/netfilter/ipt_iprange.ko net/ipv4/netfilter/ipt_length.ko net/ipv4/netfilter/ipt_limit.ko net/ipv4/netfilter/ipt_mac.ko net/ipv4/netfilter/ipt_mark.ko net/ipv4/netfilter/ipt_multiport.ko net/ipv4/netfilter/ipt_owner.ko net/ipv4/netfilter/ipt_pkttype.ko net/ipv4/netfilter/ipt_recent.ko net/ipv4/netfilter/ipt_state.ko net/ipv4/netfilter/ipt_tcpmss.ko net/ipv4/netfilter/ipt_tos.ko net/ipv4/netfilter/ipt_ttl.ko net/ipv4/netfilter/iptable_filter.ko net/ipv4/netfilter/iptable_nat.ko fs/isofs/isofs.ko crypto/md5.ko fs/msdos/msdos.ko fs/ntfs/ntfs.ko crypto/sha512.ko fs/udf/udf.ko fs/vfat/vfat.ko /tmp/vmware-config25/vmmon-only/vmmon.ko /tmp/vmware-config25/vmnet-only/vmnet.ko
/usr/src/linux-2.6.3-mm3/scripts/Makefile.modpost:18: *** Uh-oh, you have stale module entries. You messed with SUBDIRS,
/usr/src/linux-2.6.3-mm3/scripts/Makefile.modpost:19: do not complain if something goes wrong.
  MODPOST
  CC      /tmp/vmware-config25/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config25/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.3-mm3'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config25/vmnet-only'
The module loads perfectly in the running kernel.
 
Do you want networking for your virtual machines? (yes/no/help) [no]
 
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                                            failed
 
The configuration of VMware Workstation 4.0.5 build-6030 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



emerge info
 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.3-mm4)
=================================================================
System uname: 2.6.3-mm4 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/jakarta/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -mcpu=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib acl alsa apache2 arts avi berkdb cdr clamav crypt cups dillo encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg junit ldap libg++ libwww mad maildir mikmod mmx motif mozilla moznocompose moznoirc moznomail mozsvg mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres python quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype x86 xface xml2 xmms xv zlib"
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-02-26 14:43:46 UTC
Thanks for the bug...  Now, what happens when you run "/etc/init.d/vmware start" yourself?

What output are you getting in your system logs?
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-10 16:51:56 UTC
If I don't hear something back soon on this, I'm going to close it.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-17 18:02:06 UTC
Reopen if you have more info/problems
Comment 4 Pavel 2004-03-19 08:26:05 UTC
Created attachment 27616 [details]
vmware ebuild output
Comment 5 Pavel 2004-03-19 08:27:56 UTC
Created attachment 27619 [details]
vmware-config-pl output
Comment 6 Pavel 2004-03-19 08:38:02 UTC
I am sorry it took me so long to get back to you.

This is from vmware-config.pl above.

Starting VMware services:
   Virtual machine monitor                                            failed
   Virtual ethernet                                                   failed
   Bridged networking on /dev/vmnet0                                   done
   Host-only networking on /dev/vmnet8 (background)                    done
   NAT service on /dev/vmnet8                                          done



The output of /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.                         [ !! ]

/var/log/kernelMar 19 11:17:23 [kernel] vmmon: module license 'unspecified' taints kernel.
Mar 19 11:17:23 [kernel] /dev/vmmon: Module vmmon: registered with major=10 minor=165
Mar 19 11:18:32 [kernel] vmnet: module license 'unspecified' taints kernel.
Mar 19 11:20:03 [kernel] /dev/vmnet: open called by PID 27195 (vmnet-bridge)
Mar 19 11:20:03 [kernel] bridge-eth0: enabling the bridge
Mar 19 11:20:03 [kernel] /dev/vmnet: open called by PID 27203 (vmnet-natd)
Mar 19 11:20:13 [kernel] /dev/vmnet: open called by PID 27308 (vmnet-netifup)
Mar 19 11:20:15 [kernel] /dev/vmnet: open called by PID 27329 (vmnet-dhcpd)
Mar 19 11:20:15 [kernel] /dev/vmnet: port on hub 8 successfully opened

/var/log/everything

Mar 19 11:17:23 [kernel] vmmon: module license 'unspecified' taints kernel.
Mar 19 11:18:32 [kernel] vmnet: module license 'unspecified' taints kernel.
Mar 19 11:20:14 [vmnet-dhcpd] Internet Software Consortium DHCP Server 2.0
Mar 19 11:20:14 [vmnet-dhcpd] Copyright 1995, 1996, 1997, 1998, 1999 The Interne              t Software Consortium.
Mar 19 11:20:14 [vmnet-dhcpd] All rights reserved.
Mar 19 11:20:14 [vmnet-dhcpd] Please contribute if you find this software useful              .
Mar 19 11:20:14 [vmnet-dhcpd] For info, please visit http://www.isc.org/dhcp-con              trib.html
Mar 19 11:20:15 [vmnet-dhcpd] Configured subnet: 172.16.111.0
Mar 19 11:20:15 [vmnet-dhcpd] Setting vmnet-dhcp IP address: 172.16.111.254
Mar 19 11:20:15 [vmnet-dhcpd] Recving on     VNet/vmnet8/172.16.111.0
Mar 19 11:20:15 [vmnet-dhcpd] Sending on     VNet/vmnet8/172.16.111.0
Mar 19 11:21:28 [rc-scripts] VMware Workstation is installed, but it has not bee              n (correctly) configured
Mar 19 11:21:28 [rc-scripts] for the running kernel. To (re-)configure it, invok              e the
Mar 19 11:21:28 [rc-scripts] following command: /opt/vmware/bin/vmware-config.pl              .
Mar 19 11:21:28 [rc-scripts] VMware is not properly configured! See above.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-19 10:19:57 UTC
Can you try the new version in portage?  I just added 4.5.1 yesterday.
Comment 8 Pavel 2004-03-20 09:19:04 UTC
Actually that I did. The output is in the vmware ebuild output file. I am wondering if I am missing something in my kernel?
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-20 09:28:14 UTC
You're having this same problem with the new 4.5.1 version of VMWare?
Comment 10 antoine marmignon 2004-03-21 15:19:08 UTC
Same problem here, on x86 with the new vmware 4.5.1.
Vmware 4.0.5.6030-r1 works perfectly with 2.6.4 vanilla kernel, I modified it to work with the latest any-any-update54 patch, I never had problems.
I think 4.5.1 on x86 requires more testing, at least for those of us who use a vanilla kernel.
Comment 11 Brian Magnuson 2004-03-22 16:24:32 UTC
Same issue here with 4.5.1 and various 2.6 kernels (latest I tried was 2.6.5-rc2)  I noticed that with the 4.5.1 build the any-any patchset isn't included.  Is it meant to work with the new version?  I honestly don't know, the patchset itself it a little light in the documentation department.  Let me know if there's any info I can provide to help here.
Comment 12 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-22 17:13:45 UTC
Strange... I'm running VMWare currently to test my new LiveCD that I have built with catalyst... I'm running 2.6.4-gentoo-r1.  Could it be that something Gentoo is doing to their sources is making it work?
Comment 13 Mathy Vanvoorden 2004-03-23 02:04:31 UTC
I had the same problem and I solved it somehow. I'm not sure what changed or what I did to trigger the change, but I removed /etc/vmware/not_configured a couple of times between stopping and starting the vmware service because I was trying to debug the init-script, and all of a sudden it worked and now I can't reproduce the bug, no matter how hard I try :-)
Comment 14 Brian Magnuson 2004-03-23 17:56:35 UTC
Scratch my last comment.  The 4.5.1 ebuild works like a champ with kernel 2.6.4.  Can't tell you why.  I'm happy though.
Comment 15 Chris Gianelloni (RETIRED) gentoo-dev 2004-03-24 03:54:08 UTC
I'm closing this one, then.  If anyone has any problems, file a new bug or reopen this one if you can.  Comment here if you can't and i'll reopen it.