VMware Communities
Poet_Imp
Contributor
Contributor

Vmware 11+patch and pro 12 on Ubuntu 15.10 Does not start

I just upgraded my laptop to the latest beta of Kubuntu 15.10. When I try to start vmware it simply does nothing. No messages, no errors, no flashes, no nothing. I ran an strace against it and it was fairly short given that strace produces a lot of output and did not see anything out of the ordinary. I have added it to pastbin at : strace vmware 12 startup - Pastebin.com‌.

Kernel:  Linux paullap 4.2.0-12-generic #14-Ubuntu SMP Mon Sep 28 18:36:22 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I tried starting vmware 11 with the 4.2 patch and rebuilt modules and vmware 12 pro. Workstation and Player respond identically.

Any assistance would be much appreciated.

14 Replies
ctampak
Contributor
Contributor

I Have the exact same problem here. The only difference is a somewhat newer kernel

4.2.0-16-generic #19-Ubuntu SMP

Did you by any chance found a problem on the issue?

Reply
0 Kudos
ctampak
Contributor
Contributor

I found a solution to the issue and I am posting so anyone with a relative issue can try it out. I run the following from the terminal:

export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1/:$LD_LIBRARY_PATH

vmware

enoch85
Contributor
Contributor

@ctampak Thanks for your fix!

Before I do anything that would break my system, could you please be more precise in your description? I'm new to Ubuntu Desktop but have run Ubuntu Server for a couple of years, so yes - my knowledge regarding Desktop is limited.

This is my system:

Ubuntu Mate 15.10

VMware-Workstation-Full-11.1.0-2496824

4.2.0-16-generic

I had a previous fix on 3.19, but that wouldn't apply on 4.2. So also, I would want the new patch as well. Thank you in advance!

Reply
0 Kudos
ctampak
Contributor
Contributor

As a mater of fact I run the Workstation Version 12 so I don't know if the fix will work for you.

I think that for the 4.2 kernel the build of the virtual machine's kernel modules fails. I had all modules compiled and loaded and I had checked that all services were running.

To check the status of the kernel modules run this command in a terminal

sudo /etc/init.d/vmware status

You should get this response

Module vmmon loaded

Module vmnet loaded


My system up to this point was working fine, but I could not get the application to run. As it turned out it was an issue with libraries that the executable could not find. I am not absolutely sure that your issue is the same as we are using different versions of workstation


Best of luck, I hope I helped. Please let me know on your progress

Reply
0 Kudos
enoch85
Contributor
Contributor

sudo /etc/init.d/vmware status

Output:


Module vmmon not loaded

Module vmnet not loaded


I installed 12 Pro on a test laptop, and apparently it's not even loaded, when I try to start VMware, it's just loading and loading, but nothing happens. Tried to reboot as well.


Any suggestions?

Reply
0 Kudos
ctampak
Contributor
Contributor

If you try to manually start the vmware service by running

sudo /etc/init.d/vmware start

You get any failures?

Reply
0 Kudos
enoch85
Contributor
Contributor

Screenshot-test@test-Aspire-V5-571- -.png

On the 3.19 kernel I used this fix, that worked:

apt-get install curl

curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch

cd /usr/lib/vmware/modules/source

tar -xf vmnet.tar

patch -p0 -i /tmp/vmnet-3.19.patch

tar -cf vmnet.tar vmnet-only

rm -r *-only

vmware-modconfig --console --install-all

But on the 4.2 kernel it fails.

Note: this is not on a VM, this is directly on a laptop.

Reply
0 Kudos
chickgreen
Enthusiast
Enthusiast

You can make this more permanent by executing

echo /usr/lib/vmware/lib/libglibmm-2.4.so.1 | sudo tee -a /etc/ld.so.conf.d/LD_LIBRARY_PATH.conf

sudo ldconfig

Then you can start vmware from the GUI

enoch85
Contributor
Contributor

When I run your command, I got this:
Screenshot-VMware Kernel Module Updater.png

What's next?

Thank you!

EDIT: Installed GCC it compiled correctly. Your answer is correct! Thanks!

Reply
0 Kudos
olischreck
Contributor
Contributor

I have already gcc on my system an can not update kernel modules.

What was the solution for you?

Reply
0 Kudos
db1970
Contributor
Contributor

If you add the library to the general path, some applications break (e.g. GNote to name just one)

So this is not a general option.

I work around this currently by using a wrapper script adding the path to LD_LIBRARY_PATH manually.

Reply
0 Kudos
alphahotel
Contributor
Contributor

here is what works for me, on ubuntu 15.10, GCC 5.2.1, and kernel 3.19.0-27

(thanks to : Can not install or run Vmware Player / Workstation on Linux with gcc5.1)


after a fresh install of vmware workstation 12  and with root privileges:

  1. cd /usr/lib/vmware/modules/source
  2. tar xvf vmnet.tar
  3. cd vmnet-only
  4. make
  5. cd ..
  6. tar xvf vmmon.tar
  7. cd vmmon-only
  8. make
  9. cd ..
  10. mkdir /lib/modules/`uname -r`/misc
  11. cp vmmon.o /lib/modules/`uname -r`/misc/vmmon.ko
  12. cp vmnet.o /lib/modules/`uname -r`/misc/vmnet.ko
  13. depmod -a
  14. /etc/init.d/vmware restart
  15. vim /usr/bin/vmware (or nano)
  16. add before "set -e" :
    1. export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libglibmm-2.4.so.1/:$LD_LIBRARY_PATH
    2. save & exit
  17. Launch Vmware!



EDIT : You must do that each time you upgrade the kernel. i've just do that for upgrading to kernel 4.2.0-16 and that's work.


EDIT2: the last update (12.0.1 build-3160714) fix the majors problems, but you must do steps 15 - 16 -17.



Sorry for my bad english.



Reply
0 Kudos
sjmp
Contributor
Contributor

Problems here too - Linux Mint 17.3

kernel 4.6.0-040600rc7-generic

gcc 4.9

# make

Using kernel build system.

make -C /lib/modules/4.6.0-040600rc7-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

   MODULEBUILDDIR= modules

make[1]: Entering directory `/usr/src/linux-headers-4.6.0-040600rc7-generic'

Makefile:667: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler

  CC [M]  /usr/lib/vmware/modules/source/vmnet-only/driver.o

gcc: error: unrecognized command line option ‘-fstack-protector-strong’

make[2]: *** [/usr/lib/vmware/modules/source/vmnet-only/driver.o] Error 1

make[1]: *** [_module_/usr/lib/vmware/modules/source/vmnet-only] Error 2

make[1]: Leaving directory `/usr/src/linux-headers-4.6.0-040600rc7-generic'

make: *** [vmnet.ko] Error 2

Reply
0 Kudos
LinuxG1rl
Enthusiast
Enthusiast

Hi, I am having the same problem with workstation 10 and ubuntu 16.04 - any patches or ideas for that one? My kernel is 4.4.0-34-generic. Thank you so much in advance for any help!

Reply
0 Kudos