-
1. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
coderus Jan 22, 2015 8:20 PM (in response to rgadsdon)Credits goes to Al Viro for solution.
replace
return skb_copy_datagram_iovec(skb, 0, &iov, len);
with
struct iov_iter to;
iov_iter_init(&to, READ, &iov, 1, len);
return skb_copy_datagram_iter(skb, 0, &to, len);
and everything compiled and working now
-
2. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
rgadsdon Jan 22, 2015 10:48 PM (in response to coderus)Many thanks for this! Applied the changes, and vmnet compiles and loads/runs OK, now..
RG.
-
3. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
Roger_Bergling Jan 23, 2015 2:51 PM (in response to rgadsdon)I am trying to do the same thing.
But not working for me, what changes did you do ?
driver.c and userif.c or only userif ?
-
4. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
rgadsdon Jan 23, 2015 3:04 PM (in response to Roger_Bergling)I have just posted more details of a backwards-compatible fix, here: http://rglinuxtech.com/?p=1281
RG.
-
5. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
coderus Jan 23, 2015 3:13 PM (in response to rgadsdon)in kernel 3.19 also change around line 1194
if (filp && filp->f_dentry) {
inode = filp->f_dentry->d_inode;
}
to
inode = file_inode(filp);
instead of changing f_dentry to f_path.dentry
-
6. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
Roger_Bergling Jan 24, 2015 11:27 AM (in response to rgadsdon)Thanx !
Works
3.19.0-031900rc5-generic
-
7. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
mfelker Feb 21, 2015 7:26 PM (in response to Roger_Bergling)As a non-programmer I found the files and instructions very easy indeed at
https://wiki.archlinux.org/index.php/VMware
Works perfectly
-
8. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
nomadlw Mar 24, 2015 2:59 AM (in response to mfelker)Dude. You saved me here.
A HUGE thanks your way!
-
9. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
mforsyth May 5, 2015 8:05 AM (in response to rgadsdon)Patch described at at https://wiki.archlinux.org/index.php/VMware#3.19_kernels didn't quite work for me after upgrade to Ubuntu 15.04. I was still getting error associated with number of arguments to alloc_netdev, i.e. ....
/usr/lib/vmware/modules/source/vmnet-only/netif.c:152:64: error: macro "alloc_netdev" requires 4 arguments, but only 3 given
dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
The additional change described at Linux 3.17-rc compatibilityt , namely
from
dev = alloc_netdev(sizeof *netIf, deviceName, VNetNetIfSetup);
to
dev = alloc_netdev(sizeof *netIf, deviceName, NET_NAME_UNKNOWN, VNetNetIfSetup);
fixed it for me (running kernel 3.19.0-15-generic).
-
10. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
kingneutron Jul 2, 2015 11:12 PM (in response to rgadsdon)--This bug bit me, downgrading now to kernel 3.16.
--Vmware needs to fix this ASAP, lots of people are still on Ubuntu 14.04-LTS and expect to be able to run the latest kernel with the latest Workstation 11...
-
11. Re: Linux host - Kernel 3.19 breaks VMware (vmnet)
kingneutron Jul 16, 2015 8:00 PM (in response to rgadsdon)--Update - as of Vmware Workstation 11.1.2-2780323, I can confirm it works OK with Ubuntu 14.04-64-LTS kernel 3.19.0-21-generic #21~14.04.1-Ubuntu SMP -- they fixed the issue.
