{"id":3164,"date":"2023-08-12T11:00:42","date_gmt":"2023-08-12T18:00:42","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3164"},"modified":"2023-08-12T13:07:59","modified_gmt":"2023-08-12T20:07:59","slug":"vmware-vmnet-surprise-in-kernel-6-4-10-and-a-fix","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3164","title":{"rendered":"VMware &#8211; Vmnet Surprise in Kernel 6.4.10.. and a Fix.."},"content":{"rendered":"<p>Kernel 6.4.10 includes a backported change from the 6.5-rc branch, and this breaks the vmnet 17.0.2 compile..<\/p>\n<p>The fix is to replicate the same logic from the 6.5 &#8216;tmp&#8217; branch, at <a href=\"https:\/\/github.com\/mkubecek\/vmware-host-modules\/blob\/tmp\/workstation-17.0.2-k6.5\/vmnet-only\/bridge.c\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/mkubecek\/vmware-host-modules\/blob\/tmp\/workstation-17.0.2-k6.5\/vmnet-only\/bridge.c<\/a> &#8211; around line 47.. \u00a0\u00a0 For some odd reason, this did not behave correctly on my system, and so I modified\/simplified the kernel-version-test portion of it, to:<br \/>\n<code><span style=\"font-family: Courier New, Courier, monospace;\">if LINUX_VERSION_CODE &gt;= KERNEL_VERSION(6, 4, 10)<\/span><\/code><br \/>\nWith this change, vmnet compiles\/loads\/runs OK..<\/p>\n<p><em><strong>Robert Gadsdon.\u00a0\u00a0 August 12th 2023.<\/strong><\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 6.4.10 includes a backported change from the 6.5-rc branch, and this breaks the vmnet 17.0.2 compile.. The fix is to replicate the same logic from the 6.5 &#8216;tmp&#8217; branch, at https:\/\/github.com\/mkubecek\/vmware-host-modules\/blob\/tmp\/workstation-17.0.2-k6.5\/vmnet-only\/bridge.c &#8211; around line 47.. \u00a0\u00a0 For some odd reason, this did not behave correctly on my system, and so I modified\/simplified the kernel-version-test portion of <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3164\"><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":[5,1238,11,14,15,19,25],"tags":[2603,969,161,2602,283,1501,761,2558],"class_list":["post-3164","post","type-post","status-publish","format-standard","hentry","category-compilation","category-fix","category-hacks","category-kernel","category-linux-2","category-opinion","category-vmware","tag-bridge-c","tag-compile-fails","tag-fix","tag-kernel-6-4-10-change","tag-ok","tag-tested","tag-vmnet","tag-vmware-17-0-2"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3164","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=3164"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3164\/revisions"}],"predecessor-version":[{"id":3166,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3164\/revisions\/3166"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}