{"id":1184,"date":"2014-09-04T02:32:50","date_gmt":"2014-09-04T01:32:50","guid":{"rendered":"http:\/\/rglinuxtech.com\/?p=1184"},"modified":"2014-09-04T02:32:50","modified_gmt":"2014-09-04T01:32:50","slug":"kernel-3-17-rc3-breaks-vmnet-and-a-fix","status":"publish","type":"post","link":"https:\/\/rglinuxtech.com\/?p=1184","title":{"rendered":"Kernel 3.17-rc3 &#8211; Breaks VMNET &#8211; and a Fix.."},"content":{"rendered":"<p>Just tested Kernel <strong>3.17-rc3<\/strong>, and it breaks VMware (10.0.3) &#8211;\u00a0<strong>vmnet<\/strong>:<\/p>\n<pre>................\r\n\/tmp\/modconfig-d0zqLW\/vmnet-only\/netif.c: In function \u2018VNetNetIf_Create\u2019:\r\n\/tmp\/modconfig-d0zqLW\/vmnet-only\/netif.c:152:64: error: macro \"alloc_netdev\" requires 4 arguments, but only 3 given\r\n\u00a0\u00a0\u00a0 dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ^\r\n\/tmp\/modconfig-d0zqLW\/vmnet-only\/netif.c:152:10: error: \u2018alloc_netdev\u2019 undeclared (first use in this function)\r\n\u00a0\u00a0\u00a0 dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);\r\n...............<\/pre>\n<p>Thanks to <strong>Erwin Zoer<\/strong> (see his comment below the earlier post for 3.17-rc1..), there is a fix available &#8211; for ~\/vmware-only\/<strong>netif.c<\/strong><\/p>\n<p>For kernel 3.17-rc3 and later, change line 152 from<\/p>\n<pre>dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);\r\nto \r\ndev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_UNKNOWN, VNetNetIfSetup);<\/pre>\n<p>Then re-TAR etc.. and re-run the VMware compile\/install:<\/p>\n<pre># vmware-modconfig --console --install-all<\/pre>\n<p>I have applied this on my test system, and it works OK..<\/p>\n<p><em>Robert Gadsdon. September 3, 2014.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Just tested Kernel 3.17-rc3, and it breaks VMware (10.0.3) &#8211;\u00a0vmnet: &#8230;&#8230;&#8230;&#8230;&#8230;. \/tmp\/modconfig-d0zqLW\/vmnet-only\/netif.c: In function \u2018VNetNetIf_Create\u2019: \/tmp\/modconfig-d0zqLW\/vmnet-only\/netif.c:152:64: error: macro &#8220;alloc_netdev&#8221; requires 4 arguments, but only 3 given \u00a0\u00a0\u00a0 dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup); \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 ^ \/tmp\/modconfig-d0zqLW\/vmnet-only\/netif.c:152:10: error: \u2018alloc_netdev\u2019 undeclared (first use in this function) \u00a0\u00a0\u00a0 dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup); &#8230;&#8230;&#8230;&#8230;&#8230; Thanks to Erwin Zoer (see <span class=\"excerpt-dots\">&hellip;<\/span> <a class=\"more-link\" href=\"https:\/\/rglinuxtech.com\/?p=1184\"><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,19,20,25],"tags":[161,901,903,905,904,1175,761,902],"class_list":["post-1184","post","type-post","status-publish","format-standard","hentry","category-compilation","category-crash-and-burn","category-hacks","category-kernel","category-linux-2","category-opinion","category-performance-2","category-vmware","tag-fix","tag-kernel-3-17-rc3","tag-netif-c","tag-net_name_unknown","tag-requires-4-arguments","tag-success","tag-vmnet","tag-vmware-problem"],"_links":{"self":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1184","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=1184"}],"version-history":[{"count":1,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1184\/revisions"}],"predecessor-version":[{"id":1185,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=\/wp\/v2\/posts\/1184\/revisions\/1185"}],"wp:attachment":[{"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1184"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1184"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rglinuxtech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1184"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}