On Robert's Love Linux kernel development 3rd edtion
Hi, I'm trying to lean linux kernel dev. I bought Robert's love book : "Linux Kernel develpment" This book is based on the linux version 2.6. I can see in the kernel.org site that the latest stable version of ther kernel is 3.9.9. So my question is : what is the most efficient way to learn from this book ? 1) Download the 2.6 version and follow the examples and explanations based from this version 2) Download the 3.9.9 version and try to adapt the examples and explanations of the book. 3) Download both so that I can see the differences. Any other idea or suggestion is very welcomed. Cheers,
On Sun, Jul 7, 2013 at 11:45 AM, TD <newstanoor@gmail.com> wrote:
Hi, I'm trying to lean linux kernel dev. I bought Robert's love book : "Linux Kernel develpment"
This book is based on the linux version 2.6. I can see in the kernel.org site that the latest stable version of ther kernel is 3.9.9.
So my question is : what is the most efficient way to learn from this book ? 1) Download the 2.6 version and follow the examples and explanations based from this version 2) Download the 3.9.9 version and try to adapt the examples and explanations of the book. 3) Download both so that I can see the differences.
Any other idea or suggestion is very welcomed.
Don't LEAN too much :D I think newer version is better, Most of the fundamentals remain same throughout but you have to dig around a bit to find out what exactly changed. Even if you choose an older version, you would still have to work your way upwards to newer kernel(provided you are thinking of contributing to upstream). Adapting examples would be pretty good idea, though it may require some work if you are not very familiar with the basics. Reading mailing lists, kernelnewbie site and LWN articles should also be helpful.
-- Thank you Warm Regards Anuz
On 7 July 2013 13:45, TD <newstanoor@gmail.com> wrote:
Hi, I'm trying to lean linux kernel dev. I bought Robert's love book : "Linux Kernel develpment"
This book is based on the linux version 2.6. I can see in the kernel.org site that the latest stable version of ther kernel is 3.9.9.
So my question is : what is the most efficient way to learn from this book ? 1) Download the 2.6 version and follow the examples and explanations based from this version 2) Download the 3.9.9 version and try to adapt the examples and explanations of the book. 3) Download both so that I can see the differences.
Any other idea or suggestion is very welcomed.
As far as I remember from the book, he talks about things generic enough so most modern kernel versions would do. You'll probably find small differences (maybe some functions changed in order to handle some corner cases, maybe some macros were interoduced), but the principles are the same. Structure of kernel modules, the scheduler, the I/O subsystem, the filesystems, the interrupt system, the networking system, they are mostly the same. So you could go through the book with the latest kernel code. And maybe use something like LXR [1] to quickly go back to older versions and see what has been modified between releases. Have fun reading the book. Personally, I liked it a lot. [1] http://lxr.free-electrons.com/
On Sun, 7 Jul 2013, TD wrote:
Hi,I'm trying to lean linux kernel dev. I bought Robert's love book : "Linux Kernel develpment"
This book is based on the linux version 2.6. I can see in the kernel.org site that the latest stable version of ther kernel is 3.9.9.
So my question is : what is the most efficient way to learn from this book ? 1) Download the 2.6 version and follow the examples and explanations based from this version 2) Download the 3.9.9 version and try to adapt the examples and explanations of the book. 3) Download both so that I can see the differences.
Any other idea or suggestion is very welcomed.
As the teechnical editor of that book, I once started a wiki page to keep track of ongoing developments. The page is not world-writable given the grief from spammers but here it is: http://www.crashcourse.ca/wiki/index.php/Updates_to_LKD3 It's very much a work-in-progress and I update it whenever I get the time, so there's still a lot to do. But if you're interested and want to follow along and find things in the book that are clearly out of date, you can email me the change and I'll verify it and add it to the wiki page, and everyone is welcome to stay up to date. rday -- ======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
Thank you for your quick answers. Following your advices, I'll work directly from the latest version. @rday : If I can contribute to your web page, It would be a real pleasure. On Sun, Jul 7, 2013 at 1:02 PM, Robert P. J. Day <rpjday@crashcourse.ca>wrote:
On Sun, 7 Jul 2013, TD wrote:
Hi,I'm trying to lean linux kernel dev. I bought Robert's love book : "Linux Kernel develpment"
This book is based on the linux version 2.6. I can see in the kernel.org site that the latest stable version of ther kernel is 3.9.9.
So my question is : what is the most efficient way to learn from this book ? 1) Download the 2.6 version and follow the examples and explanations based from this version 2) Download the 3.9.9 version and try to adapt the examples and explanations of the book. 3) Download both so that I can see the differences.
Any other idea or suggestion is very welcomed.
As the teechnical editor of that book, I once started a wiki page to keep track of ongoing developments. The page is not world-writable given the grief from spammers but here it is:
http://www.crashcourse.ca/wiki/index.php/Updates_to_LKD3
It's very much a work-in-progress and I update it whenever I get the time, so there's still a lot to do. But if you're interested and want to follow along and find things in the book that are clearly out of date, you can email me the change and I'll verify it and add it to the wiki page, and everyone is welcome to stay up to date.
rday
--
======================================================================== Robert P. J. Day Ottawa, Ontario, CANADA http://crashcourse.ca
Twitter: http://twitter.com/rpjday LinkedIn: http://ca.linkedin.com/in/rpjday ========================================================================
On Sun, Jul 7, 2013 at 7:45 AM, TD <newstanoor@gmail.com> wrote:
Hi, I'm trying to lean linux kernel dev. I bought Robert's love book : "Linux Kernel develpment"
This book is based on the linux version 2.6. I can see in the kernel.org site that the latest stable version of ther kernel is 3.9.9.
So my question is : what is the most efficient way to learn from this book ? 1) Download the 2.6 version and follow the examples and explanations based from this version 2) Download the 3.9.9 version and try to adapt the examples and explanations of the book. 3) Download both so that I can see the differences.
Any other idea or suggestion is very welcomed.
Hi, It's also worth to mention... "On 21 July 2011 Linus Torvalds announced the release of Linux 3.0: "Gone are the 2.6.<bignum> days". The version bump is not about major technological changes when compared to Linux 2.6.39; it marks the kernel's 20th anniversary. The time-based release process remained the same." http://en.wikipedia.org/wiki/Linux_kernel#History -- Augusto Mecking Caringi
Thanks good to know On Sun, Jul 7, 2013 at 7:42 PM, Augusto Mecking Caringi < augustocaringi@gmail.com> wrote:
On Sun, Jul 7, 2013 at 7:45 AM, TD <newstanoor@gmail.com> wrote:
Hi, I'm trying to lean linux kernel dev. I bought Robert's love book : "Linux Kernel develpment"
This book is based on the linux version 2.6. I can see in the kernel.org site that the latest stable version of ther kernel is 3.9.9.
So my question is : what is the most efficient way to learn from this book ? 1) Download the 2.6 version and follow the examples and explanations based from this version 2) Download the 3.9.9 version and try to adapt the examples and explanations of the book. 3) Download both so that I can see the differences.
Any other idea or suggestion is very welcomed.
Hi,
It's also worth to mention...
"On 21 July 2011 Linus Torvalds announced the release of Linux 3.0: "Gone are the 2.6.<bignum> days". The version bump is not about major technological changes when compared to Linux 2.6.39; it marks the kernel's 20th anniversary. The time-based release process remained the same."
http://en.wikipedia.org/wiki/Linux_kernel#History
-- Augusto Mecking Caringi
participants (5)
-
Alexandru Juncu -
Anuz Pratap Singh Tomar -
Augusto Mecking Caringi -
Robert P. J. Day -
TD