Intel Acceleration Stack Quick Start Guide: Intel FPGA Programmable Acceleration Card D5005

ID 683394
Date 7/09/2021
Public
Document Table of Contents

D.4. Command lsmod | grep fpga shows no output after installing the OPAE driver. How to successfully install the OPAE driver?

  1. Check the kernel version running on the server:
    $ uname -a
    Sample output:
    Linux test_machine 3.10.0-957.el7.x86_64
  2. List the kernel source on the system:
    $ ls -l /usr/src/kernels/
    Sample output:
    drwxr-xr-x. 22 root root 4096 Jun 21 13:05 3.10.0-957.el7.x86_64
  3. List the installed kernel header:
    $ rpm -qa | grep kernel-header
    
    kernel-headers-3.10.0-957.el7.x86_64
If the kernel source and headers do not match the kernel version running on the server, there can be issues with installing the OPAE driver.
To fix this issue:
  1. Remove the incompatible kernel source and kernel header.
  2. Install the correct kernel source:
    sudo yum install kernel-headers-`uname -r`
  3. Install the correct kernel headers:
    sudo yum install kernel-headers-`uname -r`
  4. Remove and re-install the OPAE driver:
    sudo yum remove opae-intel-fpga-driver*.x86_64
    cd $OPAE_PLATFORM_ROOT/sw/
    sudo yum install opae-intel-fpga-driver*.rpm