All of lore.kernel.org
 help / color / mirror / Atom feed
* Are these books outdated?
@ 2016-07-14 11:01 Aleksander Alekseev
  2016-07-14 11:40 ` François
                   ` (3 more replies)
  0 siblings, 4 replies; 27+ messages in thread
From: Aleksander Alekseev @ 2016-07-14 11:01 UTC (permalink / raw)
  To: kernelnewbies

Hello

I'm a full-time *nix C developer. I have a pretty good idea how
operating systems work. Still I would like learn more about Linux
internals in particular, write a few device drivers, maybe some
patches to kernel itself, etc. Here are a few books I've found:

* Linux Kernel Development, 3rd Edition (2010)
* Understanding the Linux Kernel, 3rd Edition (2005)
* Linux Device Drivers, 3rd Edition (2005)

Could you tell me please, are these books considered worth reading in
year 2016 or they are completely out of date? Perhaps there are some
newer books and/or tutorials you could recommend?

-- 
Best regards,
Aleksander Alekseev

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 11:01 Are these books outdated? Aleksander Alekseev
@ 2016-07-14 11:40 ` François
  2016-07-24 10:58   ` Robert P. J. Day
  2016-07-24 18:44   ` Greg KH
  2016-07-14 11:43 ` Ricardo Ribalda Delgado
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 27+ messages in thread
From: François @ 2016-07-14 11:40 UTC (permalink / raw)
  To: kernelnewbies

On Thu, Jul 14, 2016 at 02:01:55PM +0300, Aleksander Alekseev wrote:

Hello Aleksander,

I only know LDD 3:
> * Linux Device Drivers, 3rd Edition (2005)

Since this book is freely available in PDF, I would advise you to read it.
It is out-dated (in sense you won't compile snippets as is) but it is well
written, and pleasant to read.

The version 4 was scheduled for dec 2015 iirc, but is now annonced for nov 2017
on O'Reilly's website.

> Could you tell me please, are these books considered worth reading in
> year 2016 or they are completely out of date? Perhaps there are some
> newer books and/or tutorials you could recommend?

That's an interesting question, I'm willing to know the opinion of 
other members of kernelnewbies on those books, and others they would recommand.

-- 
Fran?ois

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 11:01 Are these books outdated? Aleksander Alekseev
  2016-07-14 11:40 ` François
@ 2016-07-14 11:43 ` Ricardo Ribalda Delgado
  2016-07-14 11:50 ` François
  2016-08-07 13:29 ` John Chludzinski
  3 siblings, 0 replies; 27+ messages in thread
From: Ricardo Ribalda Delgado @ 2016-07-14 11:43 UTC (permalink / raw)
  To: kernelnewbies

I love this one
http://kernel.readthedocs.io/en/sphinx-samples/kernel-hacking.html

On Thu, Jul 14, 2016 at 1:01 PM, Aleksander Alekseev <afiskon@devzen.ru> wrote:
> Hello
>
> I'm a full-time *nix C developer. I have a pretty good idea how
> operating systems work. Still I would like learn more about Linux
> internals in particular, write a few device drivers, maybe some
> patches to kernel itself, etc. Here are a few books I've found:
>
> * Linux Kernel Development, 3rd Edition (2010)
> * Understanding the Linux Kernel, 3rd Edition (2005)
> * Linux Device Drivers, 3rd Edition (2005)
>
> Could you tell me please, are these books considered worth reading in
> year 2016 or they are completely out of date? Perhaps there are some
> newer books and/or tutorials you could recommend?
>
> --
> Best regards,
> Aleksander Alekseev
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



-- 
Ricardo Ribalda

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 11:01 Are these books outdated? Aleksander Alekseev
  2016-07-14 11:40 ` François
  2016-07-14 11:43 ` Ricardo Ribalda Delgado
@ 2016-07-14 11:50 ` François
  2016-07-14 12:26   ` Robert P. J. Day
  2016-08-07 13:29 ` John Chludzinski
  3 siblings, 1 reply; 27+ messages in thread
From: François @ 2016-07-14 11:50 UTC (permalink / raw)
  To: kernelnewbies

On Thu, Jul 14, 2016 at 02:01:55PM +0300, Aleksander Alekseev wrote:

Hello Aleksander,

I only know LDD 3:
> * Linux Device Drivers, 3rd Edition (2005)

Since this book is freely available in PDF, I would advise you to read it.
It is out-dated (in sense you won't compile snippets as is) but it is well
written, and pleasant to read.

The version 4 was scheduled for dec 2015 iirc, but is now annonced for nov 2017
on O'Reilly's website.

> Could you tell me please, are these books considered worth reading in
> year 2016 or they are completely out of date? Perhaps there are some
> newer books and/or tutorials you could recommend?

That's an interesting question, I'm willing to know the opinion of
other members of kernelnewbies on those books, and others they would recommand.

--
Fran?ois

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 11:50 ` François
@ 2016-07-14 12:26   ` Robert P. J. Day
  2016-07-14 12:49     ` Rami Rosen
  0 siblings, 1 reply; 27+ messages in thread
From: Robert P. J. Day @ 2016-07-14 12:26 UTC (permalink / raw)
  To: kernelnewbies

On Thu, 14 Jul 2016, Fran?ois wrote:

> On Thu, Jul 14, 2016 at 02:01:55PM +0300, Aleksander Alekseev wrote:
>
> Hello Aleksander,
>
> I only know LDD 3:
> > * Linux Device Drivers, 3rd Edition (2005)
>
> Since this book is freely available in PDF, I would advise you to
> read it. It is out-dated (in sense you won't compile snippets as is)
> but it is well written, and pleasant to read.
>
> The version 4 was scheduled for dec 2015 iirc, but is now annonced
> for nov 2017 on O'Reilly's website.

  i wouldn't count on that publication date. according to sources,
nothing has been finalized.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 12:26   ` Robert P. J. Day
@ 2016-07-14 12:49     ` Rami Rosen
  2016-07-14 13:53       ` Robert P. J. Day
  0 siblings, 1 reply; 27+ messages in thread
From: Rami Rosen @ 2016-07-14 12:49 UTC (permalink / raw)
  To: kernelnewbies

Hi,
Since  there was a concern about that theses books are outdated, I
want to mention here also
a book title "Professional Linux Kernel Architecture", by Wolfganag
Maurer, Wiley, 2008, 1368 pages.
(I read it partially)
And also I agree with Robert saying that he wouldn't count on that
publication date of LDD4 by Oreilly,, since indeed the publication
date was postponed in the past (at least once but maybe more, I am
unsure about that)

Regards,
Rami Rosen
http://ramirose.wix.com/ramirosen


On 14 July 2016 at 15:26, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
> On Thu, 14 Jul 2016, Fran?ois wrote:
>
>> On Thu, Jul 14, 2016 at 02:01:55PM +0300, Aleksander Alekseev wrote:
>>
>> Hello Aleksander,
>>
>> I only know LDD 3:
>> > * Linux Device Drivers, 3rd Edition (2005)
>>
>> Since this book is freely available in PDF, I would advise you to
>> read it. It is out-dated (in sense you won't compile snippets as is)
>> but it is well written, and pleasant to read.
>>
>> The version 4 was scheduled for dec 2015 iirc, but is now annonced
>> for nov 2017 on O'Reilly's website.
>
>   i wouldn't count on that publication date. according to sources,
> nothing has been finalized.
>
> rday
>
> --
>
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                         http://crashcourse.ca
>
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 12:49     ` Rami Rosen
@ 2016-07-14 13:53       ` Robert P. J. Day
  2016-07-14 14:25         ` Andrey Skvortsov
  0 siblings, 1 reply; 27+ messages in thread
From: Robert P. J. Day @ 2016-07-14 13:53 UTC (permalink / raw)
  To: kernelnewbies

On Thu, 14 Jul 2016, Rami Rosen wrote:

> Hi,

> Since there was a concern about these books being outdated, I want
> to mention here also a book titled "Professional Linux Kernel
> Architecture", by Wolfgang Maurer, Wiley, 2008, 1368 pages. (I read
> it partially) And also I agree with Robert saying that he wouldn't
> count on that publication date of LDD4 by Oreilly, since indeed the
> publication date was postponed in the past (at least once but maybe
> more, I am unsure about that)

  first, i wouldn't put any stock in a tentative publication date for
LDD4, as i have already offered to be a technical pre-publication
reviewer for that book, and i have been informed that there is no
guarantee that there will be a new version of that book.

  (frankly, i would doubt it only because there would be *so* *much*
content, it would be hard to pack all that into a single book. i can't
even imagine trying to list everything one would have to cover in that
newer version.)

  however, there are some git repos for the examples in LDD3 that were
being updated to keep up with the kernel source -- here is one of
them:

  https://github.com/martinezjavier/ldd3

i don't know if that code is still maintained, but it's definitely
more relevant than the code snippets from the original LDD3.

  and as far as robert love's "linux kernel development, 3rd ed"
(LKD3) is concerned, i was the technical editor for that book and,
yes, it's also starting to look a bit dated but it's still pretty
decent. once upon a time, i started a wiki page to try to keep up with
changes and additions:

  http://www.crashcourse.ca/wiki/index.php/Updates_to_LKD3

but i just haven't had the time to stay on top of it. perhaps i should
make another concerted effort to get back to that and bring it up to
date again, and add more content (more on this in a bit).

  finally, i once wrote an online course for intro to kernel
programming, it's still here (and, again, being crazy busy has kept me
from updating it but i really want to get back to *that* someday as
well):

http://www.crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming
http://www.crashcourse.ca/introduction-linux-kernel-programming-2nd-edition/introduction-linux-kernel-programming-2nd-edition

the first edition is the more complete of the two, but also the
older; the second edition was meant to be a newer version, but i just
ran out of time moving everything over, but you're welcome to use
whatever you can from either of them -- there's no charge for them, so
help yourself.

  more thoughts on all of this in a bit ...

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 13:53       ` Robert P. J. Day
@ 2016-07-14 14:25         ` Andrey Skvortsov
  2016-07-14 14:44           ` Rami Rosen
  0 siblings, 1 reply; 27+ messages in thread
From: Andrey Skvortsov @ 2016-07-14 14:25 UTC (permalink / raw)
  To: kernelnewbies

On 14 Jul, Robert P. J. Day wrote:
> On Thu, 14 Jul 2016, Rami Rosen wrote:
> 
> > Hi,
> 
> > Since there was a concern about these books being outdated, I want
> > to mention here also a book titled "Professional Linux Kernel
> > Architecture", by Wolfgang Maurer, Wiley, 2008, 1368 pages. (I read
> > it partially) And also I agree with Robert saying that he wouldn't
> > count on that publication date of LDD4 by Oreilly, since indeed the
> > publication date was postponed in the past (at least once but maybe
> > more, I am unsure about that)
> 
>   first, i wouldn't put any stock in a tentative publication date for
> LDD4, as i have already offered to be a technical pre-publication
> reviewer for that book, and i have been informed that there is no
> guarantee that there will be a new version of that book.
> 
>   (frankly, i would doubt it only because there would be *so* *much*
> content, it would be hard to pack all that into a single book. i can't
> even imagine trying to list everything one would have to cover in that
> newer version.)
> 
>   however, there are some git repos for the examples in LDD3 that were
> being updated to keep up with the kernel source -- here is one of
> them:
> 
>   https://github.com/martinezjavier/ldd3
> 
> i don't know if that code is still maintained, but it's definitely
> more relevant than the code snippets from the original LDD3.

Here is link to Jessica McKellar's (LDD4 co-author) repo with examples
for the next book.
https://github.com/jesstess/ldd4

I'm not sure whether these examples are complete and in a good shape.

-- 
Best regards,
Andrey Skvortsov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160714/f89fc7ba/attachment.bin 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 14:25         ` Andrey Skvortsov
@ 2016-07-14 14:44           ` Rami Rosen
  2016-07-14 21:17             ` Kosta Zertsekel
  0 siblings, 1 reply; 27+ messages in thread
From: Rami Rosen @ 2016-07-14 14:44 UTC (permalink / raw)
  To: kernelnewbies

Hi Andrey,

>Here is link to Jessica McKellar's (LDD4 co-author) repo with examples
>for the next book.
>https://github.com/jesstess/ldd4

Thanks for the link, I was not aware of it !

Rami Rosen

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 14:44           ` Rami Rosen
@ 2016-07-14 21:17             ` Kosta Zertsekel
  2016-07-18  9:22               ` Raul Piper
  0 siblings, 1 reply; 27+ messages in thread
From: Kosta Zertsekel @ 2016-07-14 21:17 UTC (permalink / raw)
  To: kernelnewbies

Hey guys!
Let us remember that the most important thing regarding the Linux books -
is to read it!!
:-)
--- KostaZ

On Thu, Jul 14, 2016 at 5:44 PM, Rami Rosen <roszenrami@gmail.com> wrote:

> Hi Andrey,
>
> >Here is link to Jessica McKellar's (LDD4 co-author) repo with examples
> >for the next book.
> >https://github.com/jesstess/ldd4
>
> Thanks for the link, I was not aware of it !
>
> Rami Rosen
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160715/cbe6d661/attachment.html 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 21:17             ` Kosta Zertsekel
@ 2016-07-18  9:22               ` Raul Piper
  0 siblings, 0 replies; 27+ messages in thread
From: Raul Piper @ 2016-07-18  9:22 UTC (permalink / raw)
  To: kernelnewbies

Amidst all this we forget the link shared by Ricardo.I think this is
very short and crisp link for very important things in the Linux
Kernel and one must keep re-visiting this after/or in between reading
these Books mentioned !


On Fri, Jul 15, 2016 at 2:47 AM, Kosta Zertsekel
<kosta.zertsekel@gmail.com> wrote:
> Hey guys!
> Let us remember that the most important thing regarding the Linux books - is
> to read it!!
> :-)
> --- KostaZ
>
> On Thu, Jul 14, 2016 at 5:44 PM, Rami Rosen <roszenrami@gmail.com> wrote:
>>
>> Hi Andrey,
>>
>> >Here is link to Jessica McKellar's (LDD4 co-author) repo with examples
>> >for the next book.
>> >https://github.com/jesstess/ldd4
>>
>> Thanks for the link, I was not aware of it !
>>
>> Rami Rosen
>>
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 11:40 ` François
@ 2016-07-24 10:58   ` Robert P. J. Day
  2016-07-24 18:44   ` Greg KH
  1 sibling, 0 replies; 27+ messages in thread
From: Robert P. J. Day @ 2016-07-24 10:58 UTC (permalink / raw)
  To: kernelnewbies

On Thu, 14 Jul 2016, Fran?ois wrote:

> On Thu, Jul 14, 2016 at 02:01:55PM +0300, Aleksander Alekseev wrote:
>
> Hello Aleksander,
>
> I only know LDD 3:
> > * Linux Device Drivers, 3rd Edition (2005)
>
> Since this book is freely available in PDF, I would advise you to read it.
> It is out-dated (in sense you won't compile snippets as is) but it is well
> written, and pleasant to read.
>
> The version 4 was scheduled for dec 2015 iirc, but is now annonced
> for nov 2017 on O'Reilly's website.

  i have it on reasonably good authority that it's iffy whether there
will ever be an LDD4, only because of the massive amount of work that
would be involved.

  i think it would be more productive to concentrate on finding and/or
writing much smaller snippets that focus on how to properly write a
*single* type of driver.

  i'm not convinced of the value of trying to invest the time in
writing a book that tries to cover *all* drivers anymore, given the
variety. i think it would be far more useful to find people who,
having expertise in one specific type of driver, would be willing to
write a short tutorial for *just* that type of driver and posting it
online. then, slowly but surely, one could build up a useful set of
online tutorials.

  so you're interested in the linux kernel and have no idea where to
start? there's your answer. pick a driver/subsystem you're
*interested* in, and start figuring out how it works. and while
you're doing that, write it up. or if there's already a writeup for
that under the Documentation/ directory, make sure it's up to date and
if it isn't, fix it.

  there's no point sitting around waiting for LDD4, hoping others are
going to do your work for you. get to work, start reading and start
writing.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 11:40 ` François
  2016-07-24 10:58   ` Robert P. J. Day
@ 2016-07-24 18:44   ` Greg KH
  1 sibling, 0 replies; 27+ messages in thread
From: Greg KH @ 2016-07-24 18:44 UTC (permalink / raw)
  To: kernelnewbies

On Thu, Jul 14, 2016 at 01:40:45PM +0200, Fran?ois wrote:
> On Thu, Jul 14, 2016 at 02:01:55PM +0300, Aleksander Alekseev wrote:
> 
> Hello Aleksander,
> 
> I only know LDD 3:
> > * Linux Device Drivers, 3rd Edition (2005)
> 
> Since this book is freely available in PDF, I would advise you to read it.
> It is out-dated (in sense you won't compile snippets as is) but it is well
> written, and pleasant to read.
> 
> The version 4 was scheduled for dec 2015 iirc, but is now annonced for nov 2017
> on O'Reilly's website.

As one of the authors of this book, I can say decisively that there is
absolutely no plans at this point in time to update the book to a fourth
edition.  I don't know why they keep putting this updated edition on the
web site, it's not fair to readers to promise them something that is not
being worked on at all.

So don't count on this at all, sorry.

greg k-h

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-07-14 11:01 Are these books outdated? Aleksander Alekseev
                   ` (2 preceding siblings ...)
  2016-07-14 11:50 ` François
@ 2016-08-07 13:29 ` John Chludzinski
  2016-08-10 17:46   ` Raul Piper
  3 siblings, 1 reply; 27+ messages in thread
From: John Chludzinski @ 2016-08-07 13:29 UTC (permalink / raw)
  To: kernelnewbies

Linux Kernel Development by Robert Love

On 2016-07-14 07:01, Aleksander Alekseev wrote:
> Hello
> 
> I'm a full-time *nix C developer. I have a pretty good idea how
> operating systems work. Still I would like learn more about Linux
> internals in particular, write a few device drivers, maybe some
> patches to kernel itself, etc. Here are a few books I've found:
> 
> * Linux Kernel Development, 3rd Edition (2010)
> * Understanding the Linux Kernel, 3rd Edition (2005)
> * Linux Device Drivers, 3rd Edition (2005)
> 
> Could you tell me please, are these books considered worth reading in
> year 2016 or they are completely out of date? Perhaps there are some
> newer books and/or tutorials you could recommend?

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-07 13:29 ` John Chludzinski
@ 2016-08-10 17:46   ` Raul Piper
  2016-08-10 18:14     ` John Chludzinski
  2016-08-10 18:17     ` Greg KH
  0 siblings, 2 replies; 27+ messages in thread
From: Raul Piper @ 2016-08-10 17:46 UTC (permalink / raw)
  To: kernelnewbies

Most of the books like Essential linux device drivers, Robert love kernel
development,
Linux device drivers by Rubini
Most of the books are based on old kernels 2.2,2.6 etc

I wanted to know hasnt the kernel evolved during these times and is it
still good to design drivers based on that theory.Since device trees and
possibly many other concepts would have evolved and  obviously the apis
related to them like _of_ apis for device tree parsing.
Please comment- which book to be read or followed?

On Sunday 7 August 2016, John Chludzinski <john.chludzinski@vivaldi.net>
wrote:

> Linux Kernel Development by Robert Love
>
> On 2016-07-14 07:01, Aleksander Alekseev wrote:
> > Hello
> >
> > I'm a full-time *nix C developer. I have a pretty good idea how
> > operating systems work. Still I would like learn more about Linux
> > internals in particular, write a few device drivers, maybe some
> > patches to kernel itself, etc. Here are a few books I've found:
> >
> > * Linux Kernel Development, 3rd Edition (2010)
> > * Understanding the Linux Kernel, 3rd Edition (2005)
> > * Linux Device Drivers, 3rd Edition (2005)
> >
> > Could you tell me please, are these books considered worth reading in
> > year 2016 or they are completely out of date? Perhaps there are some
> > newer books and/or tutorials you could recommend?
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org <javascript:;>
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160810/4ac2f3d1/attachment.html 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-10 17:46   ` Raul Piper
@ 2016-08-10 18:14     ` John Chludzinski
  2016-08-10 18:17     ` Greg KH
  1 sibling, 0 replies; 27+ messages in thread
From: John Chludzinski @ 2016-08-10 18:14 UTC (permalink / raw)
  To: kernelnewbies

A copy of Robert Love's book can be had legit @ 
http://moodle2.insa-lyon.fr/pluginfile.php/16715/course/section/4469/Linux%20Kernel%20Development%203rd%20Edition%20-%20Love%20-%202010.pdf

It's based on the 2.6.30 kernel.


On 2016-08-10 13:46, Raul Piper wrote:
> Most of the books like Essential linux device drivers, Robert love
> kernel development,
> Linux device drivers by Rubini
> Most of the books are based on old kernels 2.2,2.6 etc
> 
> I wanted to know hasnt the kernel evolved during these times and is it
> still good to design drivers based on that theory.Since device trees
> and possibly many other concepts would have evolved and  obviously the
> apis related to them like _of_ apis for device tree parsing.
> Please comment- which book to be read or followed?
> 
> On Sunday 7 August 2016, John Chludzinski
> <john.chludzinski@vivaldi.net> wrote:
> 
>> Linux Kernel Development by Robert Love
>> 
>> On 2016-07-14 07:01, Aleksander Alekseev wrote:
>>> Hello
>>> 
>>> I'm a full-time *nix C developer. I have a pretty good idea how
>>> operating systems work. Still I would like learn more about Linux
>>> internals in particular, write a few device drivers, maybe some
>>> patches to kernel itself, etc. Here are a few books I've found:
>>> 
>>> * Linux Kernel Development, 3rd Edition (2010)
>>> * Understanding the Linux Kernel, 3rd Edition (2005)
>>> * Linux Device Drivers, 3rd Edition (2005)
>>> 
>>> Could you tell me please, are these books considered worth reading
>> in
>>> year 2016 or they are completely out of date? Perhaps there are
>> some
>>> newer books and/or tutorials you could recommend?
>> 
>> _______________________________________________
>> Kernelnewbies mailing list
>> Kernelnewbies at kernelnewbies.org
>> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies [1]
> 
> 
> Links:
> ------
> [1] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-10 17:46   ` Raul Piper
  2016-08-10 18:14     ` John Chludzinski
@ 2016-08-10 18:17     ` Greg KH
  2016-08-10 18:21       ` John Chludzinski
  1 sibling, 1 reply; 27+ messages in thread
From: Greg KH @ 2016-08-10 18:17 UTC (permalink / raw)
  To: kernelnewbies

On Wed, Aug 10, 2016 at 11:16:13PM +0530, Raul Piper wrote:
> Most of the books like Essential linux device drivers, Robert love kernel
> development,
> Linux device drivers by Rubini
> Most of the books are based on old kernels 2.2,2.6 etc
> 
> I wanted to know?hasnt the kernel evolved during these times and is it still
> good to design drivers based on?that theory.Since device trees and possibly
> many other concepts would have?evolved and??obviously the apis related to them
> like _of_ apis for device tree parsing.
> Please comment- which book to be read or followed?

The ideas should still be the same, but the details have changed.

If you don't like that, then just refer to the best documentation there
is, the source itself.  The kernel comes with TONS of built-in
documentation (make pdfdocs) and all of the source code which shows
exactly how things work together.

And it's free!

best of luck,

greg k-h

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-10 18:17     ` Greg KH
@ 2016-08-10 18:21       ` John Chludzinski
  2016-08-11  3:52         ` Raul Piper
  0 siblings, 1 reply; 27+ messages in thread
From: John Chludzinski @ 2016-08-10 18:21 UTC (permalink / raw)
  To: kernelnewbies

The 2.6 kernel made significant changes to threading support in the 
kernel. In 2.6 there's now a 1-to-1 mapping from kthreads to pthreads.


On 2016-08-10 14:17, Greg KH wrote:
> On Wed, Aug 10, 2016 at 11:16:13PM +0530, Raul Piper wrote:
>> Most of the books like Essential linux device drivers, Robert love 
>> kernel
>> development,
>> Linux device drivers by Rubini
>> Most of the books are based on old kernels 2.2,2.6 etc
>> 
>> I wanted to know?hasnt the kernel evolved during these times and is it 
>> still
>> good to design drivers based on?that theory.Since device trees and 
>> possibly
>> many other concepts would have?evolved and??obviously the apis related 
>> to them
>> like _of_ apis for device tree parsing.
>> Please comment- which book to be read or followed?
> 
> The ideas should still be the same, but the details have changed.
> 
> If you don't like that, then just refer to the best documentation there
> is, the source itself.  The kernel comes with TONS of built-in
> documentation (make pdfdocs) and all of the source code which shows
> exactly how things work together.
> 
> And it's free!
> 
> best of luck,
> 
> greg k-h

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-10 18:21       ` John Chludzinski
@ 2016-08-11  3:52         ` Raul Piper
  2016-08-11  5:27           ` Stefan Wahren
  0 siblings, 1 reply; 27+ messages in thread
From: Raul Piper @ 2016-08-11  3:52 UTC (permalink / raw)
  To: kernelnewbies

Pdfdocs !!
Hmm that would be a nice Idea to collate all the Documentation of the
kernel  into the pdfs and make a book out of it for any kernel version
we want !
Thanks !


On Wed, Aug 10, 2016 at 11:51 PM, John Chludzinski
<john.chludzinski@vivaldi.net> wrote:
> The 2.6 kernel made significant changes to threading support in the kernel.
> In 2.6 there's now a 1-to-1 mapping from kthreads to pthreads.
>
>
>
> On 2016-08-10 14:17, Greg KH wrote:
>>
>> On Wed, Aug 10, 2016 at 11:16:13PM +0530, Raul Piper wrote:
>>>
>>> Most of the books like Essential linux device drivers, Robert love kernel
>>> development,
>>> Linux device drivers by Rubini
>>> Most of the books are based on old kernels 2.2,2.6 etc
>>>
>>> I wanted to know hasnt the kernel evolved during these times and is it
>>> still
>>> good to design drivers based on that theory.Since device trees and
>>> possibly
>>> many other concepts would have evolved and  obviously the apis related to
>>> them
>>> like _of_ apis for device tree parsing.
>>> Please comment- which book to be read or followed?
>>
>>
>> The ideas should still be the same, but the details have changed.
>>
>> If you don't like that, then just refer to the best documentation there
>> is, the source itself.  The kernel comes with TONS of built-in
>> documentation (make pdfdocs) and all of the source code which shows
>> exactly how things work together.
>>
>> And it's free!
>>
>> best of luck,
>>
>> greg k-h

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-11  3:52         ` Raul Piper
@ 2016-08-11  5:27           ` Stefan Wahren
  2016-08-11  8:06             ` Aleksander Alekseev
  2016-08-14 19:48             ` Andrey Skvortsov
  0 siblings, 2 replies; 27+ messages in thread
From: Stefan Wahren @ 2016-08-11  5:27 UTC (permalink / raw)
  To: kernelnewbies

Am 11.08.2016 um 05:52 schrieb Raul Piper:
> Pdfdocs !!
> Hmm that would be a nice Idea to collate all the Documentation of the
> kernel  into the pdfs and make a book out of it for any kernel version
> we want !
> Thanks !

There is a german book [1] which handles Kernel 4.x and device trees. 
But i don't know if any translation is planned.

[1] - https://ezs.kr.hsnr.de/TreiberBuch/

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-11  5:27           ` Stefan Wahren
@ 2016-08-11  8:06             ` Aleksander Alekseev
  2016-08-11  8:11               ` Raul Piper
  2016-08-14 19:48             ` Andrey Skvortsov
  1 sibling, 1 reply; 27+ messages in thread
From: Aleksander Alekseev @ 2016-08-11  8:06 UTC (permalink / raw)
  To: kernelnewbies

> Am 11.08.2016 um 05:52 schrieb Raul Piper:
> > Pdfdocs !!
> > Hmm that would be a nice Idea to collate all the Documentation of
> > the kernel  into the pdfs and make a book out of it for any kernel
> > version we want !
> > Thanks !  

I tried `make htmldocs`. I would say it's more like Doxygen/Javadoc
documentation than a book. Fore the record - I didn't manage to build
PDF on Ubuntu Linux.

> There is a german book [1] which handles Kernel 4.x and device trees. 
> But i don't know if any translation is planned.
> 
> [1] - https://ezs.kr.hsnr.de/TreiberBuch/
> 

Wow, thanks a lot for this link! Fortunately I have some basic
knowledge of German language. I think I could read this book with a
dictionary. BTW in my opinion German is a pretty simple language
(comparing to English for instance) so it should not be a real problem
to anyone to learn its basics in a month or two.

-- 
Best regards,
Aleksander Alekseev

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-11  8:06             ` Aleksander Alekseev
@ 2016-08-11  8:11               ` Raul Piper
  2016-08-11 12:49                 ` Raul Piper
  0 siblings, 1 reply; 27+ messages in thread
From: Raul Piper @ 2016-08-11  8:11 UTC (permalink / raw)
  To: kernelnewbies

Awwsome , thanks for the link.Looks good ,.I solely depends on the
google translator now !

On Thu, Aug 11, 2016 at 1:36 PM, Aleksander Alekseev <afiskon@devzen.ru> wrote:
>> Am 11.08.2016 um 05:52 schrieb Raul Piper:
>> > Pdfdocs !!
>> > Hmm that would be a nice Idea to collate all the Documentation of
>> > the kernel  into the pdfs and make a book out of it for any kernel
>> > version we want !
>> > Thanks !
>
> I tried `make htmldocs`. I would say it's more like Doxygen/Javadoc
> documentation than a book. Fore the record - I didn't manage to build
> PDF on Ubuntu Linux.
>
>> There is a german book [1] which handles Kernel 4.x and device trees.
>> But i don't know if any translation is planned.
>>
>> [1] - https://ezs.kr.hsnr.de/TreiberBuch/
>>
>
> Wow, thanks a lot for this link! Fortunately I have some basic
> knowledge of German language. I think I could read this book with a
> dictionary. BTW in my opinion German is a pretty simple language
> (comparing to English for instance) so it should not be a real problem
> to anyone to learn its basics in a month or two.
>
> --
> Best regards,
> Aleksander Alekseev

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-11  8:11               ` Raul Piper
@ 2016-08-11 12:49                 ` Raul Piper
  0 siblings, 0 replies; 27+ messages in thread
From: Raul Piper @ 2016-08-11 12:49 UTC (permalink / raw)
  To: kernelnewbies

Sadly most of the links requires permission !

On Thu, Aug 11, 2016 at 1:41 PM, Raul Piper <raulpblooper@gmail.com> wrote:
> Awwsome , thanks for the link.Looks good ,.I solely depends on the
> google translator now !
>
> On Thu, Aug 11, 2016 at 1:36 PM, Aleksander Alekseev <afiskon@devzen.ru> wrote:
>>> Am 11.08.2016 um 05:52 schrieb Raul Piper:
>>> > Pdfdocs !!
>>> > Hmm that would be a nice Idea to collate all the Documentation of
>>> > the kernel  into the pdfs and make a book out of it for any kernel
>>> > version we want !
>>> > Thanks !
>>
>> I tried `make htmldocs`. I would say it's more like Doxygen/Javadoc
>> documentation than a book. Fore the record - I didn't manage to build
>> PDF on Ubuntu Linux.
>>
>>> There is a german book [1] which handles Kernel 4.x and device trees.
>>> But i don't know if any translation is planned.
>>>
>>> [1] - https://ezs.kr.hsnr.de/TreiberBuch/
>>>
>>
>> Wow, thanks a lot for this link! Fortunately I have some basic
>> knowledge of German language. I think I could read this book with a
>> dictionary. BTW in my opinion German is a pretty simple language
>> (comparing to English for instance) so it should not be a real problem
>> to anyone to learn its basics in a month or two.
>>
>> --
>> Best regards,
>> Aleksander Alekseev

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-11  5:27           ` Stefan Wahren
  2016-08-11  8:06             ` Aleksander Alekseev
@ 2016-08-14 19:48             ` Andrey Skvortsov
  2016-08-14 20:37               ` Stefan Wahren
  1 sibling, 1 reply; 27+ messages in thread
From: Andrey Skvortsov @ 2016-08-14 19:48 UTC (permalink / raw)
  To: kernelnewbies

On 11 Aug, Stefan Wahren wrote:
> Am 11.08.2016 um 05:52 schrieb Raul Piper:
> > Pdfdocs !!
> > Hmm that would be a nice Idea to collate all the Documentation of the
> > kernel  into the pdfs and make a book out of it for any kernel version
> > we want !
> > Thanks !
> 
> There is a german book [1] which handles Kernel 4.x and device trees. 
> But i don't know if any translation is planned.

Thank you for the link and information about book.
Unfortunately after your message, public access to the book was
removed on the site.
It's pity that I've not downloaded Latex source
code of the last edition, when they were available.

> [1] - https://ezs.kr.hsnr.de/TreiberBuch/

-- 
Best regards,
Andrey Skvortsov


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160814/6372e83e/attachment.bin 

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-14 19:48             ` Andrey Skvortsov
@ 2016-08-14 20:37               ` Stefan Wahren
  2016-08-15  8:02                 ` Aleksander Alekseev
  0 siblings, 1 reply; 27+ messages in thread
From: Stefan Wahren @ 2016-08-14 20:37 UTC (permalink / raw)
  To: kernelnewbies

Am 14.08.2016 um 21:48 schrieb Andrey Skvortsov:
> On 11 Aug, Stefan Wahren wrote:
>> Am 11.08.2016 um 05:52 schrieb Raul Piper:
>>> Pdfdocs !!
>>> Hmm that would be a nice Idea to collate all the Documentation of the
>>> kernel  into the pdfs and make a book out of it for any kernel version
>>> we want !
>>> Thanks !
>>
>> There is a german book [1] which handles Kernel 4.x and device trees.
>> But i don't know if any translation is planned.
>
> Thank you for the link and information about book.
> Unfortunately after your message, public access to the book was
> removed on the site.
> It's pity that I've not downloaded Latex source
> code of the last edition, when they were available.

That's strange. I provided the link because of the 4nd edition of the 
book. The online version was about the 3rd edition which handled Kernel 2.6.

>
>> [1] - https://ezs.kr.hsnr.de/TreiberBuch/
>

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-14 20:37               ` Stefan Wahren
@ 2016-08-15  8:02                 ` Aleksander Alekseev
  2016-08-15 19:17                   ` Raul Piper
  0 siblings, 1 reply; 27+ messages in thread
From: Aleksander Alekseev @ 2016-08-15  8:02 UTC (permalink / raw)
  To: kernelnewbies

> That's strange. I provided the link because of the 4nd edition of the 
> book. The online version was about the 3rd edition which handled
> Kernel 2.6.
> 
> >  
> >> [1] - https://ezs.kr.hsnr.de/TreiberBuch/  
> >  

Right, version that was published online is outdated anyway. You can
buy the 4th edition in PDF and other formats on oreilly.com:

http://shop.oreilly.com/product/9783864902888.do

Also I've just remembered that there is a free (!) and up to date book
in English "Linux Insides" by Alexander Kuleshov (Twitter - @0xAX):

https://0xax.gitbooks.io/linux-insides/content/index.html

It doesn't cover everything (debugging for instance) and is still work
in progress but it's definitely worth reading.

-- 
Best regards,
Aleksander Alekseev

^ permalink raw reply	[flat|nested] 27+ messages in thread

* Are these books outdated?
  2016-08-15  8:02                 ` Aleksander Alekseev
@ 2016-08-15 19:17                   ` Raul Piper
  0 siblings, 0 replies; 27+ messages in thread
From: Raul Piper @ 2016-08-15 19:17 UTC (permalink / raw)
  To: kernelnewbies

Thankyou for the link !!
This book looks good !!

On Mon, Aug 15, 2016 at 1:32 PM, Aleksander Alekseev <afiskon@devzen.ru> wrote:
>> That's strange. I provided the link because of the 4nd edition of the
>> book. The online version was about the 3rd edition which handled
>> Kernel 2.6.
>>
>> >
>> >> [1] - https://ezs.kr.hsnr.de/TreiberBuch/
>> >
>
> Right, version that was published online is outdated anyway. You can
> buy the 4th edition in PDF and other formats on oreilly.com:
>
> http://shop.oreilly.com/product/9783864902888.do
>
> Also I've just remembered that there is a free (!) and up to date book
> in English "Linux Insides" by Alexander Kuleshov (Twitter - @0xAX):
>
> https://0xax.gitbooks.io/linux-insides/content/index.html
>
> It doesn't cover everything (debugging for instance) and is still work
> in progress but it's definitely worth reading.
>
> --
> Best regards,
> Aleksander Alekseev

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2016-08-15 19:17 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-14 11:01 Are these books outdated? Aleksander Alekseev
2016-07-14 11:40 ` François
2016-07-24 10:58   ` Robert P. J. Day
2016-07-24 18:44   ` Greg KH
2016-07-14 11:43 ` Ricardo Ribalda Delgado
2016-07-14 11:50 ` François
2016-07-14 12:26   ` Robert P. J. Day
2016-07-14 12:49     ` Rami Rosen
2016-07-14 13:53       ` Robert P. J. Day
2016-07-14 14:25         ` Andrey Skvortsov
2016-07-14 14:44           ` Rami Rosen
2016-07-14 21:17             ` Kosta Zertsekel
2016-07-18  9:22               ` Raul Piper
2016-08-07 13:29 ` John Chludzinski
2016-08-10 17:46   ` Raul Piper
2016-08-10 18:14     ` John Chludzinski
2016-08-10 18:17     ` Greg KH
2016-08-10 18:21       ` John Chludzinski
2016-08-11  3:52         ` Raul Piper
2016-08-11  5:27           ` Stefan Wahren
2016-08-11  8:06             ` Aleksander Alekseev
2016-08-11  8:11               ` Raul Piper
2016-08-11 12:49                 ` Raul Piper
2016-08-14 19:48             ` Andrey Skvortsov
2016-08-14 20:37               ` Stefan Wahren
2016-08-15  8:02                 ` Aleksander Alekseev
2016-08-15 19:17                   ` Raul Piper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.