Home page of this blog

Friday, May 20, 2011

Custom kernel 2.6.39 ubuntu amd64 packages optimized for core2 and above processors

The following are the dropbox links for the kernel 2.6.39 built by me optimized for core2 and above processors. This is 64 bit package.

I copied kernel source into /usr/src/ folder and built. This fixes the symlink problem in the built binary (earlier binary packages have symlink pointing to my home folder which is fixed by this build)

The packages are built with CORE2 processor with 300 HZ frequency. The packages have transparent hugepage support enabled.

Dropbox Links




02be3776febaa9ab796785d2cdbe150bad45ec110eb9a51e6a9df754f0a356d8 CONFIG-CORE2
62ac5e98b9bc0a25bbe095eb36485f4d294ffdb336eb4ba47be5c09130817f77 linux-headers-2.6.39-core2_12.00_amd64.deb
12704469901b31e02728a016b4e486c255b7ae513fc99b76beb07830e880ba84 linux-image-2.6.39-core2_12.00_amd64.deb
2428dee50f811f3e8d0ed304ff2f766f31cd477e74569384b63b1339e306014c Readme.odt
535535ee00c846d0b0dd2eb43d9bda67ba35dbd34552ff5059b94bd7cb64597e Readme.pdf


007b9809ce098545eeaca1cbf5c2bcdc CONFIG-CORE2
06b39287362e4c3ebac02abb3971f1a5 linux-headers-2.6.39-core2_12.00_amd64.deb
8d1d3bb732f69bded9f24d15aee20e22 linux-image-2.6.39-core2_12.00_amd64.deb
c1b10b014a2bcc56c6b32a0a733767e1 Readme.odt
f9976fc6477fef1368f6a4265b0ed114 Readme.pdf


  1. Seems to be extremely fast kernel. Love it

  2. Benchmarks

    CPU Blowfish

    -CPU Blowfish-
    This Machine 1596 MHz 2.130
    Intel(R) Celeron(R) M processor 1.50GHz (null) 26.1876862
    PowerPC 740/750 (280.00MHz) (null) 172.816713

    CPU CryptoHash

    -CPU CryptoHash-
    This Machine 1596 MHz 566.170

    CPU Fibonacci

    -CPU Fibonacci-
    This Machine 1596 MHz 3.072
    Intel(R) Celeron(R) M processor 1.50GHz (null) 8.1375674
    PowerPC 740/750 (280.00MHz) (null) 58.07682

    CPU N-Queens

    -CPU N-Queens-
    This Machine 1596 MHz 0.828


    -FPU FFT-
    This Machine 1596 MHz 1.355

    FPU Raytracing

    -FPU Raytracing-
    This Machine 1596 MHz 4.300
    Intel(R) Celeron(R) M processor 1.50GHz (null) 40.8816714
    PowerPC 740/750 (280.00MHz) (null) 161.312647

  3. Works great !
    Thanks so much !


  4. if this works, i'll...
    ...be very happy :D

    will report back, i'm using kubuntu 11.04 64bit on Dell Studio 1558 i5

  5. Seems to break my firewall on Mint 10. I need to switch back and forth and make sure, but i see iptables errors and gufw errors during boot and when i start gufw post boot the firewall isn't running.

  6. Can you please explain how did you fix the link problems? I am building custom kernels using your tutorials and test them in a virtual machine. Even if I use /usr/src/linux-xxx as a working directory, when i install the resulting packages in virtualbox, it always complain about some missing stuff. For example:
    sudo dpkg -i '/home/pengolin/linux-headers-3.2.0-17_3.2.0-17.26_all.deb' '/home/pengolin/linux-headers-3.2.6-cerebrux02_1_amd64.deb' '/home/pengolin/linux-image-3.2.6-cerebrux02_1_amd64.deb'
    (Reading database ... 328970 files and directories currently installed.)
    Preparing to replace linux-headers-3.2.0-17 3.2.0-17.26 (using .../linux-headers-3.2.0-17_3.2.0-17.26_all.deb) ...
    Unpacking replacement linux-headers-3.2.0-17 ...
    Selecting previously unselected package linux-headers-3.2.6-cerebrux02.
    Unpacking linux-headers-3.2.6-cerebrux02 (from .../linux-headers-3.2.6-cerebrux02_1_amd64.deb) ...
    Selecting previously unselected package linux-image-3.2.6-cerebrux02.
    Unpacking linux-image-3.2.6-cerebrux02 (from .../linux-image-3.2.6-cerebrux02_1_amd64.deb) ...
    Setting up linux-headers-3.2.0-17 (3.2.0-17.26) ...
    Setting up linux-headers-3.2.6-cerebrux02 (1) ...
    Examining /etc/kernel/header_postinst.d.
    run-parts: executing /etc/kernel/header_postinst.d/dkms 3.2.6-cerebrux02 /boot/vmlinuz-3.2.6-cerebrux02
    Error! Your kernel headers for kernel 3.2.6-cerebrux02 cannot be found.
    Please install the linux-headers-3.2.6-cerebrux02 package,
    or use the --kernelsourcedir option to tell DKMS where it's located
    Setting up linux-image-3.2.6-cerebrux02 (1) ...

    Hmm. There is a symbolic link /lib/modules/3.2.6-cerebrux02/build
    However, I can not read it: No such file or directory
    Therefore, I am deleting /lib/modules/3.2.6-cerebrux02/build

    Hmm. The package shipped with a symbolic link /lib/modules/3.2.6-cerebrux02/source
    However, I can not read the target: No such file or directory
    Therefore, I am deleting /lib/modules/3.2.6-cerebrux02/source

    Running depmod.
    Examining /etc/kernel/postinst.d.
    run-parts: executing /etc/kernel/postinst.d/dkms 3.2.6-cerebrux02 /boot/vmlinuz-3.2.6-cerebrux02
    Error! Bad return status for module build on kernel: 3.2.6-cerebrux02 (x86_64)
    Consult /var/lib/dkms/virtualbox-guest/4.1.8/build/make.log for more information.
    run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.6-cerebrux02 /boot/vmlinuz-3.2.6-cerebrux02
    update-initramfs: Generating /boot/initrd.img-3.2.6-cerebrux02
    run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.6-cerebrux02 /boot/vmlinuz-3.2.6-cerebrux02
    run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.6-cerebrux02 /boot/vmlinuz-3.2.6-cerebrux02
    run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.6-cerebrux02 /boot/vmlinuz-3.2.6-cerebrux02
    Generating grub.cfg ...
    Found linux image: /boot/vmlinuz-3.2.6-cerebrux02
    Found initrd image: /boot/initrd.img-3.2.6-cerebrux02
    Found linux image: /boot/vmlinuz-3.2.0-16-generic
    Found initrd image: /boot/initrd.img-3.2.0-16-generic
    grep: input file `/boot/grub/grub.cfg.new' is also the output

  7. Can you follow the ubuntu way of building, see the latest article i posted in this blog for more