{"id":1258,"date":"2014-12-21T16:46:33","date_gmt":"2014-12-21T16:46:33","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1258"},"modified":"2014-12-21T16:48:44","modified_gmt":"2014-12-21T16:48:44","slug":"kernel-3-19-rc1-breaks-vmware-and-nvidia","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1258","title":{"rendered":"Kernel 3.19-rc1 &#8211; Breaks VMware and NVIDIA.."},"content":{"rendered":"<p>Just installed Kernel <strong>3.19-rc1<\/strong> on the test system, and both VMware and NVIDIA fail to compile..<\/p>\n<p>VMware (11.0) vmnet failed with:<\/p>\n<pre><strong>\/tmp\/modconfig-2fqpf2\/vmnet-only\/driver.c: In function \u2018VNetFileOpUnlockedIoctl\u2019:<\/strong>\r\n<strong>\/tmp\/modconfig-2fqpf2\/vmnet-only\/driver.c:1194:20: error: \u2018struct file\u2019 has no member named \u2018f_dentry\u2019<\/strong>\r\n<strong> if (filp &amp;&amp; filp-&gt;f_dentry) {<\/strong>\r\n<strong> ^<\/strong>\r\n<strong>\/tmp\/modconfig-2fqpf2\/vmnet-only\/driver.c:1195:19: error: \u2018struct file\u2019 has no member named \u2018f_dentry\u2019<\/strong>\r\n<strong> inode = filp-&gt;f_dentry-&gt;d_inode;<\/strong>\r\n<strong> ^<\/strong>\r\n<strong>scripts\/Makefile.build:257: recipe for target '\/tmp\/modconfig-2fqpf2\/vmnet-only\/driver.o' failed<\/strong>\r\n<strong>make[2]: *** [\/tmp\/modconfig-2fqpf2\/vmnet-only\/driver.o] Error 1<\/strong>\r\n<strong>make[2]: *** Waiting for unfinished jobs....<\/strong>\r\n<strong>Makefile:1381: recipe for target '_module_\/tmp\/modconfig-2fqpf2\/vmnet-only' failed<\/strong>\r\n<strong>make[1]: *** [_module_\/tmp\/modconfig-2fqpf2\/vmnet-only] Error 2<\/strong>\r\n<strong>make[1]: Leaving directory '\/usr\/src\/linux-3.19-rc1'<\/strong>\r\n<strong>Makefile:120: recipe for target 'vmnet.ko' failed<\/strong>\r\n<strong>make: *** [vmnet.ko] Error 2<\/strong><\/pre>\n<p>I found references to this particular error in a patch for <strong><em>zfs<\/em><\/strong>, and tried replacing &#8216;f_dentry&#8217; by &#8216;f_path.dentry&#8217;&#8230; and driver.c compiled ok, but then:<\/p>\n<pre><strong>\/tmp\/modconfig-dy2ali\/vmnet-only\/userif.c: In function \u2018VNetCopyDatagram\u2019:<\/strong>\r\n<strong>\/tmp\/modconfig-dy2ali\/vmnet-only\/userif.c:526:4: error: implicit declaration of function \u2018skb_copy_datagram_iovec\u2019 [-Werror=implicit-function-declaration]<\/strong>\r\n<strong> return skb_copy_datagram_iovec(skb, 0, &amp;iov, len);<\/strong>\r\n<strong> ^<\/strong>\r\n<strong>cc1: some warnings being treated as errors<\/strong>\r\n<strong>scripts\/Makefile.build:257: recipe for target '\/tmp\/modconfig-dy2ali\/vmnet-only\/userif.o' failed<\/strong>\r\n<strong>make[2]: *** [\/tmp\/modconfig-dy2ali\/vmnet-only\/userif.o] Error 1<\/strong>\r\n<strong>make[2]: *** Waiting for unfinished jobs....<\/strong>\r\n<strong>In file included from include\/linux\/pci.h:34:0,<\/strong>\r\n<strong> from \/tmp\/modconfig-dy2ali\/vmnet-only\/compat_netdevice.h:27,<\/strong>\r\n<strong> from \/tmp\/modconfig-dy2ali\/vmnet-only\/netif.c:43:<\/strong>\r\n<strong>include\/linux\/pci_ids.h:2251:0: warning: \"PCI_VENDOR_ID_VMWARE\" redefined<\/strong>\r\n<strong> #define PCI_VENDOR_ID_VMWARE 0x15ad<\/strong>\r\n<strong> ^<\/strong>\r\n<strong>In file included from \/tmp\/modconfig-dy2ali\/vmnet-only\/net.h:38:0,<\/strong>\r\n<strong> from \/tmp\/modconfig-dy2ali\/vmnet-only\/vnetInt.h:26,<\/strong>\r\n<strong> from \/tmp\/modconfig-dy2ali\/vmnet-only\/netif.c:42:<\/strong>\r\n<strong>\/tmp\/modconfig-dy2ali\/vmnet-only\/vm_device_version.h:56:0: note: this is the location of the previous definition<\/strong>\r\n<strong> #define PCI_VENDOR_ID_VMWARE 0x15AD<\/strong>\r\n<strong> ^<\/strong>\r\n<strong>Makefile:1381: recipe for target '_module_\/tmp\/modconfig-dy2ali\/vmnet-only' failed<\/strong>\r\n<strong>make[1]: *** [_module_\/tmp\/modconfig-dy2ali\/vmnet-only] Error 2<\/strong>\r\n<strong>make[1]: Leaving directory '\/usr\/src\/linux-3.19-rc1'<\/strong>\r\n<strong>Makefile:120: recipe for target 'vmnet.ko' failed<\/strong>\r\n<strong>make: *** [vmnet.ko] Error 2<\/strong><\/pre>\n<p>NVIDIA (340.65) failed with:<\/p>\n<pre><strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.65\/kernel\/nv.c: In function \u2018nvidia_unlocked_ioctl\u2019:<\/strong>\r\n<strong>\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.65\/kernel\/nv.c:1842:29: error: \u2018struct file\u2019 has no member named \u2018f_dentry\u2019<\/strong>\r\n<strong> return nvidia_ioctl(file-&gt;f_dentry-&gt;d_inode, file, cmd, i_arg);<\/strong>\r\n<strong> ^<\/strong>\r\n<strong>\/usr\/src\/linux-3.19-rc1\/scripts\/Makefile.build:257: recipe for target '\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.65\/kernel\/nv.o' failed<\/strong>\r\n<strong>make[3]: *** [\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.65\/kernel\/nv.o] Error 1<\/strong>\r\n<strong>\/usr\/src\/linux-3.19-rc1\/Makefile:1381: recipe for target '_module_\/home\/rgadsdon\/NVIDIA-Linux-x86_64-340.65\/kernel' failed<\/strong><\/pre>\n<p>and replacing &#8216;f_dentry&#8217; with &#8216;f_path.dentry&#8217; in nv.c and nv-frontend.c compiled OK, until:<\/p>\n<pre><strong>FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__cachemode2pte_tbl'<\/strong>\r\n<strong>\/usr\/src\/linux-3.19-rc1\/scripts\/Makefile.modpost:90: recipe for target '__modpost' failed<\/strong>\r\n<strong>make[3]: *** [__modpost] Error 1<\/strong>\r\n<strong>\/usr\/src\/linux-3.19-rc1\/Makefile:1384: recipe for target 'modules' failed<\/strong>\r\n<strong>make[2]: *** [modules] Error 2<\/strong><\/pre>\n<p>So..\u00a0 More research is needed!<\/p>\n<p>My main system is staying on 3.16.7 for the time being, as the &#8216;lockups&#8217; problem is still unsolved&#8230;.<\/p>\n<p><em>Robert Gadsdon.\u00a0\u00a0 December 21, 2014.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just installed Kernel 3.19-rc1 on the test system, and both VMware and NVIDIA fail to compile.. VMware (11.0) vmnet failed with: \/tmp\/modconfig-2fqpf2\/vmnet-only\/driver.c: In function \u2018VNetFileOpUnlockedIoctl\u2019: \/tmp\/modconfig-2fqpf2\/vmnet-only\/driver.c:1194:20: error: \u2018struct file\u2019 has no member named \u2018f_dentry\u2019 if (filp &amp;&amp; filp-&gt;f_dentry) { ^ \/tmp\/modconfig-2fqpf2\/vmnet-only\/driver.c:1195:19: error: \u2018struct file\u2019 has no member named \u2018f_dentry\u2019 inode = filp-&gt;f_dentry-&gt;d_inode; ^ scripts\/Makefile.build:257: recipe for target <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1258\"><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,20,25],"tags":[969,967,968,961],"class_list":["post-1258","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-performance-2","category-vmware","tag-compile-fails","tag-kernel-3-19-rc1","tag-nvidia-340-65","tag-vmware-11-0"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1258","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=1258"}],"version-history":[{"count":3,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1258\/revisions"}],"predecessor-version":[{"id":1261,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1258\/revisions\/1261"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}