| 1 | <?xml version="1.0" encoding="UTF-8"?> |
1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-kernel.xml,v 1.9 2004/07/03 12:07:11 bennyc Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-kernel.xml,v 1.10 2004/07/13 16:03:35 neysx Exp $ --> |
| 3 | |
3 | |
| 4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
4 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 5 | <guide link="/doc/en/gentoo-kernel.xml"> |
5 | <guide link="/doc/en/gentoo-kernel.xml"> |
| 6 | <title>Gentoo Linux Kernel Guide</title> |
6 | <title>Gentoo Linux Kernel Guide</title> |
| 7 | <author title="Author"> |
7 | <author title="Author"> |
| … | |
… | |
| 17 | <mail link="peesh@gentoo.org">Jorge Paulo</mail> |
17 | <mail link="peesh@gentoo.org">Jorge Paulo</mail> |
| 18 | </author> |
18 | </author> |
| 19 | <author title="Editor"> |
19 | <author title="Editor"> |
| 20 | <mail link="bennyc@gentoo.org">Benny Chuang</mail> |
20 | <mail link="bennyc@gentoo.org">Benny Chuang</mail> |
| 21 | </author> |
21 | </author> |
|
|
22 | <author title="Editor"> |
|
|
23 | <mail link="g.guidi@sns.it">Gregorio Guidi</mail> |
|
|
24 | </author> |
| 22 | |
25 | |
| 23 | <abstract> |
26 | <abstract> |
| 24 | This document gives you an overview on all kernel sources that Gentoo |
27 | This document gives you an overview on all kernel sources that Gentoo |
| 25 | provides through Portage. |
28 | provides through Portage. |
| 26 | </abstract> |
29 | </abstract> |
| 27 | |
30 | |
| 28 | <license/> |
31 | <license/> |
| 29 | |
32 | |
| 30 | <version>0.5</version> |
33 | <version>0.6</version> |
| 31 | <date>July 3, 2004</date> |
34 | <date>July 13, 2004</date> |
| 32 | |
35 | |
| 33 | <chapter> |
36 | <chapter> |
| 34 | <title>Introduction</title> |
37 | <title>Introduction</title> |
| 35 | <section> |
38 | <section> |
| 36 | <body> |
39 | <body> |
| … | |
… | |
| 67 | <title>gentoo-sources</title> |
70 | <title>gentoo-sources</title> |
| 68 | <body> |
71 | <body> |
| 69 | |
72 | |
| 70 | <p> |
73 | <p> |
| 71 | For most users, the recommended kernel sources are the |
74 | For most users, the recommended kernel sources are the |
| 72 | <c>gentoo-sources</c>. The <c>gentoo-sources</c> package contains |
75 | <c>gentoo-sources</c>. The <c>gentoo-sources</c> package contains various |
| 73 | specially tuned performance kernel patches designed to optimize tasks |
76 | kernel patches, designed to improve user experience with respect to different |
| 74 | such as compiling while listening to music and browsing the web. Most |
77 | areas. Speaking of <e>security</e>: you can find support for |
| 75 | of you who are new to Gentoo have probably never run a system where you |
78 | <uri link="http://www.grsecurity.net">grsecurity</uri>, together with other |
| 76 | are regularly compiling many packages from source while you are doing your |
79 | security enhancements and, naturally, all the recent fixes for known |
| 77 | normal everyday tasks on your computer. |
80 | vulnerabilities. The included patches deal also with <e>performance</e> |
| 78 | You may find that if you use the <c>vanilla-sources</c> (the official |
81 | (including tweaks for desktop usage and support for recent hardware) and |
| 79 | kernel sources released from <uri>http://www.kernel.org</uri>) normal tasks -- |
82 | <e>features</e> (supermount, bootsplash, the latest NTFS drivers, and more). |
| 80 | such as listening to music, moving your mouse and the like -- may appear |
|
|
| 81 | jumpy when you are compiling packages. |
|
|
| 82 | </p> |
|
|
| 83 | |
|
|
| 84 | <p> |
83 | </p> |
| 85 | The <c>gentoo-sources</c> contain an updated ACPI subsystem and are based |
84 | |
| 86 | on Con Kolivas' high-performance kernel patches (<c>ck-sources</c>). We also |
|
|
| 87 | support grSecurity (a set of security-related patches with support for |
|
|
| 88 | ACLs), EVMS(2) (a highly flexible storage management filesystem with easy |
|
|
| 89 | partition resizing), JFS (IBM's high-performance filesystem), the latest |
|
|
| 90 | NTFS drivers, and more. |
|
|
| 91 | </p> |
85 | <p> |
| 92 | |
86 | The <c>gentoo-sources</c> (together with <c>gentoo-dev-sources</c>) absorb |
| 93 | <p> |
87 | most of the resources of the Gentoo kernel team. They are brought to you by a |
| 94 | Because the <c>gentoo-sources</c> are targeted at full performance, they are |
88 | group of talented developers, which can count on the expertise of popular |
| 95 | also very good for gaming purposes. |
89 | kernel hacker Greg Kroah-Hartman, maintainer of udev and responsible for the |
|
|
90 | USB and PCI subsystems of the official linux kernel. |
| 96 | </p> |
91 | </p> |
| 97 | |
92 | |
| 98 | </body> |
93 | </body> |
| 99 | </section> |
94 | </section> |
| 100 | <section> |
95 | <section> |
| 101 | <title>vanilla-sources</title> |
96 | <title>vanilla-sources</title> |
| 102 | <body> |
97 | <body> |
| 103 | |
98 | |
| 104 | <p> |
99 | <p> |
| 105 | The next kernel sources that many of you will probably be familiar with |
100 | The next kernel sources that many of you will probably be familiar with |
| 106 | as Linux users are the <c>vanilla-sources</c>. As I mentioned briefly |
101 | as Linux users are the <c>vanilla-sources</c>. These are the official 2.4 |
| 107 | above, these are the official 2.4 kernel sources released on |
102 | kernel sources released on <uri>http://www.kernel.org/</uri>, maintained |
| 108 | <uri>http://www.kernel.org/</uri>. These sources are maintained (contrary |
|
|
| 109 | to popular belief) not by Linus Torvalds himself, but by Marcelo |
103 | (contrary to popular belief) not by Linus Torvalds himself, but by Marcelo |
| 110 | Tosatti. Linus is the leader of active kernel development, but as he is |
104 | Tosatti. Linus is the leader of active kernel development, but as he is |
| 111 | only one man, he passes off the maintenance of the stable 2.4 kernel branch |
105 | only one man, he passes off the maintenance of the stable 2.4 kernel branch |
| 112 | to someone he can trust to handle it once it has stabilized. Thus, Alan |
106 | to someone he can trust to handle it once it has stabilized. Thus, Alan |
| 113 | Cox became the maintainer of the Linux-2.2 kernel series and Marcelo |
107 | Cox became the maintainer of the Linux-2.2 kernel series and Marcelo |
| 114 | Tosatti became the maintainer of the Linux-2.4 kernel series. This is |
108 | Tosatti became the maintainer of the Linux-2.4 kernel series. This is |
| 115 | what all the other patch sets in the 2.4 series are based on. Marcelo has |
109 | what all the other patch sets in the 2.4 series are based on. Marcelo has |
| … | |
… | |
| 142 | <title>development-sources</title> |
136 | <title>development-sources</title> |
| 143 | <body> |
137 | <body> |
| 144 | |
138 | |
| 145 | <p> |
139 | <p> |
| 146 | The <c>development-sources</c> ebuild provides the stable 2.6 Linux kernel. As |
140 | The <c>development-sources</c> ebuild provides the stable 2.6 Linux kernel. As |
| 147 | opposed to what the name might suggest this kernel source is completely stable |
141 | opposed to what the name might suggest, this kernel source is completely stable |
| 148 | and production-ready. This is the official 2.6 kernel released on |
142 | and production-ready. This is the official 2.6 kernel released on |
| 149 | <uri>http://www.kernel.org/</uri>. |
143 | <uri>http://www.kernel.org/</uri>. |
| 150 | </p> |
144 | </p> |
| 151 | |
145 | |
| 152 | </body> |
146 | </body> |
| … | |
… | |
| 223 | </p> |
217 | </p> |
| 224 | |
218 | |
| 225 | </body> |
219 | </body> |
| 226 | </section> |
220 | </section> |
| 227 | <section> |
221 | <section> |
| 228 | <title>xfs-sources</title> |
|
|
| 229 | <body> |
|
|
| 230 | |
|
|
| 231 | <p> |
|
|
| 232 | <c>xfs-sources</c> contains support for EVMS, ACPI, grSecurity and, what |
|
|
| 233 | you probably already figured out by now, the latest XFS support patches |
|
|
| 234 | from the XFS Development. Please note that XFS support has been merged |
|
|
| 235 | into the regular 2.4 kernel tree. |
|
|
| 236 | </p> |
|
|
| 237 | |
|
|
| 238 | <p> |
|
|
| 239 | More information about XFS on <uri>http://oss.sgi.com/projects/xfs/</uri>. |
|
|
| 240 | </p> |
|
|
| 241 | |
|
|
| 242 | </body> |
|
|
| 243 | </section> |
|
|
| 244 | <section> |
|
|
| 245 | <title>Architecture dependent kernels</title> |
222 | <title>Architecture dependent kernels</title> |
| 246 | <body> |
223 | <body> |
| 247 | |
224 | |
| 248 | <p> |
225 | <p> |
| 249 | <c>alpha-sources</c>, <c>hppa-sources</c>, <c>hppa-dev-sources</c>, |
226 | <c>alpha-sources</c>, <c>hppa-sources</c>, <c>hppa-dev-sources</c>, |
| 250 | <c>ia64-sources</c>, <c>mips-sources</c>, <c>ppc-sources</c>, |
227 | <c>ia64-sources</c>, <c>mips-sources</c>, <c>ppc-sources</c>, |
|
|
228 | <c>ppc-dev-sources</c>, <c>ppc64-sources</c>, |
| 251 | <c>pegasos-sources</c>, <c>pegasos-dev-sources</c>, <c>sparc-sources</c> |
229 | <c>pegasos-sources</c>, <c>pegasos-dev-sources</c>, <c>sparc-sources</c> |
| 252 | and <c>xbox-sources</c> are, as their names suggest, patched to run best on |
230 | and <c>xbox-sources</c> are, as their names suggest, patched to run best on |
| 253 | specific architectures. They also contain some of the patches for hardware and |
231 | specific architectures. They also contain some of the patches for hardware and |
| 254 | features support from the other patch sets mentioned above and below. Kernel |
232 | features support from the other patch sets mentioned above and below. Kernel |
| 255 | sources that contains a "-dev-" means that the sources use the 2.6 kernel |
233 | sources that contains a "-dev-" means that the sources use the 2.6 kernel |
| 256 | instead of the 2.4 kernel. |
234 | instead of the 2.4 kernel. |
| 257 | </p> |
235 | </p> |
| 258 | |
236 | |
| 259 | </body> |
|
|
| 260 | </section> |
|
|
| 261 | <section> |
|
|
| 262 | <title>ppc-sources-benh</title> |
|
|
| 263 | <body> |
|
|
| 264 | |
|
|
| 265 | <p> |
|
|
| 266 | The <c>ppc-sources-benh</c> ebuilds provide additional hardware |
|
|
| 267 | support for the <c>ppc-sources</c> kernel. It is slightly more |
|
|
| 268 | experimental than the <c>ppc-sources</c>. |
|
|
| 269 | </p> |
|
|
| 270 | |
|
|
| 271 | </body> |
|
|
| 272 | </section> |
|
|
| 273 | <section> |
|
|
| 274 | <title>ppc-sources-crypto</title> |
|
|
| 275 | <body> |
|
|
| 276 | |
|
|
| 277 | <p> |
|
|
| 278 | The <c>ppc-sources-crypto</c> ebuilds provide CryptoAPI |
|
|
| 279 | support for the Gentoo Linux PPC Kernel. |
|
|
| 280 | </p> |
|
|
| 281 | |
|
|
| 282 | </body> |
|
|
| 283 | </section> |
|
|
| 284 | <section> |
|
|
| 285 | <title>ppc-dev-sources</title> |
|
|
| 286 | <body> |
|
|
| 287 | |
|
|
| 288 | <p> |
|
|
| 289 | The <c>ppc-dev-sources</c> packages provide the most up-to-date 2.6 kernel |
|
|
| 290 | sources with Gentoo PPC's optimized patch for Macintosh machines. |
|
|
| 291 | </p> |
|
|
| 292 | |
|
|
| 293 | </body> |
|
|
| 294 | </section> |
|
|
| 295 | <section> |
|
|
| 296 | <title>compaq-sources</title> |
|
|
| 297 | <body> |
|
|
| 298 | |
|
|
| 299 | <p> |
237 | <p> |
| 300 | The <c>compaq-sources</c> provide RedHat's kernel sources for Alpha, |
238 | The <c>compaq-sources</c> provide RedHat's kernel sources for Alpha, |
| 301 | maintained by Compaq. |
239 | maintained by Compaq. |
| 302 | </p> |
240 | </p> |
| 303 | |
241 | |
| … | |
… | |
| 324 | |
262 | |
| 325 | <p> |
263 | <p> |
| 326 | First we have <c>aa-sources</c>. This is Andrea Arcangeli's patch set. |
264 | First we have <c>aa-sources</c>. This is Andrea Arcangeli's patch set. |
| 327 | Andrea is known as an amazing coder by many other kernel hackers. His |
265 | Andrea is known as an amazing coder by many other kernel hackers. His |
| 328 | kernel patch set has some of the most aggressively tuned VM (Virtual |
266 | kernel patch set has some of the most aggressively tuned VM (Virtual |
| 329 | Memory) patches known to mankind. When I last looked, it also contained |
267 | Memory) patches known to mankind. |
| 330 | SGI's XFS filesystem and the O(1) scheduler by Ingo Molar (which is |
|
|
| 331 | the default scheduler for Linux 2.6). |
|
|
| 332 | </p> |
268 | </p> |
| 333 | |
269 | |
| 334 | <p> |
270 | <p> |
| 335 | It also provides User Mode Linux support (check out our |
271 | It also provides User Mode Linux support (check out our |
| 336 | <uri link="/doc/en/uml.xml">UML Guide</uri> for more information) and |
272 | <uri link="/doc/en/uml.xml">UML Guide</uri> for more information) and |
| … | |
… | |
| 344 | what you need. |
280 | what you need. |
| 345 | </p> |
281 | </p> |
| 346 | |
282 | |
| 347 | <p> |
283 | <p> |
| 348 | Visit |
284 | Visit |
| 349 | <uri>http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.4</uri> |
285 | <uri>http://www.kernel.org/pub/linux/kernel/people/andrea/kernels/v2.6</uri> |
| 350 | for more information about all the patches in these kernel sources. |
286 | for more information about all the patches in these kernel sources. |
| 351 | </p> |
287 | </p> |
| 352 | |
288 | |
| 353 | </body> |
289 | </body> |
| 354 | </section> |
290 | </section> |
| … | |
… | |
| 367 | </p> |
303 | </p> |
| 368 | |
304 | |
| 369 | </body> |
305 | </body> |
| 370 | </section> |
306 | </section> |
| 371 | <section> |
307 | <section> |
| 372 | <title>gaming-sources</title> |
|
|
| 373 | <body> |
|
|
| 374 | |
|
|
| 375 | <p> |
|
|
| 376 | <c>gaming-sources</c> are based on <c>ck-sources</c> and are therefore |
|
|
| 377 | tuned for high performance. They also contain patches for the latest |
|
|
| 378 | game-related hardware (graphic cards, sound cards, and such). |
|
|
| 379 | </p> |
|
|
| 380 | |
|
|
| 381 | <p> |
|
|
| 382 | If you are a hardcore gamer, this is your choice. |
|
|
| 383 | </p> |
|
|
| 384 | |
|
|
| 385 | </body> |
|
|
| 386 | </section> |
|
|
| 387 | <section> |
|
|
| 388 | <title>grsec-sources</title> |
308 | <title>grsec-sources</title> |
| 389 | <body> |
309 | <body> |
| 390 | |
310 | |
| 391 | <p> |
311 | <p> |
| 392 | The <c>grsec-sources</c> kernel source is patched with the latest GRSecurity |
312 | The <c>grsec-sources</c> kernel source is patched with the latest GRSecurity |
| 393 | updates (GRSecurity version 1.9 and up) which includes, amongst other |
313 | updates (GRSecurity version 2.0 and up) which includes, amongst other |
| 394 | security-related patches, support for PaX. |
314 | security-related patches, support for PaX. |
| 395 | </p> |
315 | </p> |
| 396 | |
316 | |
| 397 | </body> |
317 | </body> |
| 398 | </section> |
318 | </section> |
| 399 | <section> |
319 | <section> |
| 400 | <title>mm-sources</title> |
320 | <title>mm-sources</title> |
| 401 | <body> |
321 | <body> |
| 402 | |
322 | |
| 403 | <p> |
323 | <p> |
| 404 | The <c>mm-sources</c> are based on the <c>development-sources</c> and |
324 | The <c>mm-sources</c> are based on the <c>development-sources</c> and contain |
| 405 | contain Andrew Morton's patch set. It assembles several other patches, |
325 | Andrew Morton's patch set. They include the experimental and bleeding-edge |
| 406 | like ext2/3 Extended Attributes and Access Control Lists, Page Table |
326 | features that are going to be included in the official kernel (or that are |
| 407 | Sharing, the Orlov Allocator, non-linear mapping behaviour, etc into one |
327 | going to be rejected because they set your box on fire). They are known to be |
| 408 | patch set. |
328 | always moving at a fast pace and can change radically from one week to the |
|
|
329 | other; kernel hackers use them as a testing ground for new stuff. |
| 409 | </p> |
330 | </p> |
| 410 | |
331 | |
| 411 | <p> |
332 | <p> |
| 412 | If you really want to live on the edge and you think |
333 | If you really want to live on the edge and you think |
| 413 | <c>development-sources</c> are for wussies, then try out |
334 | <c>development-sources</c> are for wussies, then try out |