Hallo,
ich habe die alte VMware Workstation 15.1.0 deinstalliert, Linux neu gestartet und die neue Version "15.5.0-14665864.x86_64.bundle" installiert (i. O.).
Wenn ich jetzt "VMware Workstation" starte, erscheint das gewohnte Fenster (welches immer nach einem Kernelupdate erscheint) "VMware Kernel Module Updater" –> Install
Als nächstes erscheint ein Hinweisfenster:
1 2 3 | Compiling and installing following kernel modules... vmmon vmnet |
Dies wird mit einem Fehler beendet.
Nach Recherche habe ich folgendes durchgeführt:
1 2 3 4 | mv -v /usr/lib/vmware/lib/libz.so.1/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1_BAK ln -s /lib/x86_64-linux-gnu/libz.so.1 /usr/lib/vmware/lib/libz.so.1/libz.so.1 depmod -a vmware-modconfig --console --install-all |
Beim erneuten ausführen der "VMware Workstation" –> Install –> Hinweisfenster:
1 2 | Compiling and installing following kernel modules... vmmon |
Damit ist das Problem mit vmnet gelöst (hier funktioniert anschließend auch die Signierung des Kernelmodules vmnet, bezüglich UEFI). Das Modul vmmon kann weiterhin nicht erstellt werden.
Aktuelle Fehlerausgabe von "vmware-modconfig --console --install-all":
1 2 3 4 5 6 7 8 9 10 11 12 13 | /tmp/modconfig-Luveut/vmmon-only/linux/hostif.c: In function ‘HostIF_EstimateLockedPageLimit’: /tmp/modconfig-Luveut/vmmon-only/linux/hostif.c:1607:25: error: ‘totalram_pages’ redeclared as different kind of symbol extern unsigned long totalram_pages; ^~~~~~~~~~~~~~ In file included from /tmp/modconfig-Luveut/vmmon-only/linux/hostif.c:42:0: ./include/linux/mm.h:52:29: note: previous definition of ‘totalram_pages’ was here static inline unsigned long totalram_pages(void) ^~~~~~~~~~~~~~ /tmp/modconfig-Luveut/vmmon-only/linux/hostif.c: In function ‘HostIFGetTime’: /tmp/modconfig-Luveut/vmmon-only/linux/hostif.c:1729:4: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 |
Ich hatte auch schon vmmon-only bzw. vmmon.tar unter /usr/lib/vmware/modules/source/ ausgetauscht (Quelle: https://github.com/mkubecek/vmware-host-modules/tree/workstation-15.5.0). Allerdings traten dann weiterhin Fehler auf:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | /tmp/modconfig-0tJYnb/vmmon-only/linux/hostif.c: In function ‘HostIF_EstimateLockedPageLimit’: /tmp/modconfig-0tJYnb/vmmon-only/linux/hostif.c:1608:25: error: ‘totalram_pages’ redeclared as different kind of symbol extern unsigned long totalram_pages; ^~~~~~~~~~~~~~ In file included from /tmp/modconfig-0tJYnb/vmmon-only/linux/hostif.c:42:0: ./include/linux/mm.h:52:29: note: previous definition of ‘totalram_pages’ was here static inline unsigned long totalram_pages(void) ^~~~~~~~~~~~~~ /tmp/modconfig-0tJYnb/vmmon-only/linux/hostif.c: In function ‘HostIFGetTime’: /tmp/modconfig-0tJYnb/vmmon-only/linux/hostif.c:1730:4: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^~~~~~~~~~~~~~~ do_settimeofday64 cc1: some warnings being treated as errors scripts/Makefile.build:284: recipe for target '/tmp/modconfig-0tJYnb/vmmon-only/linux/hostif.o' failed make[2]: *** [/tmp/modconfig-0tJYnb/vmmon-only/linux/hostif.o] Error 1 make[2]: *** Auf noch nicht beendete Prozesse wird gewartet … Makefile:1606: recipe for target '_module_/tmp/modconfig-0tJYnb/vmmon-only' failed make[1]: *** [_module_/tmp/modconfig-0tJYnb/vmmon-only] Error 2 make[1]: Verzeichnis „/usr/src/linux-headers-5.0.0-29-generic“ wird verlassen Makefile:117: recipe for target 'vmmon.ko' failed make: *** [vmmon.ko] Error 2 make: Verzeichnis „/tmp/modconfig-0tJYnb/vmmon-only“ wird verlassen |
Hinweis: Der Fehler trat dann auch bei der alten Version auf, als ich die neue 15.5 deinstallierte und die 15.1 wieder installierte.
Wieso kann das Modul vmmon nicht erstellt werden? (Wieso gibt es immer wieder damit Probleme (auch nach Ubuntu-Kernel-Upates)? Programmiert VMware nicht ordentlich oder ist Linux zu "komplex/individuell"? Dadurch wird man "lahmgelegt" und kann nicht weiterarbeiten! 😠 Oder ist Linux als Hostsystem produktiv noch nicht zu empfehlen?)
Bin für jede Hilfe dankbar!