VMware Communities
renatoyamane
Contributor
Contributor
Jump to solution

VMCI Sockets fail to compile

Every time that I run VMware Workstation 7.1.1, I receive this warning:

"Before you can run VMware, several modules must be compiled and loaded into the running kernel"

I click on "Install" button, and all is done, but "VMCI Sockets" fail.

Anyone know why this is happening?

I running Debian with 2.6.35.3 Kernel.

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
mlord
Contributor
Contributor
Jump to solution

The structure element sk->sk_sleep has been replaced in 2.6.35 with a function call, sk_sleep(sk). So to fix VMCI sockets, we have to patch the vsock.tar tarball to use the new kernel syntax for sk_sleep.

I am attaching a gzip'd shell script to fix it. Just gunzip the attachment, do "chmod 0755" to make it executable, and then run it as root (or with sudo).

Cheers

View solution in original post

Reply
0 Kudos
11 Replies
continuum
Immortal
Immortal
Jump to solution

not sure if vmci support does work with that kernel

anyway - most users do not need vmci and you can disable it per VM

that is no solution but an acceptable workaround in case you do not need vmci




_________________________

VMX-parameters- WS FAQ -[ MOAcd|http://sanbarrow.com/moa241.html] - VMDK-Handbook


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
renatoyamane
Contributor
Contributor
Jump to solution

So sorry, but... How can I disable it?

All time that I run VMware, it always ask me to install modules to my kernel.

Reply
0 Kudos
continuum
Immortal
Immortal
Jump to solution

try to add this line to the vmx-files of one of your VMs.Then try to start that VM - does it still happen ?

vmci0.present = "false"




_________________________

VMX-parameters- WS FAQ -[ MOAcd|http://sanbarrow.com/moa241.html] - VMDK-Handbook


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

Reply
0 Kudos
renatoyamane
Contributor
Contributor
Jump to solution

Yes, still hapening.

This hapening when I run VMware Workstation, and not when I run the Virtual Machine.

And I don't know why, but I always need install all modules when I run VMware Workstation or VMware Player.

So, I always see this message (take a look on this screenshot attached).

Reply
0 Kudos
reynj
Contributor
Contributor
Jump to solution

I have the same problem. I'm also running 7.1.1 and a 2.6.35 kernel. All other module complete, and vmware will run, but vmci does not work and when I quit vmware and restart, I have to re-compile and install the modules.

Any solutions would be great.

Reply
0 Kudos
mlord
Contributor
Contributor
Jump to solution

The structure element sk->sk_sleep has been replaced in 2.6.35 with a function call, sk_sleep(sk). So to fix VMCI sockets, we have to patch the vsock.tar tarball to use the new kernel syntax for sk_sleep.

I am attaching a gzip'd shell script to fix it. Just gunzip the attachment, do "chmod 0755" to make it executable, and then run it as root (or with sudo).

Cheers

Reply
0 Kudos
andrevanrooyen
Contributor
Contributor
Jump to solution

You sir, are a gentleman, and I thank you...

Reply
0 Kudos
renatoyamane
Contributor
Contributor
Jump to solution

Your patch works perfectly!

Thank you so much for your hard work doing this patch!

Reply
0 Kudos
zavenvar
Contributor
Contributor
Jump to solution

Thanks a lot. It's great.

Reply
0 Kudos
Saiedk
Contributor
Contributor
Jump to solution

The patch works like a charm. Thanks.

Reply
0 Kudos
mlord
Contributor
Contributor
Jump to solution

Since I went to the trouble of creating the automated patch script for vmci, then I may as well reuse the script to fix vmmon for kernel 2.6.36 --> script attached.

Reply
0 Kudos