Siduction Forum

Siduction Forum => Experimental => Topic started by: dibl on 2014/09/27, 17:30:57

Title: Kernel 3.17x, Fix for VMware
Post by: dibl on 2014/09/27, 17:30:57
Kernel 3.17 brings a couple of challenges for vmware users.  There is a patch (https://wiki.archlinux.org/index.php/VMware) (use "vmware-3.17.patch" in the curl command to get the patch), and then after patching, don't delete the vmnet-only directory that holds the un-tarred source files.  Instead, find the file /usr/lib/vmware/modules/source/vmnet-only/netif.c and change the line that reads

dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);

to

dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_UNKNOWN, VNetNetIfSetup);


then re-tar vmnet-only to vmnet.tar, and then you can run


Code: [Select]
vmware-modconfig --console --install-all and the modules will build correctly. (Found on vmware forum).