Intel® System Debugger User Guide

ID 648476
Date 06/13/2024
Confidential
Document Table of Contents

Loading Linux* Kernel Modules

Intel(R) System Debugger allows you to load Linux* kernel symbols and any desired modules including ones you compile separately (out-of-tree modules).

To load Linux* kernel modules:

  1. Load the Linux* kernel (vmlinux) with either of the two methods:

    1. Loading a KASLR-Enabled Linux* Kernel

    2. Manual Loading of Linux* Kernel

  2. Once the symbols are ready, follow any of the methods below to load modules (you can combine different methods):

    • To load module files located next to the kernel image:

      Expand the drop-down menu of the load_thisLoad the Current Module button and select linux_iconLoad Linux Kernel Modules from Kernel Image Folder.

      The debugger locates the path where the kernel image resides and starts scanning memory for module names.

    • To load module files located in a different directory:

      1. Expand the drop-down menu of the load_thisLoad the Current Module button and select linux_iconLoad Linux Kernel Modules from Folder.

      2. Navigate to the folder where the modules.order file resides and click OK.

    • To load out-of-tree modules (for example, the ones compiled separately and not included into modules.order):

      1. Expand the drop-down menu of the load_thisLoad the Current Module button and select linux_iconLoad Linux Kernel Modules from Folder.

      2. Navigate to the folder where the .ko files reside and click OK.

        If no .ko files are found in the specify location, the debugger tries to scan for the modules.order file.

  3. When the scan is completed, all currently running modules are displayed in the Modules view.