{"id":3237,"date":"2024-05-27T11:00:28","date_gmt":"2024-05-27T18:00:28","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3237"},"modified":"2024-05-27T11:00:28","modified_gmt":"2024-05-27T18:00:28","slug":"kernel-6-10-rc1-is-out-ok-with-patched-vmware-nvidia-compile-fails","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3237","title":{"rendered":"Kernel &#8211; 6.10-rc1 is out..  OK with Patched VMware, NVIDIA Compile Fails."},"content":{"rendered":"<p>Kernel <strong>6.10-rc1<\/strong> has been released, and brief details are here:\u00a0 <a href=\"https:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2405.3\/01595.html\" target=\"_blank\" rel=\"noopener\">https:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2405.3\/01595.html<\/a><\/p>\n<p>VMware <strong>17.5.2<\/strong> with the interim kernel-6.9 patchset compiles OK, but the latest NVIDIA <strong>555.42.02<\/strong>\u00a0 fails:<br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;<br \/>\n<code><span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/common\/inc\/nv-linux.h: In function \u25a0nv_ioremap_wc\u25a0:<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/common\/inc\/nv-linux.h:544:33: warning: suggest braces around empty body in an \u25a0if\u25a0 statement [-Wempty-body]<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>544 | NV_MEMDBG_ADD(ptr, size);<\/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>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/common\/inc\/nv-linux.h: In function<\/strong><\/span><\/code><code><span style=\"font-family: Courier New, Courier, monospace;\"><strong>nv_vmap\u25a0:<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/common\/inc\/nv-linux.h:670:51: warning: suggest braces around empty body in an \u25a0if\u25a0 statement [-Wempty-body]<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>670 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);<\/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>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/nvidia\/os-mlock.c: In function \u25a0nv_follow_pfn\u25a0:<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/nvidia\/os-mlock.c:42:12: error: implicit declaration of function \u25a0follow_pfn\u25a0; did you mean \u25a0follow_pte\u25a0? [-Wimplicit-function-declaration]<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>42 | return follow_pfn(vma, address, pfn);<\/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>| follow_pte<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[3]: *** [scripts\/Makefile.build:244: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/nvidia\/os-mlock.o] Error 1<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: *** [\/usr\/src\/linux-6.10-rc1\/Makefile:1934: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: *** [Makefile:240: __sub-make] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: Leaving directory '\/usr\/src\/linux-6.10-rc1'<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make: *** [Makefile:89: modules] Error 2 <\/strong><\/span><\/code><\/p>\n<p>It should be noted that the VMware kernel 6.9 patches will need to be revised- even though they appear to work successfully &#8211;\u00a0 as I understand the problem is rather more complex and subtle than it appears.. (see: <a href=\"https:\/\/github.com\/mkubecek\/vmware-host-modules\/issues\/239#issuecomment-2132366980\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/mkubecek\/vmware-host-modules\/issues\/239#issuecomment-2132366980<\/a> )<\/p>\n<p><strong><em>Robert Gadsdon.\u00a0\u00a0\u00a0 May 27th 2024.<\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 6.10-rc1 has been released, and brief details are here:\u00a0 https:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2405.3\/01595.html VMware 17.5.2 with the interim kernel-6.9 patchset compiles OK, but the latest NVIDIA 555.42.02\u00a0 fails: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; \/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/common\/inc\/nv-linux.h: In function \u25a0nv_ioremap_wc\u25a0: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/common\/inc\/nv-linux.h:544:33: warning: suggest braces around empty body in an \u25a0if\u25a0 statement [-Wempty-body] 544 | NV_MEMDBG_ADD(ptr, size); | ^ \/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/common\/inc\/nv-linux.h: In functionnv_vmap\u25a0: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-555.42.02\/kernel\/common\/inc\/nv-linux.h:670:51: warning: suggest braces around <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3237\"><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,25],"tags":[2652,2659,2656,2655,2658,2276,2657],"class_list":["post-3237","post","type-post","status-publish","format-standard","hentry","category-compilation","category-kernel","category-linux-2","category-nvidia","category-vmware","tag-17-5-2","tag-555-42-02","tag-6-10-rc1","tag-new-kernel","tag-new-vmware-patch-needed","tag-nvidia-fails","tag-patched-vmware-compiles-ok"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3237","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=3237"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3237\/revisions"}],"predecessor-version":[{"id":3238,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3237\/revisions\/3238"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}