/[gentoo]/xml/htdocs/doc/en/gentoo-kernel.xml
Gentoo

Contents of /xml/htdocs/doc/en/gentoo-kernel.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.65 - (show annotations) (download) (as text)
Mon Jun 18 22:40:15 2012 UTC (2 years, 6 months ago) by nightmorph
Branch: MAIN
Changes since 1.64: +44 -25 lines
File MIME type: application/xml
gentoo-kernel.xml: move xen-sources and sparc-sources to the Previously Provided section; no longer in portage. xen-guide.xml: tagged Obsolete, as a placeholder until the kernel section can be redone. bug #421865

1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
3 <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/gentoo-kernel.xml,v 1.64 2012/05/27 07:36:05 nightmorph Exp $ -->
4
5 <guide>
6 <title>Gentoo Linux Kernel Guide</title>
7
8 <author title="Author">
9 <mail link="swift@gentoo.org">Sven Vermeulen</mail>
10 </author>
11 <author title="Contributor">
12 <mail link="lostlogic@gentoo.org">Brandon Low</mail>
13 </author>
14 <author title="Editor">
15 <mail link="dsd@gentoo.org">Daniel Drake</mail>
16 </author>
17 <author title="Editor">
18 <mail link="carl@gentoo.org">Carl Anderson</mail>
19 </author>
20 <author title="Editor">
21 <mail link="peesh@gentoo.org">Jorge Paulo</mail>
22 </author>
23 <author title="Editor">
24 <mail link="bennyc@gentoo.org">Benny Chuang</mail>
25 </author>
26 <author title="Editor">
27 <mail link="greg_g@gentoo.org">Gregorio Guidi</mail>
28 </author>
29 <author title="Editor">
30 <mail link="fox2mike@gentoo.org">Shyam Mani</mail>
31 </author>
32 <author title="Editor">
33 <mail link="nightmorph@gentoo.org">Joshua Saddler</mail>
34 </author>
35
36 <abstract>
37 This document gives you an overview on all kernel sources that Gentoo
38 provides through Portage.
39 </abstract>
40
41 <!-- The content of this document is licensed under the CC-BY-SA license -->
42 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
43 <license/>
44
45 <version>6</version>
46 <date>2012-06-18</date>
47
48 <chapter>
49 <title>Introduction</title>
50 <section>
51 <body>
52
53 <p>
54 As with everything else in Gentoo Linux, the philosophy of the Gentoo
55 Kernel team is to give you, the user, as much freedom of choice as
56 possible. If you take a look at the output of <c>emerge -s sources</c>
57 you see a large variety of kernels to choose from. In this document,
58 I will attempt to give you a brief rundown of the goals of each of the
59 patch sets, which we at Gentoo design, and also explain the other kernel
60 sources we make available to you.
61 </p>
62
63 </body>
64 </section>
65 </chapter>
66
67 <chapter>
68 <title>Supported kernel packages</title>
69 <section>
70 <title>genkernel</title>
71 <body>
72
73 <p>
74 <c>Genkernel</c> is a kernel toolset that can be used to autodetect your
75 hardware and configure your kernel automatically. This is usually recommended
76 for users who do not feel comfortable about compiling a kernel manually.
77 </p>
78
79 <p>
80 For more information, please read the <uri link="/doc/en/genkernel.xml">Gentoo
81 Linux Genkernel Guide</uri>.
82 </p>
83
84 </body>
85 </section>
86 <section>
87 <title>General purpose: gentoo-sources</title>
88 <body>
89
90 <p>
91 For most users, we recommend the <c>gentoo-sources</c> kernel.
92 <c>gentoo-sources</c> is a kernel based on Linux 3.x, lightly patched to fix
93 security problems, kernel bugs, and to increase compatibility with the more
94 uncommon system architectures.
95 </p>
96
97 <p>
98 The <c>gentoo-sources</c> package absorbs most of the resources of the Gentoo
99 kernel team. They are brought to you by a group of talented developers, which
100 can count on the expertise of popular kernel hacker Greg Kroah-Hartman,
101 maintainer of udev and responsible for the USB and PCI subsystems of the
102 official Linux kernel.
103 </p>
104
105 </body>
106 </section>
107 <section>
108 <title>For servers: hardened-sources</title>
109 <body>
110
111 <p>
112 <c>hardened-sources</c> is based on the official Linux kernel and is targeted at
113 our users running Gentoo on server systems. It provides patches for the various
114 subprojects of Gentoo Hardened (such as support for <uri
115 link="http://www.nsa.gov/selinux/">LSM/SELinux</uri> and <uri
116 link="http://grsecurity.net">grsecurity</uri>), together with
117 stability/security-enhancements. Check
118 <uri>http://www.gentoo.org/proj/en/hardened/</uri> for more information.
119 </p>
120
121 <impo>
122 This kernel provides powerful patches for enhanced security. Please read the
123 <uri link="/proj/en/hardened/">documentation</uri> before you use it.
124 </impo>
125
126 </body>
127 </section>
128 <section>
129 <title>ck-sources</title>
130 <body>
131
132 <p>
133 <c>ck-sources</c> is Con Kolivas's kernel patch set. This patchset is primarily
134 designed to improve system responsiveness and interactivity and is configurable
135 for varying workloads (from servers to desktops). The patchset includes a
136 different scheduler, BFS, designed to keep systems responsive and smooth even
137 when under heavy load. Support and information is available at
138 <uri>http://kernel.kolivas.org</uri> and in <c>#ck</c> on <c>irc.oftc.net</c>.
139 </p>
140
141 </body>
142 </section>
143 <section>
144 <title>git-sources</title>
145 <body>
146
147 <p>
148 The <c>git-sources</c> package tracks daily snapshots of the upstream
149 development kernel tree. You should run these kernels if you are interested in
150 kernel development or testing. Bugreports should go to the <uri
151 link="http://bugzilla.kernel.org/">Linux Kernel Bug Tracker</uri> or LKML
152 (Linux Kernel Mailing List).
153 </p>
154
155 </body>
156 </section>
157 <section>
158 <title>Architecture dependent kernels</title>
159 <body>
160
161 <p>
162 <c>cell-sources</c>, <c>mips-sources</c>, and <c>xbox-sources</c> are, as their
163 names suggest, patched to run best on specific architectures. They also contain
164 some of the patches for hardware and features support from the other patch sets
165 mentioned above and below.
166 </p>
167
168 </body>
169 </section>
170 </chapter>
171
172 <chapter>
173 <title>Unsupported kernel packages</title>
174 <section>
175 <body>
176
177 <p>
178 Now I'm going to try to briefly describe some of the other
179 <path>sys-kernel/*-sources</path> which you saw scroll by when you ran
180 <c>emerge -s sources</c>. Let's take them in alphabetical order. These
181 kernels are provided as a courtesy only and the various patch sets are not
182 supported by the Gentoo kernel team.
183 </p>
184
185 </body>
186 </section>
187 <section>
188 <title>pf-sources</title>
189 <body>
190
191 <p>
192 The <c>pf-sources</c> kernel brings together parts of several different kernel
193 patches. It includes the BFS patchset from <c>ck-sources</c>, the
194 <c>tuxonice</c> patches, <uri link="http://www.linuximq.net">LinuxIMQ</uri>, and
195 the <uri
196 link="http://algo.ing.unimo.it/people/paolo/disk_sched/patches/">BFQ</uri> I/O
197 <uri
198 link="http://kerneltrap.org/Linux/Budget_Fair_Queuing_IO_Scheduler">scheduler</uri>.
199 </p>
200
201 </body>
202 </section>
203 <section>
204 <title>openvz-sources</title>
205 <body>
206
207 <p>
208 OpenVZ is a server virtualization solution built on Linux. OpenVZ creates
209 isolated, secure virtual private servers (VPSs) or virtual environments on a
210 single physical server enabling better server utilization and ensuring that
211 applications do not conflict. For more information, see
212 <uri>http://www.openvz.org</uri>.
213 </p>
214
215 </body>
216 </section>
217 <section>
218 <title>tuxonice-sources</title>
219 <body>
220
221 <p>
222 The <c>tuxonice-sources</c> (formerly <c>suspend2-sources</c>) are patched with
223 both genpatches which includes the patches found in gentoo-sources, and <uri
224 link="http://www.tuxonice.net">TuxOnIce</uri> which is an improved
225 implementation of suspend-to-disk for the Linux kernel, formerly known as
226 <e>suspend2</e>.
227 </p>
228
229 <p>
230 This kernel is recommended for laptop users who often rely on being able
231 to suspend their laptop and resume work elsewhere.
232 </p>
233
234 </body>
235 </section>
236 <section>
237 <title>usermode-sources</title>
238 <body>
239
240 <p>
241 <c>usermode-sources</c> are the User Mode Linux kernel patches. This
242 kernel is designed to allow Linux to run within Linux to run within Linux
243 to ... User Mode Linux is intended for testing and virtual server support.
244 For more information about this amazing tribute to the stability and
245 scalability of Linux, see <uri>http://user-mode-linux.sourceforge.net</uri>.
246 </p>
247
248 <p>
249 For more information on UML and Gentoo, read the
250 <uri link="/doc/en/uml.xml">Gentoo UML Guide</uri>.
251 </p>
252
253 </body>
254 </section>
255 <section>
256 <title>vanilla-sources</title>
257 <body>
258
259 <p>
260 The next kernel sources that many of you will probably be familiar with as Linux
261 users are the <c>vanilla-sources</c>. These are the official kernel sources
262 released on <uri>http://www.kernel.org/</uri>. Please note that we do not patch
263 these kernels at all - these are purely for people who wish to run a completely
264 unmodified Linux kernel. We recommend that you use <c>gentoo-sources</c>
265 instead.
266 </p>
267
268 <p>
269 Two versions of the kernel can be found under this package: 2.6 and 3.x.
270 </p>
271
272 </body>
273 </section>
274 </chapter>
275
276 <chapter>
277 <title>Previously provided kernel packages</title>
278 <section>
279 <title>aa-sources</title>
280 <body>
281
282 <p>
283 <c>aa-sources</c> was a heavily modified kernel with all kinds of patches.
284 The upstream maintainer has stopped releasing kernel patchsets, this package
285 was removed as it went out of date.
286 </p>
287
288 </body>
289 </section>
290 <section>
291 <title>alpha-sources</title>
292 <body>
293
294 <p>
295 <c>alpha-sources</c> was a 2.4 kernel with patches applied to improve hardware
296 compatibility for the Alpha architecture. These patches have been developed
297 and included in the mainline kernel. Alpha users can now run any recent kernel
298 with no need for extra patches.
299 </p>
300
301 </body>
302 </section>
303 <section>
304 <title>development-sources</title>
305 <body>
306
307 <p>
308 <c>development-sources</c>, the official 2.6 kernel from kernel.org, can now
309 be found under the <c>vanilla-sources</c> package.
310 </p>
311
312 </body>
313 </section>
314 <section>
315 <title>gentoo-dev-sources</title>
316 <body>
317
318 <p>
319 <c>gentoo-dev-sources</c>, a 2.6 kernel patched with bug, security and
320 stability fixes, can now be found under the <c>gentoo-sources</c> package.
321 </p>
322
323 </body>
324 </section>
325 <section>
326 <title>grsec-sources</title>
327 <body>
328
329 <p>
330 The <c>grsec-sources</c> kernel source used to be patched with the latest
331 grsecurity updates (grsecurity version 2.0 and up) which included, amongst
332 other security-related patches, support for PaX. As grsecurity patches are
333 included in <c>hardened-sources</c>, this package is no longer in Portage.
334 </p>
335
336 </body>
337 </section>
338 <section>
339 <title>hardened-dev-sources</title>
340 <body>
341
342 <p>
343 <c>hardened-dev-sources</c> can now be found under the <c>hardened-sources</c>
344 package.
345 </p>
346
347 </body>
348 </section>
349 <section>
350 <title>hppa-sources</title>
351 <body>
352
353 <p>
354 <c>hppa-sources</c> was a 2.6 kernel with patches applied to improve hardware
355 compatibility for the HPPA architecture. These patches have been developed
356 and included in the mainline kernel. HPPA users can now run any recent kernel
357 with no need for extra patches.
358 </p>
359
360 </body>
361 </section>
362 <section>
363 <title>mm-sources</title>
364 <body>
365
366 <p>
367 The <c>mm-sources</c> were based on the <c>vanilla-sources</c> and contained
368 Andrew Morton's patch set. They includde the experimental and bleeding-edge
369 features that were going to be included in the official kernel (or that were
370 going to be rejected because they set your box on fire). They were known to be
371 always moving at a fast pace and can change radically from one week to the
372 other; kernel hackers used them as a testing ground for highly experimental new
373 stuff.
374 </p>
375
376 </body>
377 </section>
378 <section>
379 <title>rsbac-dev-sources</title>
380 <body>
381
382 <p>
383 The <c>rsbac-dev-sources</c> kernels can now be found under the
384 <c>rsbac-sources</c> package.
385 </p>
386
387 </body>
388 </section>
389 <section>
390 <title>rsbac-sources</title>
391 <body>
392
393 <p>
394 <c>rsbac-sources</c> was a 2.6-based kernel. It contained patches to use Rule
395 Set Based Access Controls (<uri link="http://www.rsbac.org">RSBAC</uri>). It has
396 been removed due to lack of maintainers. Use <c>hardened-sources</c> if you need
397 additional security features.
398 </p>
399
400 </body>
401 </section>
402 <section>
403 <title>selinux-sources</title>
404 <body>
405
406 <p>
407 <c>selinux-sources</c>, a 2.4 kernel including lots of security enhancements,
408 has been obsoleted by security development in the 2.6 tree. SELinux
409 functionality can be found in the <c>hardened-sources</c> package.
410 </p>
411
412 </body>
413 </section>
414 <section>
415 <title>sh-sources</title>
416 <body>
417
418 <p>
419 <c>sh-sources</c> was a 2.6 kernel with patches applied to improve hardware
420 compatibility for the SuperH architecture. These patches have been developed
421 and included in the mainline kernel. SuperH users can now run any recent kernel
422 with no need for extra patches.
423 </p>
424
425 </body>
426 </section>
427 <section>
428 <title>sparc-sources</title>
429 <body>
430
431 <p>
432 <c>sparc-sources</c> was a 2.4 kernel with patches applied to improve hardware
433 compatibility for the SPARC architecture. These patches have been developed
434 and included in the mainline kernel. SPARC users can now run any recent kernel
435 with no need for extra patches.
436 </p>
437
438 </body>
439 </section>
440 <section>
441 <title>uclinux-sources</title>
442 <body>
443
444 <p>
445 The <c>uclinux-sources</c> are meant for CPUs without MMUs as well as embedded
446 devices. For more information, see <uri>http://www.uclinux.org</uri>. Lack of
447 security patches as well as hardware to test on were the reasons this is no
448 longer in the tree.
449 </p>
450
451 </body>
452 </section>
453 <section>
454 <title>win4lin-sources</title>
455 <body>
456
457 <p>
458 <c>win4lin-sources</c> were patched to support the userland win4lin tools
459 that allow Linux users to run many Microsoft Windows (TM) applications
460 at almost native speeds. This was removed due to security issues.
461 </p>
462
463 </body>
464 </section>
465 <section>
466 <title>xen-sources</title>
467 <body>
468
469 <p>
470 <c>xen-sources</c> was a 2.6-based kernel that allowed running multiple
471 operating systems on a single physical system. You can create virtual
472 environments in which one or more guest operating systems run on a <uri
473 link="http://www.xensource.com">Xen</uri>-powered host operating system.
474 </p>
475
476 <p>
477 The <c>xen-sources</c> patches were incorporated into the mainline Linux kernel
478 as of version 3.0.
479 </p>
480
481 <p>
482 For more information on Xen and Gentoo, read the <uri
483 link="/doc/en/xen-guide.xml">Gentoo Xen Guide</uri>.
484 </p>
485
486 </body>
487 </section>
488
489 <section>
490 <title>zen-sources</title>
491 <body>
492
493 <p>
494 <c>zen-sources</c> was designed for desktop systems. It included code not found
495 in the mainline kernel. The zen kernel had patches that added new features,
496 supported additional hardware, and contained various tweaks for desktops.
497 </p>
498
499 </body>
500 </section>
501 </chapter>
502 </guide>

  ViewVC Help
Powered by ViewVC 1.1.20