Tools failed to compile on SuSE Leap 42.3

Discussion in 'Linux Virtual Machine' started by vak, Sep 13, 2017.

  1. vak

    vak Bit poster

    Messages:
    5
    kernel - 4.4.85-22-default from distro

    error:

    Parallels Tools 12.2.1-41615 Installer started.
    2017-09-13T15:10:15+0300: execCmd: ./installer/pm.sh --check gtools [0]
    Started installation of Parallels Guest Tools version '12.2.1.41615'

    Wed Sep 13 15:10:15 EEST 2017
    Start installation or upgrade of Guest Tools
    new version of parallels tools
    Installed Guest Tools were not found
    Perform installation into the /usr/lib/parallels-tools directory
    cat: /usr/lib/parallels-tools/kmods/../version: No such file or directory
    Start installation of prl_eth kernel module
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    cd prl_eth/pvmnet && make
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make -C /lib/modules/4.4.85-22-default/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet
    make[2]: Entering directory '/usr/src/linux-4.4.85-22-obj/x86_64/default'
    LD /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/built-in.o
    CC [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/pvmnet.o
    LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.o
    Building modules, stage 2.
    MODPOST 1 modules
    CC /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.mod.o
    LD [M] /usr/lib/parallels-tools/kmods/prl_eth/pvmnet/prl_eth.ko
    make[2]: Leaving directory '/usr/src/linux-4.4.85-22-obj/x86_64/default'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    cd prl_tg/Toolgate/Guest/Linux/prl_tg && make
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    make -C /lib/modules/4.4.85-22-default/build SUBDIRS=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg modules
    make[2]: Entering directory '/usr/src/linux-4.4.85-22-obj/x86_64/default'
    grep: /lib/modules/4.4.85-22-default/build/include/linux/completion.h: No such file or directory
    CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c: In function 'map_user_request':
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:490:2: warning: passing argument 1 of 'get_user_pages' makes integer from pointer without a cast [enabled by default]
    got = prl_get_user_pages(
    ^
    In file included from /usr/src/linux-4.4.85-22/include/linux/scatterlist.h:7:0,
    from /usr/src/linux-4.4.85-22/include/linux/dmapool.h:14,
    from /usr/src/linux-4.4.85-22/include/linux/pci.h:1276,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:11:
    /usr/src/linux-4.4.85-22/include/linux/mm.h:1264:6: note: expected 'long unsigned int' but argument is of type 'struct task_struct *'
    long get_user_pages(unsigned long start, unsigned long nr_pages,
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:490:2: warning: passing argument 2 of 'get_user_pages' makes integer from pointer without a cast [enabled by default]
    got = prl_get_user_pages(
    ^
    In file included from /usr/src/linux-4.4.85-22/include/linux/scatterlist.h:7:0,
    from /usr/src/linux-4.4.85-22/include/linux/dmapool.h:14,
    from /usr/src/linux-4.4.85-22/include/linux/pci.h:1276,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:11:
    /usr/src/linux-4.4.85-22/include/linux/mm.h:1264:6: note: expected 'long unsigned int' but argument is of type 'struct mm_struct *'
    long get_user_pages(unsigned long start, unsigned long nr_pages,
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:490:2: warning: passing argument 4 of 'get_user_pages' makes pointer from integer without a cast [enabled by default]
    got = prl_get_user_pages(
    ^
    In file included from /usr/src/linux-4.4.85-22/include/linux/scatterlist.h:7:0,
    from /usr/src/linux-4.4.85-22/include/linux/dmapool.h:14,
    from /usr/src/linux-4.4.85-22/include/linux/pci.h:1276,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:11:
    /usr/src/linux-4.4.85-22/include/linux/mm.h:1264:6: note: expected 'struct page **' but argument is of type 'int'
    long get_user_pages(unsigned long start, unsigned long nr_pages,
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:490:2: warning: passing argument 5 of 'get_user_pages' makes pointer from integer without a cast [enabled by default]
    got = prl_get_user_pages(
    ^
    In file included from /usr/src/linux-4.4.85-22/include/linux/scatterlist.h:7:0,
    from /usr/src/linux-4.4.85-22/include/linux/dmapool.h:14,
    from /usr/src/linux-4.4.85-22/include/linux/pci.h:1276,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:11:
    /usr/src/linux-4.4.85-22/include/linux/mm.h:1264:6: note: expected 'struct vm_area_struct **' but argument is of type 'unsigned char:1'
    long get_user_pages(unsigned long start, unsigned long nr_pages,
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:490:2: error: too many arguments to function 'get_user_pages'
    got = prl_get_user_pages(
    ^
    In file included from /usr/src/linux-4.4.85-22/include/linux/scatterlist.h:7:0,
    from /usr/src/linux-4.4.85-22/include/linux/dmapool.h:14,
    from /usr/src/linux-4.4.85-22/include/linux/pci.h:1276,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.c:11:
    /usr/src/linux-4.4.85-22/include/linux/mm.h:1264:6: note: declared here
    long get_user_pages(unsigned long start, unsigned long nr_pages,
    ^
    /usr/src/linux-4.4.85-22/scripts/Makefile.build:259: recipe for target '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o' failed
    make[5]: *** [/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o] Error 1
    /usr/src/linux-4.4.85-22/Makefile:1431: recipe for target '_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg' failed
    make[4]: *** [_module_/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg] Error 2
    Makefile:150: recipe for target 'sub-make' failed
    make[3]: *** [sub-make] Error 2
    Makefile:24: recipe for target '__sub-make' failed
    make[2]: *** [__sub-make] Error 2
    make[2]: Leaving directory '/usr/src/linux-4.4.85-22-obj/x86_64/default'
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/Makefile.v26:23: recipe for target 'prl_tg' failed
    make[1]: *** [prl_tg] Error 2
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg'
    Makefile.kmods:34: recipe for target 'installme' failed
    make: *** [installme] Error 2
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    Error: could not build kernel modules
    Error: failed to install kernel modules
    2017-09-13T15:10:17+0300: execCmd: ./install --install [143]
    2017-09-13T15:10:17+0300: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
    2017-09-13T15:10:21+0300: Exiting with code 1
     
    RayB1 likes this.
  2. vak

    vak Bit poster

    Messages:
    5
    should I open case with support or this post will be enough?
     
  3. RayB1

    RayB1 Junior Member

    Messages:
    11
    I get EXACTLY the same error and I submitted a support request.
     
  4. vak

    vak Bit poster

    Messages:
    5
    cool, please update thread here when you have news about issue, i won't open sr then to not bother support as they have already one open.
     
  5. I also have that issue --- exactly the same.
    History says Parallels Tools and openSuSE don't play well together.
     
  6. RayB1

    RayB1 Junior Member

    Messages:
    11
    I wouldn't call what I submitted is a case, it's a support request, and I can't even find a link as to the status of my support ticket... If you can actually open a formal case, then that could be very helpful.
     
  7. RayB1

    RayB1 Junior Member

    Messages:
    11
    Support have escalated this so I'm awaiting further details.
     
  8. RayB1

    RayB1 Junior Member

    Messages:
    11
    "Response from support --
    "Case escalated to the development team, no ETA but they're working on it."
    So don't hold your breath but they're working on it.
     
  9. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    I may suggest a dirty workaround of the problem if you want for not to wait for update of Parallels Desktop.
     
  10. RayB1

    RayB1 Junior Member

    Messages:
    11
    I'll wait but thanks for the offer. Most kind.
     
  11. vak

    vak Bit poster

    Messages:
    5
    I'm interested in workaround, please share.
     
  12. rkulikov

    rkulikov Parallels Developers

    Messages:
    313
    Here it is. It is not officially supported. You follow it on your own risk. Instructions are based on version 13.0.1.

    First insert image with Parallels Tools into virtual CD drive. Then do these commands in guest terminal:
    $ sudo mount /dev/sr0 /mnt
    $ mkdir ptools
    $ cp -R /mnt/* ptools/
    $ chmod -R +w ptools/
    $ pushd ptools/kmods/
    $ tar xf prl_mod.tar.gz
    $ sed -i 's/4, 9, 0/4, 4, 76/' prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h
    $ mv prl_mod.tar.gz ..
    $ tar czf ../prl_mod.tar.gz *
    $ mv ../prl_mod.tar.gz .
    $ popd
    $ sudo ptools/install
     
  13. vak

    vak Bit poster

    Messages:
    5
    tnx, buddy.
     
  14. SebastianB7

    SebastianB7 Bit poster

    Messages:
    7
    Is there an updated dirty workaround for the 13.3 ?
    Tumvleweed seems to continue having issues when installing Parallel Tools. Installation fails again....
     

Share This Page