kernel-docs.txt 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777
  1. Index of Documentation for People Interested in Writing and/or
  2. Understanding the Linux Kernel.
  3. Juan-Mariano de Goyeneche <jmseyas@dit.upm.es>
  4. /*
  5. * The latest version of this document may be found at:
  6. * http://www.dit.upm.es/~jmseyas/linux/kernel/hackers-docs.html
  7. */
  8. The need for a document like this one became apparent in the
  9. linux-kernel mailing list as the same questions, asking for pointers
  10. to information, appeared again and again.
  11. Fortunately, as more and more people get to GNU/Linux, more and more
  12. get interested in the Kernel. But reading the sources is not always
  13. enough. It is easy to understand the code, but miss the concepts, the
  14. philosophy and design decisions behind this code.
  15. Unfortunately, not many documents are available for beginners to
  16. start. And, even if they exist, there was no "well-known" place which
  17. kept track of them. These lines try to cover this lack. All documents
  18. available on line known by the author are listed, while some reference
  19. books are also mentioned.
  20. PLEASE, if you know any paper not listed here or write a new document,
  21. send me an e-mail, and I'll include a reference to it here. Any
  22. corrections, ideas or comments are also welcomed.
  23. The papers that follow are listed in no particular order. All are
  24. cataloged with the following fields: the document's "Title", the
  25. "Author"/s, the "URL" where they can be found, some "Keywords" helpful
  26. when searching for specific topics, and a brief "Description" of the
  27. Document.
  28. Enjoy!
  29. ON-LINE DOCS:
  30. * Title: "Linux Device Drivers, Third Edition"
  31. Author: Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman
  32. URL: http://lwn.net/Kernel/LDD3/
  33. Description: A 600-page book covering the (2.6.10) driver
  34. programming API and kernel hacking in general. Available under the
  35. Creative Commons Attribution-ShareAlike 2.0 license.
  36. * Title: "The Linux Kernel"
  37. Author: David A. Rusling.
  38. URL: http://www.tldp.org/LDP/tlk/tlk.html
  39. Keywords: everything!, book.
  40. Description: On line, 200 pages book describing most aspects of
  41. the Linux Kernel. Probably, the first reference for beginners.
  42. Lots of illustrations explaining data structures use and
  43. relationships in the purest Richard W. Stevens' style. Contents:
  44. "1.-Hardware Basics, 2.-Software Basics, 3.-Memory Management,
  45. 4.-Processes, 5.-Interprocess Communication Mechanisms, 6.-PCI,
  46. 7.-Interrupts and Interrupt Handling, 8.-Device Drivers, 9.-The
  47. File system, 10.-Networks, 11.-Kernel Mechanisms, 12.-Modules,
  48. 13.-The Linux Kernel Sources, A.-Linux Data Structures, B.-The
  49. Alpha AXP Processor, C.-Useful Web and FTP Sites, D.-The GNU
  50. General Public License, Glossary". In short: a must have.
  51. * Title: "The Linux Kernel Hackers' Guide"
  52. Author: Michael K.Johnson and others.
  53. URL: http://www.tldp.org/LDP/khg/HyperNews/get/khg.html
  54. Keywords: everything!
  55. Description: No more Postscript book-like version. Only HTML now.
  56. Many people have contributed. The interface is similar to web
  57. available mailing lists archives. You can find some articles and
  58. then some mails asking questions about them and/or complementing
  59. previous contributions. A little bit anarchic in this aspect, but
  60. with some valuable information in some cases.
  61. * Title: "Conceptual Architecture of the Linux Kernel"
  62. Author: Ivan T. Bowman.
  63. URL: http://plg.uwaterloo.ca/~itbowman/papers/CS746G-a1.html
  64. Keywords: conceptual software arquitecture, extracted design,
  65. reverse engineering, system structure.
  66. Description: Conceptual software arquitecture of the Linux kernel,
  67. automatically extracted from the source code. Very detailed. Good
  68. figures. Gives good overall kernel understanding.
  69. * Title: "Concrete Architecture of the Linux Kernel"
  70. Author: Ivan T. Bowman, Saheem Siddiqi, and Meyer C. Tanuan.
  71. URL: http://plg.uwaterloo.ca/~itbowman/papers/CS746G-a2.html
  72. Keywords: concrete arquitecture, extracted design, reverse
  73. engineering, system structure, dependencies.
  74. Description: Concrete arquitecture of the Linux kernel,
  75. automatically extracted from the source code. Very detailed. Good
  76. figures. Gives good overall kernel understanding. This papers
  77. focus on lower details than its predecessor (files, variables...).
  78. * Title: "Linux as a Case Study: Its Extracted Software
  79. Architecture"
  80. Author: Ivan T. Bowman, Richard C. Holt and Neil V. Brewster.
  81. URL: http://plg.uwaterloo.ca/~itbowman/papers/linuxcase.html
  82. Keywords: software architecture, architecture recovery,
  83. redocumentation.
  84. Description: Paper appeared at ICSE'99, Los Angeles, May 16-22,
  85. 1999. A mixture of the previous two documents from the same
  86. author.
  87. * Title: "Overview of the Virtual File System"
  88. Author: Richard Gooch.
  89. URL: http://www.atnf.csiro.au/~rgooch/linux/vfs.txt
  90. Keywords: VFS, File System, mounting filesystems, opening files,
  91. dentries, dcache.
  92. Description: Brief introduction to the Linux Virtual File System.
  93. What is it, how it works, operations taken when opening a file or
  94. mounting a file system and description of important data
  95. structures explaining the purpose of each of their entries.
  96. * Title: "The Linux RAID-1, 4, 5 Code"
  97. Author: Ingo Molnar, Gadi Oxman and Miguel de Icaza.
  98. URL: http://www2.linuxjournal.com/lj-issues/issue44/2391.html
  99. Keywords: RAID, MD driver.
  100. Description: Linux Journal Kernel Korner article. Here is it's
  101. abstract: "A description of the implementation of the RAID-1,
  102. RAID-4 and RAID-5 personalities of the MD device driver in the
  103. Linux kernel, providing users with high performance and reliable,
  104. secondary-storage capability using software".
  105. * Title: "Dynamic Kernels: Modularized Device Drivers"
  106. Author: Alessandro Rubini.
  107. URL: http://www2.linuxjournal.com/lj-issues/issue23/1219.html
  108. Keywords: device driver, module, loading/unloading modules,
  109. allocating resources.
  110. Description: Linux Journal Kernel Korner article. Here is it's
  111. abstract: "This is the first of a series of four articles
  112. co-authored by Alessandro Rubini and Georg Zezchwitz which present
  113. a practical approach to writing Linux device drivers as kernel
  114. loadable modules. This installment presents an introduction to the
  115. topic, preparing the reader to understand next month's
  116. installment".
  117. * Title: "Dynamic Kernels: Discovery"
  118. Author: Alessandro Rubini.
  119. URL: http://www2.linuxjournal.com/lj-issues/issue24/1220.html
  120. Keywords: character driver, init_module, clean_up module,
  121. autodetection, mayor number, minor number, file operations,
  122. open(), close().
  123. Description: Linux Journal Kernel Korner article. Here is it's
  124. abstract: "This article, the second of four, introduces part of
  125. the actual code to create custom module implementing a character
  126. device driver. It describes the code for module initialization and
  127. cleanup, as well as the open() and close() system calls".
  128. * Title: "The Devil's in the Details"
  129. Author: Georg v. Zezschwitz and Alessandro Rubini.
  130. URL: http://www2.linuxjournal.com/lj-issues/issue25/1221.html
  131. Keywords: read(), write(), select(), ioctl(), blocking/non
  132. blocking mode, interrupt handler.
  133. Description: Linux Journal Kernel Korner article. Here is it's
  134. abstract: "This article, the third of four on writing character
  135. device drivers, introduces concepts of reading, writing, and using
  136. ioctl-calls".
  137. * Title: "Dissecting Interrupts and Browsing DMA"
  138. Author: Alessandro Rubini and Georg v. Zezschwitz.
  139. URL: http://www2.linuxjournal.com/lj-issues/issue26/1222.html
  140. Keywords: interrupts, irqs, DMA, bottom halves, task queues.
  141. Description: Linux Journal Kernel Korner article. Here is it's
  142. abstract: "This is the fourth in a series of articles about
  143. writing character device drivers as loadable kernel modules. This
  144. month, we further investigate the field of interrupt handling.
  145. Though it is conceptually simple, practical limitations and
  146. constraints make this an ``interesting'' part of device driver
  147. writing, and several different facilities have been provided for
  148. different situations. We also investigate the complex topic of
  149. DMA".
  150. * Title: "Device Drivers Concluded"
  151. Author: Georg v. Zezschwitz.
  152. URL: http://www2.linuxjournal.com/lj-issues/issue28/1287.html
  153. Keywords: address spaces, pages, pagination, page management,
  154. demand loading, swapping, memory protection, memory mapping, mmap,
  155. virtual memory areas (VMAs), vremap, PCI.
  156. Description: Finally, the above turned out into a five articles
  157. series. This latest one's introduction reads: "This is the last of
  158. five articles about character device drivers. In this final
  159. section, Georg deals with memory mapping devices, beginning with
  160. an overall description of the Linux memory management concepts".
  161. * Title: "Network Buffers And Memory Management"
  162. Author: Alan Cox.
  163. URL: http://www2.linuxjournal.com/lj-issues/issue30/1312.html
  164. Keywords: sk_buffs, network devices, protocol/link layer
  165. variables, network devices flags, transmit, receive,
  166. configuration, multicast.
  167. Description: Linux Journal Kernel Korner. Here is the abstract:
  168. "Writing a network device driver for Linux is fundamentally
  169. simple---most of the complexity (other than talking to the
  170. hardware) involves managing network packets in memory".
  171. * Title: "Writing Linux Device Drivers"
  172. Author: Michael K. Johnson.
  173. URL: http://people.redhat.com/johnsonm/devices.html
  174. Keywords: files, VFS, file operations, kernel interface, character
  175. vs block devices, I/O access, hardware interrupts, DMA, access to
  176. user memory, memory allocation, timers.
  177. Description: Introductory 50-minutes (sic) tutorial on writing
  178. device drivers. 12 pages written by the same author of the "Kernel
  179. Hackers' Guide" which give a very good overview of the topic.
  180. * Title: "The Venus kernel interface"
  181. Author: Peter J. Braam.
  182. URL:
  183. http://www.coda.cs.cmu.edu/doc/html/kernel-venus-protocol.html
  184. Keywords: coda, filesystem, venus, cache manager.
  185. Description: "This document describes the communication between
  186. Venus and kernel level file system code needed for the operation
  187. of the Coda filesystem. This version document is meant to describe
  188. the current interface (version 1.0) as well as improvements we
  189. envisage".
  190. * Title: "Programming PCI-Devices under Linux"
  191. Author: Claus Schroeter.
  192. URL:
  193. ftp://ftp.llp.fu-berlin.de/pub/linux/LINUX-LAB/whitepapers/pcip.ps
  194. .gz
  195. Keywords: PCI, device, busmastering.
  196. Description: 6 pages tutorial on PCI programming under Linux.
  197. Gives the basic concepts on the architecture of the PCI subsystem,
  198. as long as basic functions and macros to read/write the devices
  199. and perform busmastering.
  200. * Title: "Writing Character Device Driver for Linux"
  201. Author: R. Baruch and C. Schroeter.
  202. URL:
  203. ftp://ftp.llp.fu-berlin.de/pub/linux/LINUX-LAB/whitepapers/drivers
  204. .ps.gz
  205. Keywords: character device drivers, I/O, signals, DMA, accessing
  206. ports in user space, kernel environment.
  207. Description: 68 pages paper on writing character drivers. A little
  208. bit old (1.993, 1.994) although still useful.
  209. * Title: "Design and Implementation of the Second Extended
  210. Filesystem"
  211. Author: Rémy Card, Theodore Ts'o, Stephen Tweedie.
  212. URL: http://web.mit.edu/tytso/www/linux/ext2intro.html
  213. Keywords: ext2, linux fs history, inode, directory, link, devices,
  214. VFS, physical structure, performance, benchmarks, ext2fs library,
  215. ext2fs tools, e2fsck.
  216. Description: Paper written by three of the top ext2 hackers.
  217. Covers Linux filesystems history, ext2 motivation, ext2 features,
  218. design, physical structure on disk, performance, benchmarks,
  219. e2fsck's passes description... A must read!
  220. Notes: This paper was first published in the Proceedings of the
  221. First Dutch International Symposium on Linux, ISBN 90-367-0385-9.
  222. * Title: "Analysis of the Ext2fs structure"
  223. Author: Louis-Dominique Dubeau.
  224. URL: http://step.polymtl.ca/~ldd/ext2fs/ext2fs_toc.html
  225. Keywords: ext2, filesystem, ext2fs.
  226. Description: Description of ext2's blocks, directories, inodes,
  227. bitmaps, invariants...
  228. * Title: "Journaling the Linux ext2fs Filesystem"
  229. Author: Stephen C. Tweedie.
  230. URL:
  231. ftp://ftp.uk.linux.org/pub/linux/sct/fs/jfs/journal-design.ps.gz
  232. Keywords: ext3, journaling.
  233. Description: Excellent 8-pages paper explaining the journaling
  234. capabilities added to ext2 by the author, showing different
  235. problems faced and the alternatives chosen.
  236. * Title: "Kernel API changes from 2.0 to 2.2"
  237. Author: Richard Gooch.
  238. URL:
  239. http://www.atnf.csiro.au/~rgooch/linux/docs/porting-to-2.2.html
  240. Keywords: 2.2, changes.
  241. Description: Kernel functions/structures/variables which changed
  242. from 2.0.x to 2.2.x.
  243. * Title: "Kernel API changes from 2.2 to 2.4"
  244. Author: Richard Gooch.
  245. URL:
  246. http://www.atnf.csiro.au/~rgooch/linux/docs/porting-to-2.4.html
  247. Keywords: 2.4, changes.
  248. Description: Kernel functions/structures/variables which changed
  249. from 2.2.x to 2.4.x.
  250. * Title: "Linux Kernel Module Programming Guide"
  251. Author: Ori Pomerantz.
  252. URL: http://www.tldp.org/LDP/lkmpg/mpg.html
  253. Keywords: modules, GPL book, /proc, ioctls, system calls,
  254. interrupt handlers .
  255. Description: Very nice 92 pages GPL book on the topic of modules
  256. programming. Lots of examples.
  257. * Title: "Device File System (devfs) Overview"
  258. Author: Richard Gooch.
  259. URL: http://www.atnf.csiro.au/~rgooch/linux/docs/devfs.txt
  260. Keywords: filesystem, /dev, devfs, dynamic devices, major/minor
  261. allocation, device management.
  262. Description: Document describing Richard Gooch's controversial
  263. devfs, which allows for dynamic devices, only shows present
  264. devices in /dev, gets rid of major/minor numbers allocation
  265. problems, and allows for hundreds of identical devices (which some
  266. USB systems might demand soon).
  267. * Title: "I/O Event Handling Under Linux"
  268. Author: Richard Gooch.
  269. URL: http://www.atnf.csiro.au/~rgooch/linux/docs/io-events.html
  270. Keywords: IO, I/O, select(2), poll(2), FDs, aio_read(2), readiness
  271. event queues.
  272. Description: From the Introduction: "I/O Event handling is about
  273. how your Operating System allows you to manage a large number of
  274. open files (file descriptors in UNIX/POSIX, or FDs) in your
  275. application. You want the OS to notify you when FDs become active
  276. (have data ready to be read or are ready for writing). Ideally you
  277. want a mechanism that is scalable. This means a large number of
  278. inactive FDs cost very little in memory and CPU time to manage".
  279. * Title: "The Kernel Hacking HOWTO"
  280. Author: Various Talented People, and Rusty.
  281. URL:
  282. http://www.lisoleg.net/doc/Kernel-Hacking-HOWTO/kernel-hacking-HOW
  283. TO.html
  284. Keywords: HOWTO, kernel contexts, deadlock, locking, modules,
  285. symbols, return conventions.
  286. Description: From the Introduction: "Please understand that I
  287. never wanted to write this document, being grossly underqualified,
  288. but I always wanted to read it, and this was the only way. I
  289. simply explain some best practices, and give reading entry-points
  290. into the kernel sources. I avoid implementation details: that's
  291. what the code is for, and I ignore whole tracts of useful
  292. routines. This document assumes familiarity with C, and an
  293. understanding of what the kernel is, and how it is used. It was
  294. originally written for the 2.3 kernels, but nearly all of it
  295. applies to 2.2 too; 2.0 is slightly different".
  296. * Title: "ALSA 0.5.0 Developer documentation"
  297. Author: Stephan 'Jumpy' Bartels .
  298. URL: http://www.math.TU-Berlin.de/~sbartels/alsa/
  299. Keywords: ALSA, sound, soundcard, driver, lowlevel, hardware.
  300. Description: Advanced Linux Sound Architecture for developers,
  301. both at kernel and user-level sides. Work in progress. ALSA is
  302. supposed to be Linux's next generation sound architecture.
  303. * Title: "Programming Guide for Linux USB Device Drivers"
  304. Author: Detlef Fliegl.
  305. URL: http://usb.in.tum.de/usbdoc/
  306. Keywords: USB, universal serial bus.
  307. Description: A must-read. From the Preface: "This document should
  308. give detailed information about the current state of the USB
  309. subsystem and its API for USB device drivers. The first section
  310. will deal with the basics of USB devices. You will learn about
  311. different types of devices and their properties. Going into detail
  312. you will see how USB devices communicate on the bus. The second
  313. section gives an overview of the Linux USB subsystem [2] and the
  314. device driver framework. Then the API and its data structures will
  315. be explained step by step. The last section of this document
  316. contains a reference of all API calls and their return codes".
  317. Notes: Beware: the main page states: "This document may not be
  318. published, printed or used in excerpts without explicit permission
  319. of the author". Fortunately, it may still be read...
  320. * Title: "Tour Of the Linux Kernel Source"
  321. Author: Vijo Cherian.
  322. URL: http://www.geocities.com/vijoc/tolks/tolks.html
  323. Keywords: .
  324. Description: A classic of this page! Was lost for a while and is
  325. back again. Thanks Vijo! TOLKS: the name says it all. A tour of
  326. the sources, describing directories, files, variables, data
  327. structures... It covers general stuff, device drivers,
  328. filesystems, IPC and Networking Code.
  329. * Title: "Linux Kernel Mailing List Glossary"
  330. Author: John Levon.
  331. URL: http://www.movement.uklinux.net/glossary.html
  332. Keywords: glossary, terms, linux-kernel.
  333. Description: From the introduction: "This glossary is intended as
  334. a brief description of some of the acronyms and terms you may hear
  335. during discussion of the Linux kernel".
  336. * Title: "Linux Kernel Locking HOWTO"
  337. Author: Various Talented People, and Rusty.
  338. URL:
  339. http://netfilter.kernelnotes.org/unreliable-guides/kernel-locking-
  340. HOWTO.html
  341. Keywords: locks, locking, spinlock, semaphore, atomic, race
  342. condition, bottom halves, tasklets, softirqs.
  343. Description: The title says it all: document describing the
  344. locking system in the Linux Kernel either in uniprocessor or SMP
  345. systems.
  346. Notes: "It was originally written for the later (>2.3.47) 2.3
  347. kernels, but most of it applies to 2.2 too; 2.0 is slightly
  348. different". Freely redistributable under the conditions of the GNU
  349. General Public License.
  350. * Title: "Porting Linux 2.0 Drivers To Linux 2.2: Changes and New
  351. Features "
  352. Author: Alan Cox.
  353. URL: http://www.linux-mag.com/1999-05/gear_01.html
  354. Keywords: ports, porting.
  355. Description: Article from Linux Magazine on porting from 2.0 to
  356. 2.2 kernels.
  357. * Title: "Porting Device Drivers To Linux 2.2: part II"
  358. Author: Alan Cox.
  359. URL: http://www.linux-mag.com/1999-06/gear_01.html
  360. Keywords: ports, porting.
  361. Description: Second part on porting from 2.0 to 2.2 kernels.
  362. * Title: "How To Make Sure Your Driver Will Work On The Power
  363. Macintosh"
  364. Author: Paul Mackerras.
  365. URL: http://www.linux-mag.com/1999-07/gear_01.html
  366. Keywords: Mac, Power Macintosh, porting, drivers, compatibility.
  367. Description: The title says it all.
  368. * Title: "An Introduction to SCSI Drivers"
  369. Author: Alan Cox.
  370. URL: http://www.linux-mag.com/1999-08/gear_01.html
  371. Keywords: SCSI, device, driver.
  372. Description: The title says it all.
  373. * Title: "Advanced SCSI Drivers And Other Tales"
  374. Author: Alan Cox.
  375. URL: http://www.linux-mag.com/1999-09/gear_01.html
  376. Keywords: SCSI, device, driver, advanced.
  377. Description: The title says it all.
  378. * Title: "Writing Linux Mouse Drivers"
  379. Author: Alan Cox.
  380. URL: http://www.linux-mag.com/1999-10/gear_01.html
  381. Keywords: mouse, driver, gpm.
  382. Description: The title says it all.
  383. * Title: "More on Mouse Drivers"
  384. Author: Alan Cox.
  385. URL: http://www.linux-mag.com/1999-11/gear_01.html
  386. Keywords: mouse, driver, gpm, races, asynchronous I/O.
  387. Description: The title still says it all.
  388. * Title: "Writing Video4linux Radio Driver"
  389. Author: Alan Cox.
  390. URL: http://www.linux-mag.com/1999-12/gear_01.html
  391. Keywords: video4linux, driver, radio, radio devices.
  392. Description: The title says it all.
  393. * Title: "Video4linux Drivers, Part 1: Video-Capture Device"
  394. Author: Alan Cox.
  395. URL: http://www.linux-mag.com/2000-01/gear_01.html
  396. Keywords: video4linux, driver, video capture, capture devices,
  397. camera driver.
  398. Description: The title says it all.
  399. * Title: "Video4linux Drivers, Part 2: Video-capture Devices"
  400. Author: Alan Cox.
  401. URL: http://www.linux-mag.com/2000-02/gear_01.html
  402. Keywords: video4linux, driver, video capture, capture devices,
  403. camera driver, control, query capabilities, capability, facility.
  404. Description: The title says it all.
  405. * Title: "PCI Management in Linux 2.2"
  406. Author: Alan Cox.
  407. URL: http://www.linux-mag.com/2000-03/gear_01.html
  408. Keywords: PCI, bus, bus-mastering.
  409. Description: The title says it all.
  410. * Title: "Linux 2.4 Kernel Internals"
  411. Author: Tigran Aivazian and Christoph Hellwig.
  412. URL: http://www.moses.uklinux.net/patches/lki.html
  413. Keywords: Linux, kernel, booting, SMB boot, VFS, page cache.
  414. Description: A little book used for a short training course.
  415. Covers building the kernel image, booting (including SMP bootup),
  416. process management, VFS and more.
  417. * Title: "Linux IP Networking. A Guide to the Implementation and
  418. Modification of the Linux Protocol Stack."
  419. Author: Glenn Herrin.
  420. URL:
  421. http://kernelnewbies.org/documents/ipnetworking/linuxipnetworking.
  422. html
  423. Keywords: network, networking, protocol, IP, UDP, TCP, connection,
  424. socket, receiving, transmitting, forwarding, routing, packets,
  425. modules, /proc, sk_buff, FIB, tags.
  426. Description: Excellent paper devoted to the Linux IP Networking,
  427. explaining anything from the kernel's to the user space
  428. configuration tools' code. Very good to get a general overview of
  429. the kernel networking implementation and understand all steps
  430. packets follow from the time they are received at the network
  431. device till they are delivered to applications. The studied kernel
  432. code is from 2.2.14 version. Provides code for a working packet
  433. dropper example.
  434. * Title: "Get those boards talking under Linux."
  435. Author: Alex Ivchenko.
  436. URL: http://www.ednmag.com/ednmag/reg/2000/06222000/13df2.htm
  437. Keywords: data-acquisition boards, drivers, modules, interrupts,
  438. memory allocation.
  439. Description: Article written for people wishing to make their data
  440. acquisition boards work on their GNU/Linux machines. Gives a basic
  441. overview on writing drivers, from the naming of functions to
  442. interrupt handling.
  443. Notes: Two-parts article. Part II is at
  444. http://www.ednmag.com/ednmag/reg/2000/07062000/14df.htm
  445. * Title: "Linux PCMCIA Programmer's Guide"
  446. Author: David Hinds.
  447. URL: http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-PROG.html
  448. Keywords: PCMCIA.
  449. Description: "This document describes how to write kernel device
  450. drivers for the Linux PCMCIA Card Services interface. It also
  451. describes how to write user-mode utilities for communicating with
  452. Card Services.
  453. * Title: "The Linux Kernel NFSD Implementation"
  454. Author: Neil Brown.
  455. URL:
  456. http://www.cse.unsw.edu.au/~neilb/oss/linux-commentary/nfsd.html
  457. Keywords: knfsd, nfsd, NFS, RPC, lockd, mountd, statd.
  458. Description: The title says it all.
  459. Notes: Covers knfsd's version 1.4.7 (patch against 2.2.7 kernel).
  460. * Title: "A Linux vm README"
  461. Author: Kanoj Sarcar.
  462. URL: http://reality.sgi.com/kanoj_engr/vm229.html
  463. Keywords: virtual memory, mm, pgd, vma, page, page flags, page
  464. cache, swap cache, kswapd.
  465. Description: Telegraphic, short descriptions and definitions
  466. relating the Linux virtual memory implementation.
  467. * Title: "(nearly) Complete Linux Loadable Kernel Modules. The
  468. definitive guide for hackers, virus coders and system
  469. administrators."
  470. Author: pragmatic/THC.
  471. URL: http://packetstorm.securify.com/groups/thc/LKM_HACKING.html
  472. Keywords: syscalls, intercept, hide, abuse, symbol table.
  473. Description: Interesting paper on how to abuse the Linux kernel in
  474. order to intercept and modify syscalls, make
  475. files/directories/processes invisible, become root, hijack ttys,
  476. write kernel modules based virus... and solutions for admins to
  477. avoid all those abuses.
  478. Notes: For 2.0.x kernels. Gives guidances to port it to 2.2.x
  479. kernels. Also available in txt format at
  480. http://www.blacknemesis.org/hacking/txt/cllkm.txt
  481. BOOKS: (Not on-line)
  482. * Title: "Linux Device Drivers"
  483. Author: Alessandro Rubini.
  484. Publisher: O'Reilly & Associates.
  485. Date: 1998.
  486. Pages: 439.
  487. ISBN: 1-56592-292-1
  488. * Title: "Linux Device Drivers, 2nd Edition"
  489. Author: Alessandro Rubini and Jonathan Corbet.
  490. Publisher: O'Reilly & Associates.
  491. Date: 2001.
  492. Pages: 586.
  493. ISBN: 0-59600-008-1
  494. Notes: Further information in
  495. http://www.oreilly.com/catalog/linuxdrive2/
  496. * Title: "Linux Kernel Internals"
  497. Author: Michael Beck.
  498. Publisher: Addison-Wesley.
  499. Date: 1997.
  500. ISBN: 0-201-33143-8 (second edition)
  501. * Title: "The Design of the UNIX Operating System"
  502. Author: Maurice J. Bach.
  503. Publisher: Prentice Hall.
  504. Date: 1986.
  505. Pages: 471.
  506. ISBN: 0-13-201757-1
  507. * Title: "The Design and Implementation of the 4.3 BSD UNIX
  508. Operating System"
  509. Author: Samuel J. Leffler, Marshall Kirk McKusick, Michael J.
  510. Karels, John S. Quarterman.
  511. Publisher: Addison-Wesley.
  512. Date: 1989 (reprinted with corrections on October, 1990).
  513. ISBN: 0-201-06196-1
  514. * Title: "The Design and Implementation of the 4.4 BSD UNIX
  515. Operating System"
  516. Author: Marshall Kirk McKusick, Keith Bostic, Michael J. Karels,
  517. John S. Quarterman.
  518. Publisher: Addison-Wesley.
  519. Date: 1996.
  520. ISBN: 0-201-54979-4
  521. * Title: "Programmation Linux 2.0 API systeme et fonctionnement du
  522. noyau"
  523. Author: Remy Card, Eric Dumas, Franck Mevel.
  524. Publisher: Eyrolles.
  525. Date: 1997.
  526. Pages: 520.
  527. ISBN: 2-212-08932-5
  528. Notes: French.
  529. * Title: "The Linux Kernel Book"
  530. Author: Remy Card, Eric Dumas, Franck Mevel.
  531. Publisher: John Wiley & Sons.
  532. Date: 1998.
  533. ISBN: 0-471-98141-9
  534. Notes: English translation.
  535. * Title: "Linux 2.0"
  536. Author: Remy Card, Eric Dumas, Franck Mevel.
  537. Publisher: Gestión 2000.
  538. Date: 1997.
  539. Pages: 501.
  540. ISBN: 8-480-88208-5
  541. Notes: Spanish translation.
  542. * Title: "Unix internals -- the new frontiers"
  543. Author: Uresh Vahalia.
  544. Publisher: Prentice Hall.
  545. Date: 1996.
  546. Pages: 600.
  547. ISBN: 0-13-101908-2
  548. * Title: "Linux Core Kernel Commentary. Guide to Insider's Knowledge
  549. on the Core Kernel of the Linux Code"
  550. Author: Scott Maxwell.
  551. Publisher: Coriolis.
  552. Date: 1999.
  553. Pages: 592.
  554. ISBN: 1-57610-469-9
  555. Notes: CD-ROM included. Line by line commentary of the kernel
  556. code.
  557. * Title: "Linux IP Stacks Commentary"
  558. Author: Stephen Satchell and HBJ Clifford.
  559. Publisher: Coriolis.
  560. Date: 2000.
  561. Pages: ???.
  562. ISBN: 1-57610-470-2
  563. Notes: Line by line source code commentary book.
  564. * Title: "Programming for the real world - POSIX.4"
  565. Author: Bill O. Gallmeister.
  566. Publisher: O'Reilly & Associates, Inc..
  567. Date: 1995.
  568. Pages: ???.
  569. ISBN: I-56592-074-0
  570. Notes: Though not being directly about Linux, Linux aims to be
  571. POSIX. Good reference.
  572. * Title: "Understanding the Linux Kernel"
  573. Author: Daniel P. Bovet and Marco Cesati.
  574. Publisher: O'Reilly & Associates, Inc..
  575. Date: 2000.
  576. Pages: 702.
  577. ISBN: 0-596-00002-2
  578. Notes: Further information in
  579. http://www.oreilly.com/catalog/linuxkernel/
  580. MISCELLANEOUS:
  581. * Name: linux/Documentation
  582. Author: Many.
  583. URL: Just look inside your kernel sources.
  584. Keywords: anything, DocBook.
  585. Description: Documentation that comes with the kernel sources,
  586. inside the Documentation directory. Some pages from this document
  587. (including this document itself) have been moved there, and might
  588. be more up to date than the web version.
  589. * Name: "Linux Source Driver"
  590. URL: http://lsd.linux.cz
  591. Keywords: Browsing source code.
  592. Description: "Linux Source Driver (LSD) is an application, which
  593. can make browsing source codes of Linux kernel easier than you can
  594. imagine. You can select between multiple versions of kernel (e.g.
  595. 0.01, 1.0.0, 2.0.33, 2.0.34pre13, 2.0.0, 2.1.101 etc.). With LSD
  596. you can search Linux kernel (fulltext, macros, types, functions
  597. and variables) and LSD can generate patches for you on the fly
  598. (files, directories or kernel)".
  599. * Name: "Linux Kernel Source Reference"
  600. Author: Thomas Graichen.
  601. URL: http://innominate.org/~graichen/projects/lksr/
  602. Keywords: CVS, web, cvsweb, browsing source code.
  603. Description: Web interface to a CVS server with the kernel
  604. sources. "Here you can have a look at any file of the Linux kernel
  605. sources of any version starting from 1.0 up to the (daily updated)
  606. current version available. Also you can check the differences
  607. between two versions of a file".
  608. * Name: "Cross-Referencing Linux"
  609. URL: http://lxr.linux.no/source/
  610. Keywords: Browsing source code.
  611. Description: Another web-based Linux kernel source code browser.
  612. Lots of cross references to variables and functions. You can see
  613. where they are defined and where they are used.
  614. * Name: "Linux Weekly News"
  615. URL: http://lwn.net
  616. Keywords: latest kernel news.
  617. Description: The title says it all. There's a fixed kernel section
  618. summarizing developers' work, bug fixes, new features and versions
  619. produced during the week. Published every Thursday.
  620. * Name: "Kernel Traffic"
  621. URL: http://www.kerneltraffic.org/kernel-traffic/
  622. Keywords: linux-kernel mailing list, weekly kernel news.
  623. Description: Weekly newsletter covering the most relevant
  624. discussions of the linux-kernel mailing list.
  625. * Name: "CuTTiNG.eDGe.LiNuX"
  626. URL: http://edge.kernelnotes.org
  627. Keywords: changelist.
  628. Description: Site which provides the changelist for every kernel
  629. release. What's new, what's better, what's changed. Myrdraal reads
  630. the patches and describes them. Pointers to the patches are there,
  631. too.
  632. * Name: "New linux-kernel Mailing List FAQ"
  633. URL: http://www.tux.org/lkml/
  634. Keywords: linux-kernel mailing list FAQ.
  635. Description: linux-kernel is a mailing list for developers to
  636. communicate. This FAQ builds on the previous linux-kernel mailing
  637. list FAQ maintained by Frohwalt Egerer, who no longer maintains
  638. it. Read it to see how to join the mailing list. Dozens of
  639. interesting questions regarding the list, Linux, developers (who
  640. is ...?), terms (what is...?) are answered here too. Just read it.
  641. * Name: "Linux Virtual File System"
  642. Author: Peter J. Braam.
  643. URL: http://www.coda.cs.cmu.edu/doc/talks/linuxvfs/
  644. Keywords: slides, VFS, inode, superblock, dentry, dcache.
  645. Description: Set of slides, presumably from a presentation on the
  646. Linux VFS layer. Covers version 2.1.x, with dentries and the
  647. dcache.
  648. * Name: "Gary's Encyclopedia - The Linux Kernel"
  649. Author: Gary (I suppose...).
  650. URL: http://members.aa.net/~swear/pedia/kernel.html
  651. Keywords: links, not found here?.
  652. Description: Gary's Encyclopedia exists to allow the rapid finding
  653. of documentation and other information of interest to GNU/Linux
  654. users. It has about 4000 links to external pages in 150 major
  655. categories. This link is for kernel-specific links, documents,
  656. sites... Look there if you could not find here what you were
  657. looking for.
  658. * Name: "The home page of Linux-MM"
  659. Author: The Linux-MM team.
  660. URL: http://linux-mm.org/
  661. Keywords: memory management, Linux-MM, mm patches, TODO, docs,
  662. mailing list.
  663. Description: Site devoted to Linux Memory Management development.
  664. Memory related patches, HOWTOs, links, mm developers... Don't miss
  665. it if you are interested in memory management development!
  666. * Name: "Kernel Newbies IRC Channel"
  667. URL: http://www.kernelnewbies.org
  668. Keywords: IRC, newbies, channel, asking doubts.
  669. Description: #kernelnewbies on irc.openprojects.net. From the web
  670. page: "#kernelnewbies is an IRC network dedicated to the 'newbie'
  671. kernel hacker. The audience mostly consists of people who are
  672. learning about the kernel, working on kernel projects or
  673. professional kernel hackers that want to help less seasoned kernel
  674. people. [...] #kernelnewbies is on the Open Projects IRC Network,
  675. try irc.openprojects.net or irc.<country>.openprojects.net as your
  676. server and then /join #kernelnewbies". It also hosts articles,
  677. documents, FAQs...
  678. * Name: "linux-kernel mailing list archives and search engines"
  679. URL: http://www.uwsg.indiana.edu/hypermail/linux/kernel/index.html
  680. URL: http://www.kernelnotes.org/lnxlists/linux-kernel/
  681. URL: http://www.geocrawler.com
  682. Keywords: linux-kernel, archives, search.
  683. Description: Some of the linux-kernel mailing list archivers. If
  684. you have a better/another one, please let me know.
  685. _________________________________________________________________
  686. Document last updated on Thu Jun 28 15:09:39 CEST 2001