VMware Communities
Pavlinux
Enthusiast
Enthusiast
Jump to solution

Vmware Workstation 10.0.1 build-1379776 patch for Linux kernel 3.14.0

Warning, inline and vmnet/filter.c fixes  [Diff] 24.03.2014 - Pastebin.com

Enjoy! :smileysilly:

1 Solution
10 Replies
mfelker
Expert
Expert
Jump to solution

Hi Pavlinux!

    Since I am not a programmer but can probably learn how to create a patch from a diff file should I create a separate patch for each diff statement  and apply to each file mentioned in the text  or can I create a patch from the entire pastebin text e (but then what file/directory caould I apply it to??)

     Of course if you could provide instructions (or even a script! ) for compiling  a WS 10.1 installation on kernel 3.14.x that would be great!!

    TIA

0 Kudos
Pavlinux
Enthusiast
Enthusiast
Jump to solution

man man

man patch

man tar

man find

0 Kudos
mfelker
Expert
Expert
Jump to solution

Thanks.  I'll  do some research

Pavlinux
Enthusiast
Enthusiast
Jump to solution

Smiley Happy,  Excuse me, there is simply no time

0 Kudos
Poloisfej
Contributor
Contributor
Jump to solution

Still fails with vmci?

make[1]: Entering directory '/usr/lib/modules/3.14.0-1-ARCH/build'

  CC [M]  /tmp/modconfig-dfo1S1/vmci-only/linux/vmciKernelIf.o

  CC [M]  /tmp/modconfig-dfo1S1/vmci-only/common/vmciResource.o

  CC [M]  /tmp/modconfig-dfo1S1/vmci-only/common/vmciDriver.o

  CC [M]  /tmp/modconfig-dfo1S1/vmci-only/common/vmciDatagram.o

  CC [M]  /tmp/modconfig-dfo1S1/vmci-only/common/vmciContext.o

  CC [M]  /tmp/modconfig-dfo1S1/vmci-only/linux/driver.o

  CC [M]  /tmp/modconfig-dfo1S1/vmci-only/common/vmciHashtable.o

/tmp/modconfig-dfo1S1/vmci-only/linux/driver.c: In function ‘LinuxDriver_Ioctl’:

/tmp/modconfig-dfo1S1/vmci-only/linux/driver.c:740:12: error: incompatible types when assigning to type ‘VMCIHostUser’ from type ‘kuid_t’

       user = current_uid();

            ^

scripts/Makefile.build:308: recipe for target '/tmp/modconfig-dfo1S1/vmci-only/linux/driver.o' failed

make[2]: *** [/tmp/modconfig-dfo1S1/vmci-only/linux/driver.o] Error 1

make[2]: *** Waiting for unfinished jobs....

Makefile:1274: recipe for target '_module_/tmp/modconfig-dfo1S1/vmci-only' failed

make[1]: *** [_module_/tmp/modconfig-dfo1S1/vmci-only] Error 2

make[1]: Leaving directory '/usr/lib/modules/3.14.0-1-ARCH/build'

Makefile:130: recipe for target 'vmci.ko' failed

make: *** [vmci.ko] Error 2

@mfelker, the diff _is_ the patch and already includes all the modules. You can apply it in /usr/lib/vmware/modules/source/. After you've extracted the .tars, do: patch -p1 -i <name>

0 Kudos
Pavlinux
Enthusiast
Enthusiast
Jump to solution

0 Kudos
mfelker
Expert
Expert
Jump to solution

OK  I will try this when time permits.  Thank you  for clarifying my misunderstanding  of diif vs patch.

0 Kudos
Poloisfej
Contributor
Contributor
Jump to solution

@Pavlinux, that's the same patch for vmnet (not vmci) already included in this one?

0 Kudos
paziulek
Contributor
Contributor
Jump to solution

PERFECT! Thank you!

the patch "fixes" also Workstation 10.0.3-1895310 on 3.16.3 kernel!

Starting VMware services:

   Virtual machine monitor                                             done

   Virtual machine communication interface                             done

   VM communication interface socket family                            done

   Blocking file system                                                done

   Virtual ethernet                                                    done

   VMware Authentication Daemon                                        done

   Shared Memory Available                                             done

Linux bd 3.16.3 #1 SMP Mon Sep 29 11:33:49 EDT 2014 x86_64 GNU/Linux

Mike

EDIT: if someone is getting:

/tmp/modconfig-5Nq5Lx/vmci-only/linux/driver.c:740:12: error: incompatible types when assigning to type ‘VMCIHostUser’ from type ‘kuid_t’

user = current_uid();

or/and

/tmp/modconfig-KpbL9l/vsock-only/linux/notify.c:519:4: error: too many arguments to function ‘sk->sk_data_ready’

sk->sk_data_ready(sk, 0);

the attached patch(s) fixed it for me as well

thanks to: http://tuxdiary.com/2014/05/28/vmware-player-6-0-2-ubuntu-14-04-kernel-3-15-0-rc7/

0 Kudos