Intel Acceleration Stack Quick Start Guide for Intel® Programmable Acceleration Card with Intel® Arria® 10 GX FPGA

ID 683633
Date 12/04/2020
Public
Document Table of Contents

F.5. Troubleshooting OPAE Installation on RHEL

Find the Intel FPGA drivers loaded.
sudo lsmod | grep fpga 

If no output is returned, follow the below troubleshooting steps.

  1. Find the kernel version used by the system
    uname -a
    

    Sample Output:

    Linux  3.10.0-957.el7.x86_64 #1 SMP Mon Sept 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
    
  2. Update the kernel source
    sudo yum install "kernel-devel-uname-r == $(uname -r)"
    
    Note: If the above installation steps do not work for you, obtain the kernel-headers and kernel-devel rpm package for your kernel from Centos. and install the rpms. After install, verify that the kernel version matches the kernel-headers and kernel-devel version.
  3. Remove the old kernel header and install the relevant kernel headers.
    sudo yum remove kernel-headers.x86_64
    sudo yum  install kernel-headers-`uname -r`
    Note: If the above installation steps do not work for you, obtain the kernel-headers and kernel-devel rpm package for your kernel from Centos. and install the rpms. After install, verify that the kernel version matches the kernel-headers and kernel-devel version.
  4. Remove the Intel FPGA driver.
    sudo yum remove opae-*.x86_64
    
  5. Reinstall the driver by either running the install script (setup.sh) or the command below:
    cd $OPAE_PLATFORM_ROOT/sw
    sudo yum install opae-*.rpm
    
    In some cases, if you don't have the right kernel, you may need to update the kernel using:
    sudo yum update
    Reboot the system and select the new kernel in the grub menu. Then follow the above steps 2 to 5.