Updated 23 July 2006
The current plan is:
- Use Con Kolivas -ck patchset to get Staircase Scheduler, Swap Prefetch, ...
(for more info check http://members.optusnet.com.au/ckolivas/kernel/)
- Build desktop-optimized kernels with Voluntary Preempt, HZ_1000
- Build server-optimized kernels with no Preempt, HZ_100
- Build as modular as possible
So the names are now
kernel-tmb-$flavour-%kernel.org_version-%tmb_release-1-1mdv2007.0.
- $flavour is one of: desktop586, desktop586-smp, desktop, desktop-smp, server, server-smp (, and support build of: laptop and laptop-smp, even if they are disabled by default).
- %kernel.org_version: matches the tarballs from kernel.org I build against
- %tmb_relesase: this is my own release number that
shows wich buildrelease of the %kernel.org_verison it is...
| Example: kernel-tmb-desktop-2.6.17.6-2mdv-1-1mdv2007.0 |
| Name: |
kernel-tmb |
my kernel-set name |
| Flavour: |
desktop |
desktop flavour |
| RealVersion: |
2.6.17.6 |
kernel.org 2.6.17 + patch-2.6.17.6 |
| RealRelease |
2mdv |
build 2 of version 2.6.17.6 |
| Version |
1 |
always 1 to fool urpmi/rpm/smart |
| Release |
1mdv2007.0 |
always 1 to fool urpmi/rpm/smart |
Every kernel-tmb flavour (including the -source) now have the full
Name-Flavour-RealVersion-RealRelease as name of the rpm package.
This is done so that
urpmi/rpm wont upgrade kernel or kernel-source automatically. This is
needed as kernel & kernel-source needs to stay in sync for
dkms,
nvidia, ati & other external modules can be built on boot...
As a secondary feature is now that every kernel-flavour have it's own
virtual package named: Name-Flavour-latest with the correct
RealVersion-RealRelease as Version-Release that requires it counterpart
with the 1-1mdk as Version-Release. So:
kernel-tmb-desktop-latest-2.6.17.6-2mdv2007.0
Requires
kernel-tmb-desktop-2.6.17.6-2mdv-1-1mdv2007.0
This is done so that if you have a *-latest kernel installed it will
trigger an upgrade of the virtual package with
urpmi --auto-select that
as a result will trigger an install of a newer kernel without
removing/upgrading the current kernels...
So, to make a long story short, if you want to be sure to always have
the latest kernel-tmb-desktop and kernel-tmb-source-stripped installed,
you just have to do:
# urpmi kernel-tmb-desktop-latest kernel-tmb-source-stripped-latest.
And now for the flavours:
The ix86 (32bit) kernels
are:
- kernel-tmb-desktop586
- built for i586, Single Processor/Core
- 1GB RAM
- CFQ + StairCase Scheduler
- Swap Prefetch, Readahead
- Voluntary Preempt
- kernel-tmb-desktop586-smp
- built for i586, Multiple Processors/Cores
- 1GB RAM
- CFQ + StairCase Scheduler
- Swap Prefetch, Readahead
- Voluntary Preempt
- kernel-tmb-desktop
- built for i686, Single Processor/Core
- 4GB RAM
- CFQ + StairCase Scheduler
- Swap Prefetch, Readahead
- Voluntary Preempt
- kernel-tmb-desktop-smp
- built for i686, Multiple Processors/Cores
- 4GB RAM
- CFQ + StairCase Scheduler
- Swap Prefetch, Readahead
- Voluntary Preempt
- kernel-tmb-server
- built for i686, Single Processor/Core
- 64GB RAM
- AS + StairCase Scheduler
- Readahead
- No Preempt
- kernel-tmb-server-smp
- built for i686, Multiple Processors/Cores
- 64GB RAM
- AS + StairCase Scheduler
- Readahead
- No Preempt
The x86_64
(64bit) kernels are:
- kernel-tmb-desktop
- built for x86_64, Single Processor/Core
- CFQ + StairCase Scheduler
- Swap Prefetch, Readahead
- Voluntary Preempt
- kernel-tmb-desktop-smp
- built for x86_64, Multiple Processors/Cores
- CFQ + StairCase Scheduler
- Swap Prefetch, Readahead
- Voluntary Preempt
- kernel-tmb-server
- built for x86_64, Single Processor/Core
- AS + StairCase Scheduler
- Readahead
- No Preempt
- kernel-tmb-server-smp
- built for x86_64, Multiple Processors/Cores
- AS + StairCase Scheduler
- Readahead
- No Preempt
The source packages are:
- kernel-tmb-source
- This is the full source for the kernel-tmb series
- The configs for the different kernel flavours are
saved in arch/%arch/defconfig-$flavour
- kernel-tmb-source-stripped
- This is a stripped-down version for the kernel-tmb series
- It is sufficient to compile external modules against
so you only need to install ~15MB instead of ~200MB
The *-latest packages:
- every flavour has it own *-latest package.
- theese virtual packages makes sure that you always
have the latest version of the flavour or source installed
(explained here)
Modular IDE:
The kernel-tmb series kernels uses modular ide, so to be able to boot
from ide hdd (not SATA) you need the following line in /etc/modprobe.conf:
alias ide-controller module_name
where module_name is the kernel module name that matches your ide chipset.
For example:
atiixp for Ati chipsets,
piix for Intel chipsets,
amd74xx for Amd & Nvidia chipsets,
via82cxxx for Via chipsets,
and so on...
If you added this line after you installed the kernel, you must recreate
your initrd and rerun lilo to get your changes used. (If you use grub,
forget about the lilo part)
The Files / RPMS:
The RPMS and SRPMS for Cooker and 2007.0 forward you can find any Mandriva mirror near you.
The RPMS and SRPMS for 2006.0 you can find
HERE.