Page 1 of 40 12311 ... LastLast
Results 1 to 10 of 394

Thread: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel)

  1. #1
    Join Date
    Apr 2005
    Beans
    31

    How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel)

    This How-To will guide you through the compilation/installation of the 2.6.14 Vanilla Kernel (more recent than the one distribuited with Ubuntu 5.10) with the performance patchset by Kon Colivas.

    1-Download what is needed:

    Type in the command line:

    sudo apt-get install build-essential bin86 kernel-package

    sudo apt-get install libqt3-headers libqt3-mt-dev (needed for make xconfig)
    Then download the following files to your Home directory:

    http://www.kernel.org/pub/linux/kern...2.6.14.tar.bz2

    http://ck.kolivas.org/patches/2.6/2....2.6.14-ck1.bz2

    2-Now, lets unpack the kernel source to /usr/src:

    *Copy the source to /usr/src:

    Code:
    sudo cp linux-2.6.14.tar.bz2 /usr/src
    *Change to /usr/src:

    Code:
    cd /usr/src
    *Unpack it:

    Code:
    sudo tar -xvjf linux-2.6.14.tar.bz2
    *Now lets change the created directory name:

    Code:
    sudo mv linux-2.6.14/ linux-2.6.14cK1
    *Remove the symlink if there is one directory called linux:

    Code:
    sudo rm -rf linux
    *Make the new symlink pointing for our 2.6.14 kernel source:

    Code:
    sudo ln -s /usr/src/linux-2.6.14cK1 linux
    3-Now it's time to patch the kernel:

    *Change to /usr/src/linux:

    Code:
    cd /usr/src/linux
    *Switch to root user:

    Code:
    sudo -s -H
    Password: <specify user password>
    *Apply the patch:

    Code:
    sudo bzcat /home/username/patch-2.6.14-ck1.bz2| patch -p1
    4-Kernel configuration:

    *Import the configuration of the running kernel:

    Code:
    uname -r
    To see what kernel are you running (in my case it is 2.6.12-9-686).

    Code:
    sudo cp /boot/config-2.6.12-9-686 .config
    To copy the config file and use it as base for the new kernel configuration (Don't forget to choose the correct config file).

    *Configure the kernel:

    Code:
    sudo make xconfig
    *While you may tweak your kernel configuration to your needs I will sugest you some tweaks:

    In "General Setup" activate:

    -Support for paging of anonymous memory (swap)
    --Support for prefetching swapped memory

    In "Processor type and features":

    -Processor family Choose the model of your processor.

    Activate:

    -Preemption Model
    --Voluntary Kernel Preemption (Desktop)

    -High Memory Support
    --off -if you have less than 1 GB of RAM
    --1GB Low Memory Support -if you have 1GB of RAM
    --4GB -if you have more than 1GB of RAM

    -Timer frequency
    --1000 Hz

    In "Device drivers" go to "Block devices" and in "IO Schedulers" leave only the "CFQ I/O scheduler" activated, which provides the best performance.

    In "Kernel hacking" uncheck "Kernel debugging".

    Ctrl+S to save the kernel configuration and then close the window.

    5-Let's build the kernel:

    *In a terminal make sure you are in /usr/src/linux with full root access.

    We will build a ".deb" file that can be installed in our Ubuntu system, using make-kpkg.

    *In a terminal type:

    Code:
    make-kpkg clean
    
    make-kpkg -initrd --revision=ck1 kernel_image
    If there wasn't errors this will build the kernel and a ".deb" file will be created at /usr/src.
    *To install it:

    Code:
    sudo dpkg -i kernel-image-2.6.14*.deb

    6-Reboot and everything should be running ok!
    *Try:

    Code:
    uname -r
    to see that you are running the new kernel.


    7-Nvidia graphic cards users:

    To install Nvidia driver follow the guide (no need to install linux-headers as we have the source in /usr/src/linux:

    http://www.ubuntuforums.org/showthre...ghlight=nvidia


    If you have any problem ask here.

    Hope you like it!

    R&#250;ben Gon&#231;alves
    Last edited by RubenGonc; October 31st, 2005 at 12:17 AM.

  2. #2
    Join Date
    Mar 2005
    Beans
    6,040

    Re: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel)

    Shall we retain the Ubuntu devs' patches to the 2.6.12 kernel (found in the linux-patch-ubuntu-2.6.12 package) by using this kernel? Are Ubuntu's kernel patches sent upstream and merged, or do they have to be applied manually?
    Previously known as 23meg

  3. #3
    Join Date
    Apr 2005
    Location
    IRC or Forums
    Beans
    542
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel)

    If you're not sure of it's changes please see here: http://www.kernel.org/pub/linux/kern...angeLog-2.6.14

    And also other news here: http://linuxdevices.com/news/NS7213494018.html4
    Best wishes,
    XDevHald

  4. #4
    Join Date
    Apr 2005
    Beans
    31

    Re: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel

    Quote Originally Posted by 23meg
    Shall we retain the Ubuntu devs' patches to the 2.6.12 kernel (found in the linux-patch-ubuntu-2.6.12 package) by using this kernel? Are Ubuntu's kernel patches sent upstream and merged, or do they have to be applied manually?

    I think that it isn't needed. I haven't applied them and everything is alright

  5. #5
    Join Date
    Oct 2005
    Location
    Brussels
    Beans
    41
    Distro
    Ubuntu

    Re: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel

    Nice guide, worked flawlessy for me, thanks

  6. #6
    Join Date
    Oct 2004
    Location
    The Netherlands
    Beans
    162
    Distro
    Ubuntu Breezy 5.10

    Re: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel

    Code:
    root@ubuntu:/usr/src/linux# sudo make xconfig
    *
    * Unable to find the QT installation. Please make sure that the
    * QT development package is correctly installed and the QTDIR
    * environment variable is set to the correct location.
    *
    make[1]: *** [scripts/kconfig/.tmp_qtcheck] Fout 1
    make: *** [xconfig] Fout 2
    and

    Code:
    root@ubuntu:/usr/src/linux# sudo apt-get install libqt3-headers
    Pakketlijsten worden ingelezen... Klaar
    Boom van vereisten wordt opgebouwd... Klaar
    libqt3-headers is reeds de nieuwste versie.
    0 pakketten opgewaardeerd, 0 nieuwe pakketten ge´nstalleerd, 0 verwijderen en 0 niet opgewaardeerd.
    (it says libqt3-headers is already the newest version.)

  7. #7
    Join Date
    Apr 2005
    Location
    Markham, Ontario
    Beans
    300
    Distro
    Ubuntu Development Release

    Re: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel

    Is pentium-m strictly for the newer mobile chips or can I use that option with my PIII-M?

  8. #8
    Join Date
    Jun 2005
    Beans
    173

    Re: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel

    Quote Originally Posted by Dracontopes
    Code:
    root@ubuntu:/usr/src/linux# sudo make xconfig
    *
    * Unable to find the QT installation. Please make sure that the
    * QT development package is correctly installed and the QTDIR
    * environment variable is set to the correct location.
    *
    make[1]: *** [scripts/kconfig/.tmp_qtcheck] Fout 1
    make: *** [xconfig] Fout 2
    and

    Code:
    root@ubuntu:/usr/src/linux# sudo apt-get install libqt3-headers
    Pakketlijsten worden ingelezen... Klaar
    Boom van vereisten wordt opgebouwd... Klaar
    libqt3-headers is reeds de nieuwste versie.
    0 pakketten opgewaardeerd, 0 nieuwe pakketten ge´nstalleerd, 0 verwijderen en 0 niet opgewaardeerd.
    (it says libqt3-headers is already the newest version.)
    Try installing the libqt3-mt-dev package.

  9. #9
    Join Date
    Oct 2005
    Location
    Brussels
    Beans
    41
    Distro
    Ubuntu

    Re: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel

    Quote Originally Posted by Dracontopes
    Code:
    root@ubuntu:/usr/src/linux# sudo make xconfig
    *
    * Unable to find the QT installation. Please make sure that the
    * QT development package is correctly installed and the QTDIR
    * environment variable is set to the correct location.
    *
    make[1]: *** [scripts/kconfig/.tmp_qtcheck] Fout 1
    make: *** [xconfig] Fout 2
    and

    Code:
    root@ubuntu:/usr/src/linux# sudo apt-get install libqt3-headers
    Pakketlijsten worden ingelezen... Klaar
    Boom van vereisten wordt opgebouwd... Klaar
    libqt3-headers is reeds de nieuwste versie.
    0 pakketten opgewaardeerd, 0 nieuwe pakketten ge´nstalleerd, 0 verwijderen en 0 niet opgewaardeerd.
    (it says libqt3-headers is already the newest version.)
    a simple workaround would be to use 'make menuconfig' instead (text-based), but maybe there's a more proper way.

  10. #10
    Join Date
    Apr 2005
    Beans
    31

    Re: How-To: 2.6.14 Vanilla Kernel (latest) + ck Patchset (Enhanced Performance kernel

    Quote Originally Posted by Dracontopes
    Code:
    root@ubuntu:/usr/src/linux# sudo make xconfig
    *
    * Unable to find the QT installation. Please make sure that the
    * QT development package is correctly installed and the QTDIR
    * environment variable is set to the correct location.
    *
    make[1]: *** [scripts/kconfig/.tmp_qtcheck] Fout 1
    make: *** [xconfig] Fout 2
    and

    Code:
    root@ubuntu:/usr/src/linux# sudo apt-get install libqt3-headers
    Pakketlijsten worden ingelezen... Klaar
    Boom van vereisten wordt opgebouwd... Klaar
    libqt3-headers is reeds de nieuwste versie.
    0 pakketten opgewaardeerd, 0 nieuwe pakketten ge´nstalleerd, 0 verwijderen en 0 niet opgewaardeerd.
    (it says libqt3-headers is already the newest version.)

    Yes, I forgot to mention to install libqt3-mt-dev. How-To updated. Or you can use "sudo make menuconfig" or "sudo make gconfig" (you need gtk+-2.0, glib-2.0 and libglade-2.0) instead.

Page 1 of 40 12311 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •