{"id":2799,"date":"2020-08-16T17:36:05","date_gmt":"2020-08-17T00:36:05","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2799"},"modified":"2020-08-16T17:36:05","modified_gmt":"2020-08-17T00:36:05","slug":"kernel-5-9-rc1-released-vmware-still-broken-nvidia-compile-fails","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2799","title":{"rendered":"Kernel &#8211; 5.9-rc1 Released &#8211; VMware Still Broken.. NVIDIA Compile Fails.."},"content":{"rendered":"<p>Kernel <strong>5.9-rc1<\/strong> is out, and brief details are here: <a href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2008.2\/00223.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2008.2\/00223.html<\/a><\/p>\n<p>As expected, VMware is still broken, and fails\/reboots when a VM start is attempted.<\/p>\n<p>Vmnet, with the latest patch, compiles OK, and there is a patch for vmmon and Kernel 5.9 available, for the Workstation 16 early-release, here:<br \/>\n<a href=\"https:\/\/github.com\/mkubecek\/vmware-host-modules\/tree\/tmp\/workstation-16\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/mkubecek\/vmware-host-modules\/tree\/tmp\/workstation-16<\/a><\/p>\n<p>With regard to NVIDIA, the interim patch for 5.9-rc1(pre) from a week ago no longer works:<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">.....................<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CONFTEST: drm_alpha_blending_available<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">CC [M] \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.o<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:21,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-mm.h: In function \u2018NV_GET_USER_PAGES_REMOTE\u2019:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-mm.h:149:45: error: passing argument 1 of \u2018get_user_pages_remote\u2019 from incompatible pointer type [-Werror=incompatible-pointer-types]<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,<\/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;\">| |<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| struct task_struct *<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-pgprot.h:17,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:20,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.\/include\/linux\/mm.h:1707:46: note: expected \u2018struct mm_struct *\u2019 but argument is of type \u2018struct task_struct *\u2019<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">1707 | long get_user_pages_remote(struct mm_struct *mm,<\/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;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:21,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-mm.h:149:50: warning: passing argument 2 of \u2018get_user_pages_remote\u2019 makes integer from pointer without a cast [-Wint-conversion]<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,<\/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;\">| |<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| struct mm_struct *<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-pgprot.h:17,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:20,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.\/include\/linux\/mm.h:1708:22: note: expected \u2018long unsigned int\u2019 but argument is of type \u2018struct mm_struct *\u2019<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">1708 | unsigned long start, unsigned long nr_pages,<\/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;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:21,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-mm.h:149:71: warning: passing argument 5 of \u2018get_user_pages_remote\u2019 makes pointer from integer without a cast [-Wint-conversion]<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">149 | return get_user_pages_remote(tsk, mm, start, nr_pages, flags,<\/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;\">| |<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| unsigned int<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-pgprot.h:17,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:20,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.\/include\/linux\/mm.h:1709:46: note: expected \u2018struct page **\u2019 but argument is of type \u2018unsigned int\u2019<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">1709 | unsigned int gup_flags, struct page **pages,<\/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;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:21,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-mm.h:150:45: error: passing argument 6 of \u2018get_user_pages_remote\u2019 from incompatible pointer type [-Werror=incompatible-pointer-types]<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">150 | pages, vmas);<\/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;\">| |<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| struct page **<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-pgprot.h:17,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:20,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.\/include\/linux\/mm.h:1710:32: note: expected \u2018struct vm_area_struct **\u2019 but argument is of type \u2018struct page **\u2019<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">1710 | struct vm_area_struct **vmas, int *locked);<\/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;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:21,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-mm.h:150:52: error: passing argument 7 of \u2018get_user_pages_remote\u2019 from incompatible pointer type [-Werror=incompatible-pointer-types]<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">150 | pages, vmas);<\/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;\">| |<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">| struct vm_area_struct **<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">In file included from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-pgprot.h:17,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/common\/inc\/nv-linux.h:20,<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">from \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.c:13:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">.\/include\/linux\/mm.h:1710:43: note: expected \u2018int *\u2019 but argument is of type \u2018struct vm_area_struct **\u2019<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">1710 | struct vm_area_struct **vmas, int *locked);<\/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;\">cc1: some warnings being treated as errors<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[2]: *** [scripts\/Makefile.build:283: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel\/nvidia\/nv-frontend.o] Error 1<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[1]: *** [Makefile:1789: \/home\/rgadsdon\/NVIDIA-Linux-x86_64-450.57\/kernel] Error 2<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[1]: Leaving directory '\/usr\/src\/linux-5.9-rc1'<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make: *** [Makefile:81: modules] Error 2<\/span><\/strong><\/code><\/p>\n<p>The VMware issues can only be fixed by VMware themselves, and it would seem that the fix may possibly only be available for Workstation 16, when that is released..?<\/p>\n<p><em>Robert Gadsdon. August 16th 2020<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 5.9-rc1 is out, and brief details are here: http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/2008.2\/00223.html As expected, VMware is still broken, and fails\/reboots when a VM start is attempted. Vmnet, with the latest patch, compiles OK, and there is a patch for vmmon and Kernel 5.9 available, for the Workstation 16 early-release, here: https:\/\/github.com\/mkubecek\/vmware-host-modules\/tree\/tmp\/workstation-16 With regard to NVIDIA, the interim patch for <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2799\"><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":[6,14,15,18,19,25],"tags":[2280,1305,2282,2281],"class_list":["post-2799","post","type-post","status-publish","format-standard","hentry","category-crash-and-burn","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-kernel-5-9-rc1","tag-nvidia-compile-fails","tag-vmmon-vmnet-patches-available","tag-vmware-still-broken"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2799","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=2799"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2799\/revisions"}],"predecessor-version":[{"id":2801,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2799\/revisions\/2801"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2799"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2799"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2799"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}