kernel-docs.txt 36 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787
  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://users.evitech.fi/~tk/rtos/writing_linux_device_d.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://tldp.org/LDP/lkmpg/2.6/html/index.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/people/rgooch/linux/docs/devfs.html
  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. Location: in kernel tree, Documentation/DocBook/kernel-hacking/
  282. (must be built as "make {htmldocs | psdocs | pdfdocs})
  283. Keywords: HOWTO, kernel contexts, deadlock, locking, modules,
  284. symbols, return conventions.
  285. Description: From the Introduction: "Please understand that I
  286. never wanted to write this document, being grossly underqualified,
  287. but I always wanted to read it, and this was the only way. I
  288. simply explain some best practices, and give reading entry-points
  289. into the kernel sources. I avoid implementation details: that's
  290. what the code is for, and I ignore whole tracts of useful
  291. routines. This document assumes familiarity with C, and an
  292. understanding of what the kernel is, and how it is used. It was
  293. originally written for the 2.3 kernels, but nearly all of it
  294. applies to 2.2 too; 2.0 is slightly different".
  295. * Title: "Writing an ALSA Driver"
  296. Author: Takashi Iwai <tiwai@suse.de>
  297. URL: http://www.alsa-project.org/~iwai/writing-an-alsa-driver/index.html
  298. Keywords: ALSA, sound, soundcard, driver, lowlevel, hardware.
  299. Description: Advanced Linux Sound Architecture for developers,
  300. both at kernel and user-level sides. ALSA is the Linux kernel
  301. sound architecture in the 2.6 kernel version.
  302. * Title: "Programming Guide for Linux USB Device Drivers"
  303. Author: Detlef Fliegl.
  304. URL: http://usb.in.tum.de/usbdoc/
  305. Keywords: USB, universal serial bus.
  306. Description: A must-read. From the Preface: "This document should
  307. give detailed information about the current state of the USB
  308. subsystem and its API for USB device drivers. The first section
  309. will deal with the basics of USB devices. You will learn about
  310. different types of devices and their properties. Going into detail
  311. you will see how USB devices communicate on the bus. The second
  312. section gives an overview of the Linux USB subsystem [2] and the
  313. device driver framework. Then the API and its data structures will
  314. be explained step by step. The last section of this document
  315. contains a reference of all API calls and their return codes".
  316. Notes: Beware: the main page states: "This document may not be
  317. published, printed or used in excerpts without explicit permission
  318. of the author". Fortunately, it may still be read...
  319. * Title: "Tour Of the Linux Kernel Source"
  320. Author: Vijo Cherian.
  321. URL: http://www.geocities.com/vijoc/tolks/tolks.html
  322. Keywords: .
  323. Description: A classic of this page! Was lost for a while and is
  324. back again. Thanks Vijo! TOLKS: the name says it all. A tour of
  325. the sources, describing directories, files, variables, data
  326. structures... It covers general stuff, device drivers,
  327. filesystems, IPC and Networking Code.
  328. * Title: "Linux Kernel Mailing List Glossary"
  329. Author: various
  330. URL: http://kernelnewbies.org/glossary/
  331. Keywords: glossary, terms, linux-kernel.
  332. Description: From the introduction: "This glossary is intended as
  333. a brief description of some of the acronyms and terms you may hear
  334. during discussion of the Linux kernel".
  335. * Title: "Linux Kernel Locking HOWTO"
  336. Author: Various Talented People, and Rusty.
  337. Location: in kernel tree, Documentation/DocBook/kernel-locking/
  338. (must be built as "make {htmldocs | psdocs | pdfdocs})
  339. Keywords: locks, locking, spinlock, semaphore, atomic, race
  340. condition, bottom halves, tasklets, softirqs.
  341. Description: The title says it all: document describing the
  342. locking system in the Linux Kernel either in uniprocessor or SMP
  343. systems.
  344. Notes: "It was originally written for the later (>2.3.47) 2.3
  345. kernels, but most of it applies to 2.2 too; 2.0 is slightly
  346. different". Freely redistributable under the conditions of the GNU
  347. General Public License.
  348. * Title: "Porting Linux 2.0 Drivers To Linux 2.2: Changes and New
  349. Features "
  350. Author: Alan Cox.
  351. URL: http://www.linux-mag.com/1999-05/gear_01.html
  352. Keywords: ports, porting.
  353. Description: Article from Linux Magazine on porting from 2.0 to
  354. 2.2 kernels.
  355. * Title: "Porting Device Drivers To Linux 2.2: part II"
  356. Author: Alan Cox.
  357. URL: http://www.linux-mag.com/1999-06/gear_01.html
  358. Keywords: ports, porting.
  359. Description: Second part on porting from 2.0 to 2.2 kernels.
  360. * Title: "How To Make Sure Your Driver Will Work On The Power
  361. Macintosh"
  362. Author: Paul Mackerras.
  363. URL: http://www.linux-mag.com/1999-07/gear_01.html
  364. Keywords: Mac, Power Macintosh, porting, drivers, compatibility.
  365. Description: The title says it all.
  366. * Title: "An Introduction to SCSI Drivers"
  367. Author: Alan Cox.
  368. URL: http://www.linux-mag.com/1999-08/gear_01.html
  369. Keywords: SCSI, device, driver.
  370. Description: The title says it all.
  371. * Title: "Advanced SCSI Drivers And Other Tales"
  372. Author: Alan Cox.
  373. URL: http://www.linux-mag.com/1999-09/gear_01.html
  374. Keywords: SCSI, device, driver, advanced.
  375. Description: The title says it all.
  376. * Title: "Writing Linux Mouse Drivers"
  377. Author: Alan Cox.
  378. URL: http://www.linux-mag.com/1999-10/gear_01.html
  379. Keywords: mouse, driver, gpm.
  380. Description: The title says it all.
  381. * Title: "More on Mouse Drivers"
  382. Author: Alan Cox.
  383. URL: http://www.linux-mag.com/1999-11/gear_01.html
  384. Keywords: mouse, driver, gpm, races, asynchronous I/O.
  385. Description: The title still says it all.
  386. * Title: "Writing Video4linux Radio Driver"
  387. Author: Alan Cox.
  388. URL: http://www.linux-mag.com/1999-12/gear_01.html
  389. Keywords: video4linux, driver, radio, radio devices.
  390. Description: The title says it all.
  391. * Title: "Video4linux Drivers, Part 1: Video-Capture Device"
  392. Author: Alan Cox.
  393. URL: http://www.linux-mag.com/2000-01/gear_01.html
  394. Keywords: video4linux, driver, video capture, capture devices,
  395. camera driver.
  396. Description: The title says it all.
  397. * Title: "Video4linux Drivers, Part 2: Video-capture Devices"
  398. Author: Alan Cox.
  399. URL: http://www.linux-mag.com/2000-02/gear_01.html
  400. Keywords: video4linux, driver, video capture, capture devices,
  401. camera driver, control, query capabilities, capability, facility.
  402. Description: The title says it all.
  403. * Title: "PCI Management in Linux 2.2"
  404. Author: Alan Cox.
  405. URL: http://www.linux-mag.com/2000-03/gear_01.html
  406. Keywords: PCI, bus, bus-mastering.
  407. Description: The title says it all.
  408. * Title: "Linux 2.4 Kernel Internals"
  409. Author: Tigran Aivazian and Christoph Hellwig.
  410. URL: http://www.moses.uklinux.net/patches/lki.html
  411. Keywords: Linux, kernel, booting, SMB boot, VFS, page cache.
  412. Description: A little book used for a short training course.
  413. Covers building the kernel image, booting (including SMP bootup),
  414. process management, VFS and more.
  415. * Title: "Linux IP Networking. A Guide to the Implementation and
  416. Modification of the Linux Protocol Stack."
  417. Author: Glenn Herrin.
  418. URL:
  419. http://kernelnewbies.org/documents/ipnetworking/linuxipnetworking.
  420. html
  421. Keywords: network, networking, protocol, IP, UDP, TCP, connection,
  422. socket, receiving, transmitting, forwarding, routing, packets,
  423. modules, /proc, sk_buff, FIB, tags.
  424. Description: Excellent paper devoted to the Linux IP Networking,
  425. explaining anything from the kernel's to the user space
  426. configuration tools' code. Very good to get a general overview of
  427. the kernel networking implementation and understand all steps
  428. packets follow from the time they are received at the network
  429. device till they are delivered to applications. The studied kernel
  430. code is from 2.2.14 version. Provides code for a working packet
  431. dropper example.
  432. * Title: "Get those boards talking under Linux."
  433. Author: Alex Ivchenko.
  434. URL: http://www.edn.com/article/CA46968.html
  435. Keywords: data-acquisition boards, drivers, modules, interrupts,
  436. memory allocation.
  437. Description: Article written for people wishing to make their data
  438. acquisition boards work on their GNU/Linux machines. Gives a basic
  439. overview on writing drivers, from the naming of functions to
  440. interrupt handling.
  441. Notes: Two-parts article. Part II is at
  442. URL: http://www.edn.com/article/CA46998.html
  443. * Title: "Linux PCMCIA Programmer's Guide"
  444. Author: David Hinds.
  445. URL: http://pcmcia-cs.sourceforge.net/ftp/doc/PCMCIA-PROG.html
  446. Keywords: PCMCIA.
  447. Description: "This document describes how to write kernel device
  448. drivers for the Linux PCMCIA Card Services interface. It also
  449. describes how to write user-mode utilities for communicating with
  450. Card Services.
  451. * Title: "The Linux Kernel NFSD Implementation"
  452. Author: Neil Brown.
  453. URL:
  454. http://www.cse.unsw.edu.au/~neilb/oss/linux-commentary/nfsd.html
  455. Keywords: knfsd, nfsd, NFS, RPC, lockd, mountd, statd.
  456. Description: The title says it all.
  457. Notes: Covers knfsd's version 1.4.7 (patch against 2.2.7 kernel).
  458. * Title: "A Linux vm README"
  459. Author: Kanoj Sarcar.
  460. URL: http://reality.sgi.com/kanoj_engr/vm229.html
  461. Keywords: virtual memory, mm, pgd, vma, page, page flags, page
  462. cache, swap cache, kswapd.
  463. Description: Telegraphic, short descriptions and definitions
  464. relating the Linux virtual memory implementation.
  465. * Title: "(nearly) Complete Linux Loadable Kernel Modules. The
  466. definitive guide for hackers, virus coders and system
  467. administrators."
  468. Author: pragmatic/THC.
  469. URL: http://packetstormsecurity.org/docs/hack/LKM_HACKING.html
  470. Keywords: syscalls, intercept, hide, abuse, symbol table.
  471. Description: Interesting paper on how to abuse the Linux kernel in
  472. order to intercept and modify syscalls, make
  473. files/directories/processes invisible, become root, hijack ttys,
  474. write kernel modules based virus... and solutions for admins to
  475. avoid all those abuses.
  476. Notes: For 2.0.x kernels. Gives guidances to port it to 2.2.x
  477. kernels.
  478. BOOKS: (Not on-line)
  479. * Title: "Linux Device Drivers"
  480. Author: Alessandro Rubini.
  481. Publisher: O'Reilly & Associates.
  482. Date: 1998.
  483. Pages: 439.
  484. ISBN: 1-56592-292-1
  485. * Title: "Linux Device Drivers, 2nd Edition"
  486. Author: Alessandro Rubini and Jonathan Corbet.
  487. Publisher: O'Reilly & Associates.
  488. Date: 2001.
  489. Pages: 586.
  490. ISBN: 0-59600-008-1
  491. Notes: Further information in
  492. http://www.oreilly.com/catalog/linuxdrive2/
  493. * Title: "Linux Device Drivers, 3nd Edition"
  494. Authors: Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman
  495. Publisher: O'Reilly & Associates.
  496. Date: 2005.
  497. Pages: 636.
  498. ISBN: 0-596-00590-3
  499. Notes: Further information in
  500. http://www.oreilly.com/catalog/linuxdrive3/
  501. PDF format, URL: http://lwn.net/Kernel/LDD3/
  502. * Title: "Linux Kernel Internals"
  503. Author: Michael Beck.
  504. Publisher: Addison-Wesley.
  505. Date: 1997.
  506. ISBN: 0-201-33143-8 (second edition)
  507. * Title: "The Design of the UNIX Operating System"
  508. Author: Maurice J. Bach.
  509. Publisher: Prentice Hall.
  510. Date: 1986.
  511. Pages: 471.
  512. ISBN: 0-13-201757-1
  513. * Title: "The Design and Implementation of the 4.3 BSD UNIX
  514. Operating System"
  515. Author: Samuel J. Leffler, Marshall Kirk McKusick, Michael J.
  516. Karels, John S. Quarterman.
  517. Publisher: Addison-Wesley.
  518. Date: 1989 (reprinted with corrections on October, 1990).
  519. ISBN: 0-201-06196-1
  520. * Title: "The Design and Implementation of the 4.4 BSD UNIX
  521. Operating System"
  522. Author: Marshall Kirk McKusick, Keith Bostic, Michael J. Karels,
  523. John S. Quarterman.
  524. Publisher: Addison-Wesley.
  525. Date: 1996.
  526. ISBN: 0-201-54979-4
  527. * Title: "Programmation Linux 2.0 API systeme et fonctionnement du
  528. noyau"
  529. Author: Remy Card, Eric Dumas, Franck Mevel.
  530. Publisher: Eyrolles.
  531. Date: 1997.
  532. Pages: 520.
  533. ISBN: 2-212-08932-5
  534. Notes: French.
  535. * Title: "The Linux Kernel Book"
  536. Author: Remy Card, Eric Dumas, Franck Mevel.
  537. Publisher: John Wiley & Sons.
  538. Date: 1998.
  539. ISBN: 0-471-98141-9
  540. Notes: English translation.
  541. * Title: "Linux 2.0"
  542. Author: Remy Card, Eric Dumas, Franck Mevel.
  543. Publisher: Gestión 2000.
  544. Date: 1997.
  545. Pages: 501.
  546. ISBN: 8-480-88208-5
  547. Notes: Spanish translation.
  548. * Title: "Unix internals -- the new frontiers"
  549. Author: Uresh Vahalia.
  550. Publisher: Prentice Hall.
  551. Date: 1996.
  552. Pages: 600.
  553. ISBN: 0-13-101908-2
  554. * Title: "Linux Core Kernel Commentary. Guide to Insider's Knowledge
  555. on the Core Kernel of the Linux Code"
  556. Author: Scott Maxwell.
  557. Publisher: Coriolis.
  558. Date: 1999.
  559. Pages: 592.
  560. ISBN: 1-57610-469-9
  561. Notes: CD-ROM included. Line by line commentary of the kernel
  562. code.
  563. * Title: "Linux IP Stacks Commentary"
  564. Author: Stephen Satchell and HBJ Clifford.
  565. Publisher: Coriolis.
  566. Date: 2000.
  567. Pages: ???.
  568. ISBN: 1-57610-470-2
  569. Notes: Line by line source code commentary book.
  570. * Title: "Programming for the real world - POSIX.4"
  571. Author: Bill O. Gallmeister.
  572. Publisher: O'Reilly & Associates, Inc..
  573. Date: 1995.
  574. Pages: ???.
  575. ISBN: I-56592-074-0
  576. Notes: Though not being directly about Linux, Linux aims to be
  577. POSIX. Good reference.
  578. * Title: "Understanding the Linux Kernel"
  579. Author: Daniel P. Bovet and Marco Cesati.
  580. Publisher: O'Reilly & Associates, Inc..
  581. Date: 2000.
  582. Pages: 702.
  583. ISBN: 0-596-00002-2
  584. Notes: Further information in
  585. http://www.oreilly.com/catalog/linuxkernel/
  586. MISCELLANEOUS:
  587. * Name: linux/Documentation
  588. Author: Many.
  589. URL: Just look inside your kernel sources.
  590. Keywords: anything, DocBook.
  591. Description: Documentation that comes with the kernel sources,
  592. inside the Documentation directory. Some pages from this document
  593. (including this document itself) have been moved there, and might
  594. be more up to date than the web version.
  595. * Name: "Linux Source Driver"
  596. URL: http://lsd.linux.cz
  597. Keywords: Browsing source code.
  598. Description: "Linux Source Driver (LSD) is an application, which
  599. can make browsing source codes of Linux kernel easier than you can
  600. imagine. You can select between multiple versions of kernel (e.g.
  601. 0.01, 1.0.0, 2.0.33, 2.0.34pre13, 2.0.0, 2.1.101 etc.). With LSD
  602. you can search Linux kernel (fulltext, macros, types, functions
  603. and variables) and LSD can generate patches for you on the fly
  604. (files, directories or kernel)".
  605. * Name: "Linux Kernel Source Reference"
  606. Author: Thomas Graichen.
  607. URL: http://innominate.org/~graichen/projects/lksr/
  608. Keywords: CVS, web, cvsweb, browsing source code.
  609. Description: Web interface to a CVS server with the kernel
  610. sources. "Here you can have a look at any file of the Linux kernel
  611. sources of any version starting from 1.0 up to the (daily updated)
  612. current version available. Also you can check the differences
  613. between two versions of a file".
  614. * Name: "Cross-Referencing Linux"
  615. URL: http://lxr.linux.no/source/
  616. Keywords: Browsing source code.
  617. Description: Another web-based Linux kernel source code browser.
  618. Lots of cross references to variables and functions. You can see
  619. where they are defined and where they are used.
  620. * Name: "Linux Weekly News"
  621. URL: http://lwn.net
  622. Keywords: latest kernel news.
  623. Description: The title says it all. There's a fixed kernel section
  624. summarizing developers' work, bug fixes, new features and versions
  625. produced during the week. Published every Thursday.
  626. * Name: "Kernel Traffic"
  627. URL: http://www.kerneltraffic.org/kernel-traffic/
  628. Keywords: linux-kernel mailing list, weekly kernel news.
  629. Description: Weekly newsletter covering the most relevant
  630. discussions of the linux-kernel mailing list.
  631. * Name: "CuTTiNG.eDGe.LiNuX"
  632. URL: http://edge.kernelnotes.org
  633. Keywords: changelist.
  634. Description: Site which provides the changelist for every kernel
  635. release. What's new, what's better, what's changed. Myrdraal reads
  636. the patches and describes them. Pointers to the patches are there,
  637. too.
  638. * Name: "New linux-kernel Mailing List FAQ"
  639. URL: http://www.tux.org/lkml/
  640. Keywords: linux-kernel mailing list FAQ.
  641. Description: linux-kernel is a mailing list for developers to
  642. communicate. This FAQ builds on the previous linux-kernel mailing
  643. list FAQ maintained by Frohwalt Egerer, who no longer maintains
  644. it. Read it to see how to join the mailing list. Dozens of
  645. interesting questions regarding the list, Linux, developers (who
  646. is ...?), terms (what is...?) are answered here too. Just read it.
  647. * Name: "Linux Virtual File System"
  648. Author: Peter J. Braam.
  649. URL: http://www.coda.cs.cmu.edu/doc/talks/linuxvfs/
  650. Keywords: slides, VFS, inode, superblock, dentry, dcache.
  651. Description: Set of slides, presumably from a presentation on the
  652. Linux VFS layer. Covers version 2.1.x, with dentries and the
  653. dcache.
  654. * Name: "Gary's Encyclopedia - The Linux Kernel"
  655. Author: Gary (I suppose...).
  656. URL: http://members.aa.net/~swear/pedia/kernel.html
  657. Keywords: links, not found here?.
  658. Description: Gary's Encyclopedia exists to allow the rapid finding
  659. of documentation and other information of interest to GNU/Linux
  660. users. It has about 4000 links to external pages in 150 major
  661. categories. This link is for kernel-specific links, documents,
  662. sites... Look there if you could not find here what you were
  663. looking for.
  664. * Name: "The home page of Linux-MM"
  665. Author: The Linux-MM team.
  666. URL: http://linux-mm.org/
  667. Keywords: memory management, Linux-MM, mm patches, TODO, docs,
  668. mailing list.
  669. Description: Site devoted to Linux Memory Management development.
  670. Memory related patches, HOWTOs, links, mm developers... Don't miss
  671. it if you are interested in memory management development!
  672. * Name: "Kernel Newbies IRC Channel"
  673. URL: http://www.kernelnewbies.org
  674. Keywords: IRC, newbies, channel, asking doubts.
  675. Description: #kernelnewbies on irc.openprojects.net. From the web
  676. page: "#kernelnewbies is an IRC network dedicated to the 'newbie'
  677. kernel hacker. The audience mostly consists of people who are
  678. learning about the kernel, working on kernel projects or
  679. professional kernel hackers that want to help less seasoned kernel
  680. people. [...] #kernelnewbies is on the Open Projects IRC Network,
  681. try irc.openprojects.net or irc.<country>.openprojects.net as your
  682. server and then /join #kernelnewbies". It also hosts articles,
  683. documents, FAQs...
  684. * Name: "linux-kernel mailing list archives and search engines"
  685. URL: http://vger.kernel.org/vger-lists.html
  686. URL: http://www.uwsg.indiana.edu/hypermail/linux/kernel/index.html
  687. URL: http://marc.theaimsgroup.com/?l=linux-kernel
  688. URL: http://groups.google.com/group/mlist.linux.kernel
  689. URL: http://www.cs.helsinki.fi/linux/linux-kernel/
  690. URL: http://www.lib.uaa.alaska.edu/linux-kernel/
  691. Keywords: linux-kernel, archives, search.
  692. Description: Some of the linux-kernel mailing list archivers. If
  693. you have a better/another one, please let me know.
  694. _________________________________________________________________
  695. Document last updated on Sat 2005-NOV-19