{"id":2653,"date":"2019-12-08T21:20:09","date_gmt":"2019-12-09T05:20:09","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2653"},"modified":"2019-12-08T21:20:09","modified_gmt":"2019-12-09T05:20:09","slug":"kernel-5-5-rc1-is-out-breaks-nvidia-but-e1000e-finally-fixed","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2653","title":{"rendered":"Kernel &#8211; 5.5-rc1 is Out.  Breaks NVIDIA, but e1000e Finally Fixed?"},"content":{"rendered":"<p>Kernel 5.5-rc1 has been released, and brief details are here:\u00a0 <a href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1912.1\/00242.html\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1912.1\/00242.html<\/a><\/p>\n<p>From limited tests so far, the Intel e1000e driver now seems to be working for <span style=\"text-decoration: underline;\">all<\/span> Intel NICs that use it, on my various systems.<\/p>\n<p><em>Patched<\/em> VMware W\/S <strong>15.5.1<\/strong> compiles OK, but NVIDIA <strong>440.36<\/strong> fails:<\/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;\">In file included from \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36\/kernel\/nvidia-drm\/nvidia-drm-drv.c:30:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36\/kernel\/nvidia-drm\/nvidia-drm-connector.h:30:10: fatal error: drm\/drmP.h: No such file or directory<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">30 | #include &lt;drm\/drmP.h&gt;<\/span><\/strong><\/code><\/p>\n<p>drmP.h has &#8211; finally &#8211; been removed in Kernel 5.5-rc1, but is still included in NV source:<\/p>\n<p><code><strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm]$ grep drmP.h *<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-connector.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-crtc.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-drv.c:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-encoder.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-fb.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-gem.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-helper.c:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-helper.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-modeset.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-os-interface.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-prime-fence.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-priv.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">nvidia-drm-utils.h:#include &lt;drm\/drmP.h&gt;<\/span><\/strong><\/code><\/p>\n<p>Tried a simple fix: removed all references, but then:<\/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;\">CC [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36-55\/kernel\/nvidia-drm\/nvidia-drm.o<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">In file included from \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36-55\/kernel\/nvidia-drm\/nvidia-drm.c:27:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36-55\/kernel\/nvidia-drm\/nvidia-drm-priv.h: In function \u2018to_nv_device\u2019:<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36-55\/kernel\/nvidia-drm\/nvidia-drm-priv.h:114:15: error: dereferencing pointer to incomplete type \u2018struct drm_device\u2019<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">114 | return dev-&gt;dev_private;<\/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;\">make[2]: *** [scripts\/Makefile.build:266: \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36-55\/kernel\/nvidia-drm\/nvidia-drm.o] Error 1<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[1]: *** [Makefile:1692: \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36-55\/kernel] Error 2<\/span><\/strong><br \/>\n<strong><span style=\"font-family: Courier New, Courier, monospace;\">make[1]: Leaving directory '\/usr\/src\/linux-5.5-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>So.. a <span style=\"text-decoration: underline;\">proper<\/span> patch will be needed!<\/p>\n<p><em>Robert Gadsdon\u00a0\u00a0 December 8th, 2019.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 5.5-rc1 has been released, and brief details are here:\u00a0 http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1912.1\/00242.html From limited tests so far, the Intel e1000e driver now seems to be working for all Intel NICs that use it, on my various systems. Patched VMware W\/S 15.5.1 compiles OK, but NVIDIA 440.36 fails: &#8230;&#8230;&#8230;&#8230; In file included from \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36\/kernel\/nvidia-drm\/nvidia-drm-drv.c:30: \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-440.36\/kernel\/nvidia-drm\/nvidia-drm-connector.h:30:10: fatal error: drm\/drmP.h: No <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2653\"><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,1323,14,15,1437,18,19,25],"tags":[2140,2141,2142,2139,2128],"class_list":["post-2653","post","type-post","status-publish","format-standard","hentry","category-compilation","category-intel","category-kernel","category-linux-2","category-network","category-nvidia","category-opinion","category-vmware","tag-breaks-nvidia-440-36","tag-drmp-h-removed","tag-intel-e1000e-ok","tag-kernel-5-5-rc1","tag-patched-vmware-15-5-1-ok"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2653","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=2653"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2653\/revisions"}],"predecessor-version":[{"id":2655,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2653\/revisions\/2655"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}