Hello,
I used the same patch with 12.1 Milestone 1 and with Milestone 3.
You can use the script patch-modules_2.6.39.sh from the website you
mentioned to apply the patch.
But, that's not all.
If you try to start vmware you will receive the following error:
process 31673: Attempt to remove filter function 0x7ff3fbdd0f50 user data
0x8d17c0, but no such filter has been added
D-Bus not built with -rdynamic so unable to print a backtrace
This can be avoided by starting haldaemon: /etc/init.d/haldaemon start
Then you can start vmware. I'm able to create, delete and modify virtual
machines. But I'm able to start a virtual machine.
Starting a virtual machine always fails with the error:
*** VMware Workstation internal monitor error ***
vcpu-0:ASSERT vmcore/vmm/main/irq.c:100 bugNr=2293
Haven't found a solution for this one.
Bye,
viele gruesse aus der physik in wuerzburg,
andreas klein
From: pearson44j
To: opensuse-factory@opensuse.org
Date: 08/26/2011 12:33 PM
Subject: [opensuse-factory] [SOLVED] Installing VMware Workstation
7.1.4 on openSUSE 12.1
Hello
I managed to install VMware-Workstation-7.1.4-385536.i386.bundle on
openSUSE 12.1
so I thought that I would share it here in a "How To" form.
My Factory install was updated today and I was getting "Failed to compile
module vmmon!"
| "Unable to install vmmon" error messages (see below) when I tried to
manually compile the
vmware modules.
OS Information
OS: Linux 3.0.0-rc7-2-desktop i686
System: openSUSE 12.1 (i586)
KDE: 4.7.00 (4.7.0)
# installed packages
kernel-source-3.0.rc7-2.1.noarch
kernel-desktop-devel-3.0.rc7-2.1.i586
kernel-default-3.0.0-2.4.i586
kernel-default-devel-3.0.rc7-2.1.i586
kernel-desktop-3.0.rc7-2.1.i586
kernel-firmware-20110709-8.1.noarch
kernel-devel-3.0.rc7-2.1.noarch
gcc-4.6-14.2.i586
make-3.82-144.3.i586
gcc-c++-4.6-14.2.i586
# Error message
# "vmware-modconfig" command log
M3A78:~ # vmware-modconfig --console --install-all
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
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/3.0.0-rc7-2-desktop/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop'
make -C ../../../linux-3.0.0-rc7-2
O=/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop/. modules
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:47:44: error:
?SPIN_LOCK_UNLOCKED?
undeclared here (not in a function)
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In
function ?IOMMU_SetupMMU?:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:103:28:
warning: cast from pointer to integer of different size
[-Wpointer-to-int-cast]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:113:17: warning:
format ?%lx? expects argument of type ?long unsigned int?, but argument 3
has type ?long
long unsigned int? [-Wformat]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:117:35:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:120:20: warning:
format ?%lu? expects argument of type ?long unsigned int?, but argument 3
has type
?uint64? [-Wformat] make[4]: ***
[/tmp/vmware-root/modules/vmmon-only/linux/iommu.o] Error
1 make[3]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[2]: ***
[sub-make] Error 2 make[1]: *** [all] Error 2 make[1]: Leaving directory
`/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop' make: *** [vmmon.ko] Error 2
make: Leaving
directory `/tmp/vmware-root/modules/vmmon-only' Unable to install vmmon
# Solution
I googled and found a solution by making a patch
"The patch is made extracting all packages in a folder and doing a diff
between the clean
packages and the edited ones extracted that way. The patches are based on
7.1.4 sources"
$ mkdir /tmp/vmware && cd /tmp/vmware
$ cp -R /usr/lib/vmware/modules/source/ .
$ cd /tmp/vmware/source
$ wget
http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6....
#
if the link above does not work, an alternative is to wget
http://kaslit.com/downloads/vmware2.6.39fixed.patch $ for i in ./*.tar; do
tar -xf $i; done
$ for i in ./*.tar; do mv $i $i.orginal; done $ patch ?batch ?force -p1 <
vmware2.6.39fixed.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
$ cp -vf *.tar /usr/lib/vmware/modules/source/
###########
# Start
###########
mkdir /tmp/vmware && cd /tmp/vmware
cp -R /usr/lib/vmware/modules/source/ .
M3A78:/tmp/vmware # ls -trl
total 4
drwxr-xr-x 2 root root 4096 Aug 26 11:59 source
cd /tmp/vmware/source
wget
http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6....
M3A78:/tmp/vmware/source # ls -trl total 4448
-rw-r--r-- 1 root root 9536 May 14 20:05 vmware2.6.39fixed.patch
-rw-r--r-- 1 root root 942080 Aug 26 11:59 vsock.tar
-rw-r--r-- 1 root root 757760 Aug 26 11:59 vmblock.tar
-rw-r--r-- 1 root root 870400 Aug 26 11:59 vmnet.tar
-rw-r--r-- 1 root root 1177600 Aug 26 11:59 vmmon.tar
-rw-r--r-- 1 root root 788480 Aug 26 11:59 vmci.tar
for i in ./*.tar; do tar -xf $i; done
M3A78:/tmp/vmware/source # for i in ./*.tar; do tar -xf $i; done
M3A78:/tmp/vmware/source # ls -trl
total 4468
drwxr-xr-x 7 root root 4096 Mar 26 06:02 vmmon-only
drwxr-xr-x 2 root root 4096 Mar 26 06:02 vmnet-only
drwxr-xr-x 6 root root 4096 Mar 26 06:02 vmci-only
drwxr-xr-x 4 root root 4096 Mar 26 06:02 vmblock-only
drwxr-xr-x 4 root root 4096 Mar 26 06:02 vsock-only
-rw-r--r-- 1 root root 9536 May 14 20:05 vmware2.6.39fixed.patch
-rw-r--r-- 1 root root 942080 Aug 26 11:59 vsock.tar
-rw-r--r-- 1 root root 757760 Aug 26 11:59 vmblock.tar
-rw-r--r-- 1 root root 870400 Aug 26 11:59 vmnet.tar
-rw-r--r-- 1 root root 1177600 Aug 26 11:59 vmmon.tar
-rw-r--r-- 1 root root 788480 Aug 26 11:59 vmci.tar
for i in ./*.tar; do mv $i $i.orginal; done
M3A78:/tmp/vmware/source # for i in ./*.tar; do mv $i $i.orginal; done
M3A78:/tmp/vmware/source # ls -trl
total 4468
drwxr-xr-x 7 root root 4096 Mar 26 06:02 vmmon-only
drwxr-xr-x 2 root root 4096 Mar 26 06:02 vmnet-only
drwxr-xr-x 6 root root 4096 Mar 26 06:02 vmci-only
drwxr-xr-x 4 root root 4096 Mar 26 06:02 vmblock-only
drwxr-xr-x 4 root root 4096 Mar 26 06:02 vsock-only
-rw-r--r-- 1 root root 9536 May 14 20:05 vmware2.6.39fixed.patch
-rw-r--r-- 1 root root 942080 Aug 26 11:59 vsock.tar.orginal
-rw-r--r-- 1 root root 757760 Aug 26 11:59 vmblock.tar.orginal
-rw-r--r-- 1 root root 870400 Aug 26 11:59 vmnet.tar.orginal
-rw-r--r-- 1 root root 1177600 Aug 26 11:59 vmmon.tar.orginal
-rw-r--r-- 1 root root 788480 Aug 26 11:59 vmci.tar.orginal
-rw-r--r-- 1 root root 9536 May 14 20:05 vmware2.6.39fixed.patch
-rw-r--r-- 1 root root 942080 Aug 26 11:59 vsock.tar.orginal
-rw-r--r-- 1 root root 757760 Aug 26 11:59 vmblock.tar.orginal
-rw-r--r-- 1 root root 870400 Aug 26 11:59 vmnet.tar.orginal
-rw-r--r-- 1 root root 1177600 Aug 26 11:59 vmmon.tar.orginal
-rw-r--r-- 1 root root 788480 Aug 26 11:59 vmci.tar.orginal
ls -trl /tmp/vmware/source/vmware2.6.39fixed.patch
patch -t -f -p1 < /tmp/vmware/source/vmware2.6.39fixed.patch
M3A78:/tmp/vmware/source # patch -t -f -p1 <
/tmp/vmware/source/vmware2.6.39fixed.patch
patching file vmblock-only/linux/dentry.c
patching file vmblock-only/linux/filesystem.c
patching file vmblock-only/linux/module.c
patching file vmci-only/linux/driver.c
patching file vmmon-only/linux/driver.c
patching file vmmon-only/linux/hostif.c
patching file vmmon-only/linux/iommu.c
patching file vmnet-only/driver.c
patching file vmnet-only/filter.c
patching file vmnet-only/hub.c
patching file vsock-only/linux/af_vsock.c
patching file vsock-only/linux/util.c
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
cp -vf *.tar /usr/lib/vmware/modules/source/
Tried to compile Vmwareworkstation manually again
vmware-modconfig --console --install-all
M3A78:/tmp/vmware/source # vmware-modconfig --console --install-all
Stopping VMware services:
VMware USB Arbitrator done
VM communication interface socket family done
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/3.0.0-rc7-2-desktop/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop'
make -C ../../../linux-3.0.0-rc7-2
O=/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop/. modules
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmmon-only/linux/iommu.o
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c: In function
?IOMMU_SetupMMU?:
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:103:28: warning: cast
from pointer to
integer of different size
[-Wpointer-to-int-cast]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:113:17: warning:
format ?%lx? expects argument of type ?long unsigned int?, but argument 3
has type ?long
long unsigned int? [-Wformat]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:117:35:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
/tmp/vmware-root/modules/vmmon-only/linux/iommu.c:120:20: warning:
format ?%lu? expects argument of type ?long unsigned int?, but argument 3
has type
?uint64? [-Wformat] CC [M]
/tmp/vmware-root/modules/vmmon-only/linux/driver.o CC
[M] /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:
In function
?HostIFReadUptimeWork?:
/tmp/vmware-root/modules/vmmon-only/linux/hostif.c:2048:10:
warning: ?newUpBase? may be used uninitialized in this function
[-Wuninitialized] CC
[M] /tmp/vmware-root/modules/vmmon-only/common/memtrack.o CC
[M] /tmp/vmware-root/modules/vmmon-only/common/hashFunc.o CC
[M] /tmp/vmware-root/modules/vmmon-only/common/vmx86.o CC
[M] /tmp/vmware-root/modules/vmmon-only/common/cpuid.o CC
[M] /tmp/vmware-root/modules/vmmon-only/common/task.o CC
[M] /tmp/vmware-root/modules/vmmon-only/common/comport.o CC
[M] /tmp/vmware-root/modules/vmmon-only/common/phystrack.o CC
[M] /tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop.o LD
[M] /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
[M] /tmp/vmware-root/modules/vmmon-only/vmmon.ko make[1]: Leaving
directory
`/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop' make -C $PWD SRCROOT=$PWD/.
\ MODULEBUILDDIR=
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'
Built vmmon module
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmnet-only'
make -C /lib/modules/3.0.0-rc7-2-desktop/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop'
make -C ../../../linux-3.0.0-rc7-2
O=/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop/. modules
CC [M] /tmp/vmware-root/modules/vmnet-only/driver.o
CC [M] /tmp/vmware-root/modules/vmnet-only/hub.o
CC [M] /tmp/vmware-root/modules/vmnet-only/userif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/netif.o
CC [M] /tmp/vmware-root/modules/vmnet-only/bridge.o
CC [M] /tmp/vmware-root/modules/vmnet-only/filter.o
CC [M] /tmp/vmware-root/modules/vmnet-only/procfs.o
CC [M] /tmp/vmware-root/modules/vmnet-only/smac_compat.o
CC [M] /tmp/vmware-root/modules/vmnet-only/smac.o
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetEvent.o
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o
LD [M] /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 [M] /tmp/vmware-root/modules/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/vmware-root/modules/vmnet-only'
make[1]: `postbuild' is up to date.
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'
Built vmnet module
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmblock-only'
make -C /lib/modules/3.0.0-rc7-2-desktop/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop'
make -C ../../../linux-3.0.0-rc7-2
O=/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop/. modules
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dentry.o
/tmp/vmware-root/modules/vmblock-only/linux/dentry.c: In function
?DentryOpRevalidate?:
/tmp/vmware-root/modules/vmblock-only/linux/dentry.c:107:4: warning:
passing argument 3 of
?kern_path? from incompatible pointer type [enabled by
default] /usr/src/linux-3.0.0-rc7-2/include/linux/namei.h:76:12: note:
expected ?struct
path *? but argument is of type ?struct nameidata *? CC
[M] /tmp/vmware-root/modules/vmblock-only/linux/file.o CC
[M] /tmp/vmware-root/modules/vmblock-only/linux/block.o CC
[M] /tmp/vmware-root/modules/vmblock-only/linux/inode.o CC
[M] /tmp/vmware-root/modules/vmblock-only/linux/super.o CC
[M] /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:
In function ?Iget?:
/tmp/vmware-root/modules/vmblock-only/linux/filesystem.c:348:4:
warning: passing argument 3 of ?kern_path? from incompatible pointer type
[enabled by
default] /usr/src/linux-3.0.0-rc7-2/include/linux/namei.h:76:12: note:
expected ?struct
path *? but argument is of type ?struct nameidata *? CC
[M] /tmp/vmware-root/modules/vmblock-only/linux/module.o CC
[M] /tmp/vmware-root/modules/vmblock-only/linux/stubs.o CC
[M] /tmp/vmware-root/modules/vmblock-only/linux/control.o LD
[M] /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
[M] /tmp/vmware-root/modules/vmblock-only/vmblock.ko make[1]: Leaving
directory
`/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop' make -C $PWD SRCROOT=$PWD/.
\
MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/vmware-root/modules/vmblock-only'
make[1]: `postbuild' is up to date.
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'
Built vmblock module
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vmci-only'
make -C /lib/modules/3.0.0-rc7-2-desktop/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop'
make -C ../../../linux-3.0.0-rc7-2
O=/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop/. modules
CC [M] /tmp/vmware-root/modules/vmci-only/linux/driverLog.o
CC [M] /tmp/vmware-root/modules/vmci-only/linux/driver.o
CC [M] /tmp/vmware-root/modules/vmci-only/linux/vmciKernelIf.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciProcess.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciDriver.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciResource.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciContext.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciDatagram.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciHashtable.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciEvent.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciQueuePair.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciGroup.o
CC [M] /tmp/vmware-root/modules/vmci-only/common/vmciDs.o
LD [M] /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 [M] /tmp/vmware-root/modules/vmci-only/vmci.ko
make[1]: Leaving directory `/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/vmware-root/modules/vmci-only'
make[1]: `postbuild' is up to date.
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'
Built vmci module
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-root/modules/vsock-only'
make -C /lib/modules/3.0.0-rc7-2-desktop/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory `/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop'
make -C ../../../linux-3.0.0-rc7-2
O=/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop/. modules
CC [M] /tmp/vmware-root/modules/vsock-only/linux/af_vsock.o
CC [M] /tmp/vmware-root/modules/vsock-only/linux/vsockAddr.o
CC [M] /tmp/vmware-root/modules/vsock-only/linux/util.o
CC [M] /tmp/vmware-root/modules/vsock-only/linux/stats.o
CC [M] /tmp/vmware-root/modules/vsock-only/linux/notify.o
CC [M] /tmp/vmware-root/modules/vsock-only/driverLog.o
LD [M] /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 [M] /tmp/vmware-root/modules/vsock-only/vsock.ko
make[1]: Leaving directory `/usr/src/linux-3.0.0-rc7-2-obj/i386/desktop'
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory `/tmp/vmware-root/modules/vsock-only'
make[1]: `postbuild' is up to date.
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'
Built vsock module
Starting VMware services:
VMware USB Arbitrator done
Virtual machine monitor done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet done
Shared Memory Available done
Hope this helps someone.
James
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-factory+help@opensuse.org
--
To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-factory+help@opensuse.org