{"id":3205,"date":"2024-01-15T15:42:07","date_gmt":"2024-01-15T23:42:07","guid":{"rendered":"https:\/\/rglinuxtech.com\/?p=3205"},"modified":"2024-01-15T15:42:07","modified_gmt":"2024-01-15T23:42:07","slug":"kernel-6-8-pre-testing-breaks-nvidia-and-vmware-vmware-fix-available","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=3205","title":{"rendered":"Kernel &#8211; 6.8 Pre-testing &#8211; Breaks NVIDIA and VMware &#8211; VMware fix available.."},"content":{"rendered":"<p>As kernel 6.8-rc1 is due in about a weeks time, I tested the <em>Jan 14th<\/em> version from Git, and both the latest NVIDIA 545.29.06 and VMware 17.5.0 failed..<\/p>\n<p><strong>NVIDIA:<\/strong><\/p>\n<p>Multiple occurrences of &#8216;<span style=\"font-family: Courier New, Courier, monospace;\"><strong>warning: no previous prototype<\/strong><\/span>&#8216; and then:<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">................<\/span><\/strong><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-545.29.06\/kernel\/nvidia-drm\/nvidia-drm-drv.c:64:<\/strong><\/span><span style=\"font-family: Courier New, Courier, monospace;\"><strong><br \/>\n\/home\/rgadsdon\/NVIDIA-Linux-x86_64-545.29.06\/kernel\/nvidia-drm\/nvidia-drm-drv.c:1489:40: error: \u2018DRM_UNLOCKED\u2019 undeclared here (not in a function); did you mean \u2018VM_LOCKED\u2019?<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>1489 | DRM_RENDER_ALLOW|DRM_UNLOCKED),<\/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>.\/include\/drm\/drm_ioctl.h:155:26: note: in definition of macro \u2018DRM_IOCTL_DEF_DRV\u2019<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>155 | .flags = _flags, \\<\/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[3]: *** [scripts\/Makefile.build:243: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-545.29.06\/kernel\/nvidia-drm\/nvidia-drm-drv.o] Error 1<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[2]: *** [\/usr\/src\/linux-6.8-rc00\/Makefile:1912: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-545.29.06\/kernel] Error 2<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make[1]: *** [Makefile:234: __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.8-rc00'<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>make: *** [Makefile:82: modules] Error 2 <\/strong><\/span><\/code><\/p>\n<p>Making the suggested replacement results in a successful compile, but (not surprisingly!) the resulting code fails to run..<\/p>\n<p><strong>VMware:<\/strong><\/p>\n<p>Has a similar rash of &#8216;<span style=\"font-family: Courier New, Courier, monospace;\"><strong>warning: no previous prototype<\/strong><\/span>&#8216; messages, and then:<\/p>\n<p><code><span style=\"font-family: Courier New, Courier, monospace;\"><strong>.........................<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>In file included from \/tmp\/modconfig-aLYvSn\/vmmon-only\/common\/vmx86.c:52:<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>.\/arch\/x86\/include\/asm\/timex.h: In function \u2018random_get_entropy\u2019:<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>.\/arch\/x86\/include\/asm\/timex.h:12:24: error: implicit declaration of function \u2018random_get_entropy_fallback\u2019; did you mean \u2018random_get_entropy\u2019? [-Werror=implicit-function-declaration]<\/strong><\/span><br \/>\n<span style=\"font-family: Courier New, Courier, monospace;\"><strong>12 | return random_get_entropy_fallback();<\/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>| random_get_entropy <\/strong><\/span><\/code><br \/>\n&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;..<\/p>\n<p>Fortunately, there is already a fix for this, at:<br \/>\n<a href=\"https:\/\/github.com\/mkubecek\/vmware-host-modules\/tree\/tmp\/workstation-17.5.0-k6.8\" target=\"_blank\" rel=\"noopener\">https:\/\/github.com\/mkubecek\/vmware-host-modules\/tree\/tmp\/workstation-17.5.0-k6.8<\/a><\/p>\n<p>I have tested this, and it fixes the problem with the current version of the kernel code&#8230;.<\/p>\n<p><strong><em>Robert Gadsdon.\u00a0\u00a0\u00a0 January 15th 2024.<\/em><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>As kernel 6.8-rc1 is due in about a weeks time, I tested the Jan 14th version from Git, and both the latest NVIDIA 545.29.06 and VMware 17.5.0 failed.. NVIDIA: Multiple occurrences of &#8216;warning: no previous prototype&#8216; and then: &#8230;&#8230;&#8230;&#8230;&#8230;. In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-545.29.06\/kernel\/nvidia-drm\/nvidia-drm-drv.c:64: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-545.29.06\/kernel\/nvidia-drm\/nvidia-drm-drv.c:1489:40: error: \u2018DRM_UNLOCKED\u2019 undeclared here (not in a function); did you mean \u2018VM_LOCKED\u2019? <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=3205\"><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,1238,14,15,18,19,25],"tags":[2630,2629,2522,2470],"class_list":["post-3205","post","type-post","status-publish","format-standard","hentry","category-alpha-release","category-compilation","category-fix","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-breaks-latest-nvidia-and-vmware","tag-kernel-6-8","tag-pre-testing","tag-vmware-fix-available"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3205","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=3205"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3205\/revisions"}],"predecessor-version":[{"id":3207,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/3205\/revisions\/3207"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3205"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}