Parallels Tools fails to install with Linux kernel 6.12.1-2-aarch64-ARCH

Discussion in 'Linux Virtual Machine' started by JohannesE2, Dec 17, 2024.

  1. SebastianG4

    SebastianG4 Junior Member

    Messages:
    10
    Thanks for your feedback. I know that with Fedora everything works well, also for many other Linux ARM distros like Red Hat, Ubuntu, Debian, CentOS OpenSUSE, Kali and Arch, but not for Oracle Linux. I already did contact tech support, but did not get a solution either...
     
  2. SebastianG4

    SebastianG4 Junior Member

    Messages:
    10
  3. zslg01

    zslg01 Member

    Messages:
    50
    same sort of issue in Debian 13 Trixie - some part of parallels tools fails with not it needs to be run as root....
     
  4. LaurentB4

    LaurentB4 Bit poster

    Messages:
    2
    For OL8 (with recent kernel version) the solution is :
    dnf install -y oracle-epel-release-el8
    dnf install -y kernel-uek-devel-$(uname -r) kernel-uek-devel-5.15.0-206.153.7.1.el8uek
    dnf install -y gcc-aarch64-linux-gnu.aarch64 gcc-c++-aarch64-linux-gnu.aarch64 gcc-toolset-12.aarch64 gcc-toolset-12-runtime.aarch64 gcc-toolset-12-gcc-c++.aarch64
    mv /usr/bin/gcc /usr/bin/gcc-8
    ln -s /opt/rh/gcc-toolset-12/root/usr/bin/gcc /usr/bin/
    if [ $(uname -r) != 5.15.0-206.153.7.1.el8uek.aarch64 ] ; then
    mv /usr/src/kernels/$(uname -r)/include/linux/arm-smccc.h /usr/src/kernels/$(uname -r)/include/linux/arm-smccc.h.orig
    cp /usr/src/kernels/5.15.0-206.153.7.1.el8uek.aarch64/include/linux/arm-smccc.h /usr/src/kernels/$(uname -r)/include/linux/
    fi
    mv /usr/src/kernels/$(uname -r)/include/linux/arm-smccc.h /usr/src/kernels/$(uname -r)/include/linux/arm-smccc.h.orig
    cp /usr/src/kernels/5.15.0-206.153.7.1.el9uek.aarch64/include/linux/arm-smccc.h /usr/src/kernels/$(uname -r)/include/linux/
    mkdir /media/cdrom
    mount /dev/cdrom /media/cdrom
    /media/cdrom/install
    rm /usr/bin/gcc
    mv /usr/bin/gcc-8 /usr/bin/gcc


    For OL9, more simply :
    dnf install -y oracle-epel-release-el9
    dnf install -y kernel-uek-devel-$(uname -r) kernel-uek-devel-5.15.0-206.153.7.1.el9uek
    mv /usr/src/kernels/$(uname -r)/include/linux/arm-smccc.h /usr/src/kernels/$(uname -r)/include/linux/arm-smccc.h.orig
    cp /usr/src/kernels/5.15.0-206.153.7.1.el9uek.aarch64/include/linux/arm-smccc.h /usr/src/kernels/$(uname -r)/include/linux/
    mkdir /media/cdrom
    mount /dev/cdrom /media/cdrom

    /media/cdrom/install
     

Share This Page