{"id":3273,"date":"2024-12-04T14:59:36","date_gmt":"2024-12-04T22:59:36","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3273"},"modified":"2024-12-04T14:59:36","modified_gmt":"2024-12-04T22:59:36","slug":"kernel-6-13-rc1-released-vmware-ok-nvidia-fails-and-fix","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3273","title":{"rendered":"Kernel &#8211; 6.13-rc1 Released, VMware OK, NVIDIA Fails &#8211; and Fix.."},"content":{"rendered":"<p>Kernel <strong>6.13-rc1<\/strong> is out, and brief details are here:\u00a0\u00a0<a href=\"https:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2412.0\/00203.html\" target=\"_blank\" rel=\"noopener\"> https:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2412.0\/00203.html<\/a><\/p>\n<p>VMware <strong>17.6.1<\/strong> compiles OK, with patches from here: <a href=\"https:\/\/aur.archlinux.org\/cgit\/aur.git\/tree\/?h=vmware-workstation\" target=\"_blank\" rel=\"noopener\">https:\/\/aur.archlinux.org\/cgit\/aur.git\/tree\/?h=vmware-workstation \u00a0<\/a>There are now multiple patchsets available&#8230;<\/p>\n<p>NVIDIA <strong>550.35<\/strong> throws an odd error, and compile\/load fails:<code><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>.....<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>SYMLINK nvidia\/nv-kernel.o<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>LD [M] nvidia.o<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>ld: cannot find .\/nvidia\/nv-kernel.o: No such file or directory<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[4]: *** [\/usr\/src\/linux-6.13-rc1\/scripts\/Makefile.build:387: nvidia.o] Error 1<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[3]: *** [\/usr\/src\/linux-6.13-rc1\/Makefile:1989: .] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: *** [\/usr\/src\/linux-6.13-rc1\/Makefile:251: __sub-make] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: Leaving directory '\/home\/rgadsdon\/NVIDIA-Linux-x86_64-550.135\/kernel'<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: *** [Makefile:251: __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.13-rc1'<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make: *** [Makefile:115: modules] Error 2<\/strong><\/span><br \/>\n<\/code><br \/>\nand then: <code><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>...........<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>LD [M] nvidia-modeset.o<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>ld: cannot find .\/nvidia-modeset\/nv-modeset-kernel.o: No such file or directory<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[4]: *** [\/usr\/src\/linux-6.13-rc1\/scripts\/Makefile.build:387: nvidia-modeset.o] Error 1<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[3]: *** [\/usr\/src\/linux-6.13-rc1\/Makefile:1989: .] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: *** [\/usr\/src\/linux-6.13-rc1\/Makefile:251: __sub-make] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: Leaving directory '\/home\/rgadsdon\/NVIDIA-Linux-x86_64-550.135\/kernel'<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: *** [Makefile:251: __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.13-rc1'<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make: *** [Makefile:115: modules] Error 2<\/strong><\/span><br \/>\n<\/code><\/p>\n<p>These are due to the (incorrect??) handling of symlink creation, which has changed due to Kbuild updates in 6.13-rc1..<br \/>\nDetails here:\u00a0 <a href=\"https:\/\/github.com\/NVIDIA\/open-gpu-kernel-modules\/issues\/747\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/NVIDIA\/open-gpu-kernel-modules\/issues\/747<\/a><br \/>\nThere is a patch available, for an older version of the driver, at:\u00a0 <a href=\"https:\/\/gist.github.com\/joanbm\/d1f89391a4b20f4b56ba931ef6ca62da\" target=\"_blank\" rel=\"noopener\">https:\/\/gist.github.com\/joanbm\/d1f89391a4b20f4b56ba931ef6ca62da<\/a> and thanks are due to <span class=\"p-name vcard-fullname d-block overflow-hidden\">Joan Bruguera (<strong><em>joanbm<\/em><\/strong>) for creating the fix..<br \/>\n<\/span>I have modified this for <strong>550.135<\/strong>, and this now compiles and runs successfully..\u00a0\u00a0 The patched code also works with Kernel 6.12\u00a0 and the previous version of Kbuild (tested with 6.12.1)<\/p>\n<p>There is another &#8211; frustrating &#8211; issue with Kernel 6.11 and later, and NVIDIA drivers, which affects only-custom compiled kernels such as mine, but I will document this separately, as it does not affect distro-supplied kernels (with &#8216;everything&#8217; selected)..<\/p>\n<p><em><strong>Robert Gadsdon.\u00a0\u00a0\u00a0 December 4th 2024.<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 6.13-rc1 is out, and brief details are here:\u00a0\u00a0 https:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2412.0\/00203.html VMware 17.6.1 compiles OK, with patches from here: https:\/\/aur.archlinux.org\/cgit\/aur.git\/tree\/?h=vmware-workstation \u00a0There are now multiple patchsets available&#8230; NVIDIA 550.35 throws an odd error, and compile\/load fails: &#8230;.. SYMLINK nvidia\/nv-kernel.o LD [M] nvidia.o ld: cannot find .\/nvidia\/nv-kernel.o: No such file or directory make[4]: *** [\/usr\/src\/linux-6.13-rc1\/scripts\/Makefile.build:387: nvidia.o] Error 1 make[3]: *** <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3273\"><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,25],"tags":[1021,2693,2695,2696,2694],"class_list":["post-3273","post","type-post","status-publish","format-standard","hentry","category-compilation","category-hacks","category-kernel","category-linux-2","category-nvidia","category-vmware","tag-fix-available","tag-kernel-6-13-rc1","tag-nvidia-550-135-fails","tag-symlink","tag-vmware-17-6-1-ok"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3273","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=3273"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3273\/revisions"}],"predecessor-version":[{"id":3275,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3273\/revisions\/3275"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}