{"id":3115,"date":"2023-04-30T15:21:44","date_gmt":"2023-04-30T22:21:44","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3115"},"modified":"2023-04-30T15:21:44","modified_gmt":"2023-04-30T22:21:44","slug":"kernel-6-4-rc-pre-release-testing-breaks-nvidia-vmware-ok","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3115","title":{"rendered":"Kernel &#8211; 6.4-rc Pre-release Testing..   Breaks NVIDIA, VMware OK.."},"content":{"rendered":"<p><em>Usual caveat..\u00a0 Not all changes are yet in place, and any code changes are suggestions\/hacks only &#8211; not a expert recommendation!<\/em><\/p>\n<p>Testing an interim release (April 29th) of Kernel 6.4-rc, and NVIDIA <strong>530.41.03<\/strong> fails to compile:<\/p>\n<p><span style=\"font-family: Courier New, Courier, monospace;\"><strong>LD [M] \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-modeset.o<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>CC [M] \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm.o<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>CC [M] \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm-drv.o<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm-drv.c: In function \u2018nv_drm_update_drm_driver_features\u2019:<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm-drv.c:1439:18: error: \u2018struct drm_driver\u2019 has no member named \u2018dumb_destroy\u2019<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>1439 | nv_drm_driver.dumb_destroy = nv_drm_dumb_destroy;<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>| ^<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: *** [scripts\/Makefile.build:252: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm-drv.o] Error 1<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: *** [Makefile:2025: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: Leaving directory &#8216;\/usr\/src\/linux-6.4-rc00&#8217;<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make: *** [Makefile:82: modules] Error 2<\/strong><\/span><\/p>\n<p>This is due to the following change:<br \/>\n<a href=\"https:\/\/www.spinics.net\/lists\/kernel\/msg4768993.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.spinics.net\/lists\/kernel\/msg4768993.html<\/a><br \/>\nChristian K\u00f6nig (9):<br \/>\n&#8230;&#8230;&#8230;<br \/>\ndrm: remove dumb_destroy callback<\/p>\n<p>Kernel Patch:<br \/>\n<a href=\"https:\/\/github.com\/torvalds\/linux\/commit\/96a7b60f6ddb2bc966fac800c1dd18876a6e3c3f\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/torvalds\/linux\/commit\/96a7b60f6ddb2bc966fac800c1dd18876a6e3c3f<\/a><\/p>\n<p>A &#8216;nasty hack&#8217; (<strong><em>see caveat above<\/em><\/strong>) is to just remove (comment out) the reference to <strong><em>nv_drm_driver.dumb_destroy<\/em><\/strong> in <strong>NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm-drv.c<\/strong><br \/>\nThis then compiles OK, and seems to run with no problems (tested on Fedora 38 with KDE, running VMware Win11 guest)<\/p>\n<p><strong>VMware 17.0.2<\/strong> with the patchset from\u00a0 <a href=\"https:\/\/github.com\/mkubecek\/vmware-host-modules\/tree\/workstation-17.0.2\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/mkubecek\/vmware-host-modules\/tree\/workstation-17.0.2<\/a> is OK&#8230;<\/p>\n<p>More changes to come, and hopefully some <span style=\"text-decoration: underline;\">proper<\/span> patches&#8230;.<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 April 30th 2023.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Usual caveat..\u00a0 Not all changes are yet in place, and any code changes are suggestions\/hacks only &#8211; not a expert recommendation! Testing an interim release (April 29th) of Kernel 6.4-rc, and NVIDIA 530.41.03 fails to compile: LD [M] \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-modeset.o CC [M] \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm.o CC [M] \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm-drv.o \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm-drv.c: In function \u2018nv_drm_update_drm_driver_features\u2019: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-530.41.03\/kernel\/nvidia-drm\/nvidia-drm-drv.c:1439:18: error: \u2018struct drm_driver\u2019 has no member named <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3115\"><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":[706,5,6,10,11,14,15,18,19,25],"tags":[2563,2565,2564,2561,277,2562,2566],"class_list":["post-3115","post","type-post","status-publish","format-standard","hentry","category-alpha-release","category-compilation","category-crash-and-burn","category-fedora","category-hacks","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-530-41-03-fails","tag-dumb_destroy","tag-fix-hack","tag-kernel-6-4","tag-nvidia-2","tag-pre-rc-tests","tag-vmware-17-0-2-ok"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3115","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=3115"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3115\/revisions"}],"predecessor-version":[{"id":3116,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3115\/revisions\/3116"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}