Home page of this blog

Sunday, September 18, 2011

Naruto

Yes this is totally unrelated to my experiments with linux, :)

But but, I am dissolved in these extremely superb anime, can't stop watching ... waiting for the next episodes, bring it on

Wednesday, September 7, 2011

Custom 64 bit ubuntu kernel 3.0.4 optimized for i3, i5 and i7


Kernel Configuration 3.0.4
  1. Followed Ubuntu way of building kernel (to know more follow this link)
  2. Used EL6 config as base (copied EL6 config instead of cp debian.master/config/amd64/config.flavour.generic debian.master/config/amd64/config.flavour.i7)
  3. Selected processor as CORE2 
  4. Used GCC 4.6 (to use the new arch corei7 which is for i3, i5 and i7 intel processors)
  5. Edited main Makefile to append -march=corei7 -mtune=corei7
  6. Enabled transparent hugepages support
  7. Enabled all cpufrequency scaling drivers like ubuntu
How to install


Extract the kernel zip file, and enter into the extracted folder in terminal (using open in terminal in nautilus)

sudo dpkg -i linux-headers-3.0.4-030004_3.0.4-030004.201108301138_all.deb linux-headers-3.0.4-030004-i7_3.0.4-030004.201108301138_amd64.deb linux-image-3.0.4-030004-i7_3.0.4-030004.201108301138_amd64.deb
Changes done in my system

Added pci=nocrs to kernel in /etc/grub.d/10_linux to avoid pci address space conflict warning

GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT pci=nocrs"

Ran update-grub2 to regenerate grub entries
Added acpi_cpufreq in /etc/modules to enable cpufrequncy scaling (by default not adding acpi_cpufreq module in /etc/modules ran my processor in full speed and I was happy to the overclock frequency working!!, or in other words if you overclock dont add acpi_cpufreq in /etc/modules)

Mediafire download links

Zipped Kernel build script,  config, headers and image deb here
SHA256SUMS here


SHA256SUMS


884f4abf7e2761a793ead1fd8084620601a94e83b79b40e2b43e81b871e765eb  kernel3.0.4-i7.zip
ea4dd33494dd78c3260d3c8f9be04b8566e33f7a297bd6b1763d7c358dc73f22  CONFIG-3.0.4-I7
ed775d49a8ccb92788b5c1a9c2df6a6ff1ffabae0c1fda2915f469e5b316f068  linux-headers-3.0.4-030004_3.0.4-030004.201108301138_all.deb
71ea4e0f0250a4e121c853f5686a6803d03c5ef0d4b1050accdbb8015be2e209  linux-headers-3.0.4-030004-i7_3.0.4-030004.201108301138_amd64.deb
7a6fc23445001d6e9d45dcbf8c47ba9400d56e3c4d9bc4733f3f98bfa48ef4d3  linux-image-3.0.4-030004-i7_3.0.4-030004.201108301138_amd64.deb

Friday, September 2, 2011

Custom 64 bit ubuntu kernel 3.0.4 optimized for core2 and above


Kernel Configuration 3.0.4

  1. Followed Ubuntu way of building kernel (to know more follow this link)
  2. Used EL6 config as base (copied EL6 config instead of cp debian.master/config/amd64/config.flavour.generic debian.master/config/amd64/config.flavour.core2)
  3. Selected processor as CORE2
  4. Edited main Makefile to append -march=core2 -mtune=core2
  5. Enabled transparent hugepages support
  6. Enabled all cpufrequency scaling drivers like ubuntu
How to install


Extract the kernel zip file, and enter into the extracted folder in terminal (using open in terminal in nautilus)

Changes done in my system

Added pci=nocrs to kernel in /etc/grub.d/10_linux to avoid pci address space conflict warning

GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT pci=nocrs"

Ran update-grub2 to regenerate grub entries

Added acpi_cpufreq in /etc/modules to enable cpufrequncy scaling (by default not adding acpi_cpufreq module in /etc/modules ran my processor in full speed and I was happy to the overclock frequency working!!, or in other words if you overclock dont add acpi_cpufreq in /etc/modules)


Screenshot



Mediafire Download Link

  • Zipped Kernel headers and image debs here
  • EL6 base config here
  • Final config after tweaking here
  • Build  script here
  • SHA256SUMS here

SHA256SUMS

beda19a4e1a43281204c0a593cd6dfe151e5a64e4942eeaf5b531f4cc1919a0e  linux-headers-3.0.4-030004_3.0.4-030004.201108301138_all.deb
06fcd1c89f92b6652d7782f8bf3f33876f6c9188eb7bb3af4af8d7d82a5d9301  linux-image-3.0.4-030004-core2_3.0.4-030004.201108301138_amd64.deb
cccf651ff75fa4e6d216fa0df352cd5c1bdc1fa950d8707e32531b905858968f  linux-headers-3.0.4-030004-core2_3.0.4-030004.201108301138_amd64.deb
d7b62a29e33b07cdfb7c82e12627e3c24f7eb0e234baa302b70632e3751de468  kernel3.0.4.zip
de1f33cc2f8167895b33a9999b0f61e38e895442e504ba2da46fe45f7668d1cd  CONFIG-CORE2-3.0.4
54f986efff6a0df1a60b63bce8745f4c695a368171db51d53e2f638e01b4e4e1  BuildKernel3.0.4core2.sh
3b32aeb876de29ce67e720eec0476b8d6a1ec752aa6bdc96141d00ffa5bbd54b  CONFIG-EL6-CORE2-3.0.4