Rate This Document
Findability
Accuracy
Completeness
Readability

Error Reported During Data Collection for Memory Diagnosis

Symptom

The error message "modprobe:FATAL:Module kheaders not found in directory /l**b/m**s/4.19.90-vhulk2211.3.0.h1489.eulerosv2r10.aarch64" is displayed during data collection for memory diagnosis.

Possible Causes

There is no build file in the in-use kernel version's directory in /lib/modules. As a result, the corresponding kernel-headers cannot be found.

Troubleshooting Procedure

  1. Install the dependency.
    1
    yum install kernel-devel
    

    Verify that the kernel-devel version matches the kernel version. If not, view the soft link.

  2. View the soft link.

    Go to the AArch64 version directory of kernel-devel (installed using Yum) in /lib/modules and view the soft link target of the build file.

    Figure 1 Soft link
  3. Add the soft link.

    Add a soft link from the build file to the in-use kernel version's directory in /lib/modules. You can run the uname -a command to view the corresponding kernel version.

    1
    ln -sf Target_file build