Kernel 3.17-rc3 – Breaks VMNET – and a Fix..
Just tested Kernel 3.17-rc3, and it breaks VMware (10.0.3) – vmnet:
................ /tmp/modconfig-d0zqLW/vmnet-only/netif.c: In function ‘VNetNetIf_Create’: /tmp/modconfig-d0zqLW/vmnet-only/netif.c:152:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup); ^ /tmp/modconfig-d0zqLW/vmnet-only/netif.c:152:10: error: ‘alloc_netdev’ undeclared (first use in this function) dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup); ...............
Thanks to Erwin Zoer (see his comment below the earlier post for 3.17-rc1..), there is a fix available – for ~/vmware-only/netif.c
For kernel 3.17-rc3 and later, change line 152 from
dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup); to dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_UNKNOWN, VNetNetIfSetup);
Then re-TAR etc.. and re-run the VMware compile/install:
# vmware-modconfig --console --install-all
I have applied this on my test system, and it works OK..
Robert Gadsdon. September 3, 2014.
It works! Cheers sir!
Thanks!! this worked for me, buliding broadcoms 80211 STA driver on latest ARCH 3.17.6-1
http://www.broadcom.com/support/802.11/linux_sta.php
Same patch applies for VirtualBox rpm on fedora 20 in file /usr/share/virtualbox/src/vboxhost/vboxnetadp/linux/VBoxNetAdp-linux.c
Thanks !
Useful info – thanks for the report..
RG.