12.1 Beta VMplayer

After Installing All Dependencies
When trying to start vmplayer appear a modal dialog

Cannot execute command ’ ‘’’’/usr/bin/vmware-modconfig’’’ --icon=’’‘vmware-player’’’ --appname=’’‘VMware’’’ --gcc=’’’/usr/bin/gcc’’’ --headers=’’’/lib/modules/3.1.0-rc7-3-desktop/build/include’’’ --gcc-ignore-minor ‘’.

Looking on google it’s look like it’s need a kernel patch

#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.1.0-rc7-3-desktop/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory /usr/src/linux-3.1.0-rc7-3-obj/x86_64/desktop’
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)
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.1.0-rc7-3-obj/x86_64/desktop' make: *** [vmmon.ko] Error 2 make: Leaving directory /tmp/vmware-root/modules/vmmon-only’
Unable to install vmmon

Yes. There are actually two patches needed… at least for the Workstation. They are:

http://weltall.heliohost.org/wordpress/wp-content/uploads/2011/05/vmware2.6.39patchv3.tar.bz2
-and-
vmware workstation 7.1.4 fixes to use linux 3.1 | Weltall’s blog

You can find more details on my WebPage at:
SuSE 12.1

Take care,
Chuck

There is a new versión of VMplayer (4.0) but I already return to opensuse 11.4…
Someone want have try it in kernel 3.1?

Is there anyone who runs VMware-Player-4.0.0-471780.x86_64 with kernel linux-1msc 3.1.0-rc7-3-desktop x86_64 on 12.1 Beta?
I always get errors in the vmnet-only directory:

===============================================================
CC [M] /tmp/vmware-root/modules/vmnet-only/vnetUserListener.o
In file included from /tmp/vmware-root/modules/vmnet-only/netif.c:43:0:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:186:0: warning: “alloc_netdev” redefined [enabled by default]
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2438:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:187:0: warning: “alloc_etherdev” redefined [enabled by default]
/usr/src/linux-3.1.0-rc7-3/include/linux/etherdevice.h:53:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: error: conflicting types for ‘netif_start_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1804:20: note: previous definition of ‘netif_start_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_start_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:210:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: error: conflicting types for ‘netif_stop_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1869:20: note: previous definition of ‘netif_stop_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_stop_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:216:19: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:220:1: error: conflicting types for ‘netif_queue_stopped’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1895:19: note: previous definition of ‘netif_queue_stopped’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:226:1: error: conflicting types for ‘netif_wake_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1838:20: note: previous definition of ‘netif_wake_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_wake_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:228:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:4: error: implicit declaration of function ‘mark_bh’ -Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: error: ‘NET_BH’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: note: each undeclared identifier is reported only once for each function it appears in
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: error: conflicting types for ‘netif_running’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1911:19: note: previous definition of ‘netif_running’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:235:14: error: ‘struct device’ has no member named ‘start’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:239:1: error: conflicting types for ‘netif_carrier_ok’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2145:19: note: previous definition of ‘netif_carrier_ok’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:245:1: error: conflicting types for ‘netif_carrier_on’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2154:13: note: previous declaration of ‘netif_carrier_on’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:250:1: error: conflicting types for ‘netif_carrier_off’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2156:13: note: previous declaration of ‘netif_carrier_off’ was here
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfSetup’:
/tmp/vmware-root/modules/vmnet-only/netif.c:149:7: error: ‘struct net_device’ has no member named ‘init’
/tmp/vmware-root/modules/vmnet-only/netif.c:150:7: error: ‘struct net_device’ has no member named ‘open’
/tmp/vmware-root/modules/vmnet-only/netif.c:151:7: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/tmp/vmware-root/modules/vmnet-only/netif.c:152:7: error: ‘struct net_device’ has no member named ‘stop’
/tmp/vmware-root/modules/vmnet-only/netif.c:153:7: error: ‘struct net_device’ has no member named ‘get_stats’
/tmp/vmware-root/modules/vmnet-only/netif.c:154:7: error: ‘struct net_device’ has no member named ‘set_mac_address’
/tmp/vmware-root/modules/vmnet-only/netif.c:155:7: error: ‘struct net_device’ has no member named ‘set_multicast_list’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfNetDeviceToNetIf’:
/tmp/vmware-root/modules/vmnet-only/netif.c:196:14: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIf_Create’:
/tmp/vmware-root/modules/vmnet-only/netif.c:311:4: error: implicit declaration of function ‘compat_alloc_netdev’ -Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/netif.c:311:8: warning: assignment makes pointer from integer without a cast [enabled by default]
/tmp/vmware-root/modules/vmnet-only/netif.c:316:7: error: ‘struct net_device’ has no member named ‘priv’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfReceive’:
/tmp/vmware-root/modules/vmnet-only/netif.c:397:4: warning: passing argument 1 of ‘netif_running’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetifOpen’:
/tmp/vmware-root/modules/vmnet-only/netif.c:477:4: warning: passing argument 1 of ‘netif_start_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetifClose’:
/tmp/vmware-root/modules/vmnet-only/netif.c:525:4: warning: passing argument 1 of ‘netif_stop_queue’ from incompatible pointer type [enabled by default]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: note: expected ‘struct device *’ but argument is of type ‘struct net_device *’
/tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:236:1: warning: control reaches end of non-void function -Wreturn-type]
cc1: some warnings being treated as errors

make[4]: *** [/tmp/vmware-root/modules/vmnet-only/netif.o] Fehler 1
make[4]: *** Warte auf noch nicht beendete Prozesse…
In file included from /tmp/vmware-root/modules/vmnet-only/bridge.c:51:0:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:186:0: warning: “alloc_netdev” redefined [enabled by default]
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2438:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:187:0: warning: “alloc_etherdev” redefined [enabled by default]
/usr/src/linux-3.1.0-rc7-3/include/linux/etherdevice.h:53:0: note: this is the location of the previous definition
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:208:1: error: conflicting types for ‘netif_start_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1804:20: note: previous definition of ‘netif_start_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_start_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:210:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:214:1: error: conflicting types for ‘netif_stop_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1869:20: note: previous definition of ‘netif_stop_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_stop_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:216:19: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:220:1: error: conflicting types for ‘netif_queue_stopped’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1895:19: note: previous definition of ‘netif_queue_stopped’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_queue_stopped’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:222:11: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:226:1: error: conflicting types for ‘netif_wake_queue’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1838:20: note: previous definition of ‘netif_wake_queue’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_wake_queue’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:228:21: error: ‘struct device’ has no member named ‘tbusy’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:4: error: implicit declaration of function ‘mark_bh’ -Werror=implicit-function-declaration]
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: error: ‘NET_BH’ undeclared (first use in this function)
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:229:12: note: each undeclared identifier is reported only once for each function it appears in
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:233:1: error: conflicting types for ‘netif_running’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:1911:19: note: previous definition of ‘netif_running’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: In function ‘netif_running’:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:235:14: error: ‘struct device’ has no member named ‘start’
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h: At top level:
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:239:1: error: conflicting types for ‘netif_carrier_ok’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2145:19: note: previous definition of ‘netif_carrier_ok’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:245:1: error: conflicting types for ‘netif_carrier_on’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2154:13: note: previous declaration of ‘netif_carrier_on’ was here
/tmp/vmware-root/modules/vmnet-only/compat_netdevice.h:250:1: error: conflicting types for ‘netif_carrier_off’
/usr/src/linux-3.1.0-rc7-3/include/linux/netdevice.h:2156:13: note: previous declaration of ‘netif_carrier_off’ was here
cc1: some warnings being treated as errors

make[4]: *** [/tmp/vmware-root/modules/vmnet-only/bridge.o] Fehler 1
make[3]: *** [module/tmp/vmware-root/modules/vmnet-only] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-3.1.0-rc7-3-obj/x86_64/desktop’
make: *** [vmnet.ko] Fehler 2

I found no useful patch for Kernel 3.1.0-rc7:
Can someone post a solution?
With the 12.1 Milestone 5 everything worked fine with the 2.6 Kernel version.

-Martin

Martin,

VMware is a little slow when it comes to conforming with the latest kernel.

I would recommend checking with someone in the VMware communities for a patch.

It works:

  1. Install package “hal”, start haldaemon in Yast2

  2. Patch Kernel: https://wiki.archlinux.org/index.php/VMware#3.1rc_kernels

  3. Compile vmware-modules: vmware-modconfig --console --install-all

works!! TX

Thanks a lot! This made it work :slight_smile: