VMware Workstation

 View Only
  • 1.  Just patched Ubuntu Jellyfish and now I can't compile vmmon or vmnet

    Posted Aug 16, 2024 02:54 AM

    Currently running:

    PRETTY_NAME="Ubuntu 22.04.4 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04.4 LTS (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
    ID=ubuntu
    ID_LIKE=debian

    kernel is PRETTY_NAME="Ubuntu 22.04.4 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04.4 LTS (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
    ID=ubuntu
    ID_LIKE=debian

    kernel is PRETTY_NAME="Ubuntu 22.04.4 LTS"
    NAME="Ubuntu"
    VERSION_ID="22.04"
    VERSION="22.04.4 LTS (Jammy Jellyfish)"
    VERSION_CODENAME=jammy
    ID=ubuntu
    ID_LIKE=debian

    kernel is 6.8.0-40-generic

    I am seeing the following output in the log:

    2024-08-15T20:19:58.243Z In(05) host-5919 warning: the compiler differs from the one used to build the kernel
    2024-08-15T20:19:58.243Z In(05) host-5919   The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
    2024-08-15T20:19:58.243Z In(05) host-5919   You are using:           gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
    2024-08-15T20:19:58.243Z In(05) host-5919 /tmp/modconfig-L4JatL/vmmon-only/common/crosspage.o: warning: objtool: CrossPage_CodePage+0x207: 'naked' return found in
     RETHUNK build
    2024-08-15T20:19:58.243Z In(05) host-5919 make[3]: *** [scripts/Makefile.build:243: /tmp/modconfig-L4JatL/vmmon-only/common/crosspage.o] Error 255
    2024-08-15T20:19:58.243Z In(05) host-5919 make[3]: *** Deleting file '/tmp/modconfig-L4JatL/vmmon-only/common/crosspage.o'
    2024-08-15T20:19:58.243Z In(05) host-5919 make[3]: *** Waiting for unfinished jobs....

    Has anybody run into this or can you reproduce?



  • 2.  RE: Just patched Ubuntu Jellyfish and now I can't compile vmmon or vmnet

    Posted Aug 17, 2024 01:27 PM

    I found a solution here:

    https://unix.stackexchange.com/questions/773558/vmware-vmmon-vmnet-17-5-1-and-linux-kernel-6-8-0-wont-compile

    Make back-up copies of /lib/vmware/modules/source/ vmmon.tar and vmnet.tar

    The short instructions that worked for me are:

    cd /tmp
    sudo bash
    git clone https://github.com/mkubecek/vmware-host-modules.git cd vmware-host-modules git switch workstation-17.5.1 make make install



  • 3.  RE: Just patched Ubuntu Jellyfish and now I can't compile vmmon or vmnet

    Posted Aug 19, 2024 03:02 AM

    Thank you very much, that made my day.

    With Ubuntu 22.04 a new kernel was installed via the Ubuntu Pro membership, which was not compatible with vmware 17.5.2. 
    This meant that I could no longer start my Windows development environment or work with it.

    This was the second time that this happened and I will probably have to switch to QEMU/KVM in the long run.




  • 4.  RE: Just patched Ubuntu Jellyfish and now I can't compile vmmon or vmnet

    Posted Aug 19, 2024 11:02 PM

    I've decided to build a sandbox system to test OS patches prior to patching my main system. I will also play with other VM managers too.




  • 5.  RE: Just patched Ubuntu Jellyfish and now I can't compile vmmon or vmnet

    Posted Aug 17, 2024 01:34 PM

    I face a similar issue - I'm waiting for VMWare staff to update and release a stable version

    VMware Workstation Pro 17.5.2 on Ubuntu 24.04 LTS compile errors

    2024-08-14T16:45:21.816Z In(05) host-98433 /tmp/modconfig-gTVSYg/vmmon-only/common/crosspage.o: warning: objtool: CrossPage_CodePage+0x207: 'naked' return found in RETHUNK build

    https://community.broadcom.com/vmware-cloud-foundation/question/vmware-workstation-pro-1752-on-ubuntu-2404-lts-compile-errors




  • 6.  RE: Just patched Ubuntu Jellyfish and now I can't compile vmmon or vmnet

    Posted Aug 17, 2024 01:34 PM

    Encountered the same problem with Ubuntu 22.04 updated kernel from 6.5.0.45 to 6.8.0.40

    I had to go to mkubecek's GitHub repository; used second method from the "0. Quick guide for impatient", replace 17.0.0 to 17.5.1 (there is no 17.5.2 in the repository).

    h t t p s://github.com/mkubecek/vmware-host-modules/blob/master/INSTALL

    Not related to VMware but the update to 6.8.0.40 kernel did not play nice with nvidia-545 proprietary drivers (multiple monitors stopped working on the host). Had to fall back to nvidia-535 proprietary, tested version to get multiple monitors working again on the Ubuntu 22.04 host.




  • 7.  RE: Just patched Ubuntu Jellyfish and now I can't compile vmmon or vmnet

    Posted Aug 17, 2024 06:10 PM

    Of course patching is possible, but I would rather get an official release from Broadcom/VMware, have they announced they will fix this bug?

    I don't think it's my job to fix these faults.