PASTEBIN [Diff] Vmware patch linux kernel 3.17 - Pastebin.com and in attach
Update patches!
Pavlinux wrote:
Update patches!
THX for that. Do you have a how-to? I have tried endless scripts / patches, but no success with Ubuntu 14.04 / Linux Kernel 3.17.
Thanks in advance for any reply.
# mkdir /tmp/vmware && cd /tmp/vmware;
# for i in `ls /usr/lib/vmware/modules/source/*.tar`; do echo tar xf $i -C /tmp/vmware; done
# unzip /tmp/vmware-for-3.17.patch.zip;
# patch -p1 < vmware-for-3.17.patch;
# tar -cf vmblock.tar vmblock-only/
# tar -cf vmci.tar vmci-only/
# tar -cf vmmon.tar vmmon-only/
# tar -cf vmnet.tar vmnet-only/
# tar -cf vsock.tar vsock-only/
# mv -vfi /tmp/vmware/*.tar /usr/lib/vmware/modules/source/;
Pavilinux,
Thanks for your reply; however, got hung up here:
adler@adler-HP-Spectre-XT-Ultrabook-PC ~ $ sudo mkdir /tmp/vmware && cd /tmp/vmware
[sudo] password for adler:
adler@adler-HP-Spectre-XT-Ultrabook-PC /tmp/vmware $ sudo ls /usr/lib/vmware/modules/source/*.tar
/usr/lib/vmware/modules/source/vmblock.tar /usr/lib/vmware/modules/source/vmmon.tar /usr/lib/vmware/modules/source/vmsock.tar
/usr/lib/vmware/modules/source/vmci.tar /usr/lib/vmware/modules/source/vmnet.tar /usr/lib/vmware/modules/source/vsock.tar
adler@adler-HP-Spectre-XT-Ultrabook-PC /tmp/vmware $ sudo unzip /tmp/vmware-for-3.17.patch.zip
Archive: /tmp/vmware-for-3.17.patch.zip
inflating: vmware-for-3.17.patch
adler@adler-HP-Spectre-XT-Ultrabook-PC /tmp/vmware $ sudo patch -p1 < vmware-for-3.17.patch
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -ur a/vmblock-only/linux/control.c b/vmblock-only/linux/control.c
|--- a/vmblock-only/linux/control.c 2014-04-15 01:41:40.000000000 +0400
|+++ b/vmblock-only/linux/control.c 2014-10-09 05:21:34.094551409 +0400
--------------------------
File to patch:
I had eliminated all traces of VMWare before I did a fresh install. The original error shows here:
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done
With previous Kernel up-grades I could always patch VMWare. This time around it has become a nightmare. LOL!
Any insight here? Thanks in advance for any ideas.
JJMacey wrote: adler@adler-HP-Spectre-XT-Ultrabook-PC /tmp/vmware $ sudo ls /usr/lib/vmware/modules/source/*.tar
Any insight here? Thanks in advance for any ideas.
That is not the proper command!
The proper command is: for i in `ls /usr/lib/vmware/modules/source/*.tar`; do tar xf $i -C /tmp/vmware; done
echo - is rulezz command
1. Download patch from 1 message
2. remove echo string from HOWTO
----
Patched source archive http://filebin.ca/1f5pRZ50e5NO
Extract & put tar files to /usr/lib/vmware/modules/source/
Hi Gentlemen,
I will work on this, and get back to you.
Thank you for your assistance here.
Gentlemen,
I have not gotten success here. At this point I'll just try to delete everything VMWare related. That will be a challenge, due to the fact, that I've been adding things all over my HDD. LOL!
Thank you very much for your input!
Can't apply this patch to VMware-Player-6.0.4-2249910.x86_64 for linux kernel 3.17.2 (Fedora 20, kernel-3.17.2-200.fc20.x86_64), log:
# patch -p1 < vmware-for-3.17.patch patching file vmblock-only/linux/control.c patching file vmblock-only/linux/dentry.c patching file vmblock-only/linux/file.c patching file vmblock-only/linux/inode.c patching file vmblock-only/shared/vm_assert.h patching file vmci-only/linux/driver.c patching file vmci-only/shared/vm_assert.h patching file vmmon-only/include/memDefaults.h patching file vmmon-only/include/vm_assert.h patching file vmmon-only/linux/driver.c patching file vmmon-only/linux/vmmonInt.h patching file vmnet-only/driver.c Hunk #1 succeeded at 169 (offset -7 lines). Hunk #2 succeeded at 609 (offset -10 lines). Hunk #3 succeeded at 617 (offset -10 lines). Hunk #4 succeeded at 671 (offset -10 lines). Hunk #5 succeeded at 1271 (offset -45 lines). Hunk #6 succeeded at 1294 (offset -45 lines). Hunk #7 succeeded at 1514 (offset -45 lines). Hunk #8 succeeded at 1557 (offset -45 lines). Hunk #9 succeeded at 1657 (offset -45 lines). Hunk #10 succeeded at 1672 (offset -45 lines). patching file vmnet-only/filter.c Hunk #1 FAILED at 27. Hunk #2 FAILED at 203. Hunk #3 FAILED at 256. 3 out of 3 hunks FAILED -- saving rejects to file vmnet-only/filter.c.rej patching file vmnet-only/hub.c patching file vmnet-only/netif.c patching file vmnet-only/userif.c patching file vmnet-only/vm_assert.h patching file vmnet-only/vnetInt.h patching file vsock-only/linux/af_vsock.c patching file vsock-only/linux/notify.c patching file vsock-only/linux/notifyQState.c patching file vsock-only/shared/vm_assert.h
The patch fails because they tarred-up a zero-length copy of file filter.c in the tarball that ships with Workstation v10.0.4. There's no code in the file to patch.
Great job, guys!