{"id":1746,"date":"2016-05-29T22:52:39","date_gmt":"2016-05-29T21:52:39","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1746"},"modified":"2016-05-29T22:52:39","modified_gmt":"2016-05-29T21:52:39","slug":"kernel-4-7-rc1-breaks-nvidia-and-vmware","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1746","title":{"rendered":"Kernel &#8211; 4.7-rc1 Breaks NVIDIA and VMware.."},"content":{"rendered":"<p>Kernel <strong>4.7-rc1<\/strong> is out, and brief details are here:\u00a0 <a href=\"https:\/\/lkml.org\/lkml\/2016\/5\/29\/77\" target=\"_blank\">https:\/\/lkml.org\/lkml\/2016\/5\/29\/77<\/a><\/p>\n<p>The update breaks the latest NVIDIA drivers &#8211; <strong>367.18<\/strong> and <strong>361.45.11<\/strong>:<\/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-367.18\/kernel\/nvidia-uvm\/uvm_linux.h:557:13: error: redefinition of \u2018radix_tree_empty\u2019<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> static bool radix_tree_empty(struct radix_tree_root *tree)<\/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-367.18\/kernel\/nvidia-drm\/nvidia-drm-gem.c: In function \u2018nvidia_drm_dumb_map_offset\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-367.18\/kernel\/nvidia-drm\/nvidia-drm-gem.c:411:33: error: passing argument 1 of \u2018drm_gem_object_lookup\u2019 from incompatible pointer type [-Werror=incompatible-pointer-types]<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> gem = drm_gem_object_lookup(dev, file, handle);<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">........................<\/span><\/strong><\/pre>\n<p>..and, breaks <em>4.6-patched<\/em> VMware <strong>12.1.1<\/strong> (<strong>vmnet<\/strong>):<\/p>\n<pre><strong><span style=\"font-family: courier new,courier;\">....................<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-UkXRB7\/vmnet-only\/netif.c: In function \u2018VNetNetifStartXmit\u2019:<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">\/tmp\/modconfig-UkXRB7\/vmnet-only\/netif.c:468:7: error: \u2018struct net_device\u2019 has no member named \u2018trans_start\u2019<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\"> dev-&gt;trans_start = jiffies;<\/span><\/strong>\r\n<strong><span style=\"font-family: courier new,courier;\">...................<\/span><\/strong><\/pre>\n<p>I tested the vmnet issue by simply commenting out the line <strong><span style=\"font-family: courier new,courier;\">dev-&gt;trans_start = jiffies<\/span><\/strong> in <strong><span style=\"font-family: courier new,courier;\">netif.c<\/span><\/strong>, and VMware then compiled and (apparently..) ran OK..\u00a0\u00a0\u00a0 This is <span style=\"text-decoration: underline;\">not<\/span> a proper solution, though!<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 May 29, 2016<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kernel 4.7-rc1 is out, and brief details are here:\u00a0 https:\/\/lkml.org\/lkml\/2016\/5\/29\/77 The update breaks the latest NVIDIA drivers &#8211; 367.18 and 361.45.11: &#8230;&#8230;&#8230;. \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-367.18\/kernel\/nvidia-uvm\/uvm_linux.h:557:13: error: redefinition of \u2018radix_tree_empty\u2019 static bool radix_tree_empty(struct radix_tree_root *tree) &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;. \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-367.18\/kernel\/nvidia-drm\/nvidia-drm-gem.c: In function \u2018nvidia_drm_dumb_map_offset\u2019: \/home\/rgadsdon\/kernel\/NVIDIA-Linux-x86_64-367.18\/kernel\/nvidia-drm\/nvidia-drm-gem.c:411:33: error: passing argument 1 of \u2018drm_gem_object_lookup\u2019 from incompatible pointer type [-Werror=incompatible-pointer-types] gem = drm_gem_object_lookup(dev, file, handle); &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230; ..and, breaks <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1746\"><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,6,11,14,15,18,19,25],"tags":[1369,1367,1366,1363,1368,1360],"class_list":["post-1746","post","type-post","status-publish","format-standard","hentry","category-compilation","category-crash-and-burn","category-hacks","category-kernel","category-linux-2","category-nvidia","category-opinion","category-vmware","tag-361-45-11","tag-breaks-nvidia-and-vmware","tag-kernel-4-7-rc1","tag-nvidia-367-18","tag-vmnet-hack","tag-vmware-12-1-1"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1746","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=1746"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1746\/revisions"}],"predecessor-version":[{"id":1747,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1746\/revisions\/1747"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1746"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1746"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1746"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}