{"id":1984,"date":"2017-05-18T23:49:06","date_gmt":"2017-05-19T06:49:06","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1984"},"modified":"2017-05-26T01:38:47","modified_gmt":"2017-05-26T08:38:47","slug":"vmware-12-5-6-released-ok-with-kernel-4-11-still-not-with-4-12","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1984","title":{"rendered":"VMware &#8211; 12.5.6 Released  &#8211; OK with Kernel 4.11, Still Not with 4.12, Breaks F26 Workaround.."},"content":{"rendered":"<p>VMware version <strong>12.5.6<\/strong> is out, and (brief) details are here: <a href=\"http:\/\/pubs.vmware.com\/Release_Notes\/en\/workstation\/12\/workstation-1256-release-notes.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/pubs.vmware.com\/Release_Notes\/en\/workstation\/12\/workstation-1256-release-notes.html<\/a><\/p>\n<p>In the release notes, it would be helpful if a bit more detail than just &#8221; <em><strong>Bug fixes and security updates<\/strong><\/em> &#8221; were given&#8230;<\/p>\n<p>This version now works OK with Kernel 4.11 without any patches (tested with <strong>4.11.1<\/strong>), but still fails (<em><strong>vmmon<\/strong><\/em>) with 4.12 (tested with <strong>4.12-rc1<\/strong>):<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">...............................<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/usr\/lib\/vmware\/modules\/source\/vmmon-only\/.\/include\/pgtbl.h: In function \u2018PgtblPGD2PTELocked\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/usr\/lib\/vmware\/modules\/source\/vmmon-only\/.\/include\/pgtbl.h:125:28: error: passing argument 1 of \u2018pud_offset\u2019 from incompatible pointer type [-Werror=incompatible-pointer-types]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> pud = compat_pud_offset(pgd, addr);<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/usr\/lib\/vmware\/modules\/source\/vmmon-only\/.\/include\/compat_pgtable.h:72:56: note: in definition of macro \u2018compat_pud_offset\u2019<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> # define compat_pud_offset(pgd, address) pud_offset(pgd, address)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^~~<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">In file included from .\/include\/linux\/mm.h:70:0,<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> from \/usr\/lib\/vmware\/modules\/source\/vmmon-only\/.\/include\/compat_page.h:23,<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> from \/usr\/lib\/vmware\/modules\/source\/vmmon-only\/linux\/hostif.c:32:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">.\/arch\/x86\/include\/asm\/pgtable.h:826:22: note: expected \u2018p4d_t * {aka struct &lt;anonymous&gt; *}\u2019 but argument is of type \u2018compat_pgd_t * {aka struct &lt;anonymous&gt; *}\u2019<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> static inline pud_t *pud_offset(p4d_t *p4d, unsigned long address)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^~~~~~~~~~<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">cc1: some warnings being treated as errors<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make[2]: *** [scripts\/Makefile.build:303: \/usr\/lib\/vmware\/modules\/source\/vmmon-only\/linux\/hostif.o] Error 1<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make[1]: *** [Makefile:1512: _module_\/usr\/lib\/vmware\/modules\/source\/vmmon-only] Error 2<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make[1]: Leaving directory '\/usr\/src\/linux-4.12-rc1'<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make: *** [Makefile:120: vmmon.ko] Error 2<\/span><\/strong><\/pre>\n<p>A similar compile failure also occurs with <strong>VirtualBox<\/strong> and Kernel 4.12: <a href=\"https:\/\/www.virtualbox.org\/ticket\/16725\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.virtualbox.org\/ticket\/16725<\/a> , but there is no solution mentioned there &#8211; so far..<\/p>\n<p>The rather messy workarounds are still needed for GCC 7 (Fedora 26 etc.) and details are here: <a href=\"https:\/\/rglinuxtech.com\/?p=1939\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/rglinuxtech.com\/?p=1939<\/a> , but remember that the library version numbers will now be <em>different<\/em> from the examples shown..<\/p>\n<p><strong><em>Update &#8211; May 26:\u00a0 The workaround no longer works with 12.5.6 &#8211; see latest article.. <\/em><\/strong><\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 May 18, 2017.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>VMware version 12.5.6 is out, and (brief) details are here: http:\/\/pubs.vmware.com\/Release_Notes\/en\/workstation\/12\/workstation-1256-release-notes.html In the release notes, it would be helpful if a bit more detail than just &#8221; Bug fixes and security updates &#8221; were given&#8230; This version now works OK with Kernel 4.11 without any patches (tested with 4.11.1), but still fails (vmmon) with 4.12 (tested with <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1984\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[10,14,15,19,1611,25],"tags":[1613,1615,1612,1616,1614,402],"class_list":["post-1984","post","type-post","status-publish","format-standard","hentry","category-fedora","category-kernel","category-linux-2","category-opinion","category-virtualbox","category-vmware","tag-12-5-6","tag-gcc-7-workaround-still-needed","tag-new-version-released","tag-ok-with-kernel-4-11","tag-still-fails-with-4-12","tag-vmware-2"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1984","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1984"}],"version-history":[{"count":4,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1984\/revisions"}],"predecessor-version":[{"id":1991,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1984\/revisions\/1991"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1984"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1984"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}