You are not logged in.
VMWare Workstation 10 init script (/etc/init.d/vmware called from systemd service) fails to load vmci and vsock modules, resulting error message when trying to open any virtual machine.
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface failed
VM communication interface socket family failed
Blocking file system done
Virtual ethernet done
VMware Authentication Daemon done
If these modules are modprobed manually after the vmware service has been started, then the virtual machines start without problems.
Does anyone has noticed similar behavior at VMWare Workstation 10 ?
Last edited by nasosnik (2013-09-08 11:09:53)
Offline
I have the same problem only diffirent part is that I am running Vmware Player 6.
Offline
I have the exact same problem.
I looked at Arch Wiki (hxxps://wiki.archlinux.org/index.php/Vmware) and they already have updated the page to vmware10 and don't describe this problem, I thought that I could have made some mistake but now seems that I'm not alone
So far I read not so good things about this version, so I went to vmware v9.0.2 and probably will wait until v10.0.1 or something like that.
Last edited by BxS (2013-09-08 22:55:15)
Offline
edit: Ok, that wasn't it.
Last edited by haagch (2013-09-09 15:07:19)
Offline
sudo rm /usr/lib/modules/*/misc/vm*
vmware-modconfig --console --install-all doesn't delete the modules from the previous version and seems to just assume they are from the current version.
It doesn't resolve the issue because it has nothing to do with modules integrity or version, the modules were built fine. The problem is that these modules are not automatically loaded by script.
Offline
Yes, I just freshly installed Vmware Player 6, there is nothing of previous version left in that folder.
Offline
Ok, my previous answer was useless. So I tracked it a bit. I don't understand it but in /etc/init.d/vmware the function vmwareRealModName seems to do funky things. it uses modprobe -R to "resolve" a module name from an alias and the alias is defined as some pci path. It returns an "vmw_vmci[newline]vmci" in vmci's case and when it calls modprobe to load them both, well, it doesn't work.
(This is what it exactly does:)
$ /sbin/modprobe -R 'pci:v000015ADd00000740sv*sd*bc*sc*i*'
vmw_vmci
vmci
A workaround is that in vmwareStartVmci() you change vmwareLoadModule "$mod" to vmwareLoadModule "$vmci" and in vmwareStartVsock() vmwareLoadModule "$mod" to vmwareLoadModule "$vsock" and the same for vmwareStopVsock() and vmwareStopVmci().
Last edited by haagch (2013-09-09 15:04:55)
Offline
Ok, today I decided to reinstall my vmware v10 pkg to some more tests.
@ haagch,
Thanks, I changed the functions in /etc/init.d/vmware until it loaded and unloaded vmci and vsock correctly (checking with lsmod).
Tested some virtual machines and all went well, but as I said, for now maybe I will return to v9.0.2
Offline
找到了这东西
https://communities.vmware.com/docs/DOC-20855
不用/etc/init.d/vmware来启动服务就行了
Offline
找到了这东西
https://communities.vmware.com/docs/DOC-20855
不用/etc/init.d/vmware来启动服务就行了
That is fine, several people have done systemd service files for vmware, I just choose to use vmware with the least amount of changes/additions as possible.
In vmware 10 we have 4 rc scripts:
$ ls -1 /etc/init.d
vmamqpd
vmware
vmware-USBArbitrator
vmware-workstation-server
For use with systemd I just have 4 systemd services that just use the rc scripts.
Offline
A workaround is that in vmwareStartVmci() you change vmwareLoadModule "$mod" to vmwareLoadModule "$vmci" and in vmwareStartVsock() vmwareLoadModule "$mod" to vmwareLoadModule "$vsock" and the same for vmwareStopVsock() and vmwareStopVmci().
This worked for me! Thank you so much!
Replacing init scripts with Systemd didn't work at all.
Offline
This last solution work's perfectly, for me. Please post in tutorial. Thanks
Offline
I can also confirm this as working fine..
For people who find it difficult to find which file to edit:-
You need to open the file /etc/init.d/vmware fie using your favorite text editor. Of course please backup the file first. Then find the function vmwareStartVmci() under that function definition
You see the module definition referring to $mod and not vmci which is the required module. We need to change that.
vmwareLoadModule "$mod" Change this line to vmwareLoadModule "$vmci"
Then Navigate to the other function vmwareLoadModule "$mod"
Under the function definition.
You see the module definition referring to $mod and not vsock which is the required module. We need to change that.
vmwareLoadModule "$mod" Change this line to vmwareLoadModule "$vsock"
Now we need to find the corresponding Module Unload functions
Under the Function
vmwareStopVmci()
Change vmwareUnloadModule "${mod}" to vmwareUnloadModule "${vmci}"
Under the function
vmwareStopVsock()
Change
vmwareUnloadModule "$mod" to vmwareUnloadModule "$vsock"
Once done I would suggest reboot your machine although not necessary.
Post that run
sudo /etc/init.d/vmware start
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet done
VMware Authentication Daemon done
Shared Memory Available done
and now you can see vmware workstation works fine and you are able to power on your virtual machines, and connect to network fine.
Hope this is helpful to other people facing this issue.
Currently running Linux arch 3.11.4-1-ARCH .
Thanks
Rajat
Linux is easy.. People are Difficult
Offline
This worked for me as well. Thanks!
Offline
I looked at Arch Wiki (hxxps://wiki.archlinux.org/index.php/Vmware) and they already have updated the page to vmware10
I'm feeling so offended right now.
Offline
I'm feeling so offended right now.
Are you being ironic or serious? I can't get it.
The Wiki VMware page is maintained by several people, specify a specific person don't seem correct for all the others...
hxxps://wiki.archlinux.org/index.php?title=VMware&action=history
But I yes, it was you that changed the page to vmware 10.
Peace and Love, not War.
Offline
Are you being ironic or serious? I can't get it.
The Wiki VMware page is maintained by several people, specify a specific person don't seem correct for all the others...
https://wiki.archlinux.org/index.php?ti … on=history
But I yes, it was you that changed the page to vmware 10..
Well, if you want a clarification here, then in practice it's _maintained_ by me and then contributed by a few others. Most of these guys really do one or two edits and are never heard of again (which is fine by me, by the way).
And if you look at that history you'll see that almost all of the edits in there are either made by me or somehow edited by me (as in to fit the Wiki, standards, the English language, etc.). Whenever a major update comes by no one else can be bothered (which was actually the one thing I was referring to anyway). That doesn't mean that every now and then somebody couldn't take his time to include some rather long and valuable tips or troubleshooting sections, but again, I still have to show up to "polish" these things and at times, on smaller edits, it actually takes longer than the original writing.
Peace and Love, not War.
Please don't quote bumper stickers that have nothing at all to do with the matter at hand. It's got nothing at all to do with wars to claim credit for something you've done. Especially something that takes a lot of time and energy to finish.
I'm not mocking anybody else contributing to the Wiki. I'm not taking credit for something _they've_ done.
I was simply talking about my own work.
Offline
I must admit, this work around resolves the issue as mentioned. I got VMWare Workstation 10 running and i my guests had a networking problem once started. After the doing this mod all was good. Tho I cannot upgrade to 10.0.1 as it complains about my hdd space being low. that might be another problem, but i'm cool with 10.
@rajat, thanks for a clearer elaboration on the step-by-step.
happy VMWare user.
Offline
I can also confirm this as working fine..
For people who find it difficult to find which file to edit:-
You need to open the file /etc/init.d/vmware fie using your favorite text editor. Of course please backup the file first. Then find the function vmwareStartVmci() under that function definition
You see the module definition referring to $mod and not vmci which is the required module. We need to change that.
vmwareLoadModule "$mod" Change this line to vmwareLoadModule "$vmci"
Then Navigate to the other function vmwareLoadModule "$mod"
Under the function definition.
You see the module definition referring to $mod and not vsock which is the required module. We need to change that.
vmwareLoadModule "$mod" Change this line to vmwareLoadModule "$vsock"
Now we need to find the corresponding Module Unload functions
Under the Function
vmwareStopVmci()
Change vmwareUnloadModule "${mod}" to vmwareUnloadModule "${vmci}"
Under the function
vmwareStopVsock()
Change
vmwareUnloadModule "$mod" to vmwareUnloadModule "$vsock"
Once done I would suggest reboot your machine although not necessary.
Post that run
sudo /etc/init.d/vmware start
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet done
VMware Authentication Daemon done
Shared Memory Available doneand now you can see vmware workstation works fine and you are able to power on your virtual machines, and connect to network fine.
Hope this is helpful to other people facing this issue.
Currently running Linux arch 3.11.4-1-ARCH .
Thanks
Rajat
Thank you, it worked great for me!
Offline