{"id":2522,"date":"2019-03-16T11:19:54","date_gmt":"2019-03-16T18:19:54","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2522"},"modified":"2019-03-16T11:19:54","modified_gmt":"2019-03-16T18:19:54","slug":"vmware-15-0-3-released-still-broken-with-kernel-5-0","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2522","title":{"rendered":"VMware &#8211; 15.0.3 Released, Still Broken with Kernel 5.0.."},"content":{"rendered":"<p>VMware Workstation <strong>15.0.3<\/strong> has been released, and the details are here: <a href=\"https:\/\/docs.vmware.com\/en\/VMware-Workstation-Pro\/15\/rn\/workstation-1503-release-notes.html\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.vmware.com\/en\/VMware-Workstation-Pro\/15\/rn\/workstation-1503-release-notes.html<\/a><\/p>\n<p>Not an impressive effort, as it still fails when compiled with Kernel 5.0, with multiple warnings, and errors (tested with 5.0.2):<\/p>\n<pre>.<strong><span style=\"font-family: Courier New, Courier, monospace;\">......................<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c: In function \u2018HostIF_EstimateLockedPageLimit\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c:1641:25: error: \u2018totalram_pages\u2019 redeclared as different kind of symbol<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">extern unsigned long totalram_pages;<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">^~~~~~~~~~~~~~<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">In file included from \/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c:42:<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.\/include\/linux\/mm.h:52:29: note: previous definition of \u2018totalram_pages\u2019 was here<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">static inline unsigned long totalram_pages(void)<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">^~~~~~~~~~~~~~<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c: In function \u2018HostIFReadUptimeWork\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c:1787:4: error: implicit declaration of function \u2018do_gettimeofday\u2019; did you mean \u2018do_settimeofday64\u2019? [-Werror=implicit-function-declaration]<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">do_gettimeofday(&amp;tv);<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">^~~~~~~~~~~~~~~<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">do_settimeofday64<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c: In function \u2018HostIF_MapUserMem\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c:3408:40: error: macro \"access_ok\" passed 3 arguments, but takes just 2<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">if (!access_ok(VERIFY_WRITE, p, size)) {<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">^<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c:3408:9: error: \u2018access_ok\u2019 undeclared (first use in this function)<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">if (!access_ok(VERIFY_WRITE, p, size)) {<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">^~~~~~~~~<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c:3408:9: note: each undeclared identifier is reported only once for each function it appears in<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">cc1: some warnings being treated as errors<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[2]: *** [scripts\/Makefile.build:276: \/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.o] Error 1<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[2]: *** Waiting for unfinished jobs....<\/span><\/strong>\r\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.......................\u00a0 etc....<\/span><\/strong><\/pre>\n<p>Fortunately, the patched versions of <strong><span style=\"font-family: Courier New, Courier, monospace;\">vmmon<\/span><\/strong> and <strong><span style=\"font-family: Courier New, Courier, monospace;\">vmnet<\/span><\/strong> at <a href=\"https:\/\/github.com\/mkubecek\/vmware-host-modules\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/mkubecek\/vmware-host-modules<\/a> still fix the problem.<\/p>\n<p><em>Robert Gadsdon.\u00a0 March 16, 2019.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VMware Workstation 15.0.3 has been released, and the details are here: https:\/\/docs.vmware.com\/en\/VMware-Workstation-Pro\/15\/rn\/workstation-1503-release-notes.html Not an impressive effort, as it still fails when compiled with Kernel 5.0, with multiple warnings, and errors (tested with 5.0.2): &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. \/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c: In function \u2018HostIF_EstimateLockedPageLimit\u2019: \/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c:1641:25: error: \u2018totalram_pages\u2019 redeclared as different kind of symbol extern unsigned long totalram_pages; ^~~~~~~~~~~~~~ In file included from \/tmp\/modconfig-32tPYF\/vmmon-only\/linux\/hostif.c:42: <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2522\"><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,14,15,19,1533,25],"tags":[440,2049,271,1415,2048],"class_list":["post-2522","post","type-post","status-publish","format-standard","hentry","category-compilation","category-kernel","category-linux-2","category-opinion","category-patches","category-vmware","tag-compile-fail","tag-kernel-5-0-2","tag-new-release","tag-patches-available","tag-vmware-15-0-3"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2522","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=2522"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2522\/revisions"}],"predecessor-version":[{"id":2526,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2522\/revisions\/2526"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}