{"id":3285,"date":"2025-01-27T17:12:32","date_gmt":"2025-01-28T01:12:32","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3285"},"modified":"2025-01-27T17:12:32","modified_gmt":"2025-01-28T01:12:32","slug":"kernel-pre-6-14rc-testing-vmware-ok-and-simple-fix-for-nvidia","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3285","title":{"rendered":"Kernel &#8211; Pre-6.14rc testing &#8211; VMware OK, and Simple Fix for NVIDIA.."},"content":{"rendered":"<p>Kernel 6.14-rc1 will be released soon, and I have been testing the code changes submitted so far (February 26th) with the following results:<\/p>\n<p>VMware 17.6.2 &#8211; including &#8216;clean up&#8217; patchset from <a href=\"https:\/\/github.com\/64kramsystem\/vmware-host-modules-fork\/tree\/workstation-17.6.2-sav\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/64kramsystem\/vmware-host-modules-fork\/tree\/workstation-17.6.2-sav<\/a> &#8211; compiles OK, but with the usual host of &#8216;warnings&#8217;, which seem to be accepted as good-enough these days..<\/p>\n<p>NVIDIA 550.144.03 compile fails with:<br \/>\n<code><strong><span style=\"font-family: Courier New, Courier, monospace;\">.......................<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">LD [M] nvidia-modeset.o<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CC [M] nvidia-drm\/nvidia-drm.o<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CC [M] nvidia-drm\/nvidia-drm-drv.o<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm\/nvidia-drm-drv.c:1733:6: error: \u2018struct drm_driver\u2019 has no member named \u2018date\u2019<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">1733 | .date = \"20160202\",<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| ^~~~<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm\/nvidia-drm-drv.c:1733:31: error: initialization of \u2018unsigned int\u2019 from \u2018char *\u2019 makes integer from pointer without a cast [-Wint-conversion]<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">1733 | .date = \"20160202\",<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| ^~~~~~~~~~<\/span><\/strong><br \/>\n<\/code><br \/>\nThis is due to the change described in <a href=\"https:\/\/www.spinics.net\/lists\/amd-gfx\/msg115263.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.spinics.net\/lists\/amd-gfx\/msg115263.html<\/a> .<br \/>\n<em>[PATCH 2\/2] drm: remove driver date from struct drm_driver and all drivers<\/em><br \/>\n<em>&#8212; remove the unused date member from struct drm_driver<\/em><\/p>\n<p>As this simply removes the &#8216;date&#8217; parameter, then do the same to the NVIDIA code, by commenting out that parameter:<\/p>\n<p><strong><span style=\"font-family: Courier New, Courier, monospace;\">NVIDIA-Linux-x86_64-550.144.03\/kernel\/nvidia-drm\/nvidia-drm-drv.c<\/span><\/strong><br \/>\naround line 1730&#8230;.<br \/>\n<code><span style=\"font-family: Courier New, Courier, monospace;\"><strong>...........................................<\/strong><\/span><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">#if defined(NV_DRM_BUS_PRESENT)<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.bus = &amp;nv_drm_bus,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">#endif<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.name = \"nvidia-drm\",<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.desc = \"NVIDIA DRM driver\",<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/* 'date' removed in 6.14.. https:\/\/www.spinics.net\/lists\/amd-gfx\/msg115263.html<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.date = \"20160202\",*\/<\/span><\/strong><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\">......................................<\/span><\/code><\/p>\n<p>&#8211; and then the driver compiles etc. OK..<\/p>\n<p>Obviously there are more changes to come, so more fixes may be necessary&#8230;&#8230;..<\/p>\n<p><em><strong>Robert Gadsdon.\u00a0 January 27th 2025.<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 6.14-rc1 will be released soon, and I have been testing the code changes submitted so far (February 26th) with the following results: VMware 17.6.2 &#8211; including &#8216;clean up&#8217; patchset from https:\/\/github.com\/64kramsystem\/vmware-host-modules-fork\/tree\/workstation-17.6.2-sav &#8211; compiles OK, but with the usual host of &#8216;warnings&#8217;, which seem to be accepted as good-enough these days.. NVIDIA 550.144.03 compile fails with: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.. <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3285\"><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,11,14,15,18,19],"tags":[2705,2704,281,2707,2706,407],"class_list":["post-3285","post","type-post","status-publish","format-standard","hentry","category-compilation","category-hacks","category-kernel","category-linux-2","category-nvidia","category-opinion","tag-date-parameter","tag-kernel-6-14-pre-test","tag-nvidia-fix","tag-nvidia-drm-drv-c","tag-removed","tag-vmware-ok"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3285","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=3285"}],"version-history":[{"count":4,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3285\/revisions"}],"predecessor-version":[{"id":3289,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3285\/revisions\/3289"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3285"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}