Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VMware GSX Server on Gentoo HOWTO
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Joebel
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2003
Posts: 119
Location: Netherlands

PostPosted: Sun Jul 24, 2005 7:38 pm    Post subject: Reply with quote

thrashed wrote:
nobody any idea? :(


Sorry, no. I do however have the same problem: the vmware-console under gentoo on my laptop shows nothing once the Vm on GSX is started, but on another laptop and a dektop running gentoo it does work. I can't find the differences between the non-working and the working installations.

What I also found is that when I make a new machine in vmware-console, and I choose "browse", I end up browsing my laptop drive instead od the drive of the GSX server. Same for when I want to select an iso-image for the cd-rom of the GSX VM.

Do you have that also?
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Mon Jul 25, 2005 6:33 am    Post subject: Reply with quote

Joebel wrote:
thrashed wrote:
nobody any idea? :(


What I also found is that when I make a new machine in vmware-console, and I choose "browse", I end up browsing my laptop drive instead od the drive of the GSX server. Same for when I want to select an iso-image for the cd-rom of the GSX VM.

Do you have that also?


Yes i have the same problems. i really have no idea what is going on? :(
So you have two 'ident' gentoo system's with vmware-console and only one of them works? I hope someone can find the error :/

best wishes
thrashed
Back to top
View user's profile Send private message
Joebel
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2003
Posts: 119
Location: Netherlands

PostPosted: Wed Jul 27, 2005 8:06 pm    Post subject: Reply with quote

thrashed wrote:
Joebel wrote:
thrashed wrote:
nobody any idea? :(


What I also found is that when I make a new machine in vmware-console, and I choose "browse", I end up browsing my laptop drive instead od the drive of the GSX server. Same for when I want to select an iso-image for the cd-rom of the GSX VM.

Do you have that also?


Yes i have the same problems. i really have no idea what is going on? :(
So you have two 'ident' gentoo system's with vmware-console and only one of them works? I hope someone can find the error :/

best wishes
thrashed


Actually, I have 3 gentoo systems with vmware-console, and only is showing this crap. Th only difference I found was when connecting to GSX server:

The one laptop that somehow causes this in vmware-serderd.log on the GSX-server:
"Attempt to violate field protection bit: /host2/#dee67551b35613d0/info/nic/nicHardwareCount/"

some posts on the vmware fora indicate that this indicates a problem with the kernel on the server side. Since I'm only having this problem when connecting form one particular client, my problem seems client related.

I did install vmware-any-any-update92 and vmware-any-any-update93, but that didn't do anything.

What i Do see under /tmp/vmware-username:

    Jul 27 22:02:48: vmui| Log for VMware Console pid=12587 version=3.1.0 build=buil
    d-9089 option=Release.3.1.0
    Jul 27 22:02:48: vmui| Using log file /tmp/vmware-rvromen/ui-12587.log
    Jul 27 22:02:48: vmui| VmhsHostDevPopulateCDROM: unable to determine type of dev
    ice: hdc
    Jul 27 22:02:48: vmui| SMBIOS: can't open /dev/mem
    Jul 27 22:02:48: vmui| VmhsHostInfoPopulateSystem: Could not get information fr
    om smbios to populate VMDB.
    Jul 27 22:02:48: vmui| Using system libcrypto, version 90705F
    Jul 27 22:02:53: vmui| VmdbCnxRecvSection failed: STATUS (-37) Permission denied
    Jul 27 22:02:53: vmui| VmhsHostInfoPopulateHardwareNicCB Failed: Permission deni
    edVMNetCtlConstruct: no Network Names to list
    Jul 27 22:02:53: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr
    Jul 27 22:02:53: vmui| VmSummaryIsScreenshotNew: failed to stat image .png: No s
    uch file or directory
    Jul 27 22:02:53: vmui| VMClientExecMKSClient: execv("/usr/lib/vmware/bin/vmware-
    remotemks") failed: No such file or directory
    Jul 27 22:02:53: vmui| vmdbPipe_Streams: Couldn't initiate write
    Jul 27 22:02:53: vmui| VMUIKvmPageAttachMKS: unable to attach MKS: (null)
    Jul 27 22:03:00: vmui| VMNetCtlConstruct: no Network Names to list
    Jul 27 22:03:00: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr
    Jul 27 22:03:00: vmui| VmSummaryIsScreenshotNew: failed to stat image .png: No s
    uch file or directory
    Jul 27 22:03:05: vmui| VMNetCtlConstruct: no Network Names to list
    Jul 27 22:03:05: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr
    Jul 27 22:03:05: vmui| VmSummaryIsScreenshotNew: failed to stat image .png: No s
    uch file or directory
    Jul 27 22:03:05: vmui| VMClientExecMKSClient: execv("/usr/lib/vmware/bin/vmware-
    remotemks") failed: No such file or directory
    Jul 27 22:03:05: vmui| vmdbPipe_Streams: Couldn't initiate write
    Jul 27 22:03:05: vmui| VMUIKvmPageAttachMKS: unable to attach MKS: (null)


Wonder what is going on here?
Back to top
View user's profile Send private message
Joebel
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2003
Posts: 119
Location: Netherlands

PostPosted: Sat Jul 30, 2005 10:43 am    Post subject: Reply with quote

As an add-on to my previous message on vmware-console problems (no visible view of vm-screen in vmware-console):

The differences in the /tmp/vmware-{username}/ logfile startm and seem to be a result of this line:
Code:

vmui| VmdbCnxRecvSection failed: STATUS (-37) Permission denied


If we understand what couses that, I'm pretty sure we fix this. It is THE difference between my Gentoo-machines with a working vmware-console and my Gentoo machine without a working vmware-console.

<edit>
Nope, wrong conclusion. Sorry about that.
</edit>


Last edited by Joebel on Fri Aug 12, 2005 3:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Tue Aug 02, 2005 10:54 am    Post subject: Reply with quote

Joebel wrote:
As an add-on to my previous message on vmware-console problems (no visible view of vm-screen in vmware-console):

The differences in the /tmp/vmware-{username}/ logfile startm and seem to be a result of this line:
Code:

vmui| VmdbCnxRecvSection failed: STATUS (-37) Permission denied


If we understand what couses that, I'm pretty sure we fix this. It is THE difference between my Gentoo-machines with a working vmware-console and my Gentoo machine without a working vmware-console.


i do not understand the 'permission denied' error :/
i have exactly the same problems
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Tue Aug 02, 2005 2:31 pm    Post subject: Reply with quote

Check the permission of your VM-Directory (e.g. /vmware) and the files in this directory!
Back to top
View user's profile Send private message
thrashed
Apprentice
Apprentice


Joined: 01 Sep 2004
Posts: 292

PostPosted: Wed Aug 03, 2005 5:59 am    Post subject: Reply with quote

tuxian wrote:
Check the permission of your VM-Directory (e.g. /vmware) and the files in this directory!


how should the permissions look like? :/
now i have got the sticky bit and rwx to all root,users,others - doesn't work.
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Wed Aug 03, 2005 10:12 am    Post subject: Reply with quote

    drwxrwxrwt 5 markus users 264 2. Jul 01:34 vmware

    markus@markus: pts/1: 21 files 1,4Gb -> ls -l /mnt/sda1/vmware/
    insgesamt 1041908
    -r--r--r-- 1 root root 1474560 23. Mai 02:52 boot.img
    -rw-r--r-- 1 markus users 334358528 26. Mai 23:26 klax-kde-3.4.1.iso
    -rw-r--r-- 1 markus users 14610432 7. Apr 01:39 ReactOS.iso
    drwxr-xr-x 2 markus users 296 17. Jul 18:14 SUSE Linux 9.3
    drwxr-xr-x 2 markus users 232 17. Jul 18:12 Ubuntu
    drwxr-xr-x 2 markus users 608 3. Aug 01:25 winXPPro
    -rwxrwxrwx 1 markus users 715425792 23. Mai 02:47 zeta_neo_deluxe.iso

    Mit Aug 3 12:10:00 CEST 2005
    ~
    markus@markus: pts/1: 21 files 1,4Gb -> ls -l /mnt/sda1/vmware/winXPPro/
    insgesamt 8058232
    -rw------- 1 markus users 0 5. Mär 23:04 core
    -rwxr-xr-x 1 markus users 8664 3. Aug 01:25 nvram
    -rwxr-xr-x 1 markus users 1474560 20. Jän 2004 VMware-BusLogic-SCSIDriver-1.2.0.0.flp
    -rw-r--r-- 1 markus users 83570 3. Aug 01:25 vmware.log
    -rw-r--r-- 1 markus users 1619656704 3. Aug 01:25 winXPPro-0-s001.vmdk
    -rw-r--r-- 1 markus users 2146762752 3. Aug 01:25 winXPPro-0-s002.vmdk
    -rw-r--r-- 1 markus users 1835008 3. Aug 01:25 winXPPro-0-s003.vmdk
    -rw-r--r-- 1 markus users 432 3. Aug 00:49 winXPPro-0.vmdk
    -rwxr-xr-x 1 markus users 21913 29. Sep 2004 winXPPro.log
    -rwxr-xr-x 1 markus users 8664 29. Sep 2004 winXPPro.nvram
    -rw-r--r-- 1 markus users 268388 3. Aug 01:25 winXPPro.png
    -rwxr-xr-x 1 markus users 2146172928 3. Aug 01:25 winXPPro-s001.vmdk
    -rwxr-xr-x 1 markus users 2041053184 3. Aug 01:25 winXPPro-s002.vmdk
    -rwxr-xr-x 1 markus users 390 3. Aug 00:49 winXPPro.vmdk
    -rw------- 1 markus users 286265763 3. Aug 01:25 winXPPro.vmss
    -rwxr-xr-x 1 markus users 1866 25. Jul 19:12 winXPPro.vmx


I also had this problem, but in my case it was a permission problem (As far as I can remember my user "markus" didn't had rw rights).
Back to top
View user's profile Send private message
Joebel
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2003
Posts: 119
Location: Netherlands

PostPosted: Wed Aug 03, 2005 5:49 pm    Post subject: Reply with quote

tuxian wrote:
Check the permission of your VM-Directory (e.g. /vmware) and the files in this directory!


That's not it. reason I can say for sure: I can connect from 2 other machines with vmware-console, using the same account. And If I boot the very scarsely used XP on the same laptop I gave vmware-console problems on under Gentoo, and then install and use vmware-console from XP, it runs fine as well.

----> local issue under this Gentoo install.

Now only If I could find out what the hell it was?

And using the client from vmware GSX version 3.2, I get the exact same problem
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Tue Aug 09, 2005 10:58 am    Post subject: Reply with quote

I got this monster installed now, and are able to connect and create a virtual machine.
But when I try to start it, I get this in the log file:
Code:
Aug 09 10:45:00: app| New connection on socket server-vmdb from host mercury.gurlinet.dk (ip address: 192.168.3.8) , user: root
Aug 09 10:45:00: app| SP: New user session for user: root, pos: 0
Aug 09 10:45:00: app| The vm-list file has changed! Reloading the list of registered vms
Aug 09 10:45:03: app| Attempting to launch vmx : /var/lib/vmware/Virtual Machines/Windows Server 2003 Enterprise Edition/winNetEnterprise.vmx
Aug 09 10:45:03: app| Error during launch: 11, The process exited with an error:
Aug 09 10:45:03: app| End of error message
Aug 09 10:45:03: app| VmsdVmStatePendingCmdFailed: cmd status is already set


Any ideas? (Connecting as root to make sure no permissions are causing the problem)

EDIT: Nevermind, toggeled debug information, and it seemed that the any-any patches messed the modules up, a reinstall without the any-any patch fixed it.
_________________
Queen Rocks.
Back to top
View user's profile Send private message
silentplummet
n00b
n00b


Joined: 14 Jun 2004
Posts: 58

PostPosted: Thu Aug 11, 2005 3:46 pm    Post subject: Reply with quote

How confusing! First we need the any-any patch and now it causes trouble?
Back to top
View user's profile Send private message
Joebel
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2003
Posts: 119
Location: Netherlands

PostPosted: Fri Aug 12, 2005 4:51 am    Post subject: Reply with quote

Tuxian,

I'm trying to find out again what the differences are between working vmware-console installs and non-working installs.

Currently, I see this difference as the culprit:
Code:
"VmhsHostDevPopulateCDROM: unable to determine type of dev
ice: hdc"


/dev/hdc is my cdrom on this laptop, which is reported in d,mesg just fine, and works just fine. It doesn't seem to matter whether I make it user-mouteable or not in /etc/fstab

Can you see if you have a similar entry in your /rmp/vmware-[username] logfiles?
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Fri Aug 12, 2005 9:10 am    Post subject: Reply with quote

Yes, I also have this line:

    Aug 12 11:07:09: vmui| Log for VMware Console pid=14933 version=3.1.0 build=build-9089 option=Release.3.1.0
    Aug 12 11:07:09: vmui| Using log file /tmp/vmware-markus/ui-14933.log
    Aug 12 11:07:09: vmui| VmhsHostDevPopulateCDROM: unable to determine type of device: hdc
    Aug 12 11:07:09: vmui| SMBIOS: can't open /dev/mem
    Aug 12 11:07:09: vmui| VmhsHostInfoPopulateSystem: Could not get information from smbios to populate VMDB.
    Aug 12 11:07:09: vmui| Using system libcrypto, version 90705F
    Aug 12 11:07:12: vmui| VMNetCtlConstruct: no Network Names to list
    Aug 12 11:07:12: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr
    Aug 12 11:07:13: vmui| VMNetCtlConstruct: no Network Names to list
    Aug 12 11:07:13: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr
    Aug 12 11:07:13: vmui| VMNetCtlConstruct: no Network Names to list
    Aug 12 11:07:13: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr
    Aug 12 11:07:24: vmui| VMNetCtlConstruct: no Network Names to list
    Aug 12 11:07:24: vmui| VMUIGtkVmdb_LoadDevice: unhandled device class scsiCtlr


It think this message appears because I have "Legacy Emulation" enabled for this device.

But this device it works fine under both OS (Guest and Host).
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Fri Aug 12, 2005 11:00 am    Post subject: Reply with quote

silentplummet wrote:
How confusing! First we need the any-any patch and now it causes trouble?


I'm using GSX 3.2, so thats newer than the any-any patch, so that might explain it ;-)
_________________
Queen Rocks.
Back to top
View user's profile Send private message
Joebel
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jun 2003
Posts: 119
Location: Netherlands

PostPosted: Fri Aug 12, 2005 3:10 pm    Post subject: Reply with quote

GOT IT!

A collegue of mine (very strong unix/linux background) came over with the same type of laptop as I had, with gentoo installed: nice comparison platform.

He was triggered by another line in the logfiles, which indicated troubles with the use of "/usr/lib/vmware/bin/vmware-remotemks"

Code:
VMClientExecMKSClient: execv("/usr/lib/vmware/bin/vmware-remotemks") failed: No such file or directory


And indeed, and that's not where the file is at. After installation usingthe ebuild, it is placed at /opt/vmware-console/lib/bin/

So how was it solved on our laptops?:

Code:

mkdir -p /usr/lib/vmware/bin
cd  /usr/lib/vmware/bin
ln -s /opt/vmware-console/lib/bin/vmware-remotemks vmware-remotemks


And it's working!!

Hope it works for you too, Tuxian. Good luck.
Back to top
View user's profile Send private message
tuxian
l33t
l33t


Joined: 26 Jan 2004
Posts: 766
Location: Austria

PostPosted: Fri Aug 12, 2005 3:50 pm    Post subject: Reply with quote

Thank you but I don't have this problem at the moment.

I had it some months ago because the permissions of my VM-directory an the files containing it were wrong.
Back to top
View user's profile Send private message
paradizelost
n00b
n00b


Joined: 28 Apr 2003
Posts: 9

PostPosted: Tue Feb 07, 2006 2:52 am    Post subject: For anyone looking to do this Reply with quote

Go to the following location.

http://www.vmware.com/products/gsx/

VMWare is now giving GSX away for free. I didn't have to run the any-any update for it to work, had to emerge db like the howto said, but you just register and you get a key.
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Tue Feb 07, 2006 9:15 am    Post subject: Reply with quote

Looks like VMWare Server is going to replace GSX, and it's free :-)
_________________
Queen Rocks.
Back to top
View user's profile Send private message
paradizelost
n00b
n00b


Joined: 28 Apr 2003
Posts: 9

PostPosted: Tue Feb 07, 2006 3:20 pm    Post subject: Any way we can get this merged into portage Reply with quote

Any way we can get this merged into portage and have it require a key?
Back to top
View user's profile Send private message
GurliGebis
Retired Dev
Retired Dev


Joined: 08 Aug 2002
Posts: 509

PostPosted: Tue Feb 07, 2006 3:22 pm    Post subject: Reply with quote

Could have an ebuild with fetch restriction on.
Like the current VMWare Workstation ebuilds.
_________________
Queen Rocks.
Back to top
View user's profile Send private message
Uwe
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 137
Location: Germany

PostPosted: Wed Feb 08, 2006 8:40 pm    Post subject: Reply with quote

-> https://forums.gentoo.org/viewtopic-t-431257-highlight-vmware.html :)

got the info from kireru, as I asked for the ebuild :)
Back to top
View user's profile Send private message
guyr
Apprentice
Apprentice


Joined: 17 Aug 2004
Posts: 237

PostPosted: Sun Dec 31, 2006 4:43 am    Post subject: Reply with quote

fmeeusen wrote:
Never mind. Resolved. Did a complete uninstall of GSX Server, emerge sync and emerge -u world. Reinstalled GSX Server and it worked as expected.

Not sure if that was the easiest fix, but it worked, and it got this system up to date.


I just got the same error after doing an update world:

"Dec 30 23:28:19 pvr vmware-authd[7589]: The "/opt/vmware/server/lib/bin/vmware-vmx" process did not start properly. Exit 0xed00
"

I'd prefer a more graceful solution than having to uninstall and reinstall VMWare every time I do any updates. However, I did verify that uninstalling vmware-server and vmware-modules, then reinstalling both and then doing vmware-config.pl does indeed re-enable VmWare. I didn't lose any settings, and my existing VMs came right back up.
_________________
Guy Rouillier
Back to top
View user's profile Send private message
Uwe
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 137
Location: Germany

PostPosted: Sun Dec 31, 2006 12:22 pm    Post subject: Reply with quote

It should be sufficient to re-emerge vmware-modules and then do the vmware-config.pl, and only if you change sth kernel-related (thats because the modules have to be recompiled).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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