Best and fastest way to understand kernel subsystem ?
What is the best (and the fastest ) way to understand a kernel subsystem ( for e.g., filesystem , Networking .. etc.) -- Shraddha
On 12/06/2012 03:24 PM, Shraddha Kamat wrote:
What is the best (and the fastest ) way to understand a kernel subsystem ( for e.g., filesystem , Networking .. etc.) Reading the kernel code is the best way. For reference you can use LDD3 and books from OReilly.
-- Shraddha
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- - Abhijit
On 12/06/2012 05:32 PM, rush wrote:
Hi, Most of O'Reilly books are pretty old. Afair the latest O'Reilly book is from Robert Love about 2.6.34. Does it make sense? Yes. Its a good book. Or even book 2005 are still usefull? Even if the books are older they can give you the general idea about the thoughts put into the particular subsystem.
-- rush 06.12.2012, 15:49, "Abhijit Pawar" <abhi.c.pawar@gmail.com>:
On 12/06/2012 03:24 PM, Shraddha Kamat wrote:
What is the best (and the fastest ) way to understand a kernel subsystem ( for e.g., filesystem , Networking .. etc.)
Reading the kernel code is the best way. For reference you can use LDD3 and books from OReilly.
-- Shraddha
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org <mailto:Kernelnewbies@kernelnewbies.org> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- - Abhijit
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org <mailto:Kernelnewbies@kernelnewbies.org> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- - Abhijit
On 12/06/2012 10:54 AM, Shraddha Kamat wrote:
What is the best (and the fastest ) way to understand a kernel subsystem ( for e.g., filesystem , Networking .. etc.)
If you are a beginner it might be convenient to look on a small subsystem first. The filesystem is really big and complicated, I think. If you are familiar with the embedded world, maybe something like spi or i2c might be a good starting point. If you want to understand networking, maybe starting with the tun/tap kernel module and try to understand how it "injects"/"grabs" packets/frames from/to userspace. This way you learn something on the data structures of the network subsystem. Just my 3 cents. Cheers, Matthias
-- Shraddha
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Thu, Dec 6, 2012 at 9:54 AM, Shraddha Kamat <sh2008ka@gmail.com> wrote:
What is the best (and the fastest ) way to understand a kernel subsystem ( for e.g., filesystem , Networking .. etc.)
There is no fast way to learn Filesystem and Networking subsystems, probably one of the biggest subsystems in kernel. you should start learning basics from the classic Kernel books and learn your way around by digging the code.
-- Shraddha
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Thank you Warm Regards Anuz
Hi, First you need to start with basic of kernel and book for kernel by Robert Love will help you.Both file-system and networking are major subsystem in Kernel and required an knowledge of file-system & networking. Thanks Sanjeev Sharma On Thu, Dec 6, 2012 at 3:24 PM, Shraddha Kamat <sh2008ka@gmail.com> wrote:
What is the best (and the fastest ) way to understand a kernel subsystem ( for e.g., filesystem , Networking .. etc.)
-- Shraddha
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Thu, Dec 6, 2012 at 4:54 PM, Shraddha Kamat <sh2008ka@gmail.com> wrote:
What is the best (and the fastest ) way to understand a kernel subsystem ( for e.g., filesystem , Networking .. etc.)
ever used UML (User Mode Linux)? Combine it with gdb and put breakpoints at the codes you wanna learn...and watch them live working... But still, it takes time...so, basically, you need a lot of time.... -- regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
participants (7)
-
Abhijit Pawar -
Anuz Pratap Singh Tomar -
Matthias Brugger -
Mulyadi Santosa -
rush -
sanjeev sharma -
Shraddha Kamat