Results 1 to 5 of 5

Thread: Trying to reinstall VMplayer in openSUSE 12.2

  1. #1
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,021

    Default Trying to reinstall VMplayer in openSUSE 12.2

    Using version 4.0.4 which I had installed under 12.1, everything seems to go smoothly until I try to install the kernel driver modules. Here's the konsole output:

    Code:
    linux-mjmo:~ # vmware-modconfig --console --install-all 
    Stopping VMware services:
       VMware Authentication Daemon                                        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.4.6-2.10-desktop/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.4.6-2.10-obj/x86_64/desktop'
      CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driver.o
      CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/hostif.o
      CC [M]  /tmp/vmware-root/modules/vmmon-only/linux/driverLog.o
      CC [M]  /tmp/vmware-root/modules/vmmon-only/common/memtrack.o
      CC [M]  /tmp/vmware-root/modules/vmmon-only/common/apic.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/vmx86.o
      CC [M]  /tmp/vmware-root/modules/vmmon-only/common/hashFunc.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.4.6-2.10-obj/x86_64/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.4.6-2.10-desktop/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
      MODULEBUILDDIR= modules
    make[1]: Entering directory `/usr/src/linux-3.4.6-2.10-obj/x86_64/desktop'
      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
    /tmp/vmware-root/modules/vmnet-only/userif.c: In function ‘VNetCsumCopyDatagram’:
    /tmp/vmware-root/modules/vmnet-only/userif.c:520:3: error: incompatible type for argument 1 of ‘kmap’
    In file included from /tmp/vmware-root/modules/vmnet-only/userif.c:26:0:
    /usr/src/linux-3.4.6-2.10/include/linux/highmem.h:49:21: note: expected ‘struct page *’ but argument is of type ‘const struct <anonymous>’
    /tmp/vmware-root/modules/vmnet-only/userif.c:523:3: error: incompatible type for argument 1 of ‘kunmap’
    In file included from /tmp/vmware-root/modules/vmnet-only/userif.c:26:0:
    /usr/src/linux-3.4.6-2.10/include/linux/highmem.h:55:20: note: expected ‘struct page *’ but argument is of type ‘const struct <anonymous>’
    make[4]: *** [/tmp/vmware-root/modules/vmnet-only/userif.o] Error 1
    make[4]: *** Waiting for unfinished jobs....
    /tmp/vmware-root/modules/vmnet-only/netif.c: In function ‘VNetNetIfSetup’:
    /tmp/vmware-root/modules/vmnet-only/netif.c:134:7: error: unknown field ‘ndo_set_multicast_list’ specified in initializer
    /tmp/vmware-root/modules/vmnet-only/netif.c:134:7: warning: initialization from incompatible pointer type [enabled by default]
    /tmp/vmware-root/modules/vmnet-only/netif.c:134:7: warning: (near initialization for ‘vnetNetifOps.ndo_validate_addr’) [enabled by default]
    make[4]: *** [/tmp/vmware-root/modules/vmnet-only/netif.o] Error 1
    /tmp/vmware-root/modules/vmnet-only/filter.c:60:16: error: ‘THIS_MODULE’ undeclared here (not in a function)
    make[4]: *** [/tmp/vmware-root/modules/vmnet-only/filter.o] Error 1
    make[3]: *** [_module_/tmp/vmware-root/modules/vmnet-only] Error 2
    make[2]: *** [sub-make] Error 2
    make[1]: *** [all] Error 2
    make[1]: Leaving directory `/usr/src/linux-3.4.6-2.10-obj/x86_64/desktop'
    make: *** [vmnet.ko] Error 2
    make: Leaving directory `/tmp/vmware-root/modules/vmnet-only'
    Clicking on the VMplayer menu icon produces the error:

    Code:
    Cannot execute command ' ''\''/usr/bin/vmware-modconfig'\'' --icon='\''vmware-player'\'' --appname='\''VMware'\'' --gcc='\''/usr/bin/gcc'\'' --headers='\''/lib/modules/3.4.6-2.10-desktop/build/include'\'' --gcc-ignore-minor ''.
    Any suggestions most welcome!
    Günter

    Desk: Leap 42.2, KDE 5, Intel i3, 8Gb, Kingston 64Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

  2. #2
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,021

    Default Re: Trying to reinstall VMplayer in openSUSE 12.2

    ... and yes, I realise there's version 5 now but I've set 4.0.4 to look for updates anyway, and am using the same /home partition with all the configuration files and VMs still there, so thought same version would be safest.
    Günter

    Desk: Leap 42.2, KDE 5, Intel i3, 8Gb, Kingston 64Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

  3. #3
    Join Date
    Jun 2008
    Location
    Kansas City Area, Missouri, USA
    Posts
    7,235

    Default Re: Trying to reinstall VMplayer in openSUSE 12.2

    On 09/12/2012 09:06 AM, gminnerup wrote:
    >
    > ... and yes, I realise there's version 5 now but I've set 4.0.4 to look
    > for updates anyway, and am using the same /home partition with all the
    > configuration files and VMs still there, so thought same version would
    > be safest.


    In general, VMware is slow in adapting their kernel code for changes in the
    kernel API. You either need to patch the 4.0.4 code for those changes, or update
    to version 5 and hope that they have caught up there. I use VirtualBox, and have
    no idea what changes are needed for VMplayer.



  4. #4
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    4,018

  5. #5
    Join Date
    Dec 2008
    Location
    Sydney, Australia
    Posts
    1,021

    Default Re: Trying to reinstall VMplayer in openSUSE 12.2

    Thanks all, installing version 5 did the trick!
    Günter

    Desk: Leap 42.2, KDE 5, Intel i3, 8Gb, Kingston 64Gb SSD, 2 SATA.
    Lap: Thinkpad T430, Tumbleweed, Intel i5, 8Gb, SSD.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •