{"id":859,"date":"2013-10-02T01:47:03","date_gmt":"2013-10-02T00:47:03","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=859"},"modified":"2013-10-02T01:47:03","modified_gmt":"2013-10-02T00:47:03","slug":"nvidia-we-have-a-problem","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=859","title":{"rendered":"NVIDIA &#8211; We Have a Problem&#8230;"},"content":{"rendered":"<p>After some time, NVIDIA have just released their latest driver &#8211; <strong>319.60<\/strong>.\u00a0 Unfortunately, it fails to compile with the latest kernel &#8211; <strong>3.11.3<\/strong>:<\/p>\n<pre>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/os-interface.c: In function \u2018os_get_system_memory_size':\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/os-interface.c:255:21: \r\nerror: \u2018num_physpages' undeclared (first use in this function)\r\n     return (((NvU64)NV_NUM_PHYSPAGES * PAGE_SIZE) \/ RM_PAGE_SIZE);\r\n                     ^\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/os-interface.c:255:21: \r\nnote: each undeclared identifier is reported only once for each function\r\n it appears in\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/os-interface.c:256:1: warning:\r\ncontrol reaches end of non-void function [-Wreturn-type]\r\n }\r\n ^\r\nmake[4]: *** [\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/os-interface.o] Error 1\r\nmake[3]: *** [_module_\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel] Error 2\r\nmake[2]: *** [sub-make] Error 2\r\nNVIDIA: left KBUILD.\r\nnvidia.ko failed to build!\r\nmake[1]: *** [module] Error 1\r\nmake: *** [install] Error 2<\/pre>\n<p>and&#8230; fails to compile with 3.12-rc3:<\/p>\n<pre>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/nv-drm.c: In function \u2018nv_alloc_os_descriptor_handle\u2019:\r\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/nv-drm.c:204:9: error: void value not ignored as it ought to be\r\n     ret = drm_gem_private_object_init(nvl-&gt;drm, &amp;nv_obj-&gt;base, size);\r\n         ^\r\nmake[4]: *** [\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/nv-drm.o] Error 1\r\nmake[3]: *** [_module_\/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel] Error 2\r\nmake[2]: *** [sub-make] Error 2\r\nNVIDIA: left KBUILD.\r\nnvidia.ko failed to build!\r\nmake[1]: *** [module] Error 1\r\nmake: *** [install] Error 2<\/pre>\n<p>I have a feeling that the compile fail with 3.11.3 may be a genuine bug in the code, as I would find it difficult to imagine that NVIDIA would release a driver that didn&#8217;t support the latest Linux Kernel &#8211; and 3.11.0 was released almost a month ago..\u00a0\u00a0 It would appear that the changes for 3.12 kernels would be more complicated, in any case..<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 October 2, 2013.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After some time, NVIDIA have just released their latest driver &#8211; 319.60.\u00a0 Unfortunately, it fails to compile with the latest kernel &#8211; 3.11.3: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/os-interface.c: In function \u2018os_get_system_memory_size&#8217;: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/os-interface.c:255:21: error: \u2018num_physpages&#8217; undeclared (first use in this function) return (((NvU64)NV_NUM_PHYSPAGES * PAGE_SIZE) \/ RM_PAGE_SIZE); ^ \/home\/rgadsdon\/NVIDIA-Linux-x86_64-319.60\/kernel\/os-interface.c:255:21: note: each undeclared identifier is reported only once for each function it appears <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=859\"><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,14,15,18,19],"tags":[440,627,631],"class_list":["post-859","post","type-post","status-publish","format-standard","hentry","category-compilation","category-kernel","category-linux-2","category-nvidia","category-opinion","tag-compile-fail","tag-kernel-3-11-3","tag-nvidia-319-60"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/859","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=859"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/859\/revisions"}],"predecessor-version":[{"id":860,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/859\/revisions\/860"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}