Home page of this blog

Wednesday, July 13, 2011

Custom kernel 2.6.39.3 ubuntu amd64 packages optimized for core2 and above


Requirements

This package is created in Ubuntu 11.04 and should install fine in all versions of Ubuntu Linux 11.04 (as well 10.10) and Linux Mint 11 (as well Mint 10) (should as well in debian squeeze but not sure about dkms)

The build is for 64bit core2 processors and above (intel quadcore, i3, i5 and i7)

The following are the configuration settings

  1. Processor is selected as CORE2
  2. Makefile and Makefile_32 modified to reflect march settings and mtune settings to core2
  3. Configuration of oneiric kernel is taken as base, http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.39.3-oneiric/
  4. Kernel Timer Frequency is 100 HZ as oneiric kernel config defaulted to this frequency

How to install

To install

sudo dpkg -i linux-image-2.6.39.3-core2swift_14.00_amd64.deb linux-headers-2.6.39.3-core2swift_14.00_amd64.deb

followed by (these steps update-initramfs and update-grub are not required for mint10 or maverick, these were required when using Ubuntu Lucid)

sudo update-initramfs -c -k 2.6.39.3-core2swift

and final step of

sudo update-grub

before rebooting and reboot into the newly installed kernel from grub

How to build yourself

follow my blog on how to build kernel in ten steps at


Kernel Source

I downloaded the kernel source tarball from kernel.org

Version: 2.6.39.3


MD5SUMS



e56c13441a01d2d824d41c8c334acb90  linux-headers-2.6.39.3-core2swift_14.00_amd64.deb
499ea0974956939207bf8ca04a492ec5  linux-image-2.6.39.3-core2swift_14.00_amd64.deb
674cde81ea04c5da83a6affc57023424  Readme.odt
ee780107d2ebd285f671eea7472b981f  Readme.pdf
ea48c1e9f29ef88987cc4d6af96a949a  CONFIG-CORE2



SHA256SUMS


8cde00077d2ab4345c989ebb56b8788db99c9ca5cc052ffeb73c6c2255de1507  linux-headers-2.6.39.3-core2swift_14.00_amd64.deb
94018021e25d3ca7091f5e8f90229e7623e7b154233e87ae4f4a2a0489148591  linux-image-2.6.39.3-core2swift_14.00_amd64.deb
98ce48f9a274b2dc6c6563a3e2448d2631dab1650028f93553bede54a8df2a78  Readme.odt
28a4dc58860d6e4a6081b093ae2034e8e8d5aaf2977e516c801b2d956a20dd26  Readme.pdf
0e70cab7e27d3511e77e362f5bca1d85f467e5d85a3563d3e4025046b14e8d1a  CONFIG-CORE2



Dropbox Download Links


http://dl.dropbox.com/u/22900905/MyKernelBuilds/2.6.39.3-core2swift/CONFIG-CORE2
http://dl.dropbox.com/u/22900905/MyKernelBuilds/2.6.39.3-core2swift/linux-headers-2.6.39.3-core2swift_14.00_amd64.deb
http://dl.dropbox.com/u/22900905/MyKernelBuilds/2.6.39.3-core2swift/linux-image-2.6.39.3-core2swift_14.00_amd64.deb
http://dl.dropbox.com/u/22900905/MyKernelBuilds/2.6.39.3-core2swift/Readme.odt
http://dl.dropbox.com/u/22900905/MyKernelBuilds/2.6.39.3-core2swift/Readme.pdf

6 comments:

  1. This should solve bluetooth problems as Oneiric config compiles Bluetooth modules as part of kernel and this kernel uses the same config!

    ReplyDelete
  2. I built the same kernel optimized for amdfam10 processors( Athlon X2 7x50, Phenom X3/X4, Phenom II,
    Athlon II X2/X3/X4 according to SafeCFlags from gentoo wiki)

    Here are the download links for interested in testing (I dont have amd processor to test)


    Config

    Kernel Image

    Kernel Headers

    Readme.pdf

    Readme.odt

    SHA256SUMS

    MD5SUMS

    ReplyDelete
  3. SHA256SUMS of the amdfam10 build files (just a cross reference other than dropbox)

    2af21b90a8cf749181be2f2aa317bae3687ca2556925fb96c39ab99814f0f900 linux-headers-2.6.39.3-amdfam10_14.00_amd64.deb
    5f76bd7ab02a15595adca2ec1b919b7f15126290db814baeedd6bd1966b7f8f1 linux-image-2.6.39.3-amdfam10_14.00_amd64.deb
    9cd59b280c0d1248cd07c8a3a6976829e3a75e15f6efceec1da8ac2eb7bf0eba Readme.odt
    5c741faa15d25741d9a6c66b304fb6b6b0f74b04c49d37986a7d60e574209889 Readme.pdf
    9c1ece94fc265c5f3a9f57c0e32402a6cb11e8b494e65281a0ac65d31a6fbdf1 CONFIG-AMDFAM10

    ReplyDelete
  4. waiting for your corei7 specific compile, it's a killer :)

    ReplyDelete