Sorry I didn’t provide more detail. I am running 42.3 with the default 4.4.76-1-default kernel.
Errors when compiling vmmon:
hostname:/usr/lib/vmware/modules/source/vmmon-only # make
Using kernel build system.
make -C /lib/modules/4.4.76-1-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.4.76-1-obj/x86_64/default'
CC [M] /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.o
/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c: In function ‘HostIFGetUserPages’:
/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
numPages, 0, 0, ppages, NULL);
^
In file included from /usr/lib/vmware/modules/source/vmmon-only/./include/compat_page.h:23:0,
from /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.4.76-1/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [enabled by default]
numPages, 0, 0, ppages, NULL);
^
In file included from /usr/lib/vmware/modules/source/vmmon-only/./include/compat_page.h:23:0,
from /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.4.76-1/include/linux/mm.h:1264:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:1174:28: warning: passing argument 4 of ‘get_user_pages’ makes pointer from integer without a cast [enabled by default]
numPages, 0, 0, ppages, NULL);
^
In file included from /usr/lib/vmware/modules/source/vmmon-only/./include/compat_page.h:23:0,
from /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.4.76-1/include/linux/mm.h:1264:6: note: expected ‘struct page **’ but argument is of type ‘unsigned int’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:1174:28: error: too many arguments to function ‘get_user_pages’
numPages, 0, 0, ppages, NULL);
^
In file included from /usr/lib/vmware/modules/source/vmmon-only/./include/compat_page.h:23:0,
from /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.4.76-1/include/linux/mm.h:1264:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^
/usr/src/linux-4.4.76-1/scripts/Makefile.build:259: recipe for target '/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.o' failed
make[4]: *** [/usr/lib/vmware/modules/source/vmmon-only/linux/hostif.o] Error 1
/usr/src/linux-4.4.76-1/Makefile:1428: recipe for target '_module_/usr/lib/vmware/modules/source/vmmon-only' failed
make[3]: *** [_module_/usr/lib/vmware/modules/source/vmmon-only] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.4.76-1-obj/x86_64/default'
Makefile:120: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2
I try to install VMware-Player-12.5.7-5813279.x86_64.bundle in openSUSE Leap 42.3 but it doesn’t work. When I start VMware I receive a message from VMware Kernel Module Updater. I click on Install but I receive this error message.
I tried the solutions given here but I find the information for the fix very vague for someone who knows almost nothing about compilation or package management.
This happens when I do the last step from the solution from hendrikw84:
**linux-km7f:/home/merloki #** vmware-modconfig --console --install-all
Stopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: *** /tmp/modconfig-aX6fPs/vmmon-only: Aucun fichier ou dossier de ce type. Arrêt.
make: *** /tmp/modconfig-aX6fPs/vmnet-only: Aucun fichier ou dossier de ce type. Arrêt.
Unable to install all modules. See log for details.
Should I wait for VMware Inc. to release a package that works with Leap 42.3? Or should I switch to another distro that works out-of-the-box with VMware?
Well, I cannot give you step-by-step instructions, as the necessary changes differ according to the vmware version and I only have 10.2 here.
Basically you have to modify the sources in /usr/lib/vmware/modules/sources/ accordingly, then it should work. (or take the offer from manness and replace your vmmon.tar and vmnet.tar with his… )
Btw, that’s not really new with Leap 42.3.
Also with previous releases (or if you installed a newer kernel manually) you had to chase down patches from the Internet and “fix” the vmware sources until a new vmware version was released that worked (months later).
That’s actually the reason why I dropped vmware years ago and switched to VirtualBox instead…
(I had to revive it to be able to install 64bit guests though, as my CPU doesn’t support hardware virtualization)
This happens when I do the last step from the solution from hendrikw84:
Sorry, that output is useless.
You’d need to post the compile errors. I’m not sure where to find them, but you could unpack and compile the sources (by unpacking vmmon.tar/vmnet.tar, cd’ing into the directories and running make) manually.
Should I wait for VMware Inc. to release a package that works with Leap 42.3?
I have no idea if/when VMWare Inc. will release a version that works on Leap 42.3 out of the box.
Or should I switch to another distro that works out-of-the-box with VMware?
Well, TBH, I suppose you’d have similar issues with other distributions too, unless you use something older/outdated.
Thank you for the reply. Would it be possible to share these .tar files via sendspace?
I tried to install VMware on Leap 42.2 on another pc today, and it’s also problematic. It asks for Kernel Headers 4.4.73-18.17-default. After this message I installed kernel-devel and kernel-source. But I still receive the Module Updater window, maybe because I have version 4.4.74-18.20.
I am using VirtualBox already for some time, and it works quite good for Windows 10. But the maximum graphics memory for 3D in VirtualBox is 258mb. This is too limited for things like light gaming or applications like photoshop. And I couldn’t get macOS Sierra running in VirtualBox, not on Intel and also not on AMD hardware. That’s why I want to install VMware.
I think that I will be able to install VMware without problems on Ubuntu 16.04. But it would be a lot better if I manage to get it working on Leap 42.3 …
Normally, two kernel are installed at the same time in openSUSE.
In your case, apparently 4.4.73 and 4.4.74.
You need the corresponding kernel-devel and kernel-default-devel packages for each kernel (kernel-source is not needed at all, unless you want to build your own kernel…).
Click on “Versions” in YaST to check/change which exact versions are installed.
Although, the Module Updater should only show if the modules cannot/are not loaded for the running kernel. So make sure in particular to have the devel packages for that one, “uname -a” should tell which one you are currently using. (if it’s not the latest one, i.e. 4.4.74, you should probably better fix that… )
LEAP42.3 today has a kernel 4.4.76.1 will your tar files be grand to fix my VMware Workstation 12.5.7 issues as discussed in this log ? If so how / where do I get hold of them. I have reported this issues with VMware.
__R
I don’t know, if VMWare workstation uses the same modules as the player. If not, I could put them on my site too, if someone sends me either the patched versions or the unpatched ones. Use the email address in the imprint (“Impressum”) on the site.
I followed your grand instructions and I have a working VMware WORKSTATION 12.5.7 running my virtual machines. Your patch is grand for the WS too… I have given SUSE a heads-up on the issues so I hope SUSE and VMware have a little chat with each other, but many thanks to your good-self, I’m running again.
hendwolt;2831714 Wrote:
> I’m affected by this problem too, after upgrading to Leap 42.3.
> It seems, that newer (upcoming) versions of vmware could solve this:
>
Hi
Umm check the Technical Specs… it’s supported as both host and guest.
You can always look at KVM.
BTW, the brand name of the distribution is openSUSE;)
–
Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
openSUSE Leap 42.2|GNOME 3.20.2|4.4.87-18.29-default
If you find this post helpful and are logged into the web interface,
please show your appreciation and click on the star below… Thanks!