VMware Workstation

 View Only
Expand all | Collapse all

Ubuntu and Vmware workstation pro after installation of new kernel

  • 1.  Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 9 days ago
    Try the gory details here.
    https://github.com/mkubecek/vmware-host-modules/issues/306

    Worked for me on F42, kernel 6.15.4-200.fc42.x86_64 & WS 17.6.3

    Maybe these are relevant if you are talking kernel 6.16.x
    https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-3004879683
    https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-2916763651


    On Thu, 2025-07-03 at 08:29 +0000, Paolo Meravigliao via Broadcom wrote:
    > The commad I do after installation of new kernel are correct?
    >
    >
    > dmesg output attached.
    >
    >
    >
    >
    >
    > Thanks
    >
    >
    > You are subscribed to "VMware Workstation" as ja@jaa.org.uk. To change your subscriptions, go to
    > http://community.broadcom.com/preferences?section=Subscriptions.  To unsubscribe from this community
    > discussion, go to
    > https://community.broadcom.com/HigherLogic/eGroups/Unsubscribe.aspx?UserKey=555e8c66-e95e-42fa-9d37-018faae3c7f3&sKey=KeyRemoved&GroupKey=1b0a16ce-2127-4fae-a840-018f5da56726
    > .
    >
    > Copyright © 2005-2023 Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc.
    > and/or its subsidiaries.
    >
    > Hosted by Higher Logic, LLC on the behalf of Broadcom
    > https://www.broadcom.com/company/legal/privacy-policy | https://www.higherlogic.com/legal/privacy |
    > https://www.broadcom.com/company/citizenship/governance-and-ethics#supply |
    > https://www.broadcom.com/termsandconditions


  • 2.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 9 days ago

    ivan@ivan-NUC10i7FNH:~$ sudo make -C vmmon-only
    make: ingresso nella directory «/home/ivan»
    make: *** vmmon-only: File o directory non esistente.  Arresto.
    make: uscita dalla directory «/home/ivan»
    ivan@ivan-NUC10i7FNH:~$ 

    Doesen't work, I'm using kernel "Linux 6.14.0-22-generic".




  • 3.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 9 days ago
    Edited by Technogeezer 9 days ago

    I have a very short script that does diff between a unmodified vmmon or vmnet and modified versions.
    Last 6 lines of the file.

    I created the modified versions using the changes shown on
    https://github.com/mkubecek/vmware-host-modules/issues/306
    (by hand - not using patch)
    hence I have my own patch files.

    The rest of the script is comments to help me try to understand what is going on.
    The comments can be cut & pasted into a terminal and run.

    A large section is concerned with untarring, applying the patches, tarring and compiling - it might
    help.

    The line that does all the work is
    vmware-modconfig --console --install-all


    On Thu, 2025-07-03 at 12:03 +0000, Paolo Meravigliao via Broadcom wrote:
    > ivan@ivan-NUC10i7FNH:~$ sudo make -C vmmon-only
    > make: ingresso nella directory «/home/ivan»
    > make: *** vmmon-only: File o directory non esistente.  Arresto.
    > make: uscita dalla directory «/home/ivan»
    > ivan@ivan-NUC10i7FNH:~$
    >
    >
    > Doesen't work, I'm using kernel "Linux 6.14.0-22-generic".
    >
    >
    >
    > -------------------------------------------
    > Original Message:
    > Sent: Jul 03, 2025 06:24 AM
    > From: John Austin
    > Subject: Ubuntu and Vmware workstation pro after installation of new kernel
    >
    > Try the gory details here.
    > https://github.com/mkubecek/vmware-host-modules/issues/306 <
    > https://github.com/mkubecek/vmware-host-modules/issues/306>
    >
    > Worked for me on F42, kernel 6.15.4-200.fc42.x86_64 & WS 17.6.3
    >
    > Maybe these are relevant if you are talking kernel 6.16.x
    > https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-3004879683 <
    > https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-3004879683>
    > https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-2916763651 <
    > https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-2916763651>
    >
    >
    > On Thu, 2025-07-03 at 08:29 +0000, Paolo Meravigliao via Broadcom wrote:
    > > The commad I do after installation of new kernel are correct?
    > >
    > >
    > > dmesg output attached.
    > >
    > >
    > >
    > >
    > >
    > > Thanks
    > >
    > >
    > > You are subscribed to "VMware Workstation" as ja@jaa.org.uk 



  • 4.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 9 days ago
    I'm pretty sure no patches were required for Fedora 41/42 with
    kernel 6.14.x & WS 17.6.3

    kernel 6.15.x certainly needs the patches
    ja@meon ~ 1$ uname -r
    6.15.4-200.fc42.x86_64

    Fedora version of 6.16.x yet to come


    On Thu, 2025-07-03 at 13:59 +0000, John Austin via Broadcom wrote:
    > I have a very short script that does diff between a unmodified vmmon or vmnet and modified versions.
    > Last 6 lines of the file.
    >
    > I created the modified versions using the changes shown on
    > https://github.com/mkubecek/vmware-host-modules/issues/306
    > (by hand - not using patch)
    > hence I have my own patch files.
    >
    > The rest of the script is comments to help me try to understand what is going on.
    > The comments can be cut & pasted into a terminal and run.
    >
    > A large section is concerned with untarring, applying the patches, tarring and compiling - it might
    > help.
    >
    > The line that does all the work is
    > vmware-modconfig --console --install-all
    >
    >
    > On Thu, 2025-07-03 at 12:03 +0000, Paolo Meravigliao via Broadcom wrote:
    > > ivan@ivan-NUC10i7FNH:~$ sudo make -C vmmon-only
    > > make: ingresso nella directory «/home/ivan»
    > > make: *** vmmon-only: File o directory non esistente.  Arresto.
    > > make: uscita dalla directory «/home/ivan»
    > > ivan@ivan-NUC10i7FNH:~$
    > >
    > >
    > > Doesen't work, I'm using kernel "Linux 6.14.0-22-generic".
    > >
    > >
    > >
    > > -------------------------------------------
    > > Original Message:
    > > Sent: Jul 03, 2025 06:24 AM
    > > From: John Austin
    > > Subject: Ubuntu and Vmware workstation pro after installation of new kernel
    > >
    > > Try the gory details here.
    > > https://github.com/mkubecek/vmware-host-modules/issues/306 <
    > > https://github.com/mkubecek/vmware-host-modules/issues/306>
    > >
    > > Worked for me on F42, kernel 6.15.4-200.fc42.x86_64 & WS 17.6.3
    > >
    > > Maybe these are relevant if you are talking kernel 6.16.x
    > > https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-3004879683 <
    > > https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-3004879683>
    > > https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-2916763651 <
    > > https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-2916763651>
    > >
    > >
    > > On Thu, 2025-07-03 at 08:29 +0000, Paolo Meravigliao via Broadcom wrote:
    > > > The commad I do after installation of new kernel are correct?
    > > >
    > > >
    > > > dmesg output attached.
    > > >
    > > >
    > > >
    > > >
    > > >
    > > > Thanks
    > > >
    > > >
    > > > You are subscribed to "VMware Workstation" as ja@jaa.org.uk 
    >
    >
    > Reply to Sender :
    > https://community.broadcom.com/eGroups/PostReply/?GroupId=7171&MID=4381816&SenderKey=555e8c66-e95e-42fa-9d37-018faae3c7f3
    >
    > Reply to Discussion : https://community.broadcom.com/eGroups/PostReply/?GroupId=7171&MID=4381816
    >
    >
    >
    > You are subscribed to "VMware Workstation" as ja@jaa.org.uk. To change your subscriptions, go to
    > http://community.broadcom.com/preferences?section=Subscriptions.  To unsubscribe from this community
    > discussion, go to
    > https://community.broadcom.com/HigherLogic/eGroups/Unsubscribe.aspx?UserKey=555e8c66-e95e-42fa-9d37-018faae3c7f3&sKey=KeyRemoved&GroupKey=1b0a16ce-2127-4fae-a840-018f5da56726
    > .
    >
    > Copyright © 2005-2023 Broadcom. All Rights Reserved. The term "Broadcom" refers to Broadcom Inc.
    > and/or its subsidiaries.
    >
    > Hosted by Higher Logic, LLC on the behalf of Broadcom
    > https://www.broadcom.com/company/legal/privacy-policy | https://www.higherlogic.com/legal/privacy |
    > https://www.broadcom.com/company/citizenship/governance-and-ethics#supply |
    > https://www.broadcom.com/termsandconditions




  • 5.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 7 days ago
      |   view attached

    Hi thanks for your reply. I have attacched my system config.

    I'm not an expert with compiling.

    Can you tell me how to do?

    Thanks




  • 6.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 7 days ago

    Just this morning there was some updates in Ubuntu, also kernel. I do all the updates and of course Vmware doesn't work anymore. Attacched the new config and the steps I do after launching Vmware.

    Hope this help to solve the issue.

    I have not given the following commands yet. I await your suggestions:

    openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=My Name/"
    sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmmon)
    sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vmnet)
    sudo mokutil --import MOK.der ---"insert a password"
    now reboot and re-enroll your key.

    Thanks




  • 7.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 6 days ago

    Hi

    I attach my very simple diff script only the last 6 lines do anything.

    The rest is a list of commands that are intended to remind me what to

    do next time.

    Also attached are "MY" diff files which should be the same/or close

    to those posted elsewhere.

    Hope it helps


    Attachment(s)

    txt
    ja_diff.txt   3 KB 1 version
    txt
    ja_diff_vmmon.txt   1 KB 1 version
    txt
    ja_diff_vmnet.txt   1 KB 1 version


  • 8.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 6 days ago

    Hi,

    I have to execute those command?

    #As root - Compile and install the kernel modules
    su -
    vmware-modconfig --console --install-all
    END_COMMENT2
    #-------------------------------------------------------------------------------
    cd $1
    list=`find * -type f |  grep -E -e '.[ch]$|Makefile'`
    
    for j in $list
    do
    diff -u $j $2/$j
    done




  • 9.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 5 days ago

    Hello

    The very first thing is to be certain that we are talking about the same kernel & WS version.

     Earlier in the post you say "I'm using kernel "Linux 6.14.0-22-generic""

    What does uname -r say?

    My machine gives

    ja@meon ~ 1$ uname -r                                                                                                                            
    6.15.4-200.fc42.x86_64

    Workstation shows

    Version: 17.6.3 build-24583834

    The patches I am talking about are for patching WS 17.6.3 "modules"  vmmon & vmnet such that they compile with kernel 6.15.x




  • 10.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 5 days ago

    Hi

    ivan@ivan-NUC10i7FNH:~$ uname -r
    6.14.0-23-generic

    VMware® Workstation 17 Pro
    Version: 17.6.3 build-24583834

    Just to clarify my doubt, the command I do after installation of new kernel are correct?

    Thanks

    Ivan




  • 11.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 4 days ago

    Hi

    The patches being discussed are for kernel 6.15.x and not 6.14.x

    I do not believe that any patches are need for 6.14.x and WS 17.6.3

    You do need the kernel-devel package that matches the running kernel.
    I have

    kernel-6.15.4-200.fc42.x86_64
    kernel-devel-6.15.4-200.fc42.x86_64

    If I am correct then if you just run "vmware" in a root terminal

    WS will compile and install the modules automatically if required.

    This should do the same thing

    su -
    vmware-modconfig --console --install-all




  • 12.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 4 days ago

    That's correct. No patches are needed to the kernel modules for WS 17.6.3 and kernel 6.14.



    ------------------------------
    - Paul (technogeezer)
    vExpert 2025
    ------------------------------



  • 13.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 4 days ago

    >> If I am correct then if you just run "vmware" in a root terminal

    Now with the installation of new kernel the network work. Probably something went wrongwith the previous installation or maybe after the installation of new kernel I have to launch "sudo vmware" instead run int by the icon.

    simple things no eh :-)))

    Thanks a lot




  • 14.  RE: Ubuntu and Vmware workstation pro after installation of new kernel

    Posted 2 days ago

    Glad it is now working.

    When Ubuntu updates to 6.15.x you will need your new found

    expertise - unless VMware get there first!