如何开始学习Linux内核

发布网友 发布时间:2022-04-19 14:00

我来回答

1个回答

热心网友 时间:2022-05-03 22:55

首先,你需要知道一个linux的论坛,在这里所有对内核有兴趣的人都会在这里讨论跟内核代码有关的东西,这里我介绍的网站叫:https://lkml.org/, 通过网页上的链接,你可以了解很多跟linux有关的东西。注意,网页是英文的,如果英文不好的就只能怪自己没有好好的念书了。
接着,你需要有人指点你如何进行linux内核的学习,在上面论坛的最下面有一个FAQ的链接,里面详细的给出了linux内核学习的一些资料,后面,我将会把全部的内容翻译出来,给需要的人使用。
网页的原址:
http://www.tux.org/lkml/#s1-1

linux内核邮件列表FAQ
在你考虑发送邮件到linux内核邮件列表前,请至少阅读第三节。
频繁被问到的问题被划分为若干目录中。如果你觉得有必要也请对这些菜单和Q/A指出不足之处。如果你有额外的信息需要提供,你也可以对于任何问题增加你自己的回答。
网站的官方网址为: http://www.tux.org/lkml/ (位于美国东海岸)。非常感谢Sam Chessman和David Niemi为FAQ提供了高带宽和高管理质量的linux服务器。下列镜像同样可以使用:
http://www.atnf.csiro.au/~rgooch/linux/docs/lkml/ in Sydney, Australia
http://www.ras.ucalgary.ca/~rgooch/linux/docs/lkml/ in Calgary, Canada
http://www.kernel.org/pub/linux/docs/lkml/ in the west coast of the U.S.A
在开始抱怨linux内核的编译问题前,请阅读下面的章节,来确认是否已经有很多人已经注意到同样的问题或者是已经发布了修复的补丁。
目录:
Basic Linux kernel documentation
Contributors and some special expressions
Related mailing lists
Question Index
General questions
Driver specific questions
Mailing list questions
"How do I" questions
"Who's who" questions
CPU questions
OS questions
Compiler/binutils questions
Feature specific questions
"What's changed between kernels 2.0.x and 2.2.x" questions
Primer documents
Kernel Programming Questions
Mysterious kernel messages
Odd kernel behaviour
Programming Religion
User-space Programming Questions
Answers
Contributing
基本linux内核文档(稍后,我会将文档进一步翻译,并放在博客上)
下面列出linux内核相关文档,在你发送邮件到linux内核邮件列表前应该进行阅读:
The Linux Kernel Hackers' Guide, compiled by Michael K. Johnson of Red Hat fame. Includes among other documents selected Q/As from the linux-kernel mailing list.
The Linux Kernel book, by David A. Rusling, available in various formats from the Linux Documentation Project and mirrors. Still being worked on, but explains clearly the main structure of the Linux kernel.
The Linux FAQ by Robert Kiesling has many high quality Q/As.
The Linux Kernel HOWTO by Brian Ward. Fundamental reading for anybody wanting to post to the linux-kernel mailing list.
Various Linux HOWTOs on specific questions, such as the BogoMips mini-HOWTO by Wim van Dorst. These are all by definition LDP documents.
The Linux kernel source code for any particular kernel version that you may be using. Note that there is a /Documentation directory which holds some very useful text files about drivers, etc. Also check the MAINTAINERS file in the kernel source root directory.
Some drivers even have Web pages, with additional up to date information e.g. the network drivers by Donald Becker, etc. Check the Hardware section in the LDP site.
Similarly, Linux implementations for some CPU architectures have dedicated Web pages, mailing lists, and sometimes even a HOWTO e.g. the Linux Alpha HOWTO by Neal Crook. Check the LDP site and its mirrors for Web links to the various architecture specific sites.
Linux device drivers, a book written by Alessandro Rubini. C. Scott Ananian reviewed it for Amazon.com.
Linux kernel internals, a book by Michael Beck (Editor) et al. Also reviewed for Amazon.com.
Another useful site is: http://www.kernelnewbies.org/
Here is a general guide on how to ask questions in a way that greatly improves your chances of getting a reply: http://www.catb.org/~esr/faqs/smart-questions.html. If you have a bug to report, you should also read http://www.chiark.greenend.org.uk/~sgtatham/bugs.html.
Extra instructions, specific to the Linux kernel are available here.
贡献者与特殊的说明
This is the list of contributors to this FAQ. They are listed in alphabetic order of their abbreviations, used in the Answers sections below to identify the author(s) of each answer.
AC : Alan Cox
AV : Alexander Viro
ADB: Andrew D. Balsa
CP : Colin Plumb
DBE: Daniel Bergstrom
DSM: David S. Miller (co-postmaster)
DW : David Woodhouse
JBG: Jan-Benedict Glaw
KGB: Krzysztof G. Baranowski
KO : Keith Owens
MEA: Matti E. Aarnio (co-postmaster)
MRW: Matthew Wilcox
PG : Paul Gortmaker
RC : Ralph Corderoy
REG: Richard E. Gooch (FAQ maintainer)
REW: Roger E. Wolff
RML: Robert M. Love
RRR: Rafael R. Reilova
TAC: Thomas A. Cort
TJ : Trevor Johnson
TYT: Theodore Y. Ts'o
VKh: Vassilii Khachaturov
声明:本网页内容为用户发布,旨在传播知识,不代表本网认同其观点,若有侵权等问题请及时与本网联系,我们将在第一时间删除处理。
E-MAIL:11247931@qq.com