Welcome to the Linux Foundation Forum!
frustrated in understanding the linux kernel
fishchip2
Posts: 19
Hi,
Recently, I feel frustrated in understanding the linux kernel.
I have difficulty to inter-relae differnent data structure. For example, the relationship between superblock, inode and dentry objects.
0
Comments
-
This is a good place to start, they maintain the kernel. They support Linus Torvalds so that he can work on it full time.
http://www.linuxfoundation.org
The site is huge and the best way to find what you are looking for is to use the search function. Example inodes.0 -
These are all file system related structures. Narrow you search on the web to linux file system documents. Also, you can find useful stuff on:
www.kernel.org
www.tldp.org0 -
Thank you.
There are also some ebooks on linux kernel at :
http://www.kernelchina.org/?q=node/69
OReilly.Understanding.Linux.Network.Internals.Dec.2005.chm
The Design and Implementation of the FreeBSD Operating System.chm
The.Design.and.Implementation.of.the.4.4BSD.Operating.System.chm
The_Linux_Networking_Architecture.chm
Addison-Wesley Tcpip Illustrated, Volume 1 The Protocols.chm
Addison.Wesley.TCP-IP.Illustrated.Volume.2.The.Inplementation
Linux Kernel Development Second Edition.chm
Linux.Kernel.3rd.Edition.Nov.2005.HAPPY.NEW.YEAR.chm
OReilly.Linux.Device.Drivers.3rd.Edition.Feb.2005.eBook-DDU.chm
0 -
Actually, one of the best books I have come across dealing with the Linux kernel is Robert Love's "Linux Kernel Development" which I do not know if it is the same Linux Kernel Development in your listing. Love presents the material in a very organized manner to which it becomes easier to follow.0
-
I'm in the middle of reading Professional Linux Kernel Architecture by Wolfgang Mauerer. I have to admit it's a little daunting, but so far so good. It's pretty mucha step by step analysis of the actual kernel source and an explanation of what the code is doing and why. It's big, it's think, it's very technical, and probably not the best for satiating casual curiosity. But that said, I am getting a much better understanding of how things work, now, and feel more comfortable looking at the kernel source.
http://www.wrox.com/WileyCDA/WroxTitle/Professional-Linux-Kernel-Architecture.productCd-0470343435.html
I also have not ready any other books at all about the kernel specifically, so I have no point of comparison.0 -
With over 10 Million Lines of Code and additions plus changes everyday, it would be a little tough for any one person to really grasp it. Even Microsoft contributed 20,000 lines of code to the kernel after they got caught hijacking the Hyper-V network drivers. There is a map here: http://en.wikipedia.org/wiki/File:Linux_kernel_map.png0
-
"Robert Love's "Linux Kernel Development"
yes. its a good one0 -
Some part understanding kernel or a code walk of kernel is also possible with any good professional IDE application.
So if you think using a open-source IDE, you can try using Bluefish, I use it to develop my open-source kernel project. Before that, I used to manage via Vi or via Gedit applications, but now the best IDE, is paying off really well both interms of understand (code walk), and even kernel software development.0 -
And regarding suggested books, certainly you can read kernel specific books, but beyond that kindly read the intro sections of Linux Device Drivers (LDD) Book. It is too useful for you to understand simple kernel APIs, code, modules specific to each subsystem i.e networking, filesystem, memory, etc.0
-
I noticed that some of the posts in this thread were blanked. I don't know if the OP blanked them, or if the forum software caused the problem. If it was our forum's software fault, I apologize if any useful information was lost. There is still a great bit of useful info in the thread, so, I'll just leave the remaining posts here, they contain great links to good information.0
-
http://www.youtube.com/watch?v=n9QgKo5ogg4
I made this video on using Bluefish IDE to understand my TrafficSqueezer code. Actually it is a part of Linux Kernel.
It is for my students to understand Linux Kernel code + my code/modules in it.
Hence you can use such IDE or Netbeans IDE, or any such IDE to go through the Kernel sources.
Sometimes please note each folder you see in Kernel can be a
module or sub-modules,
subsystems - such as filesystem, networking, etc,
device drivers, and so on.
Hence use a good IDE, and preferrably O'Relly series books also mainly LDD book.
I hope my video helps you too.0 -
Thanks kiran, should be an interesting watch. I'll try to post after I watch it.0
Categories
- All Categories
- 51 LFX Mentorship
- 104 LFX Mentorship: Linux Kernel
- 576 Linux Foundation IT Professional Programs
- 304 Cloud Engineer IT Professional Program
- 125 Advanced Cloud Engineer IT Professional Program
- 53 DevOps Engineer IT Professional Program
- 61 Cloud Native Developer IT Professional Program
- 5 Express Training Courses
- 5 Express Courses - Discussion Forum
- 2K Training Courses
- 19 LFC110 Class Forum
- 7 LFC131 Class Forum
- 27 LFD102 Class Forum
- 158 LFD103 Class Forum
- 20 LFD121 Class Forum
- 1 LFD137 Class Forum
- 61 LFD201 Class Forum
- 1 LFD210 Class Forum
- LFD210-CN Class Forum
- 1 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum
- LFD237 Class Forum
- 23 LFD254 Class Forum
- 611 LFD259 Class Forum
- 105 LFD272 Class Forum
- 1 LFD272-JP クラス フォーラム
- 1 LFD273 Class Forum
- 2 LFS145 Class Forum
- 24 LFS200 Class Forum
- 739 LFS201 Class Forum
- 1 LFS201-JP クラス フォーラム
- 11 LFS203 Class Forum
- 75 LFS207 Class Forum
- 300 LFS211 Class Forum
- 54 LFS216 Class Forum
- 47 LFS241 Class Forum
- 41 LFS242 Class Forum
- 37 LFS243 Class Forum
- 11 LFS244 Class Forum
- 36 LFS250 Class Forum
- 1 LFS250-JP クラス フォーラム
- LFS251 Class Forum
- 140 LFS253 Class Forum
- LFS254 Class Forum
- 1.1K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 93 LFS260 Class Forum
- 132 LFS261 Class Forum
- 33 LFS262 Class Forum
- 80 LFS263 Class Forum
- 15 LFS264 Class Forum
- 11 LFS266 Class Forum
- 18 LFS267 Class Forum
- 17 LFS268 Class Forum
- 23 LFS269 Class Forum
- 203 LFS272 Class Forum
- 1 LFS272-JP クラス フォーラム
- LFS274 Class Forum
- LFS281 Class Forum
- 236 LFW211 Class Forum
- 172 LFW212 Class Forum
- 7 SKF100 Class Forum
- SKF200 Class Forum
- 903 Hardware
- 219 Drivers
- 74 I/O Devices
- 44 Monitors
- 116 Multimedia
- 209 Networking
- 101 Printers & Scanners
- 85 Storage
- 763 Linux Distributions
- 88 Debian
- 66 Fedora
- 15 Linux Mint
- 13 Mageia
- 24 openSUSE
- 142 Red Hat Enterprise
- 33 Slackware
- 13 SUSE Enterprise
- 357 Ubuntu
- 479 Linux System Administration
- 41 Cloud Computing
- 70 Command Line/Scripting
- Github systems admin projects
- 95 Linux Security
- 78 Network Management
- 108 System Management
- 49 Web Management
- 68 Mobile Computing
- 23 Android
- 30 Development
- 1.2K New to Linux
- 1.1K Getting Started with Linux
- 537 Off Topic
- 131 Introductions
- 217 Small Talk
- 21 Study Material
- 826 Programming and Development
- 278 Kernel Development
- 514 Software Development
- 928 Software
- 260 Applications
- 184 Command Line
- 3 Compiling/Installing
- 76 Games
- 316 Installation
- 61 All In Program
- 61 All In Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)