VMware Communities
Krellan
Enthusiast
Enthusiast

Here is patch for 2.6.30 kernel for Workstation 6.5.2

By popular demand, here is an update of my original patch. It now works on 2.6.30 (I tested on 2.6.30-rc4). I'm using VMware Workstation 6.5.2.

This patch runs exactly the same as my earlier 2.6.29 patch script, which was here:

http://communities.vmware.com//thread/203231

The instructions are exactly the same as before. Download the patch, and also, download the script to help you apply it. There should be 2 attachments to this message.

Use the bash command to run the script, as root. (Look at the script first, so you know I didn't put something nasty in it!):

bash ./vmware-6.5.2-modules-2.6.30-fix.sh

It should now apply cleanly, and there should be no errors.

If there were errors, please restore your original VMware modules from backup. If you earlier tried the 2.6.29 patch script, and it failed because you're running the 2.6.30 kernel, then you'll need to undo my previous patch before trying this patch. Here's the command that will restore your earlier VMware modules:

cp -v /usr/lib/vmware/modules/source-backup/* /usr/lib/vmware/modules/source

This will restore your modules to their earlier pristine condition (hopefully), and you can now try again to run the 2.6.30 script.

I tried this and it works to run my virtual machines under 2.6.30. There are very few changes between 2.6.29 and 2.6.30 from VMware's point of view, which makes it minimally invasive. Let me know how this works.

Josh

Reply
0 Kudos
52 Replies
h2-2
Contributor
Contributor

Patch works for vmplayer, confirmed, thanks:

======

patching file vmblock-only/linux/control.c

patching file vmblock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmci-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmmon-only/include/x86svm.h

patching file vmmon-only/linux/driver.c

patching file vmmon-only/linux/hostif.c

Hunk #1 succeeded at 3424 (offset 1 line).

Hunk #2 succeeded at 3538 (offset 1 line).

Hunk #3 succeeded at 3662 (offset 1 line).

patching file vmmon-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/netif.c

patching file vsock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

====

I forgot to check this, good to see the thread is still being updated and fixes made to the patch.

now why these forums can't use bbcode like almost every other forum out there is another matter....

Reply
0 Kudos
echo6
Contributor
Contributor

Hmm, running the latest script I get the following;

Found tar file for vmppuser-temp module

Found tar file for vmci module

Found tar file for vmblock module

Found tar file for vmci-temp module

Found tar file for vsock module

Found tar file for vmblock-temp module

Found tar file for vmmon-temp module

Found tar file for vsock-temp module

Found tar file for vmnet-temp module

Found tar file for vmppuser module

Found tar file for vmnet module

Found tar file for vmmon module

Using patch file: /home/echo6/vmware-6.5.2-modules-2.6.30-fix.patch

Using module directory: /usr/lib/vmware/modules/source

Using backup directory: /usr/lib/vmware/modules/source-backup

Untarring vmppuser-temp.tar

Sorry, vmppuser-temp.tar tarball failed to extract the directory vmppuser-temp-only

Reply
0 Kudos
tensun10
Contributor
Contributor

thanks, Krellan and[~622]

I used ubuntu 9.0.4, kubuntu update, intel 2.7.1 driver(X4500) , and VMware 6.5.2. success!

============================================================================

Untarring vmci.tar

Untarring vmblock.tar

Testing patch

patching file vmblock-only/linux/control.c

patching file vmblock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmci-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmmon-only/include/x86svm.h

patching file vmmon-only/linux/driver.c

patching file vmmon-only/linux/hostif.c

Hunk #1 succeeded at 3424 (offset 1 line).

Hunk #2 succeeded at 3538 (offset 1 line).

Hunk #3 succeeded at 3662 (offset 1 line).

patching file vmmon-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/netif.c

patching file vsock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

Applying patch!

patching file vmblock-only/linux/control.c

patching file vmblock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmci-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmmon-only/include/x86svm.h

patching file vmmon-only/linux/driver.c

patching file vmmon-only/linux/hostif.c

Hunk #1 succeeded at 3424 (offset 1 line).

Hunk #2 succeeded at 3538 (offset 1 line).

Hunk #3 succeeded at 3662 (offset 1 line).

patching file vmmon-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/netif.c

patching file vsock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

Preparing new tar file for vmnet module

Preparing new tar file for vmmon module

Preparing new tar file for vmppuser module

Preparing new tar file for vsock module

Preparing new tar file for vmci module

Preparing new tar file for vmblock module

Trying to compile vmnet module to see if it works

Using 2.6.x kernel build system.

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /usr/lib/vmware/modules/source/vmnet-only/driver.o

CC /usr/lib/vmware/modules/source/vmnet-only/hub.o

CC /usr/lib/vmware/modules/source/vmnet-only/userif.o

CC /usr/lib/vmware/modules/source/vmnet-only/netif.o

CC /usr/lib/vmware/modules/source/vmnet-only/bridge.o

CC /usr/lib/vmware/modules/source/vmnet-only/filter.o

CC /usr/lib/vmware/modules/source/vmnet-only/procfs.o

CC /usr/lib/vmware/modules/source/vmnet-only/smac_compat.o

CC /usr/lib/vmware/modules/source/vmnet-only/smac.o

CC /usr/lib/vmware/modules/source/vmnet-only/vnetEvent.o

CC /usr/lib/vmware/modules/source/vmnet-only/vnetUserListener.o

LD /usr/lib/vmware/modules/source/vmnet-only/vmnet.o

Building modules, stage 2.

MODPOST 1 modules

CC /usr/lib/vmware/modules/source/vmnet-only/vmnet.mod.o

LD /usr/lib/vmware/modules/source/vmnet-only/vmnet.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/usr/lib/vmware/modules/source/vmnet-only'

make[1]: `postbuild'는 이미 갱신되었습니다.

make[1]: Leaving directory `/usr/lib/vmware/modules/source/vmnet-only'

cp -f vmnet.ko ./../vmnet.o

Trying to compile vmmon module to see if it works

Using 2.6.x kernel build system.

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /usr/lib/vmware/modules/source/vmmon-only/linux/driver.o

CC /usr/lib/vmware/modules/source/vmmon-only/linux/driverLog.o

CC /usr/lib/vmware/modules/source/vmmon-only/linux/hostif.o

CC /usr/lib/vmware/modules/source/vmmon-only/common/comport.o

CC /usr/lib/vmware/modules/source/vmmon-only/common/cpuid.o

CC /usr/lib/vmware/modules/source/vmmon-only/common/hashFunc.o

CC /usr/lib/vmware/modules/source/vmmon-only/common/memtrack.o

CC /usr/lib/vmware/modules/source/vmmon-only/common/phystrack.o

CC /usr/lib/vmware/modules/source/vmmon-only/common/task.o

CC /usr/lib/vmware/modules/source/vmmon-only/common/vmx86.o

CC /usr/lib/vmware/modules/source/vmmon-only/vmcore/moduleloop.o

LD /usr/lib/vmware/modules/source/vmmon-only/vmmon.o

Building modules, stage 2.

MODPOST 1 modules

CC /usr/lib/vmware/modules/source/vmmon-only/vmmon.mod.o

LD /usr/lib/vmware/modules/source/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/usr/lib/vmware/modules/source/vmmon-only'

make[1]: `postbuild'는 이미 갱신되었습니다.

make[1]: Leaving directory `/usr/lib/vmware/modules/source/vmmon-only'

cp -f vmmon.ko ./../vmmon.o

Trying to compile vsock module to see if it works

Using 2.6.x kernel build system.

Building VMCI Sockets without VMCI module symbols.

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /usr/lib/vmware/modules/source/vsock-only/linux/af_vsock.o

CC /usr/lib/vmware/modules/source/vsock-only/linux/driverLog.o

CC /usr/lib/vmware/modules/source/vsock-only/linux/util.o

/usr/lib/vmware/modules/source/vsock-only/linux/util.c: In function ‘VSockVmciLogPkt’:

/usr/lib/vmware/modules/source/vsock-only/linux/util.c:157: warning: format not a string literal and no format arguments

CC /usr/lib/vmware/modules/source/vsock-only/linux/vsockAddr.o

LD /usr/lib/vmware/modules/source/vsock-only/vsock.o

Building modules, stage 2.

MODPOST 1 modules

WARNING: "VMCIDatagram_CreateHnd" undefined!

WARNING: "VMCIDatagram_DestroyHnd" undefined!

WARNING: "VMCI_GetContextID" undefined!

WARNING: "VMCIDatagram_Send" undefined!

CC /usr/lib/vmware/modules/source/vsock-only/vsock.mod.o

LD /usr/lib/vmware/modules/source/vsock-only/vsock.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/usr/lib/vmware/modules/source/vsock-only'

make[1]: `postbuild'는 이미 갱신되었습니다.

make[1]: Leaving directory `/usr/lib/vmware/modules/source/vsock-only'

cp -f vsock.ko ./../vsock.o

Trying to compile vmci module to see if it works

Using 2.6.x kernel build system.

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /usr/lib/vmware/modules/source/vmci-only/linux/driver.o

CC /usr/lib/vmware/modules/source/vmci-only/linux/driverLog.o

CC /usr/lib/vmware/modules/source/vmci-only/linux/vmciKernelIf.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciContext.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciDatagram.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciDriver.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciDs.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciEvent.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciGroup.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciHashtable.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciProcess.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciQueuePair.o

CC /usr/lib/vmware/modules/source/vmci-only/common/vmciResource.o

LD /usr/lib/vmware/modules/source/vmci-only/vmci.o

Building modules, stage 2.

MODPOST 1 modules

CC /usr/lib/vmware/modules/source/vmci-only/vmci.mod.o

LD /usr/lib/vmware/modules/source/vmci-only/vmci.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/usr/lib/vmware/modules/source/vmci-only'

cp -f /usr/lib/vmware/modules/source/vmci-only/./Module.symvers /tmp/VMwareVMCIModule.symvers

make[1]: Leaving directory `/usr/lib/vmware/modules/source/vmci-only'

cp -f vmci.ko ./../vmci.o

Trying to compile vmblock module to see if it works

Using 2.6.x kernel build system.

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /usr/lib/vmware/modules/source/vmblock-only/linux/block.o

CC /usr/lib/vmware/modules/source/vmblock-only/linux/control.o

CC /usr/lib/vmware/modules/source/vmblock-only/linux/dbllnklst.o

CC /usr/lib/vmware/modules/source/vmblock-only/linux/dentry.o

CC /usr/lib/vmware/modules/source/vmblock-only/linux/file.o

CC /usr/lib/vmware/modules/source/vmblock-only/linux/filesystem.o

CC /usr/lib/vmware/modules/source/vmblock-only/linux/inode.o

CC /usr/lib/vmware/modules/source/vmblock-only/linux/module.o

CC /usr/lib/vmware/modules/source/vmblock-only/linux/stubs.o

CC /usr/lib/vmware/modules/source/vmblock-only/linux/super.o

LD /usr/lib/vmware/modules/source/vmblock-only/vmblock.o

Building modules, stage 2.

MODPOST 1 modules

CC /usr/lib/vmware/modules/source/vmblock-only/vmblock.mod.o

LD /usr/lib/vmware/modules/source/vmblock-only/vmblock.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/usr/lib/vmware/modules/source/vmblock-only'

make[1]: `postbuild'는 이미 갱신되었습니다.

make[1]: Leaving directory `/usr/lib/vmware/modules/source/vmblock-only'

cp -f vmblock.ko ./../vmblock.o

Replacing original file vmnet.tar with patched file

Replacing original file vmmon.tar with patched file

Replacing original file vmppuser.tar with patched file

Replacing original file vsock.tar with patched file

Replacing original file vmci.tar with patched file

Replacing original file vmblock.tar with patched file

Done!

I have changed the files in here:

/usr/lib/vmware/modules/source

I have placed a backup of the original files in here:

/usr/lib/vmware/modules/source-backup

The original VMware modules directory is still in the way.

Please move this directory somewhere else, because it confuses VMware:

/usr/lib/vmware/modules/binary

This command should work now, to install the modules:

vmware-modconfig --console --install-all

root@mike:/home/tensun/download# vmware

Logging to /tmp/vmware-root/setup-12818.log

modinfo: could not find module vmmon

modinfo: could not find module vmnet

modinfo: could not find module vmblock

modinfo: could not find module vmci

modinfo: could not find module vsock

modinfo: could not find module vmmon

modinfo: could not find module vmnet

modinfo: could not find module vmblock

modinfo: could not find module vmci

modinfo: could not find module vsock

modinfo: could not find module vmmon

modinfo: could not find module vmnet

modinfo: could not find module vmblock

modinfo: could not find module vmci

modinfo: could not find module vsock

modinfo: could not find module vmmon

modinfo: could not find module vmnet

modinfo: could not find module vmblock

modinfo: could not find module vmci

modinfo: could not find module vsock

modinfo: could not find module vmmon

modinfo: could not find module vmnet

modinfo: could not find module vmblock

modinfo: could not find module vmci

modinfo: could not find module vsock

modinfo: could not find module vmmon

modinfo: could not find module vmnet

modinfo: could not find module vmblock

modinfo: could not find module vmci

modinfo: could not find module vsock

Stopping VMware services:

Virtual machine communication interface done

Virtual machine monitor done

Blocking file system done

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmmon-only'

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /tmp/vmware-root/modules/vmmon-only/linux/driver.o

CC /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o

CC /tmp/vmware-root/modules/vmmon-only/linux/hostif.o

CC /tmp/vmware-root/modules/vmmon-only/common/comport.o

CC /tmp/vmware-root/modules/vmmon-only/common/cpuid.o

CC /tmp/vmware-root/modules/vmmon-only/common/hashFunc.o

CC /tmp/vmware-root/modules/vmmon-only/common/memtrack.o

CC /tmp/vmware-root/modules/vmmon-only/common/phystrack.o

CC /tmp/vmware-root/modules/vmmon-only/common/task.o

CC /tmp/vmware-root/modules/vmmon-only/common/vmx86.o

CC /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.o

LD /tmp/vmware-root/modules/vmmon-only/vmmon.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-root/modules/vmmon-only/vmmon.mod.o

LD /tmp/vmware-root/modules/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vmmon-only'

make[1]: `postbuild'는 이미 갱신되었습니다.

make[1]: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

cp -f vmmon.ko ./../vmmon.o

make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmnet-only'

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /tmp/vmware-root/modules/vmnet-only/driver.o

CC /tmp/vmware-root/modules/vmnet-only/hub.o

CC /tmp/vmware-root/modules/vmnet-only/userif.o

CC /tmp/vmware-root/modules/vmnet-only/netif.o

CC /tmp/vmware-root/modules/vmnet-only/bridge.o

CC /tmp/vmware-root/modules/vmnet-only/filter.o

CC /tmp/vmware-root/modules/vmnet-only/procfs.o

CC /tmp/vmware-root/modules/vmnet-only/smac_compat.o

CC /tmp/vmware-root/modules/vmnet-only/smac.o

CC /tmp/vmware-root/modules/vmnet-only/vnetEvent.o

CC /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o

LD /tmp/vmware-root/modules/vmnet-only/vmnet.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-root/modules/vmnet-only/vmnet.mod.o

LD /tmp/vmware-root/modules/vmnet-only/vmnet.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vmnet-only'

make[1]: `postbuild'는 이미 갱신되었습니다.

make[1]: Leaving directory `/tmp/vmware-root/modules/vmnet-only'

cp -f vmnet.ko ./../vmnet.o

make: Leaving directory `/tmp/vmware-root/modules/vmnet-only'

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmblock-only'

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /tmp/vmware-root/modules/vmblock-only/linux/block.o

CC /tmp/vmware-root/modules/vmblock-only/linux/control.o

CC /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o

CC /tmp/vmware-root/modules/vmblock-only/linux/dentry.o

CC /tmp/vmware-root/modules/vmblock-only/linux/file.o

CC /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o

CC /tmp/vmware-root/modules/vmblock-only/linux/inode.o

CC /tmp/vmware-root/modules/vmblock-only/linux/module.o

CC /tmp/vmware-root/modules/vmblock-only/linux/stubs.o

CC /tmp/vmware-root/modules/vmblock-only/linux/super.o

LD /tmp/vmware-root/modules/vmblock-only/vmblock.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-root/modules/vmblock-only/vmblock.mod.o

LD /tmp/vmware-root/modules/vmblock-only/vmblock.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vmblock-only'

make[1]: `postbuild'는 이미 갱신되었습니다.

make[1]: Leaving directory `/tmp/vmware-root/modules/vmblock-only'

cp -f vmblock.ko ./../vmblock.o

make: Leaving directory `/tmp/vmware-root/modules/vmblock-only'

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmci-only'

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /tmp/vmware-root/modules/vmci-only/linux/driver.o

CC /tmp/vmware-root/modules/vmci-only/linux/driverLog.o

CC /tmp/vmware-root/modules/vmci-only/linux/vmciKernelIf.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciContext.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciDatagram.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciDriver.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciDs.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciEvent.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciGroup.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciHashtable.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciProcess.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciQueuePair.o

CC /tmp/vmware-root/modules/vmci-only/common/vmciResource.o

LD /tmp/vmware-root/modules/vmci-only/vmci.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-root/modules/vmci-only/vmci.mod.o

LD /tmp/vmware-root/modules/vmci-only/vmci.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vmci-only'

cp -f /tmp/vmware-root/modules/vmci-only/./Module.symvers /tmp/VMwareVMCIModule.symvers

make[1]: Leaving directory `/tmp/vmware-root/modules/vmci-only'

cp -f vmci.ko ./../vmci.o

make: Leaving directory `/tmp/vmware-root/modules/vmci-only'

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-root/modules/vmci-only'

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

Building modules, stage 2.

MODPOST 1 modules

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vmci-only'

cp -f /tmp/vmware-root/modules/vmci-only/./Module.symvers /tmp/VMwareVMCIModule.symvers

make[1]: Leaving directory `/tmp/vmware-root/modules/vmci-only'

cp -f vmci.ko ./../vmci.o

make: Leaving directory `/tmp/vmware-root/modules/vmci-only'

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

Using 2.6.x kernel build system.

Building VMCI Sockets with VMCI module symbols.

make: Entering directory `/tmp/vmware-root/modules/vsock-only'

cp -f /tmp/VMwareVMCIModule.symvers ./Module.symvers

make -C /lib/modules/2.6.30-020630-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.30-020630-generic'

CC /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o

CC /tmp/vmware-root/modules/vsock-only/linux/driverLog.o

CC /tmp/vmware-root/modules/vsock-only/linux/util.o

/tmp/vmware-root/modules/vsock-only/linux/util.c: In function ‘VSockVmciLogPkt’:

/tmp/vmware-root/modules/vsock-only/linux/util.c:157: warning: format not a string literal and no format arguments

CC /tmp/vmware-root/modules/vsock-only/linux/vsockAddr.o

LD /tmp/vmware-root/modules/vsock-only/vsock.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-root/modules/vsock-only/vsock.mod.o

LD /tmp/vmware-root/modules/vsock-only/vsock.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-020630-generic'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vsock-only'

make[1]: `postbuild'는 이미 갱신되었습니다.

make[1]: Leaving directory `/tmp/vmware-root/modules/vsock-only'

cp -f vsock.ko ./../vsock.o

make: Leaving directory `/tmp/vmware-root/modules/vsock-only'

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

VMWARE_LD_LIBRARY_PATH is already set, but it will be overridden.

VMWARE_LD_PRELOAD is already set, but it will be overridden.

VMWARE_PANGO_RC_FILE is already set, but it will be overridden.

VMWARE_GDK_PIXBUF_MODULE_FILE is already set, but it will be overridden.

VMWARE_GTK_IM_MODULE_FILE is already set, but it will be overridden.

VMWARE_FONTCONFIG_PATH is already set, but it will be overridden.

VMWARE_GTK2_RC_FILES is already set, but it will be overridden.

VMWARE_GTK_PATH is already set, but it will be overridden.

Starting VMware services:

Virtual machine monitor done

Virtual machine communication interface done

Blocking file system done

Virtual ethernet done

Shared Memory Available done

filename: /lib/modules/2.6.30-020630-generic/misc/vmmon.ko

supported: external

license: GPL v2

description: VMware Virtual Machine Monitor.

author: VMware, Inc.

srcversion: F72F2FC2AB99B879DF7DD74

depends:

vermagic: 2.6.30-020630-generic SMP mod_unload modversions 586

Reply
0 Kudos
jlward4th
Contributor
Contributor

Can you update the patch for 2.6.31? Here is a possible diff:

http://communities.vmware.com/message/1300256#1300256

Thanks!

-James

Reply
0 Kudos
hendry
Contributor
Contributor

hendry@x61 modules$ vmware -v
VMware Workstation 6.5.2 build-156735

The patch does not work for me Smiley Sad I'm running Debian SID on 32bit 2.6.30-1-686. Any ideas? Thanks.

hendry@x61 tmp$ sudo ./vmware-6.5.2-modules-2.6.30-fix.sh
Found tar file for vmci module
Found tar file for vmblock module
Found tar file for vsock module
Found tar file for vmmon module
Found tar file for vmnet module
Found tar file for vmppuser module
Using patch file: /tmp/vmware-6.5.2-modules-2.6.30-fix.patch
Using module directory: /usr/lib/vmware/modules/source
Using backup directory: /usr/lib/vmware/modules/source-backup
Untarring vmci.tar
Untarring vmblock.tar
Untarring vsock.tar
Untarring vmmon.tar
Untarring vmnet.tar
Untarring vmppuser.tar
Testing patch
patching file vmblock-only/linux/control.c
patching file vmblock-only/Makefile
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file vmblock-only/Makefile.rej
patching file vmci-only/Makefile
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file vmci-only/Makefile.rej
patching file vmmon-only/include/x86svm.h
patching file vmmon-only/linux/driver.c
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file vmmon-only/linux/driver.c.rej
patching file vmmon-only/linux/hostif.c
Hunk #1 succeeded at 3384 (offset -39 lines).
Hunk #2 FAILED at 3498.
Hunk #3 FAILED at 3622.
2 out of 3 hunks FAILED -- saving rejects to file vmmon-only/linux/hostif.c.rej
patching file vmmon-only/Makefile
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file vmmon-only/Makefile.rej
patching file vmnet-only/Makefile
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file vmnet-only/Makefile.rej
patching file vmnet-only/netif.c
Reversed (or previously applied) patch detected!  Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file vmnet-only/netif.c.rej
patching file vsock-only/Makefile
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file vsock-only/Makefile.rej
Sorry, problem with the patch, I can't apply it
hendry@x61 tmp$ 


Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmblock-only'
make -C /lib/modules/2.6.30-1-686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.30-1-686'
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/block.o
  CC [M]  /tmp/vmware-root/modules/vmblock-only/linux/control.o
/tmp/vmware-root/modules/vmblock-only/linux/control.c: In function ‘SetupProcDevice’:
/tmp/vmware-root/modules/vmblock-only/linux/control.c:159: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/vmware-root/modules/vmblock-only/linux/control.c:171: error: ‘struct proc_dir_entry’ has no member named ‘owner’
make[4]: *** [/tmp/vmware-root/modules/vmblock-only/linux/control.o] Error 1
make[1]: Leaving directory `/usr/src/linux-headers-2.6.30-1-686'
make: Leaving directory `/tmp/vmware-root/modules/vmblock-only'
make[3]: *** [_module_/tmp/vmware-root/modules/vmblock-only] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make: *** [http://vmblock.ko|http://vmblock.ko] Error 2
Starting VMware services:
   Virtual machine monitor                                             done
   Virtual machine communication interface                             done
   Blocking file system                                               failed
   Virtual ethernet                                                    done

Update:OK fixed with http://communities.vmware.com/servlet/JiveServlet/download/1243846-22340/source.tar.bz2

Reply
0 Kudos
Krellan
Enthusiast
Enthusiast

Wow, version 2.6.31 already?

I'll see what I can do about a patch.

I've been quite busy at my day job (which is using VMware on 2.6.29 quite successfully), so haven't really kept up with answering people's questions about previous patches here, as well as I would have liked to.

Reply
0 Kudos
cearap01
Contributor
Contributor

I'm using Arch Linux i686 2.6.30-ARCH and trying to apply the patch and not having any success ... can someone recommend anything?

thanks!

/tmp/vmware-root/modules/vmmon-only/./include/vm_basic_types.h:108:7: warning: "__FreeBSD__" is not defined

In file included from /tmp/vmware-root/modules/vmmon-only/./include/vcpuset.h:103,

from /tmp/vmware-root/modules/vmmon-only/./include/modulecall.h:37,

from /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.c:34:

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:329:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:333:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:401:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:407:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:506:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:595:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:684:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:773:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:775:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:860:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:862:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:945:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:947:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1028:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1030:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1223:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1227:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined

In file included from /tmp/vmware-root/modules/vmmon-only/./include/vm_basic_asm.h:46,

from /tmp/vmware-root/modules/vmmon-only/./include/rateconv.h:45,

from /tmp/vmware-root/modules/vmmon-only/./include/modulecall.h:40,

from /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.c:34:

/tmp/vmware-root/modules/vmmon-only/./include/vm_basic_asm_x86.h:62:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_basic_asm_x86.h:177:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_basic_asm_x86.h:346:7: warning: "_MSC_VER" is not defined

/tmp/vmware-root/modules/vmmon-only/./include/vm_basic_asm_x86.h:453:7: warning: "_MSC_VER" is not defined

In file included from /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.c:40:

/tmp/vmware-root/modules/vmmon-only/./common/hostif.h:53:7: warning: "WINNT_DDK" is not defined

LD /tmp/vmware-root/modules/vmmon-only/vmmon.o

Building modules, stage 2.

MODPOST 1 modules

CC /tmp/vmware-root/modules/vmmon-only/vmmon.mod.o

LD /tmp/vmware-root/modules/vmmon-only/vmmon.ko

make[1]: Leaving directory `/usr/src/linux-2.6.30-ARCH'

make -C $PWD SRCROOT=$PWD/. postbuild

make[1]: Entering directory `/tmp/vmware-root/modules/vmmon-only'

make[1]: `postbuild' is up to date.

make[1]: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

cp -f vmmon.ko ./../vmmon.o

make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'

insmod: error inserting '/tmp/vmware-root/modules/vmmon.o': -1 File exists

Unable to install vmmon

___ Anthony Rosati
Reply
0 Kudos
darco
Contributor
Contributor

I confirm this works on 6.5.2 x64...I am running Linux Mint x64...I ran the OP script but didnt work. Then ran the farzy script and all is good.

You guys are good!

thxs

darco

Reply
0 Kudos
bofh_wannabe
Contributor
Contributor

Works with 2.6.30.1, too.

I just ran 'vmware-modconfig --console-only -install-all', and modules built and installed without problems.

Thanks again Smiley Happy

Reply
0 Kudos
docsmooth
Enthusiast
Enthusiast

farzy's patch and the original script worked great on Kubuntu 9.04 with stock 2.6.30 32-bit kernel. I had to remove /var/lib/vmware to clear out backed up sources from a 2.6.29 install, otherwise, it was great.

Rob A

Deployments PM: www.likewise.com

Co-Owner: www.totalnetsolutions.net

Rob A Deployments PM: www.likewise.com Co-Owner: www.totalnetsolutions.net
Reply
0 Kudos
jlward4th
Contributor
Contributor

No worries. Attached is the updated patch and script for 2.6.31 which seems to work for me.

Reply
0 Kudos
Ehud
Contributor
Contributor

Patch works fantastic for unpatched 6.5.2... Since I'd already patched at 2.6.30 I reinstalled 6.5.2. The patch worked fine afterward.

2.6.31-rc1 (will be at rc2 shortly Smiley Wink

Ehud

P.S. Thanks for the nice work!

Reply
0 Kudos
dajhorn
Contributor
Contributor

This patch works perfectly for VMware Workstation 6.5.2 running on Ubuntu Karmic with the new 2.6.31-2-generic kernel package.

(Much appreciated.)

Reply
0 Kudos
hohndel
Contributor
Contributor

The 2.6.31 patch compiles fine - but the resulting vmnet module doesn't work. It hangs the first time it's loaded, can't be unloaded anymore and the guest OS get's no networking conncetion.

Any suggestions?

Reply
0 Kudos
Starfly2
Contributor
Contributor

Doesnt work 4 me...

Ubuntu Karmic 2.6.31 ---> V2 !

Errors, after starting Patching Script :

./vmware-6.5.2-modules-2.6.31-fix.sh

Found tar file for vmnet module

Found tar file for vmmon module

Found tar file for vsock module

Found tar file for vmblock module

Found tar file for vmci module

Found tar file for vmppuser module

Using patch file: /root/Desktop/vmware-6.5.2-modules-2.6.31-fix.patch

Using module directory: /usr/lib/vmware/modules/source

Using backup directory: /usr/lib/vmware/modules/source-backup

Untarring vmnet.tar

Untarring vmmon.tar

Untarring vsock.tar

Untarring vmblock.tar

Untarring vmci.tar

Untarring vmppuser.tar

Testing patch

patching file vmnet-only/netif.c

Hunk #3 FAILED at 338.

Hunk #4 FAILED at 584.

Hunk #5 FAILED at 640.

Hunk #6 FAILED at 701.

4 out of 6 hunks FAILED -- saving rejects to file vmnet-only/netif.c.rej

patching file vmci-only/Makefile

Reversed (or previously applied) patch detected! Skipping patch.

1 out of 1 hunk ignored -- saving rejects to file vmci-only/Makefile.rej

patching file vmnet-only/Makefile

Reversed (or previously applied) patch detected! Skipping patch.

1 out of 1 hunk ignored -- saving rejects to file vmnet-only/Makefile.rej

patching file vsock-only/Makefile

Reversed (or previously applied) patch detected! Skipping patch.

1 out of 1 hunk ignored -- saving rejects to file vsock-only/Makefile.rej

patching file vmblock-only/Makefile

Reversed (or previously applied) patch detected! Skipping patch.

1 out of 1 hunk ignored -- saving rejects to file vmblock-only/Makefile.rej

patching file vmblock-only/linux/control.c

Hunk #2 FAILED at 158.

Hunk #3 FAILED at 172.

2 out of 3 hunks FAILED -- saving rejects to file vmblock-only/linux/control.c.rej

patching file vmmon-only/linux/driver.c

Reversed (or previously applied) patch detected! Skipping patch.

1 out of 1 hunk ignored -- saving rejects to file vmmon-only/linux/driver.c.rej

patching file vmmon-only/linux/vmmonInt.h

patching file vmmon-only/Makefile

Reversed (or previously applied) patch detected! Skipping patch.

1 out of 1 hunk ignored -- saving rejects to file vmmon-only/Makefile.rej

patching file vmmon-only/linux/hostif.c

Hunk #1 succeeded at 3384 (offset -39 lines).

Hunk #2 FAILED at 3498.

Hunk #3 FAILED at 3622.

2 out of 3 hunks FAILED -- saving rejects to file vmmon-only/linux/hostif.c.rej

Sorry, problem with the patch, I can't apply it

Always Complaining about previous applied patches... how to kill oldones ?

After it , it should work right ?

Reply
0 Kudos
Poloisfej
Contributor
Contributor

lolpol, using 2.6.30-ARCH

# bash ./vmware-6.5.2-modules-2.6.30-fix.sh

Found tar file for vmci module

Found tar file for vmmon module

Found tar file for vmnet module

Found tar file for vmblock module

Found tar file for vsock module

Found tar file for vmppuser module

Using patch file: /home/det/Desktop/vmware-6.5.2-modules-2.6.30-fix.patch

Using module directory: /usr/lib/vmware/modules/source

Using backup directory: /usr/lib/vmware/modules/source-backup

Backing up ./vmci.tar to /usr/lib/vmware/modules/source-backup/./vmci.tar

Backing up ./vmmon.tar to /usr/lib/vmware/modules/source-backup/./vmmon.tar

Backing up ./vmnet.tar to /usr/lib/vmware/modules/source-backup/./vmnet.tar

Backing up ./vmblock.tar to /usr/lib/vmware/modules/source-backup/./vmblock.tar

Backing up ./vsock.tar to /usr/lib/vmware/modules/source-backup/./vsock.tar

Backing up ./vmppuser.tar to /usr/lib/vmware/modules/source-backup/./vmppuser.tar

Untarring vmci.tar

Untarring vmmon.tar

Untarring vmnet.tar

Untarring vmblock.tar

Untarring vsock.tar

Untarring vmppuser.tar

Testing patch

patching file vmblock-only/linux/control.c

patching file vmblock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmci-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmmon-only/include/x86svm.h

patching file vmmon-only/linux/driver.c

patching file vmmon-only/linux/hostif.c

Hunk #1 succeeded at 3424 (offset 1 line).

Hunk #2 succeeded at 3538 (offset 1 line).

Hunk #3 succeeded at 3662 (offset 1 line).

patching file vmmon-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/netif.c

patching file vsock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

Applying patch!

patching file vmblock-only/linux/control.c

patching file vmblock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmci-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmmon-only/include/x86svm.h

patching file vmmon-only/linux/driver.c

patching file vmmon-only/linux/hostif.c

Hunk #1 succeeded at 3424 (offset 1 line).

Hunk #2 succeeded at 3538 (offset 1 line).

Hunk #3 succeeded at 3662 (offset 1 line).

patching file vmmon-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/netif.c

patching file vsock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

Preparing new tar file for vmci module

Preparing new tar file for vmmon module

Preparing new tar file for vmnet module

Preparing new tar file for vmblock module

Preparing new tar file for vsock module

Preparing new tar file for vmppuser module

Trying to compile vmci module to see if it works

Using standalone build system.

./autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or directory

.././autoconf/geninclude.c:19:28: error: linux/autoconf.h: No such file or directory

Dependencies for driver.c

In file included from .././linux/driver.c:20:

.././include/driver-config.h:42:5: error: #error "No Module support in this kernel. Please configure with CONFIG_MODULES"

make[1]: *** http://driver.d Error 1

make: *** Error 2

Sorry, problem compiling the vmci module after it was patched

You must restore from this backup directory:

/usr/lib/vmware/modules/source-backup

Reply
0 Kudos
Krellan
Enthusiast
Enthusiast

Polo: Missing autoconf.h is among the easiest problems to solve, it just means you haven't configured your kernel yet. Go into your kernel's source directory, and "make menuconfig". The defaults should all be acceptable, or, copy your distro's preferred configuration from where your distro keeps it (most likely in the /boot directory). If you copy in a config file from /boot, be sure to rename it ".config" (don't forget the dot at the beginning). Then, do "make" to compile the kernel. There's lots of guides online on how to do this best for your distro.

Reply
0 Kudos
Poloisfej
Contributor
Contributor

I did do "make menuconfig" and selected the defaults when customizing the kernel but I still get the same error 😕

Reply
0 Kudos
martyfelker
Enthusiast
Enthusiast

This patch worked great up until now. In fact it worked on just this kernel before I reinstalled the OS. Host Debian Kernel 2.6.30.1-amd64

Error message

-


debian:/home/marty/build# ./vmware-6.5.2-modules-2.6.30-fix.sh

Found tar file for vmci module

Found tar file for vmnet module

Found tar file for vmblock module

Found tar file for vmppuser module

Found tar file for vmmon module

Found tar file for vsock module

Using patch file: /home/marty/build/vmware-6.5.2-modules-2.6.30-fix.patch

Using module directory: /usr/lib/vmware/modules/source

Using backup directory: /usr/lib/vmware/modules/source-backup

Untarring vmci.tar

Untarring vmnet.tar

Untarring vmblock.tar

Untarring vmppuser.tar

Untarring vmmon.tar

Untarring vsock.tar

Testing patch

patching file vmblock-only/linux/control.c

patching file vmblock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmci-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmmon-only/include/x86apic.h

Hunk #1 FAILED at 94.

1 out of 1 hunk FAILED -- saving rejects to file vmmon-only/include/x86apic.h.rej

patching file vmmon-only/include/x86svm.h

patching file vmmon-only/linux/driver.c

patching file vmmon-only/linux/hostif.c

Hunk #1 succeeded at 3424 (offset 1 line).

Hunk #2 succeeded at 3538 (offset 1 line).

Hunk #3 succeeded at 3662 (offset 1 line).

patching file vmmon-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

patching file vmnet-only/netif.c

patching file vsock-only/Makefile

Hunk #1 succeeded at 122 (offset 9 lines).

Sorry, problem with the patch, I can't apply it

-


Can the author of this partch or somebody else help me out with this?

Thanks.

Marty Felker

Marty Felker
Reply
0 Kudos
Ehud
Contributor
Contributor

The patch works on an UNPATCHED VMWare distro.

Download the VMware installer.

Run it.

(it will remove the patched one. It will fail on install. )

Patch it.

Run it.

It will work.

E

Reply
0 Kudos