{"id":3174,"date":"2023-09-02T15:24:47","date_gmt":"2023-09-02T22:24:47","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3174"},"modified":"2023-09-02T15:24:47","modified_gmt":"2023-09-02T22:24:47","slug":"vmware-patching-made-easy","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3174","title":{"rendered":"VMware &#8211; Patching Made Easy..?"},"content":{"rendered":"<p>As there is almost always a need to apply the most recent patchset to releases of VMware vmmon\/vmnet to support the latest kernels, it might be useful to document a process for making this (relatively..) easy:<\/p>\n<p>VMMON and VMNET are picked up during the <strong><span style=\"font-family: Courier New, Courier, monospace;\">vmware-modconfig&#8230;<\/span><\/strong> command, from <span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/usr\/lib\/vmware\/modules\/source<\/strong><\/span>, and this process expects to find <strong><span style=\"font-family: Courier New, Courier, monospace;\">vmmon.tar<\/span><\/strong> and <span style=\"font-family: Courier New, Courier, monospace;\"><strong>vmnet.tar<\/strong><\/span> there..<\/p>\n<p>So.. go to the the site for the latest patchset (currently <a href=\"https:\/\/github.com\/mkubecek\/vmware-host-modules\/tree\/tmp\/workstation-17.0.2-k6.5\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/mkubecek\/vmware-host-modules\/tree\/tmp\/workstation-17.0.2-k6.5<\/a>) and select &#8216;<strong><em>Code<\/em><\/strong>&#8216; \/ &#8216;<strong><em>Download ZIP<\/em><\/strong>&#8216;.<br \/>\nThen unzip this, which gives you a folder containing the sub-folders <span style=\"font-family: Courier New, Courier, monospace;\"><strong>vmmon-only<\/strong><\/span> and <span style=\"font-family: Courier New, Courier, monospace;\"><strong>vmware-only<\/strong><\/span>.<br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>cd<\/strong><\/span> to this, and create basic TAR files from these sub-folders:<br \/>\n<code><strong><span style=\"font-family: Courier New, Courier, monospace;\"># tar -cvf vmmon.tar vmmon-only<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\"># tar -cvf vmnet.tar vmnet-only<\/span><\/strong><\/code><br \/>\nIf you need to, save the &#8216;old&#8217; tar files (as root..):<br \/>\n<code><span style=\"font-family: Courier New, Courier, monospace;\"><strong># mv \/usr\/lib\/vmware\/modules\/source\/vmmon.tar \/usr\/lib\/vmware\/modules\/source\/vmmon.tar.orig<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong># mv \/usr\/lib\/vmware\/modules\/source\/vmnet.tar \/usr\/lib\/vmware\/modules\/source\/vmnet.tar.orig<\/strong><\/span><\/code><br \/>\nCopy the new\/patched versions:<br \/>\n<code><span style=\"font-family: Courier New, Courier, monospace;\"><strong># cp *.tar \/usr\/lib\/vmware\/modules\/source\/<\/strong><\/span><\/code><\/p>\n<p>After that, each time you run <strong><span style=\"font-family: Courier New, Courier, monospace;\"># vmware-modconfig &#8211;console &#8211;install-all<\/span><\/strong> after updating the kernel, this will automatically compile\/install the patched versions..<\/p>\n<p>As usual, there are many ways of doing this, but this is one I have used for some time now..<\/p>\n<p><em><strong>Robert Gadsdon. September 2nd 2023.<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As there is almost always a need to apply the most recent patchset to releases of VMware vmmon\/vmnet to support the latest kernels, it might be useful to document a process for making this (relatively..) easy: VMMON and VMNET are picked up during the vmware-modconfig&#8230; command, from \/usr\/lib\/vmware\/modules\/source, and this process expects to find vmmon.tar and vmnet.tar <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3174\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[14,15,19,1533,25],"tags":[2608,191,297,402],"class_list":["post-3174","post","type-post","status-publish","format-standard","hentry","category-kernel","category-linux-2","category-opinion","category-patches","category-vmware","tag-easy-install","tag-howto","tag-patched","tag-vmware-2"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3174"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3174\/revisions"}],"predecessor-version":[{"id":3176,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3174\/revisions\/3176"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}