{"id":1207,"date":"2014-10-20T18:21:13","date_gmt":"2014-10-20T17:21:13","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1207"},"modified":"2014-10-20T18:21:13","modified_gmt":"2014-10-20T17:21:13","slug":"kernel-3-18-rc1-vmware-ok-nvidia-not","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1207","title":{"rendered":"Kernel 3.18-rc1 &#8211; VMware OK, NVIDIA Not.."},"content":{"rendered":"<p>Just installed Kernel <strong>3.18-rc1<\/strong> &#8211; released earlier than originally planned &#8211; on the test system:<\/p>\n<pre><strong>$ <\/strong>uname -a\r\n<strong>Linux rg6830l 3.18.0-rc1 #1 SMP PREEMPT Mon Oct 20 10:23:13 PDT 2014 x86_64 x86_64 x86_64 GNU\/Linux<\/strong><\/pre>\n<p>Brief details are here:\u00a0 <a title=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1410.2\/01595.html\" href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1410.2\/01595.html\" target=\"_blank\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1410.2\/01595.html<\/a><\/p>\n<p>VMware <strong>10.0.3<\/strong> (with the <strong>vmnet<\/strong> patch..) installs and runs OK, but the latest current NVIDIA (<strong>340.46<\/strong>) fails to compile:<\/p>\n<pre>...................\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c:78:99: warning: (near initialization for \u2018nv_obj\u2019) [enabled by default]\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c:79:25: error: dereferencing pointer to incomplete type\r\n int page_count = obj-&gt;size &gt;&gt; PAGE_SHIFT;\r\n ^\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c: In function \u2018nv_gem_prime_vmap\u2019:\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c:88:99: warning: initialization from incompatible pointer type [enabled by default]\r\n struct nv_gem_object *nv_obj = container_of(obj, struct nv_gem_object, base);\r\n ^\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c:88:99: warning: (near initialization for \u2018nv_obj\u2019) [enabled by default]\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c:89:25: error: dereferencing pointer to incomplete type\r\n int page_count = obj-&gt;size &gt;&gt; PAGE_SHIFT;\r\n ^\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c: At top level:\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c:107:13: error: \u2018drm_gem_mmap\u2019 undeclared here (not in a function)\r\n .mmap = drm_gem_mmap,\r\n ^\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c: In function \u2018nv_alloc_os_descriptor_handle\u2019:\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c:204:5: error: implicit declaration of function \u2018drm_gem_private_object_init\u2019 [-Werror=implicit-function-declaration]\r\n drm_gem_private_object_init(nvl-&gt;drm, &amp;nv_obj-&gt;base, size);\r\n ^\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c:206:5: error: implicit declaration of function \u2018drm_gem_handle_create\u2019 [-Werror=implicit-function-declaration]\r\n ret = drm_gem_handle_create(file_priv, &amp;nv_obj-&gt;base, handle);\r\n ^\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.c:213:5: error: implicit declaration of function \u2018drm_gem_object_unreference_unlocked\u2019 [-Werror=implicit-function-declaration]\r\n drm_gem_object_unreference_unlocked(&amp;nv_obj-&gt;base);\r\n ^\r\ncc1: some warnings being treated as errors\r\nmake[3]: *** [\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel\/nv-drm.o] Error 1\r\nmake[2]: *** [_module_\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.46\/kernel] Error 2\r\nmake[2]: Leaving directory `\/usr\/src\/linux-3.18-rc1'\r\nmake[1]: *** [sub-make] Error 2\r\nmake[1]: Leaving directory `\/usr\/src\/linux-3.18-rc1'\r\nNVIDIA: left KBUILD.\r\nnvidia.ko failed to build!\r\nmake: *** [nvidia.ko] Error 1<\/pre>\n<p>More research needed&#8230;.<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 October 20, 2014..<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just installed Kernel 3.18-rc1 &#8211; released earlier than originally planned &#8211; on the test system: $ uname -a Linux rg6830l 3.18.0-rc1 #1 SMP PREEMPT Mon Oct 20 10:23:13 PDT 2014 x86_64 x86_64 x86_64 GNU\/Linux Brief details are here:\u00a0 http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1410.2\/01595.html VMware 10.0.3 (with the vmnet patch..) installs and runs OK, but the latest current NVIDIA (340.46) fails to <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1207\"><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":[5,11,14,15,18,19,25],"tags":[922,924,923],"class_list":["post-1207","post","type-post","status-publish","format-standard","hentry","category-compilation","category-hacks","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-kernel-3-18-rc1","tag-nvidia-340-46-compile-fail","tag-vmware-10-0-3-patched-ok"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1207","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=1207"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1207\/revisions"}],"predecessor-version":[{"id":1208,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1207\/revisions\/1208"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}