Differences

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
Next revision Both sides next revision
linux:kernel [2006/11/05 19:24]
a
linux:kernel [2009/04/30 23:46]
a cross-compiling
Line 1: Line 1:
 ====== Linux kernel ====== ====== Linux kernel ======
 +
 +
 +
  
  
 ===== Compiling the debian way ===== ===== Compiling the debian way =====
 +
 +**see:** [[http://kernel-handbook.alioth.debian.org/|Debian Linux Kernel Handbook]]
  
  
Line 11: Line 16:
  
 After **''--append-to-version=''** you can write any string that helps you identify the kernel, but it must begin with a minus (-) and must not contain whitespace. After **''--append-to-version=''** you can write any string that helps you identify the kernel, but it must begin with a minus (-) and must not contain whitespace.
 +
 +** SMP/DualCore compiling tip **
 +   # CONCURRENCY_LEVEL=4 make-kpkg --initrd --rootcmd=fakeroot --append-to-version=<version> kernel_image
 +
 +** Cross-compiling ** \\
 +see: http://michael-prokop.at/blog/2007/01/21/cross-compile-the-linux-kernel-on-debian/
  
 ===== kernel lab ===== ===== kernel lab =====
Line 25: Line 36:
  
    for a in router1 router2 router3 ...; do kernellab "$a"; done    for a in router1 router2 router3 ...; do kernellab "$a"; done
 +
 +
 +=====  IO scheduler =====
 +    *  Completely Fair Queuing—elevator=cfq
 +    * Deadline—elevator=deadline
 +    * NOOP—elevator=noop
 +    * Anticipatory—elevator=as
 +
 +   image = /boot/vmlinuz26113
 +   initrd = /boot/initrd.gz
 +   append = "elevator=deadline"
 +   root = /dev/hda1
 +   label = kernel_2.6.11.3
 +   read-only
 +
 +   # cat /sys/block/hda/queue/scheduler
 +   noop [anticipatory] deadline cfq
 +
 +how come deadline is not being chosen??
 +
 +This works.
 +   # echo deadline > /sys/block/hda/queue/scheduler
 +   # cat /sys/block/hda/queue/scheduler
 +   noop anticipatory [deadline] cfq
linux/kernel.txt · Last modified: 2009/05/25 00:35 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 ipv6 ready