All Products
Search
Document Center

Server Migration Center:What do I do if the "Multiple debug kernels installed" error message appears?

Last Updated:May 13, 2024

Problem description

During the migration of an operating system, the "Multiple debug kernels installed" error message is reported.

Cause

A kernel-debug package is provided as a debug information package of a Linux kernel and contains the symbol tables, debug symbols, and debug information of the kernel. The information in a kernel-debug package helps developers and O&M engineers analyze and debug the kernel code to diagnose kernel panics. You need to install a kernel-debug package only when you try to gather additional information about kernel panics. Many debug options are enabled in a kernel-debug package, and some of the options affect the system performance. If you install multiple kernel-debug packages in the operating system, the operating system may fail to be migrated.

Solution

  1. Connect to the Elastic Compute Service (ECS) instance whose operating system you want to migrate. For more information, see Connect to a Linux instance by using a password or key.

  2. Delete the extra kernel-debug packages and keep only one in the operating system.

    1. Run the following command to query the kernel-debug packages that are installed in the operating system:

      rpm -qa | grep kernel-debug

      View the names and version numbers of all installed kernel-debug packages in the operating system.

      kernel-debuginfo-5.11.0-36.1.1.x86_64
      kernel-debuginfo-5.11.0-40.1.1.x86_64
    2. Run the following command to delete the extra kernel-debug packages and keep only one in the operating system:

      yum remove kernel-debuginfo-5.11.0-36.1.1.x86_64
    3. Enter y and press the Enter key to confirm the deletion.

  3. After the error is resolved, run the SMC client and retry the migration job. For more information, see Run the SMC client.