Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Virtualization
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Virtualization
For questions on VMWare, VirtualBox, Xen, QEMU and other virtualization software.

Thread Tools Display Modes
Old November 20th, 2008   #11
chaeron
5 Cups of Ubuntu
 
Join Date: Dec 2006
My beans are hidden!
Ubuntu 7.04 Feisty Fawn
Re: VMware server 2 vsock warning

Quote:
Originally Posted by bodhi.zazen View Post
Rumor has it the next version of VMWare Server will fix this
When???
chaeron is offline   Reply With Quote
Old November 21st, 2008   #12
CyberAngel
Way Too Much Ubuntu
 
Join Date: Nov 2005
Location: Athens, Greece
Beans: 240
Kubuntu 9.10 Karmic Koala
Send a message via MSN to CyberAngel
Re: VMware server 2 vsock warning

Same problem here of course
__________________
CPU: AMD64 3500+ MB: ASUS A8N SLI Deluxe
RAM: 1GB RAM (2x512MB Kingston) GPU: ASUS NVIDIA GeForce 6600GT/TD PCI Express
HDD: SATA 500GB Seagate Barracuda Sound Card: Creative SB Audigy 2 ZS
CyberAngel is offline   Reply With Quote
Old November 23rd, 2008   #13
TpyKv
Gee! These Aren't Roasted!
 
Join Date: Jan 2008
Location: Swindon
Beans: 184
Ubuntu 9.04 Jaunty Jackalope
Send a message via Skype™ to TpyKv
Re: VMware server 2 vsock warning

yeah same problem here too, every time I upgrade, I have similar issues...

DOH!
TpyKv is offline   Reply With Quote
Old November 25th, 2008   #14
dev13
First Cup of Ubuntu
 
Join Date: Nov 2008
Beans: 2
Re: VMware server 2 vsock warning

Quote:
Originally Posted by remy06 View Post
Code:
WARNING: "VMCIDatagram_CreateHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_DestroyHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
This is because vsock depends on symbols from vmci module; the information is missing when vsock is built. I got vsock to build like this. (You need to have already installed vmware tools.)

Code:
$ cd /tmp
$ tar xf /usr/lib/vmware-tools/modules/source/vmci.tar
$ tar xf /usr/lib/vmware-tools/modules/source/vsock.tar
$ cd vmci-only
$ make
$ cp Module.symvers ../vsock-only
$ cd ../vsock-only
$ make
Copy /tmp/vsock.o to the appropriate location in /lib/modules, rerun 'depmod -a' etc.

You also need to change
Code:
answer VSOCK_CONFED no
to
Code:
answer VSOCK_CONFED yes
in /etc/vmware-tools/locations so that /etc/init.d/vmware-tools will load vsock on startup.
dev13 is offline   Reply With Quote
Old November 25th, 2008   #15
thierrybo
5 Cups of Ubuntu
 
Join Date: Jul 2006
Location: Nantes, France
Beans: 34
Ubuntu 9.04 Jaunty Jackalope
Re: VMware server 2 vsock warning

? But vmware-tools is build on guest machines, here the error occurs within host?
thierrybo is offline   Reply With Quote
Old November 27th, 2008   #16
dev13
First Cup of Ubuntu
 
Join Date: Nov 2008
Beans: 2
Re: VMware server 2 vsock warning

Oops, I misread the original message. I got a similar error trying to install vmware tools in a guest, and the above was how I solved that.

It does look like the cause for the error in the host is the same though. Does vmci get compiled for the host also? Can you get the Module.symvers file from it?
dev13 is offline   Reply With Quote
Old November 28th, 2008   #17
delgurth
First Cup of Ubuntu
 
Join Date: Nov 2007
Beans: 11
Ubuntu 8.10 Intrepid Ibex
Re: VMware server 2 vsock warning

Quote:
Originally Posted by dev13 View Post
Oops, I misread the original message. I got a similar error trying to install vmware tools in a guest, and the above was how I solved that.

It does look like the cause for the error in the host is the same though. Does vmci get compiled for the host also? Can you get the Module.symvers file from it?
Yup, you can get it in the host/server version of vmware also.

I've patched the vmware-config.pl script with attached patch and with that I solved this issue. Thanks for pointing me at the right direction how to solve this.

This patch is for the most recent 2.0.0 version of VMWare: 122956
Attached Files
File Type: txt vmware-config.pl.patch.txt (1.1 KB, 14375 views)

Last edited by delgurth; November 28th, 2008 at 10:26 AM..
delgurth is offline   Reply With Quote
Old November 28th, 2008   #18
micahel
First Cup of Ubuntu
 
micahel's Avatar
 
Join Date: Nov 2008
Location: Frankfurt
Beans: 1
Kubuntu 8.10 Intrepid Ibex
Thumbs up Re: VMware server 2 vsock warning

Quote:
Originally Posted by delgurth View Post
Yup, you can get it in the host/server version of vmware also.

I've patched the vmware-config.pl script with attached patch and with that I solved this issue. Thanks for pointing me at the right direction how to solve this.

This patch is for the most recent 2.0.0 version of VMWare: 122956
very good! tested the patch right now and it works OK!

Code:
kubuntu 8.10 intrepid

uname -a
Linux host 2.6.27-10-generic #1 SMP Fri Nov 21 19:19:18 UTC 2008 x86_64 GNU/Linux

lsmod |grep v
vmnet                  54732  3
vsock                  31536  0
vmci                   65832  1 vsock
vmmon                  85968  0
(...)
thanks for the good job!

cheers, michael
micahel is offline   Reply With Quote
Old November 29th, 2008   #19
chaeron
5 Cups of Ubuntu
 
Join Date: Dec 2006
My beans are hidden!
Ubuntu 7.04 Feisty Fawn
Re: VMware server 2 vsock warning

Just upgraded my VMWare Workstation install to the "hot-off-the-press" 6.5.1 build-126130.

No joy in mudville, I'm afraid. The same problem exists. When you try to rebuild the vmware-toolbox, the vsock module will not insert in the Intrepid kernel.

Very disappointing....I was hoping that VMWare would have fixed this issue in the latest release.

So still no cut/paste between the host OS and the guest for now with Workstation 6.5.1.

Maybe next version....<sigh>

In the meantime, if some kind soul was able to create a similar patch for the Workstation /usr/bin/vmware-config-tools.pl script, that would be very much appreciated!

Last edited by chaeron; November 29th, 2008 at 01:35 PM..
chaeron is offline   Reply With Quote
Old November 29th, 2008   #20
bond00
5 Cups of Ubuntu
 
Join Date: Feb 2005
Beans: 26
Re: VMware server 2 vsock warning

Nice work Delgurth! Worked perfectly for me as well. For those who don't know how to patch the vmware-config.pl file it's simply:

sudo patch /usr/bin/vmware-config.pl /path/to/vmware-config.pl.patch
bond00 is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:09 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry