Make your Linux kernel recompilation easier

Source: Internet
Author: User
Let your Linux kernel recompilation go smoothly-Linux general technology-Linux programming and kernel information. The following is a detailed description. Kernel re-compilation is a great challenge for many Linux enthusiasts. I believe that many Linux users often have a misunderstanding about the kernel. They think that common users cannot adjust the kernel. In fact, this recognition is not comprehensive in actual situations. It should be said that kernel re-compilation has a certain depth and complexity, and is also easy to fail the configuration work. Next, I will share my experiences with you so that you can avoid detours.

If you pay attention to the authoritative Linux reference tool books, you will find that many original books describe kernel recompilation as an important chapter. This article will introduce to readers not how to re-compile the Linux kernel step by step, but to collect and sort out several of the most common faults and solutions in the Linux Kernel re-compilation, if you encounter a similar fault during kernel compilation, this article will help you.

Linux Kernel re-compilation Common Faults

Before introducing common Linux kernel recompilation faults, let's assume that we have configured the Linux kernel according to the steps in the reference tool book.

Linux Kernel recompilation usually involves many steps. If you are lucky, the Linux kernel re-compilation can be successful at one time. If the system prompts an error message when the computer or kernel is started after compilation is complete, the five most likely to appear are: 1. the kernel cannot be started; 2. exception I/O error; 3. slow kernel response; 4. the kernel cannot be compiled correctly. 5. the system restarts again.

Fault Analysis and Solution

The kernel cannot be started.

When we re-create the Linux kernel, we mainly choose the devices and services that the user needs or does not need to use in the system. Starting from the 2.0 kernel, Linux introduced a brand new design feature to the kernel and provided a compromise solution: components can be dynamically and at any time transferred to and called out the kernel. For example, we have to restart the system after modifying/etc/lilo. conf. If your kernel cannot be started and the following information is displayed on the screen:
 
QUOTE:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.