OpenSUSE will not install on Parallels 20 on Mac Studio

Discussion in 'Parallels Desktop on a Mac with Apple silicon' started by James Rome, Sep 11, 2024.

  1. James Rome

    James Rome Hunter

    Messages:
    148
    Leap 15.6 installed just fine on Parallels 19, but the parallel tools install died. I was hoping that Parallels 20 would fix this.
    But downloading and trying to install the UEFI-ARM64 openSUSE-Leap-15.6-DVD-aarch64-Build710.3-Media.iso failed. It said it was the wrong kind of ISO.
    How to fix this?
     
    MatteoCorti likes this.
  2. James Rome

    James Rome Hunter

    Messages:
    148
    Where is some response from Parallels?
     
  3. James Rome

    James Rome Hunter

    Messages:
    148
    Hello Parallels
     
  4. MatteoCorti

    MatteoCorti Junior Member

    Messages:
    13
    Seems to work from the command line

    prlctl create openSUSE --ostype linux
    prlctl set openSUSE -device-set cdrom0 --image ~/Downloads/openSUSE-Leap-15.6-NET-aarch64-Build710.3-Media.iso
    prlctl start openSUSE​

    Then attach the DVD and set the boot device in the BIOS. The installer will then start.
     
  5. MatteoCorti

    MatteoCorti Junior Member

    Messages:
    13
    No error about the wrong image. The installer works but stops at
    upload_2024-10-1_22-21-15.png
     
  6. MatteoCorti

    MatteoCorti Junior Member

    Messages:
    13
    Got it working with the full offline installer (DVD) instead of the network installer image.
     
  7. MatteoCorti

    MatteoCorti Junior Member

    Messages:
    13
    The installation of Parallels tools fails because of a bug in pm.sh:
    $ ./pm.sh -c gtools
    o net-tools
    $ sudo ./pm.sh -i gtools
    Loading repository data...
    Reading installed packages...
    'net-tools' is already installed.
    Resolving package dependencies...
    Nothing to do.​
    and net-tools is indeed installed.
     
  8. MatteoCorti

    MatteoCorti Junior Member

    Messages:
    13
    Ok, copying the installer to the local disk, removing the net-tools check from pm.sh makes the compilation start. But
    Start compile prl_tg...
    make -C /lib/modules/6.4.0-150600.23.22-default/build M=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg SRCROOT=/usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Lin
    ux/prl_tg CC=cc modules
    make[2]: Entering directory '/usr/src/linux-6.4.0-150600.23.22-obj/arm64/default'
    warning: the compiler differs from the one used to build the kernel
    The kernel was built by: gcc (SUSE Linux) 7.5.0
    You are using: cc (SUSE Linux) 7.5.0
    1: /lib/modules/6.4.0-150600.23.22-default/build
    2: /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg
    3: 20241002
    4: 1.10.2
    CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg.o
    CC [M] /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.o
    In file included from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_common.h:25:0,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:13:
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c: In function 'tg_req_map_user_pages':
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_compat.h:66:3: error: too many arguments to function 'get_user_pages'
    get_user_pages(_1, _2, (_3) ? FOLL_WRITE : 0, _4, NULL)
    ^
    /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:128:8: note: in expansion of macro 'prl_get_user_pages'
    got = prl_get_user_pages(
    ^~~~~~~~~~~~~~~~~~
    In file included from /usr/src/linux-6.4.0-150600.23.22/include/linux/scatterlist.h:8:0,
    from /usr/src/linux-6.4.0-150600.23.22/include/linux/dma-mapping.h:10,
    from /usr/lib/parallels-tools/kmods/prl_tg/Toolgate/Guest/Linux/prl_tg/prltg_call.c:8:
    /usr/src/linux-6.4.0-150600.23.22/include/linux/mm.h:2457:6: note: declared here
    long get_user_pages(unsigned long start, unsigned long nr_pages,
    ^~~~~~~~~~~~~~​
     

Share This Page