Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VMWare workstation woes [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
scaramanga
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 171

PostPosted: Fri Feb 24, 2006 4:37 pm    Post subject: VMWare workstation woes [solved] Reply with quote

I emerged vmware-workstation, on my Gentoo box.

I'm running the Gentoo-sources 2.6.14-r2 kernel, and have checked that /usr/src/linux points to that source. My entire system is built using the same GCC.

But after a succesfull vmware emerge, I run;

/opt/vmware/workstation/bin/vmware-config.pl

and all modules seems to build. But after that, not all services start!. I get;

* Starting VMware services: [ ok ]
* Virtual machine monitor [ !! ]
* Virtual ethernet [ !! ]
* Bridged networking on /dev/vmnet0 [ ok ]
* Host-only networking on /dev/vmnet1 (background) [ ok ]
* Host-only networking on /dev/vmnet8 (background) [ ok ]
* NAT service on /dev/vmnet8 [ ok ]

So, if I try to run "vmware" as my user, I get a message saying I need to run vmware-config.pl as vmware is not configured properly. Running vmware-config.pl, or /etc/init.d/vmware stop fails.........vmware is not running it says.

This seems circular........I have tried removing vmware-workstation, and reemerging, but that didn't help. I also tried,

/opt/vmware/workstation/bin/vmware-config.pl -skipstopstart

and have tried removing the file; /etc/vmare/not_configured

but nothing helped.....

Any other tips??.


Last edited by scaramanga on Sun Feb 26, 2006 12:26 am; edited 1 time in total
Back to top
View user's profile Send private message
helmutvandeshaft
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2004
Posts: 90
Location: Amsterdam

PostPosted: Fri Feb 24, 2006 6:21 pm    Post subject: Reply with quote

Did you try /etc/init.d/vmware start first?
Back to top
View user's profile Send private message
scaramanga
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 171

PostPosted: Fri Feb 24, 2006 8:02 pm    Post subject: Reply with quote

If I try that, I get


tux stig # /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/workstation/bin/vmware-config.pl.
* VMware is not properly configured! See above. [ !! ]
tux stig # /opt/vmware/workstation/bin/vmware-config.pl
Making sure services for VMware Workstation are stopped.

/etc/vmware/init.d/vmware: line 726: [: -: integer expression expected
* ERROR: "vmware" has not yet been started.

Configuring fallback GTK+ 2.4 libraries.

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation 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.14-gentoo-r2/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /lib/modules/2.6.14-gentoo-r2/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.14-gentoo-r2'
CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
CC [M] /tmp/vmware-config2/vmmon-only/linux/hostif.o
CC [M] /tmp/vmware-config2/vmmon-only/common/cpuid.o
CC [M] /tmp/vmware-config2/vmmon-only/common/hash.o
CC [M] /tmp/vmware-config2/vmmon-only/common/memtrack.o
CC [M] /tmp/vmware-config2/vmmon-only/common/phystrack.o
CC [M] /tmp/vmware-config2/vmmon-only/common/task.o
CC [M] /tmp/vmware-config2/vmmon-only/common/vmx86.o
CC [M] /tmp/vmware-config2/vmmon-only/vmcore/moduleloop.o
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config2/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config2/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/linux-2.6.14-gentoo-r2'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config2/vmmon.o': -1 File exists
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.
Back to top
View user's profile Send private message
helmutvandeshaft
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2004
Posts: 90
Location: Amsterdam

PostPosted: Fri Feb 24, 2006 8:09 pm    Post subject: Reply with quote

I had the exact same problem on another system i used to have, i think it was something to do with module unloading not bult into the kernel.

I'll give it a try and see what happens.
Back to top
View user's profile Send private message
helmutvandeshaft
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2004
Posts: 90
Location: Amsterdam

PostPosted: Fri Feb 24, 2006 8:22 pm    Post subject: Reply with quote

I just installed and everything works fine.

This are my settings under Loadable module support in my kernel

[*] Enable loadable module support
[*] Module unloading
[*] Automatic kernel module loading
Back to top
View user's profile Send private message
scaramanga
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 171

PostPosted: Sat Feb 25, 2006 2:42 pm    Post subject: Reply with quote

Good stuff.....I got further :D Didn't solve my problem though. All modules loads ok, and I am able to start and stop vmware without errors, but when I try to launch vmware, I get errors. Please see messages below.

tux stig # /etc/init.d/vmware start
* WARNING: "vmware" has already been started.
tux stig # /etc/init.d/vmware stop
* Stopping VMware services: [ ok ]
* Virtual machine monitor [ ok ]
* Bridged networking on /dev/vmnet0 [ ok ]
* DHCP server on /dev/vmnet1 [ ok ]
* Host-only networking on /dev/vmnet1 [ ok ]
* DHCP server on /dev/vmnet8 [ ok ]
* NAT service on /dev/vmnet8 [ ok ]
* Host-only networking on /dev/vmnet8 [ ok ]
* Virtual ethernet [ ok ]
tux stig # /etc/init.d/vmware start
* Starting VMware services: [ ok ]
* Virtual machine monitor [ ok ]
* Virtual ethernet [ ok ]
* Bridged networking on /dev/vmnet0 [ ok ]
* Host-only networking on /dev/vmnet1 (background) [ ok ]
* Host-only networking on /dev/vmnet8 (background) [ ok ]
* NAT service on /dev/vmnet8 [ ok ]
tux stig # exit
exit
stig@tux ~ $ vmware
/usr/bin/vmware: line 85: /etc/vmware/locations: Permission denied
/usr/bin/vmware: line 177: /lib/wrapper-gtk24.sh: No such file or directory
/usr/bin/vmware: line 177: exec: /lib/wrapper-gtk24.sh: cannot execute: No such file or directory
stig@tux ~ $

Edit; I have a /etc/vmware/locations file, but no /lib/wrapper-gtk24.sh
Back to top
View user's profile Send private message
helmutvandeshaft
Tux's lil' helper
Tux's lil' helper


Joined: 23 Sep 2004
Posts: 90
Location: Amsterdam

PostPosted: Sat Feb 25, 2006 4:17 pm    Post subject: Reply with quote

ummm, same for me, never used to be like this before.

gary@myprecious ~ $ vmware
/usr/bin/vmware: line 85: /etc/vmware/locations: Permission denied
/usr/bin/vmware: line 177: /lib/wrapper-gtk24.sh: No such file or directory
/usr/bin/vmware: line 177: exec: /lib/wrapper-gtk24.sh: cannot execute: No such file or directory

-rw-r--r-- 1 root vmware 102431 Feb 24 21:18 locations


works fine if started as root.

have you tried adding yourself to the vmware group?
Back to top
View user's profile Send private message
Bad Penguin
Guru
Guru


Joined: 18 Aug 2004
Posts: 507

PostPosted: Sat Feb 25, 2006 5:13 pm    Post subject: Reply with quote

scaramanga wrote:

stig@tux ~ $ vmware
/usr/bin/vmware: line 85: /etc/vmware/locations: Permission denied
/usr/bin/vmware: line 177: /lib/wrapper-gtk24.sh: No such file or directory
/usr/bin/vmware: line 177: exec: /lib/wrapper-gtk24.sh: cannot execute: No such file or directory
stig@tux ~ $

You have to add yourself (stig) to the vmware group and then log off/on.
Back to top
View user's profile Send private message
scaramanga
Apprentice
Apprentice


Joined: 31 May 2005
Posts: 171

PostPosted: Sun Feb 26, 2006 12:26 am    Post subject: Reply with quote

Indeed 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum