DebianLinux2.6.23.8 kernel Compilation

Source: Internet
Author: User
DebianLinux2.6.23.8 kernel compilation-general Linux technology-Linux programming and kernel information. For details, refer to the following section. Preparation:
Install make, gcc, make-kpkg, run menuconfig, and other kernel-related tools.
Apt-get install build-essential kernel-package libncurses5-dev
Or (?)
[Apt-get install gcc make automake autoconf gawk m4 kernel-package initrd-tools]
[Apt-get install build-essential bin86 kernel-package]
[Apt-get install libqt3-headers libqt3-mt-dev]

Download the kernel:
Http://www.kernel.org
Cp./linux-2.6.23.8.tar.bz2/usr/src
Tar-xvf linux-2.6.23.8.tar.bz2
Ln-s./linux-2.6.23.8 linux

Make mrproper clears previously compiled packages

If the previous Kernel configuration is used
Cp/boot/config-'uname-R'./. config copy the config of the kernel used

Make config
Or make menuconfig (libncurses5-dev required) or make xconfig (QT library required) or make gconfig (Gtk + required)

Recommended include
The Processor type and features section contains the features of the Processor.
Subarchitecture Type must be PC
Processor family: This is the Processor. Select your own.
The preemption Model selects low-configuration desktops on the server desktop from top to bottom based on your own situation.
High Memory Support supports large Memory. If the Memory is smaller than or equal to 1 GB, use off.
We recommend that you change Timer frequency to 1000 hz.
Kexec system call: this is a quick restart of the system. To start it, you need the support of another kexec-tool. You have the opportunity to talk about its usage in detail.

IO Schedulers contains IO settings.
We recommend that you disable Anticipatory I/O scheduler Deadline I/O scheduler and leave only CFQ.

Disable Kernel debugging in the kernel hacking Section

Make-kpkg clean clear package once

Make-kpkg -- append-to-version = <486> -- initrd revision = Kernel_image kernel_headers

It takes about one and a half hours. Athlon 2000 + 1.25G 256 MB Mem

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.