VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 19 Replies Last post: Aug 14, 2009 3:25 PM by rahvee  

vsock module won't insmod on Ubuntu 8.10 (intrepid) posted: Oct 2, 2008 8:12 AM

Click to view stevemaring's profile Novice 20 posts since
Sep 14, 2007


while installing 64-bit VMware Server 2.0.0 build-116503 on 64-bit Ubuntu 8.10 (intrepid) I get problems with vsock module ... everything else seems to be fine

Building the vsock module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vsock-only'
make -C /lib/modules/2.6.27-4-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-4-generic'
CC [M] /tmp/vmware-config0/vsock-only/linux/af_vsock.o
CC [M] /tmp/vmware-config0/vsock-only/linux/driverLog.o
CC [M] /tmp/vmware-config0/vsock-only/linux/util.o
/tmp/vmware-config0/vsock-only/linux/util.c: In function ‘VSockVmciLogPkt’:
/tmp/vmware-config0/vsock-only/linux/util.c:157: warning: format not a string literal and no format arguments
CC [M] /tmp/vmware-config0/vsock-only/linux/vsockAddr.o
LD [M] /tmp/vmware-config0/vsock-only/vsock.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "VMCIDatagram_CreateHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_DestroyHnd" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCI_GetContextID" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_Send" [/tmp/vmware-config0/vsock-only/vsock.ko] undefined!
CC /tmp/vmware-config0/vsock-only/vsock.mod.o
LD [M] /tmp/vmware-config0/vsock-only/vsock.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-4-generic'
cp -f vsock.ko ./../vsock.o
make: Leaving directory `/tmp/vmware-config0/vsock-only'
Unable to make a vsock module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config0/vsock.o': -1 Unknown symbol in module
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.

-Steve Maring

Click to view jaood's profile Lurker 1 posts since
Oct 14, 2008
Hi - did you manage to solve this issue? I'm having the same problem with debian lenny.
Click to view piripallo's profile Lurker 1 posts since
Aug 18, 2008

Hi

I have the same problem using Debian sid and Ubuntu intrepid (32 bit).

Only with 2.6.27.xx kernels.


Click to view Illaire's profile Hot Shot 201 posts since
Jul 27, 2005
jaood wrote:
Hi - did you manage to solve this issue? I'm having the same problem with debian lenny.
You can't. VMware 2 is not compatible with 2.6.27 and later kernels. Perhaps next version will be?
Click to view alphadog4's profile Novice 10 posts since
May 6, 2008
Interesting. So, what happens when Ubuntu and other distros come out of beta with kernel version 2.6.27? When I upgrade my systems running VMWare Server 2, will it all come down around my head?
Click to view Igor Toledo's profile Novice 10 posts since
Oct 15, 2008
same problem on Slamd64 12.1,

VMware-server-2.0.0-116503.x86_64 fails to autenticate (no root or whatever login accepts)

vmware-config.pl:

None of the pre-built vsock modules for VMware Server is suitable for your
running kernel. Do you want this program to try to build the vsock module for
your system (you need to have a C compiler installed on your system)? yes
Extracting the sources of the vsock module.
Building the vsock module.
Using 2.6.x kernel build system.
make: Entrando no diretório `/tmp/vmware-config18/vsock-only'
make -C /lib/modules/2.6.26.2/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entrando no diretório `/home/me/kernel/2.6.26.2'
make -C /usr/src/linux-2.6.26.2 O=/home/me/kernel/2.6.26.2/. modules
CC [M] /tmp/vmware-config18/vsock-only/linux/af_vsock.o
CC [M] /tmp/vmware-config18/vsock-only/linux/driverLog.o
CC [M] /tmp/vmware-config18/vsock-only/linux/util.o
CC [M] /tmp/vmware-config18/vsock-only/linux/vsockAddr.o
LD [M] /tmp/vmware-config18/vsock-only/vsock.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: "VMCIDatagram_CreateHnd" [/tmp/vmware-config18/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_DestroyHnd" [/tmp/vmware-config18/vsock-only/vsock.ko] undefined!
WARNING: "VMCI_GetContextID" [/tmp/vmware-config18/vsock-only/vsock.ko] undefined!
WARNING: "VMCIDatagram_Send" [/tmp/vmware-config18/vsock-only/vsock.ko] undefined!
CC /tmp/vmware-config18/vsock-only/vsock.mod.o
LD [M] /tmp/vmware-config18/vsock-only/vsock.ko
make[1]: Saindo do diretório `/home/me/kernel/2.6.26.2'
cp -f vsock.ko ./../vsock.o
make: Saindo do diretório `/tmp/vmware-config18/vsock-only'
Unable to make a vsock module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config18/vsock.o': -1 Unknown symbol in module
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.
The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host. The rest of this software provided by VMware Server is designed to work
independently of this feature. If you wish to have the VSOCK feature you can
install the driver by running vmware-config.pl again after making sure that
gcc, binutils, make and the kernel sources for your running kernel are
installed on your machine. These packages are available on your distribution's
installation CD.
http:// Press the Enter key to continue.

I tried these workarounds but no success:


nothing !

What to do? rollback to 2.4x kernel?

Click to view Igor Toledo's profile Novice 10 posts since
Oct 15, 2008

and did you log on at http://localhost:8222 or 8333 ? Here just wrong user/pwd returns.


Click to view borice's profile Lurker 2 posts since
Nov 2, 2008
bump - any solution yet?
Click to view CheckSix's profile Lurker 1 posts since
Nov 5, 2008

I got exactly the same behavior.

Ubuntu 8.10 | Linux 2.6.27-7-server #1 SMP x86_64 GNU/Linux

VMware-server-2.0.0-122956.x86_64

I tried this two links without success too.

http://kramfs.com/2008/07/13/vmware-server-2-unable-to-build-the-vsock-module/

http://www.huschi.net/33_310_de.html

Someone already got it running?

-Markus

Click to view yquirion's profile Novice 6 posts since
Feb 5, 2008

Dear all:

I'm experiencing the same problem. Also, since I upgrade Ubunto 32bity from 8.04 to 8.10, I'm having lot of problem with my vm (Windows XP PRO. Some keys on the keyboard doesn't seems working, like CTRL-ALT-INS (to logon into windows XP).

If somebody has some hints, please let me know.

Regards,

Yanick

Click to view Igor Toledo's profile Novice 10 posts since
Oct 15, 2008

Put this in ~/.vmware/config:

xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # Left
xkeymap.keycode.114 = 0x14d # Right
xkeymap.keycode.105 = 0x11d # Control_R
xkeymap.keycode.118 = 0x152 # Insert
xkeymap.keycode.119 = 0x153 # Delete
xkeymap.keycode.110 = 0x147 # Home
xkeymap.keycode.115 = 0x14f # End
xkeymap.keycode.112 = 0x149 # Prior
xkeymap.keycode.117 = 0x151 # Next
xkeymap.keycode.78 = 0x46 # Scroll_Lock
xkeymap.keycode.127 = 0x100 # Pause
xkeymap.keycode.133 = 0x15b # Meta_L
xkeymap.keycode.134 = 0x15c # Meta_R
xkeymap.keycode.135 = 0x15d # Menu
from here


Still Im waiting a solution for logon VMWARE SERVER 2 on Linux kernel 2.6.26.2 ...

Click to view millwaelder's profile Lurker 1 posts since
Oct 27, 2008
Ubuntu 8.10 - 64bit - (2.6.27-7-server), VMware 2.0 (122956)

Only one command line has been added to /etc/vmware/config

xkeymap.nokeycodeMap = TRUE


Fixed all keyboard problems at once.

Click to view calibre97's profile Novice 7 posts since
Jul 11, 2008
I got the same problem on Ibex 32 bit with an XP guest previously created in VMWare Server 1.06 under Heron. I got VMWare Server to run and I logged in with FireFox and I added the guest vmdk to the data store in the browser but I couldn't get it to power up and I reran the config.pl and same no joy with VSOCK.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities