Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48040 - is broken, can't start/stop services, /etc/vmware/init.d/vmware run into errors with lsmod
Summary: is broken, can't start/stop services, /etc/vmware/init.d/vmw...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Chris Gianelloni (RETIRED)
Depends on:
Reported: 2004-04-16 08:10 UTC by Michael Melcher
Modified: 2004-05-12 14:33 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Michael Melcher 2004-04-16 08:10:47 UTC
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 is not properly configured! See above.
# /opt/vmware/bin/
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/
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

# 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
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
CFLAGS="-O2 -march=athlon-tbird -pipe -fomit-frame-pointer -mmmx -m3dnow
-funroll-all-loops -fcse-follow-jumps -maccumulate-outgoing-args"
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"
FEATURES="autoaddcvs ccache sandbox"
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
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-04-19 08:56:02 UTC
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 is related to an already running instance of vmmon?  Is that correct?
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2004-05-12 14:33:38 UTC
No response from user, so I am closing this one.  Feel free to reopen it if you have more information for me.