[opensuse-kernel] Building vmware kernel modules for kernel stable on 13.2
Hello; after installing 4.0.5-4.g56152db-desktop from kernel-stable I wanted to rebuild the vmware kernel-modules. The vmware installer now complains about not finding gcc5. First idea was to install gcc5 from gcc:devel repo with one-click install. But this fails due to a missing dependency on libisl.so.13(64 bit). How to get a working build environment for these modules ? -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Monday 22 of June 2015 19:23:01 Markus Koßmann wrote:
after installing 4.0.5-4.g56152db-desktop from kernel-stable I wanted to rebuild the vmware kernel-modules. The vmware installer now complains about not finding gcc5. First idea was to install gcc5 from gcc:devel repo with one-click install. But this fails due to a missing dependency on libisl.so.13(64 bit).
It sounds quite surprising that VMware would require gcc5. Can you show what exactly you did and what did the response look like? I built (host) modules for Workstation 10.0.6 (on 13.1) without problems like that but vmnet needed a patch (attached) to build with kernel 4.0. With it, usual "vmware-modconfig --console --install-all" worked fine. Michal Kubeček
Am Dienstag, 23. Juni 2015, 07:19:32 schrieb Michal Kubecek:
On Monday 22 of June 2015 19:23:01 Markus Koßmann wrote:
after installing 4.0.5-4.g56152db-desktop from kernel-stable I wanted to rebuild the vmware kernel-modules. The vmware installer now complains about not finding gcc5. First idea was to install gcc5 from gcc:devel repo with one-click install. But this fails due to a missing dependency on libisl.so.13(64 bit).
It sounds quite surprising that VMware would require gcc5. Can you show what exactly you did and what did the response look like?
I built (host) modules for Workstation 10.0.6 (on 13.1) without problems like that but vmnet needed a patch (attached) to build with kernel 4.0. With it, usual "vmware-modconfig --console --install-all" worked fine.
The failed dependency was probably due to incomplete build and seems to be fixed now. vmware-modconfig --console --install-all returns Failed to get gcc information And after starting vmware the "VMware Kernel Module Updater" window pops up with the message GCC GNU C Compiler (gcc) version 5.1.1 was not found. If you installed it in a non-default path, you can specify the path below. Otherwise refer to your distributions documentation for installation instructions an click Refresh to search again in default locations. If I try to type in "/usr/bin/gcc-5" into that window it blocks after 9 characters if you started from a commandline you see: sh: /: Ist ein Verzeichnis Something fishy is going on with gcc -dumpversion. sh: /usr: Ist ein Verzeichnis Something fishy is going on with gcc -dumpversion. sh: /usr/: Ist ein Verzeichnis Something fishy is going on with gcc -dumpversion. sh: /usr/bin: Ist ein Verzeichnis Something fishy is going on with gcc -dumpversion. sh: /usr/bin/: Ist ein Verzeichnis Something fishy is going on with gcc -dumpversion. gc: option -d unrecognized - ignored gc: option -u unrecognized - ignored gc: option -m unrecognized - ignored gc: option -p unrecognized - ignored gc: option -i unrecognized - ignored gc: option -o unrecognized - ignored Using the file browser option of that window returns with an error: A compatible version of gcc was not found. I think the reason for that problem is that latest kernel stable was build with gcc-5 ( with kernel 4.0.4 I didn't have that problem ,still using patched vmware 10.0.5 , probably kernel-4.0.4 is was still build with gcc-4.8, which is the system compiler in 13.2) -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tuesday 23 of June 2015 19:46:57 Markus Koßmann wrote:
I think the reason for that problem is that latest kernel stable was build with gcc-5 ( with kernel 4.0.4 I didn't have that problem ,still using patched vmware 10.0.5 , probably kernel-4.0.4 is was still build with gcc-4.8, which is the system compiler in 13.2)
Looks like vmware-modconfig checks gcc version but I'm not sure if there is a reason to do so. According to the documentation, there are ABI changes but those should affect only C++, not C. You can try to build the modules manually, i.e. unpack the tarballs in /usr/lib/vmware/modules/source and run "make" in each subdirectory; it should suffice to build vmnet and vmmon (vsock and vmci are in mainline kernel already, vmblock is probably not needed - vmware-modconfig doesn't built it on my system). I tried it now on my 13.1 and it worked. Of course, there still also the option to use the distribution kernel. Do you have a reason to replace it with a newer one? Michal Kubeček -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Am 24.06.2015 um 07:51 schrieb Michal Kubecek:
On Tuesday 23 of June 2015 19:46:57 Markus Koßmann wrote:
Looks like vmware-modconfig checks gcc version but I'm not sure if there is a reason to do so. According to the documentation, there are ABI changes but those should affect only C++, not C. You can try to build
yes. i think its a bug in vmware. i also updated to latest kernel 4.1.0 and to latest gcc 5.1.1, so the gcc i have installed is the same the kernal was built with. nevertheless vmware failed.
the modules manually, i.e. unpack the tarballs in
/usr/lib/vmware/modules/source
and run "make" in each subdirectory; it should suffice to build vmnet and vmmon (vsock and vmci are in mainline kernel already, vmblock is probably not needed - vmware-modconfig doesn't built it on my system). I tried it now on my 13.1 and it worked.
thanks for this hint. i tried it before, but i started with vmci or vsock (don't remeber anymore) and it failed, so i thought it will not work. after your hint i tried vmnet and vmmon and it worked. so i was able to solve this issue. -- Best Regards | Liebe Grüße | Cordialement | Cordiali Saluti | Atenciosamente | Saludos Cordiales Rainer Klier Research & Development SIGNificant Signature Solutions GmbH (a xyzmo company) Haider Straße 23 | 4052 Ansfelden | Austria Phone: +43 7229 88060 -707 Website: https://www.xyzmo.com/ Support: https://www.xyzmo.com/contact/support Get documents signed. Anywhere. At any time. -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (3)
-
Markus Koßmann
-
Michal Kubecek
-
Rainer Klier