]> git.decadent.org.uk Git - debian-kernel-talk.git/blob - index.html
9319220f6535b74db62749ed1fdbd62051eee2eb
[debian-kernel-talk.git] / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
2         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
4 <html xmlns="http://www.w3.org/1999/xhtml">
5
6 <head>
7 <title>The Linux kernel in Debian - Ben Hutchings - DebConf 11</title>
8 <!-- metadata -->
9 <meta name="generator" content="S5" />
10 <meta name="version" content="S5 1.1" />
11 <meta name="author" content="Ben Hutchings" />
12 <!-- configuration parameters -->
13 <meta name="defaultView" content="slideshow" />
14 <meta name="controlVis" content="hidden" />
15 <!-- style sheet links -->
16 <link rel="stylesheet" href="s5-blank/ui/default/slides.css" type="text/css" media="projection" id="slideProj" />
17 <link rel="stylesheet" href="s5-blank/ui/default/outline.css" type="text/css" media="screen" id="outlineStyle" />
18 <link rel="stylesheet" href="s5-blank/ui/default/print.css" type="text/css" media="print" id="slidePrint" />
19 <link rel="stylesheet" href="s5-blank/ui/default/opera.css" type="text/css" media="projection" id="operaFix" />
20 <style type="text/css">
21   .logo { position: absolute; right: 0; top: 0; height: 100% }
22   table { border-collapse: collapse }
23   th { border-bottom: 2pt solid black }
24   th, td { padding: 0 6pt }
25 </style>
26 <style type="text/css" media="print">
27   .slide { page-break-after: always }
28 </style>
29 <!-- S5 JS -->
30 <script src="s5-blank/ui/default/slides.js" type="text/javascript"></script>
31 </head>
32 <body>
33
34 <div class="layout">
35 <div id="controls"><!-- DO NOT EDIT --></div>
36 <div id="currentSlide"><!-- DO NOT EDIT --></div>
37 <div id="header">
38   <object class="logo" data="debconf11.svg"></object>
39 </div>
40 <div id="footer">
41 <h1>DebConf 11</h1>
42 <h2>The Linux kernel in Debian</h2>
43 </div>
44
45 </div>
46
47 <div class="presentation">
48
49 <div class="slide">
50 <h1>The Linux kernel in Debian</h1>
51 <object data="tux-debian.svg" width="35%" align="right"></object>
52 <h3>Ben Hutchings</h3>
53 </div>
54
55 <div class="slide">
56   <h1>The author</h1>
57   <ul class="incremental">
58     <li>
59       Professional software developer since 1998
60     </li>
61     <li>
62       Debian contributor since 2003
63     </li>
64     <li>
65       Regular Linux contributor since 2008
66       <ul>
67         <li>
68           Maintaining a net driver in my day job, plus core networking
69           and PCI code as necessary
70         </li>
71       </ul>
72     </li>
73     <li>
74       Debian kernel contributor since 2008; uploader since 2009
75       <ul class="incremental">
76         <li>
77           Initially trying to deal with the non-free firmware issue
78         </li>
79         <li>
80           Moved on to triaging bugs, fixing bugs, backporting
81           features, updating packaging...
82         </li>
83       </ul>
84     </li>
85   </ul>
86 </div>
87
88 <div class="slide">
89   <h1>Linux kernel</h1>
90   <ul class="incremental">
91     <li>
92       Started by Linus Torvalds in 1991 as a kernel for i386
93       PCs: <q>just a hobby, won't be big and professional like gnu</q>
94     </li>
95     <li>
96       Adopted as the kernel of the Debian system in 1993
97     </li>
98     <li>
99       After 20 years' development, supports more hardware
100       architectures and devices than anything else
101       <ul class="incremental">
102         <li>
103           Hardware vendors <em>must</em> provide Linux drivers because
104           their customers demand it
105         </li>
106       </ul>
107     </li>
108     <li>
109       Still the default kernel for the Debian system
110     </li>
111   </ul>
112 </div>
113
114 <div class="slide">
115   <h1>Linux release model (1)</h1>
116   <p>
117     The old model:
118   </p>
119   <ul class="incremental">
120     <li>
121       Each stable release had even second component.  Bug fixes and
122       minor features in stable releases with third component
123       incremented (e.g. 2.4.27)
124     </li>
125     <li>
126       Major development done separately, resulting in series of
127       unstable releases with odd second component (e.g. 2.5.50)
128     </li>
129     <li>
130       After a year or two, development resulted in a new stable
131       release
132     </li>
133     <li>
134       Problem: users waited years for new features, and then got many
135       more changes all at once.  Particularly bad in the 2.4-2.6
136       transition.
137     </li>
138   </ul>
139 </div>
140
141 <div class="slide">
142   <h1>Linux release model (2)</h1>
143   <p>
144     The new model:
145   </p>
146   <ul class="incremental">
147     <li>
148       Development results in a new stable(-ish) release every 2-3
149       months
150       <ul class="incremental">
151         <li>
152           git (and previously BitKeeper) made distributed development
153           and testing a lot easier
154         </li>
155       </ul>
156     </li>
157     <li>
158       Each 2.6.<var>x</var> release has stable update branch; releases
159       numbered 2.6.<var>x</var>.<var>y</var>
160       <ul class="incremental">
161         <li>
162           Usually closed shortly after next stable release, but may
163           continue as a 'longterm' branch (e.g. 2.6.32.<var>y</var>)
164         </li>
165       </ul>
166     </li>
167     <li>
168       Linux 3.0 doesn't change this, except that <var>x</var> is now
169       the second component and <var>y</var> is the third
170     </li>
171   </ul>
172 </div>
173
174 <div class="slide">
175   <h1>Debian kernel team (1)</h1>
176   <p>
177     Who are we?
178   </p>
179   <ul class="incremental">
180     <li>
181       Currently 5 general maintainers: Maximilian Attems, Bastian
182       Blank, dann frazier, Moritz Muehlenhoff and me
183     </li>
184     <li>
185       Many more specialised contributors:
186       <ul>
187         <li>Specific architectures</li>
188         <li>Specific features (e.g. Xen)</li>
189         <li>Bug triage</li>
190       </ul>
191     </li>
192     <li>
193       Would appreciate more help, particularly with bug triage and
194       PowerPC
195     </li>
196   </ul>
197 </div>
198
199 <div class="slide">
200   <h1>Debian kernel team (2)</h1>
201   <p>
202     What do we do?
203   </p>
204   <ul class="incremental">
205     <li>
206       Bug triage - takes a huge amount of time
207     </li>
208     <li>
209       Backport bug fixes and features - particularly new hardware
210       support for stable
211       <ul class="incremental">
212         <li>...while trying not to change kernel ABI in stable</li>
213       </ul>
214     </li>
215     <li>
216       Update build configurations for each new upstream release -
217       e.g. to enable new drivers
218     </li>
219     <li>
220       Try to ensure smooth upgrades when there are major
221       implementation changes - e.g. KMS, switch to libata drivers
222     </li>
223     <li>
224       Integrate <em>some</em> features not accepted upstream
225     </li>
226   </ul>
227 </div>
228
229 <div class="slide">
230   <h1>Official Linux kernel packages (1)</h1>
231   <p>
232     Main source package is linux-2.6 (still!).  Most binary package
233     names change regularly.
234   </p>
235   <ul class="incremental">
236     <li>
237       linux-image-<var>upstream</var>-<var>abi</var>-<var>flavour</var>
238       - compiled kernel and modules
239     </li>
240     <li>
241       linux-headers-<var>upstream</var>-<var>abi</var>-<var>flavour</var>
242       (and others) - development package for OOT modules
243     </li>
244     <li>
245       linux-libc-dev - headers for userland
246     </li>
247     <li>
248       linux-source-<var>upstream</var> - for custom kernels
249     </li>
250     <li>
251       linux-doc-<var>upstream</var>, linux-tools-<var>upstream</var>,
252       etc.
253     </li>
254     <li>
255       linux-support-<var>upstream</var>-<var>abi</var> - scripts and
256       metadata to support linux-latest-2.6
257     </li>
258   </ul>
259 </div>
260
261 <div class="slide">
262   <h1>Official Linux kernel packages (2)</h1>
263   <p>
264     The linux-latest-2.6 source package builds meta-packages to
265     support automatic upgrades between binaries built from linux-2.6.
266   </p>
267   <ul class="incremental">
268     <li>
269       linux-image-<var>flavour</var>
270     </li>
271     <li>
272       linux-headers-<var>flavour</var>
273     </li>
274     <li>
275       linux-source, linux-doc, linux-tools, etc.
276     </li>
277   </ul>
278   <p class="incremental">
279     The installer will normally install linux-image-<var>flavour</var>
280     (for some appropriate <var>flavour</var>).
281   </p>
282 </div>
283
284 <div class="slide">
285   <h1>Official Linux kernel packages (3)</h1>
286   <ul class="incremental">
287     <li>
288       firmware-free - separate 'firmware' compliant with DFSG
289     </li>
290     <li>
291       linux-base - base package for images and tools
292     </li>
293     <li>
294       linux-kbuild-2.6 builds linux-kbuild-<var>upstream</var> -
295       code used for building OOT modules
296     </li>
297   </ul>
298 </div>
299
300 <div class="slide">
301   <h1>Custom Linux kernel builds</h1>
302   <p>
303     The official packages work for most users, but not all:
304   </p>
305   <ul class="incremental">
306     <li>
307       Different ARM platforms need incompatible configurations,
308       and we cannot build them all
309     </li>
310     <li>
311       New features are not enabled immediately if we are worried
312       about potential regressions
313     </li>
314   </ul>
315   <p class="incremental">
316     Using either upstream source or Debian linux-source package:
317   </p>
318   <ul class="incremental">
319     <li>
320       <tt>make && make install</tt>
321     </li>
322     <li>
323       <tt>make deb-pkg</tt> - build packages
324     </li>
325     <li>
326       <tt>make-kpkg</tt> - build packages with more customisation;
327       requires kernel-package
328     </li>
329   </ul>
330 </div>
331
332 <div class="slide">
333   <h1>Out-of-tree modules</h1>
334 </div>
335
336 <div class="slide">
337   <h1>Firmware files</h1>
338 </div>
339
340 <div class="slide">
341   <h1>Documentation</h1>
342 </div>
343
344 <div class="slide">
345   <h1>Questions?</h1>
346 </div>
347
348 <div class="slide">
349   <h1>Credits</h1>
350   <ul>
351     <li>
352       Linux 'Tux' logo &copy; Larry Ewing, Simon Budig.
353       <!--
354 Redistribution is free but has to include this notice.
355       -->
356       <ul>
357         <li>Modified by me to add Debian open-ND logo</li>
358       </ul>
359     </li>
360     <li>
361       Debian open-ND logo &copy; Software in the Public Interest, Inc.
362       <!--
363 Permission is hereby granted, free of charge, to any person obtaining
364 a copy of this software and associated documentation files (the
365 "Software"), to deal in the Software without restriction, including
366 without limitation the rights to use, copy, modify, merge, publish,
367 distribute, sublicense, and/or sell copies of the Software, and to
368 permit persons to whom the Software is furnished to do so, subject to
369 the following conditions:
370
371 The above copyright notice and this permission notice shall be
372 included in all copies or substantial portions of the Software.
373
374 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
375 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
376 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
377 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
378 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
379 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
380 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
381       -->
382     </li>
383     <li>
384       DebConf 11 logo &copy; Aur&eacute;lio A. Heckert.
385       <!--
386 This program is free software; you can redistribute it
387 and/or modify it under the terms of the GNU General Public
388 License as published by the Free Software Foundation;
389 version 2 of the License.
390
391 This program is distributed in the hope that it will be
392 useful, but WITHOUT ANY WARRANTY; without even the implied
393 warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
394 PURPOSE.  See the GNU General Public License for more
395 details.
396
397 You should have received a copy of the GNU General Public
398 License along with this package; if not, write to the Free
399 Software Foundation, Inc., 51 Franklin St, Fifth Floor,
400 Boston, MA  02110-1301 USA
401
402 On Debian systems, the full text of the GNU General Public
403 License version 2 can be found in the file
404 `/usr/share/common-licenses/GPL-2'.
405       -->
406       <ul>
407         <li>Resized and coloured by me</li>
408       </ul>
409     </li>
410   </ul>
411 </div>
412
413 </body>
414 </html>