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

Bug 37909

Summary: vmware-workstation-4.0.5.6030 not working on gentoo-sources-r4 PLUS several rough edges...
Product: Gentoo Linux Reporter: Rene Androsch <art>
Component: Current packagesAssignee: Chris Gianelloni (RETIRED) <wolf31o2>
Status: RESOLVED DUPLICATE    
Severity: critical CC: m.debruijne, thorsten, wolf31o2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rene Androsch 2004-01-11 14:55:40 UTC
Running vmware-config.pl (watch watch it says):
----start----

/opt/vmware/bin/vmware-config.pl
Making sure VMware Workstation's services are stopped.

Stopping VMware services:
   Virtual machine monitor                                             done

You must read and accept the End User License Agreement to continue.
Press enter to display it.


Do you accept? (yes/no) yes

Thank you.

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] 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.4.22-gentoo-r4/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

make: Entering directory `/tmp/vmware-config0/vmmon-only'
make[1]: Entering directory `/tmp/vmware-config0/vmmon-only'
make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.4.22-gentoo-r4'
make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.4.22-gentoo-r4'
make[2]: Entering directory `/tmp/vmware-config0/vmmon-only/driver-2.4.22-gentoo-r4'
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
../linux/hostif.c: In function `HostIF_SemaphoreWait':
../linux/hostif.c:1818: warning: passing arg 1 of `poll_initwait_R10c0f048' from incompatible pointer type
../linux/hostif.c:1835: warning: passing arg 1 of `poll_freewait_R8b7dc437' from incompatible pointer type
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
../include/vm_asm.h: In function `Vmx86_GetkHzEstimate':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
../include/vm_asm.h: In function `Div643264':
../include/vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make[2]: Leaving directory `/tmp/vmware-config0/vmmon-only/driver-2.4.22-gentoo-r4'
make[1]: Leaving directory `/tmp/vmware-config0/vmmon-only'
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Extracting the sources of the vmnet module.

Building the vmnet module.

make: Entering directory `/tmp/vmware-config0/vmnet-only'
vm_asm.h: In function `Div643264':
vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
vm_asm.h: In function `Div643264':
vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
vm_asm.h: In function `Div643264':
vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
vm_asm.h: In function `Div643264':
vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
vm_asm.h: In function `Div643264':
vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
vm_asm.h: In function `Div643264':
vm_asm.h:1095: warning: use of memory input without lvalue in asm operand 4 is deprecated
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes] 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

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.


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
-----end-----

then I start vmware and get a window telling me:
----start----
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.
-----end-----

ok, then I do /etc/init.d/vmware start (and get)
----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.
-----end-----

Then I do:
cd /lib/modules/2.4.22-gentoo-r4/misc
modprobe vmmon
modprobe vmnet

lsmod -> vmmon, vmnet (they are loaded)
dmesg output:
----start----
/dev/vmmon: Module vmmon: registered with major=10 minor=165
/dev/vmmon: Module vmmon: initialized
-----end-----

Okay, since I HAVE configured vmware and the modules are loaded,
I do:
rm /etc/vmware/not_configured

Now, when I start vmware, the normal window shows up :)
Then I configure a Windows XP setup, and insert my university XP CD and hit start:

----start----
Gtk-WARNING **: gtk_signal_disconnect_by_data(): could not find handler containing data (0x83B3200)


VMware Workstation Error:
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.

Press "Enter" to continue...



VMware Workstation Error:
Failed to initialize monitor device.

Press "Enter" to continue...




VMware Workstation Error:
Could not open /dev/vmmon: No such file or directory.
Please make sure that the kernel module `vmmon' is loaded.

Press "Enter" to continue...


VMware Workstation Error:
Failed to initialize monitor device.

Press "Enter" to continue...Killed
-----end-----

No go -> I had to switch to the console and kill it :(


Any ideas what went wrong?


My emerge --info:
---start---
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.22-gentoo-r4)
=================================================================
System uname: 2.4.22-gentoo-r4 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -funroll-loops -fprefetch-loop-arrays -pipe"
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/share/config /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/env.d"
CXXFLAGS="-O3 -march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS=" http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ http://ftp.uni-erlangen.de/pub/mirrors/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 alsa apm arts artswrappersuid avantgo avi berkdb cdr crypt cups dvd dvdr encode esd foomaticdb gdbm gif gphoto2 gpm gtk2 idea imlib java javascript jpeg kde libg++ libwww mad mhash mikmod mmx motif mozilla mpeg nas ncurses nls nvidia oggvorbis opengl oss pam pda pdflib png pnp qt quicktime readline samba scanner sdl slang spell sse sse2 ssl tcltk tcpd tetex tiff truetype usb vim-with-x x86 xml2 xmms xv zlib"
----end----

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-01-11 15:56:37 UTC
vmware is picky

best bet is to do this:
vmware-config.pl
rc-update add vmware default
reboot

and then try to use vmware
Comment 2 Rene Androsch 2004-01-11 17:49:07 UTC
Okay, now it seems to work, but freezes!
output from ps -Af:
---start---
root      1958 29618  8 02:41 pts/1    00:00:11 /opt/vmware/lib/bin/vmware
root     11856  1958  0 02:42 pts/1    00:00:00 /opt/vmware/lib/bin/vmware-vmx -@ pipe=/tmp/vmxce8012f2f4b850cd;vm=c
root      2298 11856  0 02:42 pts/1    00:00:00 vmware-mks -A 12 -D 14 -S -L /tmp/vmware-root/11856.log -P 11856 -@
root     31777 11856  0 02:42 pts/1    00:00:00 vmware [Floppy]
root     15562 11856  0 02:42 pts/1    00:00:00 vmware [ide0:0]
root     11704 11856  0 02:42 pts/1    00:00:00 vmware [ide0:1]
root     29512 11856  0 02:42 pts/1    00:00:00 [vmware-vmx] <defunct>
----end----

Nice, I did remove the Floppy config, since my computer doesn't have a floppy drive, and I don't want to provide one to winxp.

Any ideas left?
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2004-01-12 00:44:03 UTC
*** Bug 37945 has been marked as a duplicate of this bug. ***
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2004-01-12 05:31:46 UTC

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