Tools failed to compile on SuSE Leap 42.3

Discussion in 'Linux Guest OS Discussion' started by vak, Sep 13, 2017.

  1. vak

    vak Bit Poster

    Messages:
    3
    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:
    3
    should I open case with support or this post will be enough?
     
  3. RayB1

    RayB1 Bit Poster

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

    vak Bit Poster

    Messages:
    3
    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. SterlingG

    SterlingG Bit Poster

    Messages:
    76
    I also have that issue --- exactly the same.
    History says Parallels Tools and openSuSE don't play well together.
     
  6. RayB1

    RayB1 Bit Poster

    Messages:
    9
    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 Bit Poster

    Messages:
    9
    Support have escalated this so I'm awaiting further details.
     

Share This Page