Troubleshooting Debian Kernel Compilation Lenny

Updated: ASR Pro

  • Step 1: Go to the ASR Pro website and click on the "Download" button
  • Step 2: Follow the on-screen instructions to install ASR Pro
  • Step 3: Open ASR Pro and click on the "Scan now" button
  • Click here to fix all of your computer problems with this software.

    Sometimes your system may display an error code indicating that the Debian kernel is compiling Howto lenny. There can be many reasons for this error.

    This guide explains how to compile the Debian kernel in version 5.0. The escape kernel that ships with Debian is server friendly. It has an optimized high throughput and low efficiency. Compiling yours will help you optimize it for whatever processors you have, among other things.

    Prepare your system

    # apt-get install kernel-package ncurses-dev bzip2 module-init-tools initramfs-tools procps fakeroot

    If you want to use the graphical gconfig xconfig configuration tools, you need additional mailings or libgtk2.0-dev libglib2.Libglade2-dev 0-dev if you are considering gconfig or libqt3-mt-dev for xconfig.

    Updated: ASR Pro

    Is your computer acting up? Don't worry, ASR Pro is here to help. With just a few clicks, our software can scan your system for problems and fix them automatically. So you can get back to work as quickly as possible. Don't let a little glitch hold you back - download ASR Pro today!

  • Step 1: Go to the ASR Pro website and click on the "Download" button
  • Step 2: Follow the on-screen instructions to install ASR Pro
  • Step 3: Open ASR Pro and click on the "Scan now" button

  • uname -r

    # apt-get use linux-source-2.6.26

    #mkdir ~ / newkernel /

    #cp /usr/src/linux-source-2.6.26.tar.bz2 ~ / newkernel /

    #cd / new core /

    #tar xjf linux-source-2.6.26.tar.bz2

    #cd linux-source-2.6.26

    You might want to copy the working template for kernel.config to this directory, you can find it in / boot /.

    # cp / boot / config – $ (uname -r) ./. config

    #cat / proc / cpuinfo

    #create config

    #make menuconfig

    # make gconfig

    If you are using gconfig the screen will look like this

    In the above screen, you just need to click the Y / M / N letter in the very last column of your main selection to enable or disable many options

    # make-kpkg clean

    debian kernel kompilieren howto lenny

    If you have a specific multiprocessor computer, you must start each of the processors

    #export CONCURRENCY_LEVEL = 2

    Make the actual purchase. This takes anywhere from ten minutes to 5 hours, depending on hardware and configuration parameters. More (the more you choose, the longer the situation will last). You need to increase kernel_headers if you want to round some other modules completely in relation to the kernel, for example. ati or nvidia driver.

    # make-kpkg - rootcmd fakeroot - initrd - revision = custom.001 kernel_image possibly kernel_headers

    < / Quote>

    It gives you all kinds of chatter, warnings and notifications when it’s really okay. Link


    sponsored this is done, go to the bottom directory where the .n, -i just created

    #dpkg * .deb

    Restart each of our new kernels and select each of our new kernels from the list with your initials or whatever you specify, keep this in mind during installation.

    This is usually very easy because Debian attracts energy companies:

     Build a kernel package aptitude Build-Essential fakeroot libncurses5-dev bzip2cd / usr / srcwget ""tar -jxf Linux-2.6.36.tar.bz2CD-Linux-2.6.36cp / boot / config-uname -s ./.config 

    After that, you can either run make menuconfig or just use your favorite editor to change the config type accordingly.
    This step is optional. If you do not want to change any of the settings, you cannot currently do that either. If new principles become available that were not part of previous kernels, they will still be requested as long as they are in the build core.

    debian kernel kompilieren howto lenny

     fakeroot make-kpkg clean upfakeroot make-kpkg --append-to-version = .gosi1 kernel_image 

    Updating the kernel will take a while, after which we just need to install it with dpkg -i and update the initrd:

     update-initramfs -c -alright 2.6.36.gosi1update-grub 

    You may run into obstacles, here are the solutions for some people:

    Error message Solution
    â € Error: zlib.h: no file or directory types installing aptitude zlib1g-dev
    lguest.c: 21:25: Error: sys / eventfd.h: No such file or directory disable this virtualized guest support in our own kernel config: “Processor and Type Functions”:â € â € œParavirtualized with supportâ € = N
    (in Lenny it should look like this because it ships with the old libc6 which lacks sys / eventfd.h)
    UTS release includes a far from the current version of /linux/in.h Download this and keep downloading even if you are using Lenny ..

    Feel free to compile your kernel. It’s fun and rewarding.

    To build a Debian-style kernel, you need several packages: Fakeroot , Kernel Package , linux-2.6 source code and some others that are usually probably already installed (see. /usr/share/doc/kernel-package/README.gz becausefull list).

    This method creates a .t file from your kernel source, if linked to you.Non-standard modules, create a synchronized dependent .deb from themAlso. This is their best way to handle kernel images; / boot is the kernel, andthe log of the configuration file used to build.

    Please note that human does not need to compile the kernel”The Debian way”; but we find that with the packaging systemManaging the entire kernel is actually much faster and safer. In fact you getYour sources Can the kernel directly from Linus do something linux-2.6 source code ,however, use the kernel-package method to compile.

    Note that you have a complete document with. Find kernel package below / usr / share / doc / kernel-package . Only this fencecontains a quick guide.

    Then we will assume that you have and will be free hands with your favorite car.Unzip the resource for studychange the kernel to the home directory [17] . We also assume that your company’s kernel version is2.6.26. Make sure you are in the directory where peoplewant to unzip the kernel sources, copy them too tar xjf /usr/src/linux-source-2.6.26.tar.bz2 and flip the linux-source-2.6.26 directorywhich led to its creation.

    You can now customize your current kernel. Run make. outsidexconfig if X11 is actually installed, configured and running; Run away make menuconfig otherwise need libncurses5-dev (will be installed). Take time to read onlinethese and choose carefully. If you are unsure, usuallybest all device drivers (software that usually drives)Hardware devices such as Ethernet SCSI credit cards, controllers, etc.a) you are shy. Attention: other sources not related to a. Have to dosome materials may remain with standard benefits if you do notunderstand them. Don’t forget to make the decision: “Loadable bootloader” is a kernel the module holder ”(still not selected by default).If he probably won’t includeen, your Debian installation will run into obstacles.

    Clean up the source tree and reset the kernel package to zero.Parameter. To do where, run Clean make-kpkg.Compile

    now the kernel: fakeroot make-kpkg --initrd --revision = custom.1.0 kernel_image .The version number "1.0" can be changed at will; this is only a versionthe percentage that you will use for kernel versioning.Can you insert any word instead of "Custom"?(for example, hostname). Compiling the kernel can take a long time, depending on the timethe performance of your entire machine.

    With the compilation complete, it's time to install your own any system. Like a root, dpkg can use -i../linux-image-2.6.26-sous-architecture_custom.1.0_ia64.deb .The subarchitecture part is optional.Parchitecture,according to the kernel parameters specified by the buyers. dpkg -i installsThe kernel as well as other cool supporting files. For instance, will be installed correctly(useful for debugging kernel issues) and /boot/config-2.6.26 can be installed bywith yourthe current layout set. Your newReally smart kernel package for auto-rewrite on bootthe bootloader uses a completely new kernel. If you made a real package,You also need to install modules from this package.

    It's time to reboot your system: carefully read the few warnings that precede the stepabove, then shutdown -r now .

    For more information about Debian regarding kernels, and therefore about compiling a kernel, see.Debian Linux Kernel Guide.More information about the kernel package can be found inVery cool stuff in the documentation / usr / share / doc / kernel-package .

    8.6.1. Kernel Image Management

    Click here to fix all of your computer problems with this software.

    데비안 커널 Kompilieren 하우투 Lenny