{"id":2888,"date":"2021-02-28T22:01:33","date_gmt":"2021-03-01T06:01:33","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2888"},"modified":"2021-02-28T22:01:33","modified_gmt":"2021-03-01T06:01:33","slug":"kernel-5-12-rc1-is-out-ok-with-patched-vmware-nvidia-fails","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2888","title":{"rendered":"Kernel &#8211; 5.12-rc1 is Out.  OK with Patched VMware, NVIDIA fails.."},"content":{"rendered":"<p>Kernel <strong>5.12-rc1<\/strong> has been released, and brief details are here:\u00a0\u00a0 <a href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2102.3\/03831.html\" target=\"_blank\" rel=\"noopener\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2102.3\/03831.html<\/a><\/p>\n<p>Patched VMware 16.1.0 compiles and loads OK, but latest NVIDIA (<strong>460.56<\/strong>) compile fails:<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">............................<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/NVIDIA-Linux-x86_64-460.56\/kernel\/nvidia-drm\/nvidia-drm-drv.c: In function \u2018nv_drm_update_drm_driver_features\u2019:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/NVIDIA-Linux-x86_64-460.56\/kernel\/nvidia-drm\/nvidia-drm-drv.c:822:38: error: \u2018drm_gem_dumb_destroy\u2019 undeclared (first use in this function); did you mean \u2018drm_mode_destroy\u2019?<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">822 | nv_drm_driver.dumb_destroy = drm_gem_dumb_destroy;<\/span><\/strong><strong><span style=\"font-family: Courier New, Courier, monospace;\"><br \/>\n<\/span><\/strong><\/code><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 | ^~~~~~~~~~~~~~~~~~~~<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| drm_mode_destroy<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/NVIDIA-Linux-x86_64-460.56\/kernel\/nvidia-drm\/nvidia-drm-drv.c:822:38: note: each undeclared identifier is reported only once for each function it appears in<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[2]: *** [scripts\/Makefile.build:271: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-460.56\/kernel\/nvidia-drm\/nvidia-drm-drv.o] Error 1<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[1]: *** [Makefile:1849: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-460.56\/kernel] Error 2<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[1]: Leaving directory '\/usr\/src\/linux-5.12-rc1'<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make: *** [Makefile:80: modules] Error 2<\/span><\/strong><\/code><\/p>\n<p>This is due to changes shown here:\u00a0 https:\/\/www.spinics.net\/lists\/dri-devel\/msg283601.html\u00a0\u00a0\u00a0 The assumption was that the <strong><span style=\"font-family: Courier New, Courier, monospace;\">drm_gem_dumb_destroy()<\/span><\/strong> function was no longer used, but it was &#8211; by NVIDIA&#8230;<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0\u00a0 February 28th 2021.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 5.12-rc1 has been released, and brief details are here:\u00a0\u00a0 http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2102.3\/03831.html Patched VMware 16.1.0 compiles and loads OK, but latest NVIDIA (460.56) compile fails: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. \/home\/rgadsdon\/NVIDIA-Linux-x86_64-460.56\/kernel\/nvidia-drm\/nvidia-drm-drv.c: In function \u2018nv_drm_update_drm_driver_features\u2019: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-460.56\/kernel\/nvidia-drm\/nvidia-drm-drv.c:822:38: error: \u2018drm_gem_dumb_destroy\u2019 undeclared (first use in this function); did you mean \u2018drm_mode_destroy\u2019? 822 | nv_drm_driver.dumb_destroy = drm_gem_dumb_destroy; \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 | ^~~~~~~~~~~~~~~~~~~~ | drm_mode_destroy \/home\/rgadsdon\/NVIDIA-Linux-x86_64-460.56\/kernel\/nvidia-drm\/nvidia-drm-drv.c:822:38: note: each undeclared identifier <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2888\"><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,18,19,25],"tags":[2369,2367,2368,2350,507],"class_list":["post-2888","post","type-post","status-publish","format-standard","hentry","category-compilation","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-drm_gem_dumb_destroy","tag-kernel-5-12-rc1","tag-nvidia-460-56-compile-fail","tag-patched-vmware-16-1-0-ok","tag-released"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2888","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=2888"}],"version-history":[{"count":3,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2888\/revisions"}],"predecessor-version":[{"id":2891,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2888\/revisions\/2891"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2888"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2888"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}