the problem with lsmod is fixed by Xeper, he wrote a dirty workaround. the problem was: /etc/vmware/init.d/vmware: line 881: [: -: integer expression expected the function "countVMs()" has some problems with lsmod, so Xeper fixed line 881: if [ "`countVMs`" == '-' ]; then i=0; fi if [ "`countVMs`" != '-' ]; then i="`countVMs`"; fi but the next problem is that the services can't started or stoped: # /etc/init.d/vmware status * status: stopped # /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. # /opt/vmware/bin/vmware-config.pl Making sure VMware Workstation's services are stopped. Stopping VMware services: Virtual machine monitor failed Unable to stop VMware Workstation's services. Execution aborted. Reproducible: Always Steps to Reproduce: 1. emerge vmware-workstation 2. /opt/vmware/bin/vmware-config.pl 3. lsmod # lsmod Module Size Used by vmnet 30192 - vmmon 48664 - # uname -a Linux Embryodead 2.6.0-test6 #3 Tue Apr 13 17:12:52 CEST 2004 i686 AMD Athlon(tm) processor AuthenticAMD GNU/Linux modules-init-tools version 3.0 vmware-workstation version 4.5.1.7568 # emerge info # emerge info Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.0-test6) ================================================================= System uname: 2.6.0-test6 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer -mmmx -m3dnow -funroll-all-loops -fcse-follow-jumps -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /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/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer -mmmx -m3dnow -funroll-all-loops -fcse-follow-jumps -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X aalib apache2 apm avi berkdb cdr crypt directfb doc encode esd fbdev foomaticdb gdbm gif gnome gpm gtk gtk2 imlib javascript jpeg kde libg++ libwww mad mikmod mmx mmx2 mmxext motif mozilla moznomail mpeg music mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml xml2 xmms xv zlib"
Could you please be a little bit clearer on what exactly is going on? At what point do you get the "integer expression" error? It appears that the problem you're having running vmware-config.pl is related to an already running instance of vmmon? Is that correct?
No response from user, so I am closing this one. Feel free to reopen it if you have more information for me.