Intel® Acceleration Stack User Guide: Intel® FPGA Programmable Acceleration Card N3000-N/2

ID 683362
Date 11/01/2021
Public
Document Table of Contents

4.1.2.2.2. Build and Install kernel 4.19

  1. Copy the provided config_4.19_opae file to the kernel source directory and rename the file as .config:
    $ cp ../config_4.19_opae .config
  2. Build the kernel source with real time patch. The makefile for the kernel source allows you to specify the number of cores/threads to use. The kernel source takes several minutes to build. Intel recommends to use the following command for the build which uses all the cores:
    $ make -j $(nproc)
    Tip: Substitute $(nproc) with 4 to use reduced server resources for the build.
  3. Install the kernel modules and kernel:
    $ sudo make modules_install
    
    $ sudo make install
    
  4. Update your kernel boot order to make kernel 4.19 as the default kernel:
    $ sudo grubby --set-default /boot/vmlinuz-4.19.106-rt45
    To verify that the default kernel has been set correctly:
    $ sudo grubby --default-kernel
    
    
    Sample output:
    /boot/vmlinuz-4.19.106-rt45
  5. Reboot the server and verify that the kernel 4.19-rt45 is running after reboot:
    $ sudo reboot
    
    After server comes up:
    
    $ uname -mrs
    Linux 4.19.106-rt45 x86_64