{"id":2129,"date":"2017-11-26T21:28:24","date_gmt":"2017-11-27T05:28:24","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2129"},"modified":"2017-11-26T21:28:24","modified_gmt":"2017-11-27T05:28:24","slug":"kernel-4-15-rc1-is-out-breaks-vmware-and-nvidia","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2129","title":{"rendered":"Kernel &#8211; 4.15-rc1 is Out &#8211; Breaks VMware and NVIDIA&#8230;"},"content":{"rendered":"<p>Kernel <strong>4.15-rc1<\/strong> has been released, and brief details are here:\u00a0 <a href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1711.3\/00971.html\" target=\"_blank\" rel=\"noopener\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1711.3\/00971.html<\/a><\/p>\n<p>With VMware <strong>14.0.0<\/strong> &#8211; plus the <em>4.14 vmmon <\/em>patch &#8211; vmmon breaks again:<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">...........................<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c: In function \u2018LinuxDriverInitTSCkHz\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c:254:22: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> tscTimer.function = LinuxDriverEstimateTSCkHzDeferred;<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c:256:12: error: \u2018struct timer_list\u2019 has no member named \u2018data\u2019<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> tscTimer.data = 0;<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c: In function \u2018init_module\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c:338:4: error: implicit declaration of function \u2018init_timer\u2019; did you mean \u2018init_timers\u2019? [-Werror=implicit-function-declaration]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> init_timer(&amp;tscTimer);<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^~~~~~~~~~<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> init_timers<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">At top level:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c:981:1: warning: always_inline function might not be inlinable [-Wattributes]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> LinuxDriverSyncReadTSCs(uint64 *delta) \/\/ OUT: TSC max - TSC min<\/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:310: \/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.o] Error 1<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make[2]: *** Waiting for unfinished jobs....<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/hostif.c: In function \u2018HostIF_InitUptime\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/hostif.c:1779:4: error: implicit declaration of function \u2018init_timer\u2019; did you mean \u2018init_timers\u2019? [-Werror=implicit-function-declaration]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> init_timer(&amp;uptimeState.timer);<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^~~~~~~~~~<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> init_timers<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/hostif.c:1780:31: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> uptimeState.timer.function = HostIFUptimeResyncMono;<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">................................<\/span><\/strong><\/pre>\n<p>NVIDIA <strong>387.34<\/strong> also fails to compile:<\/p>\n<pre><span style=\"font-family: courier new,courier;\"><strong>.............<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>CONFTEST: is_export_symbol_gpl_refcount_dec_and_test<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> CC [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-387.34\/kernel\/nvidia\/nv-gpu-numa.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> CC [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-387.34\/kernel\/nvidia\/nv.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-387.34\/kernel\/nvidia\/nv.c: In function \u2018nv_start_rc_timer\u2019:<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-387.34\/kernel\/nvidia\/nv.c:3389:5: error: implicit declaration of function \u2018init_timer\u2019; did you mean \u2018init_timers\u2019? [-Werror=implicit-function-declaration]<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> init_timer(&amp;nvl-&gt;rc_timer);<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> ^~~~~~~~~~<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> init_timers<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-387.34\/kernel\/nvidia\/nv.c:3390:28: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types]<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> nvl-&gt;rc_timer.function = nvidia_rc_timer;<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> ^<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-387.34\/kernel\/nvidia\/nv.c:3391:18: error: \u2018struct timer_list\u2019 has no member named \u2018data\u2019<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> nvl-&gt;rc_timer.data = (unsigned long) nvl;<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> ^<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>cc1: some warnings being treated as errors<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[3]: *** [\/usr\/src\/linux-4.15-rc1\/scripts\/Makefile.build:311: \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-387.34\/kernel\/nvidia\/nv.o] Error 1<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[2]: *** [\/usr\/src\/linux-4.15-rc1\/Makefile:1502: _module_\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-387.34\/kernel] Error 2<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[2]: Leaving directory '\/usr\/src\/linux-4.15-rc1'<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[1]: *** [Makefile:146: sub-make] Error 2<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[1]: Leaving directory '\/usr\/src\/linux-4.15-rc1'<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make: *** [Makefile:84: modules] Error 2<\/strong><\/span><\/pre>\n<p>More research needed, but no fixes found &#8211; so far..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 November 26, 2017.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 4.15-rc1 has been released, and brief details are here:\u00a0 http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1711.3\/00971.html With VMware 14.0.0 &#8211; plus the 4.14 vmmon patch &#8211; vmmon breaks again: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; \/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c: In function \u2018LinuxDriverInitTSCkHz\u2019: \/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c:254:22: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] tscTimer.function = LinuxDriverEstimateTSCkHzDeferred; ^ \/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c:256:12: error: \u2018struct timer_list\u2019 has no member named \u2018data\u2019 tscTimer.data = 0; ^ \/tmp\/modconfig-hOVOTM\/vmmon-only\/linux\/driver.c: In function <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2129\"><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":[14,15,18,19,25],"tags":[969,1757,1758,507,1724],"class_list":["post-2129","post","type-post","status-publish","format-standard","hentry","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-compile-fails","tag-kernel-4-15-rc1","tag-nvidia-387-34","tag-released","tag-vmware-14"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2129","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=2129"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2129\/revisions"}],"predecessor-version":[{"id":2131,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2129\/revisions\/2131"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}