Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Yet Another VMWare Problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Raisuli
n00b
n00b


Joined: 04 Jan 2006
Posts: 9

PostPosted: Wed Jan 04, 2006 8:31 pm    Post subject: Yet Another VMWare Problem Reply with quote

My VMWare decided to quit working a few versions ago. I've finally gotten to the point where it quits talking to me unless I'm root. From the command line I get precisely no feedback. As root it runs fine, so I'm missing permissions somewhere. The user log is:

Code:
Jan 04 13:09:39: vmui| Log for VMware Workstation pid=4375 version=5.5.1 build=build-19175 option=Release
Jan 04 13:09:40: vmui| Using log file /tmp/vmware-random/ui-4375.log
Jan 04 13:09:40: vmui| HAL04LoadHALLibraries: Could not dlopen libhal.so.0.
Jan 04 13:09:40: vmui| HAL05LoadHALLibraries: Could not dlopen libhal.so.1.
Jan 04 13:09:43: vmui| SMBIOS: can't open /dev/mem
Jan 04 13:09:43: vmui| VmhsHostInfoPopulateSystem:  Could not get information from smbios to populate VMDB.
Jan 04 13:09:43: vmui| HOSTINFO: Seeing Intel CPU, numCoresPerCPU 1 numThreadsPerCore 1.
Jan 04 13:09:43: vmui| HOSTINFO: This machine has 1 physical CPUS, 1 total cores, and 1 logical CPUs.
Jan 04 13:09:43: vmui| Using system libcrypto, version 90705F


The user is a member of the VMWare group, verified by the groups command. I have rebooted many times since then, so I don't think it's a login issue. The VMWare permissions are:

Code:

/opt/vmware/workstation/lib/bin

total 17352
drwxr-xr-x   2 root root      4096 Jan  3 16:32 ./
drwxr-xr-x  18 root root      4096 Jan  3 16:32 ../
-r-xr-xr-x   1 root root   4401860 Jan  3 16:32 vmplayer*
-r-xr-xr-x   1 root root   2273740 Jan  3 16:32 vmrun*
-rwxr-xr-x   1 root root   6859416 Jan  3 16:32 vmware*
-rwsr-xr-x   1 root vmware 4183128 Jan  4 13:23 vmware-vmx*


I have removed my .vmware directory to no effect. I recompiled the kernel under the same gcc as the vmware modules. All vmware services report running. Given it will run under root I suspect this is a head-bangingly simple permissions twitch.

Help, naturally, is greatly appreciated.
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Wed Jan 04, 2006 11:50 pm    Post subject: Reply with quote

Did you add your username to the vmware goup? If not, then you need to do that.

cheers

SteveB
Back to top
View user's profile Send private message
Raisuli
n00b
n00b


Joined: 04 Jan 2006
Posts: 9

PostPosted: Thu Jan 05, 2006 4:51 am    Post subject: Reply with quote

Code:

pluto ~ $ groups 
wheel audio games users vmware
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Jan 05, 2006 5:43 am    Post subject: Reply with quote

If you think that it is a permission problem, then unmerge vmware and remove /opt/vmware and then reinstall vmware again. Does that fix the problem?

cheers

SteveB
Back to top
View user's profile Send private message
Raisuli
n00b
n00b


Joined: 04 Jan 2006
Posts: 9

PostPosted: Thu Jan 05, 2006 5:59 pm    Post subject: Reply with quote

Ok, did that to the point of removing /etc/vmware, ~/.vmware, /opt/vmware, /tmp/vmware*, /etc/init.d/vmware, etc. I even took the vmware group out.

Same problem. The CPU spikes to 100% for a few seconds the first time I try, then drops to 0 and rests. No feedback from the command line at all, and nothing past the vmui/libcrypto in the logs. I even made my default group in passwd vmware. Is there some way to run a debug style dump of everything the system is doing when I execute the command? Logs are a good thing...
Back to top
View user's profile Send private message
steveb
Advocate
Advocate


Joined: 18 Sep 2002
Posts: 4564

PostPosted: Thu Jan 05, 2006 11:29 pm    Post subject: Reply with quote

You could try to run VMWare with strace.

Or you could try to load the debug version of vmware-vmx (but you would need to tweak the scripts to do that if you want to run vmware on startup with debug info).


cheers

SteveB
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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