{"id":2168,"date":"2017-12-27T20:21:05","date_gmt":"2017-12-28T04:21:05","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2168"},"modified":"2017-12-27T20:21:05","modified_gmt":"2017-12-28T04:21:05","slug":"kernel-4-14-9-nvidia-saga-simple-patch-or-wait-for-4-14-10","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2168","title":{"rendered":"Kernel &#8211; 4.14.9 NVIDIA Saga &#8211; Simple Patch, or Wait for 4.14.10..?"},"content":{"rendered":"<p>More on the Kernel 4.14.9 NVIDIA breakage..\u00a0\u00a0\u00a0\u00a0 Basically, code that should have only gone into 4.15-rc found its way into 4.14.9 &#8211; which is why the existing 4.15 NVIDIA patch fixed it..\u00a0\u00a0\u00a0\u00a0 Thanks to <strong><em>dinosaur_<\/em><\/strong> on the NVIDIA forum, there is a simpler patch available:\u00a0 <a href=\"https:\/\/devtalk.nvidia.com\/default\/topic\/1028016\/linux\/patch-for-compiling-v384-98-modules-with-linux-v4-14-9-\/\" target=\"_blank\" rel=\"noopener\">https:\/\/devtalk.nvidia.com\/default\/topic\/1028016\/linux\/patch-for-compiling-v384-98-modules-with-linux-v4-14-9-\/<\/a><\/p>\n<p>There is also a 4.14.10-rc1 patch which is supposed to revert some of the offending changes, at <a href=\"https:\/\/www.kernel.org\/pub\/linux\/kernel\/v4.x\/stable-review\/patch-4.1.10-rc1.xz\" target=\"_blank\" rel=\"noopener\">https:\/\/www.kernel.org\/pub\/linux\/kernel\/v4.x\/stable-review\/patch-4.1.10-rc1.xz<\/a> but this is <span style=\"text-decoration: underline;\">not<\/span> recommended, for the simple reasons that a) it fails (<strong><span style=\"font-family: courier new,courier;\">..<\/span><\/strong><i><strong><span style=\"font-family: courier new,courier;\">make[2]: execvp: .\/sync-check.sh: Permission denied<\/span><\/strong> ) <\/i>and even when this is fixed (make <strong><span style=\"font-family: courier new,courier;\">sync-check.sh<\/span><\/strong> executable..), then b) the resulting kernel &#8216;4.14.10-rc1&#8217; does not fix the NVIDIA problem!\u00a0\u00a0\u00a0 Apparently the changes were actually supposed to be applied via <strong>git<\/strong>:\u00a0 <a href=\"https:\/\/www.spinics.net\/lists\/stable\/msg207374.html\" target=\"_blank\" rel=\"noopener\">https:\/\/www.spinics.net\/lists\/stable\/msg207374.html<\/a><i><br \/>\n<\/i><\/p>\n<p>Bottom line&#8230;\u00a0 If you <span style=\"text-decoration: underline;\">really<\/span> want a feature\/fix only available in 4.14.9, then use the NVIDIA patch, or wait a short time for 4.14.10 (and keep your fingers crossed that it will actually fix the problem, this time..)\u00a0\u00a0\u00a0 I have tested the simple NVIDIA patch, and the <strong>384.98<\/strong> driver compile\/load now works OK:<\/p>\n<pre><span style=\"font-family: courier new,courier;\"><strong>...........<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>ld -r -o \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-modeset\/nv-modeset-interface.o \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-modeset\/nvidia-modeset-linux.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> Building modules, stage 2.<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> MODPOST 4 modules<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-drm.mod.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> LD [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-drm.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-modeset.mod.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> LD [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-modeset.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-uvm.mod.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> LD [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-uvm.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> CC \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia.mod.o<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong> LD [M] \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[2]: Leaving directory '\/usr\/src\/linux-4.14.9'<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[1]: Leaving directory '\/usr\/src\/linux-4.14.9'<\/strong><\/span><\/pre>\n<p><em>Robert Gadsdon\u00a0\u00a0 December 27, 2017.<\/em><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>More on the Kernel 4.14.9 NVIDIA breakage..\u00a0\u00a0\u00a0\u00a0 Basically, code that should have only gone into 4.15-rc found its way into 4.14.9 &#8211; which is why the existing 4.15 NVIDIA patch fixed it..\u00a0\u00a0\u00a0\u00a0 Thanks to dinosaur_ on the NVIDIA forum, there is a simpler patch available:\u00a0 https:\/\/devtalk.nvidia.com\/default\/topic\/1028016\/linux\/patch-for-compiling-v384-98-modules-with-linux-v4-14-9-\/ There is also a 4.14.10-rc1 patch which is supposed to revert <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2168\"><span class=\"more-msg\">Continue reading &rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[5,1238,14,15,18,19,1533],"tags":[1173,1779,1782,1760,1781],"class_list":["post-2168","post","type-post","status-publish","format-standard","hentry","category-compilation","category-fix","category-kernel","category-linux-2","category-nvidia","category-opinion","category-patches","tag-kernel","tag-kernel-4-14-9","tag-linx","tag-nvidia-384-98","tag-simpler-patch"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2168","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2168"}],"version-history":[{"count":2,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2168\/revisions"}],"predecessor-version":[{"id":2170,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2168\/revisions\/2170"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}