User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
kernel_compiling [2010/10/05 18:56]
kernel_compiling [2011/04/07 08:12] (current)
aorth [Get the kernel sources]
Line 6: Line 6:
 ====== How to ====== ====== How to ======
 ===== Get the kernel sources ===== ===== Get the kernel sources =====
- +The "vanilla" kernel sources live here:
 ===== Configure ====== ===== Configure ======
-make+Shown here for kernel version "" Change the ''make -j4'' to the number of parallel make jobs you want to use (-j2 if you have a dual-core machine): 
 +<code>make -j4
 sudo make modules_install sudo make modules_install
-sudo cp /boot/ +sudo make install 
-sudo cp .config /boot/config-2.6.35-zen2 +sudo mkinitramfs -o /boot/initrd.img- 
-sudo cp arch/x86_64/boot/bzImage /boot/vmlinuz-2.6.35-zen2 +sudo update-grub</code>
-sudo mkinitramfs -o /boot/initrd.img-2.6.35-zen2 2.6.35-zen2 +
-sudo update-grub2 +
 ====== Patch sets ====== ====== Patch sets ======
 +Some custom "patch sets" for the Linux kernel are available.  Different patches target different functionality, like lower latency, better I/O scheduling, support for different workloads, etc:
 +  * [[|-ck patch set]] - Con Kolivas' patch set, including BFS CPU sheduler, VM tweaks, etc for responsiveness
 +  * [[|-pf patch set]] - A combination of CK, BFQ I/O scheduler, and TuxOnIce (enhanced/faster suspend mode for Linux)
 +  * [[|-zen patch set]] - A combination of CK, BFQ, and many more random patches.  Not so much a "patch set" as a whole kernel.
kernel_compiling.1286304964.txt.gz · Last modified: 2010/10/05 18:56 by aorth