VMware Kernel Module Updater(tumbleweed)
where i use VMware in openSUSE(tumbleweed),it can't work and i don't know what should i do.Please you help me. Before you can run VMware,several modules must be compiled and loaded into the running kernel。 Kernel Headers for version 5.12.9-1-default were not found.if you installed them in a non-default path you can specify the path below.Otherwise to you distribution's documentation for installation instructions and click refresh to serach again in default locations. so,I began to search for answers,And I found this article。But But I tried it and it didn't work. https://lists.opensuse.org/archives/list/factory@lists.opensuse.org/message/...
That article assumes you already have the development patterns installed. I suspect that you don't. Go into Software Manager and make sure you have installed the following patterns: Base Development C/C++ Development Linux Kernel Development After installing those patterns and assuming you have updated to TW version 20210524 or later then you have to fix 2 symlinks for the kernel locations so that vmware can compile the modules. NOTE: I am on the 5.12.4-2 kernel but updated the fix for your kernel cd /usr/lib/modules/5.12.9-1-default ln -sf ../../../../usr/src/linux-5.12.9-1-obj/x86_64/default build ln -sf ../../../../usr/src/linux-5.12.9-1 source After installing the development patterns and fixing the symlinks you should be able to start vmware and it will prompt to compile modules and once that is done vmware should work. Joe
Am Donnerstag, 10. Juni 2021, 19:35:36 CEST schrieb Joe Salmeri:
That article assumes you already have the development patterns installed. I suspect that you don't.
Go into Software Manager and make sure you have installed the following patterns:
Base Development C/C++ Development Linux Kernel Development
After installing those patterns and assuming you have updated to TW version 20210524 or later then you have to fix 2 symlinks for the kernel locations so that vmware can compile the modules.
NOTE: I am on the 5.12.4-2 kernel but updated the fix for your kernel
cd /usr/lib/modules/5.12.9-1-default ln -sf ../../../../usr/src/linux-5.12.9-1-obj/x86_64/default build ln -sf ../../../../usr/src/linux-5.12.9-1 source
After installing the development patterns and fixing the symlinks you should be able to start vmware and it will prompt to compile modules and once that is done vmware should work.
Joe There is another problem on tumbleweed. The modules sourcecode at /usr/lib/ vmware/modules isn't adapted for kernel 5.12 and won't compile even with these fixed links. There is an adapted version available at <https://github.com/ mkubecek/vmware-host-modules/releases/tag/w16.1.2-k5.12>
Hi Markus, I appreciate that additional information but something is not adding up for me.... I am running the TW 20210601 snapshot which uses kernel 5.12.4-2 and all I did was fix those 2 symlinks and then the vmware modules recompiled and I was able to bring my VMs up. I am using vmware player 16.1.1 but there is a newer 16.1.2 version available which I have not installed yet. Are you using vmware player and if so which version? I noticed that the adapted version you have appears to be for 16.1.2. I wonder if that is where the real problem is since 16.1.1 is working fine for me.... Joe
Hi Markus, The original post was for kernel 5.12.9-1 so I wonder if the issue is not kernel 5.12 but is instead with a kernel after 5.12.4-2 since that works for me. Most of the later builds have had more failed tests than TW 20210601 so I have been waiting to update, plus I expect that Plasma 5.22 will be included soon and figured that's when I'd do the next dup. Joe
On Friday 11 June 2021, Joe Salmeri wrote:
Hi Markus,
The original post was for kernel 5.12.9-1 so I wonder if the issue is not kernel 5.12 but is instead with a kernel after 5.12.4-2 since that works for me.
Most of the later builds have had more failed tests than TW 20210601 so I have been waiting to update, plus I expect that Plasma 5.22 will be included soon and figured that's when I'd do the next dup.
Joe
If this is the same problem as with the Nvidia driver (links with the wrong depth), then the suggested work-a-round for Nvidia should also work: cd /usr ln -s . /usr/usr The advantage being that no fiddling with kernel installables is needed. Michael
participants (4)
-
Joe Salmeri
-
Markus Koßmann
-
Michael Hamilton
-
大憨 姚