i run "opt/vmware/bin/vmware-config.pl" nad give it a config. Then type "vmware" and get a window saying: ---- VMware Workstation is installed, but it has not been (correctly) configured for your running kernel. To (re-)configure it, your system administrator must find and run "vmware-config.pl". For more information, please read file "INSTALL" in the VMware Workstation documentation directory. ----- the contents of file /etc/vmware/locations: --- answer BINDIR /opt/vmware/bin answer LIBDIR /opt/vmware/lib answer MANDIR /opt/vmware/man answer DOCDIR /opt/vmware/doc answer RUN_CONFIGURATOR no answer INITDIR /etc/vmware/init.d answer INITSCRIPTSDIR /etc/vmware/init.d answer EULA_AGREED yes answer BUILDR_vmmon yes answer HEADER_DIR /lib/modules/2.4.26-rc3-gentoo/build/include file /lib/modules/2.4.26-rc3-gentoo/misc/vmmon.o 1080215196 answer BUILDR_vmnet yes file /lib/modules/2.4.26-rc3-gentoo/misc/vmnet.o 1080215199 answer NETWORKING yes answer VNET_0_INTERFACE eth0 answer VNET_8_NAT yes answer VNET_8_HOSTONLY_HOSTADDR 192.168.228.1 answer VNET_8_HOSTONLY_NETMASK 255.255.255.0 directory /etc/vmware/vmnet8 directory /etc/vmware/vmnet8/dhcpd file /etc/vmware/vmnet8/dhcpd/dhcpd.conf 1080215213 file /etc/vmware/vmnet8/dhcpd/dhcpd.leases file /etc/vmware/vmnet8/dhcpd/dhcpd.leases~ directory /etc/vmware/vmnet8/nat file /etc/vmware/vmnet8/nat/nat.conf 1080215213 answer ISC_COPYRIGHT_SEEN yes answer VNET_1_SAMBA no file /etc/vmware/init.d/rc3.d/S90vmware file /etc/vmware/init.d/rc6.d/K08vmware file /etc/vmware/config 1080215255 --------- please ask for aditional info. Reproducible: Always Steps to Reproduce: 1.opt/vmware/bin/vmware-config.pl 2.vmware Actual Results: din't launch vmware only obtained a windows saying i hadn't configure vmware before, buy i actually had done it Expected Results: launching vmware Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.4.26-rc3-gentoo) ================================================================= System uname: 2.4.26-rc3-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.3.13p1 distcc 2.12 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi4linux alsa apm arts avi berkdb bonobo cdr crypt cups dga dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kde ldap libg++ libwww mad maildir mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline samba sdl slang spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype video_cards_i830 x86 xml xml2 xmms xv zlib"
i asked in #gentoo and Tad Told me the solution: rm /etc/vmware/not_configured because of a failure vmware-config.pl has sometimes (in my case everytime). i think it maybe should be included in the einof lines of the vmware ebuild
Also, make sure your /usr/src/linux symlink points to your proper kernel.
Hi Fernando, Chris, I have a similar problem. I run the configure script and everything builds Ok, and im allowed to use the guest OS with no problem. However after a rebooting the Host machine, I have to run the configure script again, because the service('vmware') fails to start [!!]. Once again, i run the configure script, which builds with no problem and i can use the guest OS. Going through this process after _Every_Single_Reboot is very disturbing, as well evoking moderate anger. This situation might be caused by udev, given the fact when i was using devfs this didn't occurred. additional info follows: Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5-rc3-tribal-2) ================================================================= System uname: 2.6.5-rc3-tribal-2 i686 AMD Athlon(TM) XP 1800+ Gentoo Base System version 1.4.3.13p1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" ----------------------------------------------------------- sysfs-udev: 024-r1 vmware: 4.5.1.7568 regards
Nuno, did you "rm /etc/vmware/not_configured"?
Is this still a problem? Have you tried the newest udev ebuild?
I'd like to second this bugreport. I just installed vmware-workstation-4.5.1.7586, ran /opt/vmware/bin/vmware-config.pl, but when I try /etc/init.d/vmware start I get: # /etc/init.d/vmware start * Starting VMware services: [ ok ] * Virtual machine monitor [ !! ] in syslog I get a line: vmware-start: Virtual machine monitor failed strangely enough, the above creates a /etc/vmware/not_configured file with zero length, thus a re-run results in: # /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. [ !! ] of course I have ran /opt/vmware/bin/vmware-config.pl., here's my result: # /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? [/usr/src/linux/include] Extracting the sources of the vmmon module. Building the vmmon module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config1/vmmon-only' make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.5-gentoo-r1' *** 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-config1/vmmon-only/linux/driver.o CC [M] /tmp/vmware-config1/vmmon-only/linux/hostif.o CC [M] /tmp/vmware-config1/vmmon-only/common/vmx86.o CC [M] /tmp/vmware-config1/vmmon-only/common/memtrack.o CC [M] /tmp/vmware-config1/vmmon-only/common/phystrack.o CC [M] /tmp/vmware-config1/vmmon-only/common/cpuid.o CC [M] /tmp/vmware-config1/vmmon-only/common/task.o LD [M] /tmp/vmware-config1/vmmon-only/vmmon.o Building modules, stage 2. MODPOST CC /tmp/vmware-config1/vmmon-only/vmmon.mod.o LD [M] /tmp/vmware-config1/vmmon-only/vmmon.ko make[1]: Leaving directory `/usr/src/linux-2.6.5-gentoo-r1' cp -f vmmon.ko ./../vmmon.o make: Leaving directory `/tmp/vmware-config1/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-config1/vmnet-only' make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.5-gentoo-r1' *** 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-config1/vmnet-only/driver.o CC [M] /tmp/vmware-config1/vmnet-only/hub.o CC [M] /tmp/vmware-config1/vmnet-only/userif.o CC [M] /tmp/vmware-config1/vmnet-only/netif.o CC [M] /tmp/vmware-config1/vmnet-only/bridge.o CC [M] /tmp/vmware-config1/vmnet-only/procfs.o LD [M] /tmp/vmware-config1/vmnet-only/vmnet.o Building modules, stage 2. /usr/src/linux-2.6.5-gentoo-r1/scripts/Makefile.modpost:17: Trouble: /tmp/vmware-config1/vmmon-only/vmmon.ko /usr/src/linux-2.6.5-gentoo-r1/scripts/Makefile.modpost:18: *** Uh-oh, you have stale module entries. You messed with SUBDIRS, /usr/src/linux-2.6.5-gentoo-r1/scripts/Makefile.modpost:19: do not complain if something goes wrong. MODPOST CC /tmp/vmware-config1/vmnet-only/vmnet.mod.o LD [M] /tmp/vmware-config1/vmnet-only/vmnet.ko make[1]: Leaving directory `/usr/src/linux-2.6.5-gentoo-r1' cp -f vmnet.ko ./../vmnet.o make: Leaving directory `/tmp/vmware-config1/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 done The configuration of VMware Workstation 4.5.1 build-7568 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 I'm using kernel gentoo-dev-sources-2.6.5-r1, but had the same problem with 2.6.3-r2. # emerge info Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) XP 1800+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /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/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://212.219.247.20/sites/www.ibiblio.org/gentoo/ http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 avi berkdb canna cdr cjk crypt cscope cups curl dvd dvdr encode esd foomaticdb freewnn gdbm gif gnome gpm gtk gtk2 imlib irda java jpeg junit libg++ libwww lirc mad mbox mikmod motif mozilla mpeg ncurses nls nvidia oggvorbis opengl oss pam pda pdflib perl png postgres python quicktime readline sdl slang spell ssl svga tcltk tcpd tiff truetype unicode usb x86 xml2 xmms xv zlib"
ok, here's some more info: for some reason, after running /opt/vmware/bin/vmware-config.pl, the vmware modules get loaded: # lsmod | grep vm vmnet 26960 2 vmmon 45912 0 but, /etc/init.d/vmware start tries to load them again. it calls /etc/vmware/init.d/vmware start, which on line 541 will try: /sbin/insmod -s -f "/lib/modules/`uname -r`/misc/$1.o" where $1 is vmmon (vmware_start_vmmon calls vmware_load_module from line 554 with $driver, which is vmmon). this will fail, as vmmon is already loaded, see manually: # /sbin/insmod -s -f "/lib/modules/`uname -r`/misc/vmmon.o" insmod: error inserting '/lib/modules/2.6.5-gentoo-r1/misc/vmmon.o': -1 File exists thus the whole initialization stuff fails. if one removes the vmware related modules, the service starts fine. but: for some reason I cannot remove some of the modules. even though no one uses them, it still says: # /sbin/rmmod vmnet ERROR: Module vmnet is in use
What about the 4.5.1.7568-r1 ebuild? Also, does it work with the 4.5.2.8848 ebuild that I just added to portage?
Nuno, your comment #3 appears to be related to a bug I filed: http://bugs.gentoo.org/show_bug.cgi?id=54269 You may wish to watch it.
Suggestions worked for me. If your having problems try this order... 1) run /opt/vmware/bin/vmware-config.pl 2) killall -9 the vmnet* & vmmon* processeses 3) rmmod the vm modules 4) rm /etc/vmware/not_configured 5) do /etc/init.d/vmware start
I'm guessing this one is fixed now... if anyone is still having trouble then we can REOPEN the bug.