{"id":2172,"date":"2017-12-29T20:46:34","date_gmt":"2017-12-30T04:46:34","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=2172"},"modified":"2017-12-29T20:46:34","modified_gmt":"2017-12-30T04:46:34","slug":"kernel-4-14-10-still-breaks-nvidia","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=2172","title":{"rendered":"Kernel &#8211; 4.14.10 Still breaks NVIDIA!"},"content":{"rendered":"<p>Just updated the test system to Kernel <strong>4.14.10<\/strong>, and was &#8216;<em>somewhat dismayed<\/em>&#8216; &#8211; to put it politely &#8211; that the NVIDIA breakage introduced in 4.14.9 is still there!<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">............<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-uvm\/uvm8_va_block.c: In function \u2018block_cpu_fault_locked\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/usr\/src\/linux-4.14.10\/arch\/x86\/include\/asm\/processor.h:826:39: error: implicit declaration of function \u2018task_stack_page\u2019; did you mean \u2018task_stack_vm_area\u2019? [-Werror=implicit-function-declaration]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> unsigned long __ptr = (unsigned long)task_stack_page(task); \\<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/usr\/src\/linux-4.14.10\/arch\/x86\/include\/asm\/processor.h:900:26: note: in expansion of macro \u2018task_pt_regs\u2019<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> #define KSTK_EIP(task) (task_pt_regs(task)-&gt;ip)<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^~~~~~~~~~~~<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-uvm\/uvm8_va_block.c:8771:41: note: in expansion of macro \u2018KSTK_EIP\u2019<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> KSTK_EIP(current));<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> ^~~~~~~~<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">cc1: some warnings being treated as errors<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make[3]: *** [\/usr\/src\/linux-4.14.10\/scripts\/Makefile.build:315: \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-uvm\/uvm8_va_block.o] Error 1<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make[2]: *** [\/usr\/src\/linux-4.14.10\/Makefile:1504: _module_\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel] Error 2<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make[2]: Leaving directory '\/usr\/src\/linux-4.14.10'<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make[1]: *** [Makefile:146: sub-make] Error 2<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make[1]: Leaving directory '\/usr\/src\/linux-4.14.10'<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">make: *** [Makefile:81: modules] Error 2<\/span><\/strong><\/pre>\n<p>So&#8230; the 4.14.9 patch still applies, and fixes the problem (see <a href=\"https:\/\/rglinuxtech.com\/?p=2168\" target=\"_blank\" rel=\"noopener\">https:\/\/rglinuxtech.com\/?p=2168<\/a> ):<\/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-41410\/kernel\/nvidia-modeset\/nv-modeset-interface.o \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98-41410\/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-41410\/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-41410\/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-41410\/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-41410\/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-41410\/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-41410\/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-41410\/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-41410\/kernel\/nvidia.ko<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[2]: Leaving directory '\/usr\/src\/linux-4.14.10'<\/strong><\/span>\r\n<span style=\"font-family: courier new,courier;\"><strong>make[1]: Leaving directory '\/usr\/src\/linux-4.14.10'<\/strong><\/span><\/pre>\n<p>Its not as if the kernel devs weren&#8217;t told&#8230;\u00a0 <a href=\"http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1712.3\/02196.html\" target=\"_blank\" rel=\"noopener\">http:\/\/lkml.iu.edu\/hypermail\/linux\/kernel\/1712.3\/02196.html<\/a><\/p>\n<p>Oh well, maybe in 4.14.11??<\/p>\n<p><em>Robert Gadsdon.\u00a0 December 29, 2017.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just updated the test system to Kernel 4.14.10, and was &#8216;somewhat dismayed&#8216; &#8211; to put it politely &#8211; that the NVIDIA breakage introduced in 4.14.9 is still there! &#8230;&#8230;&#8230;&#8230; \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-384.98\/kernel\/nvidia-uvm\/uvm8_va_block.c: In function \u2018block_cpu_fault_locked\u2019: \/usr\/src\/linux-4.14.10\/arch\/x86\/include\/asm\/processor.h:826:39: error: implicit declaration of function \u2018task_stack_page\u2019; did you mean \u2018task_stack_vm_area\u2019? [-Werror=implicit-function-declaration] unsigned long __ptr = (unsigned long)task_stack_page(task); \\ ^ \/usr\/src\/linux-4.14.10\/arch\/x86\/include\/asm\/processor.h:900:26: note: in expansion <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=2172\"><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":[6,1238,11,14,15,18,19,1533],"tags":[1736,1785,1783,242,277,1784],"class_list":["post-2172","post","type-post","status-publish","format-standard","hentry","category-crash-and-burn","category-fix","category-hacks","category-kernel","category-linux-2","category-nvidia","category-opinion","category-patches","tag-384-98","tag-4-14-9-patch-still-works","tag-kernel-4-14-10","tag-linux","tag-nvidia-2","tag-still-breaks-nvidia"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2172","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=2172"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2172\/revisions"}],"predecessor-version":[{"id":2173,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/2172\/revisions\/2173"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2172"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2172"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2172"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}