Live data from Hacker News

Ask HN: Recommended resources to learn the Linux kernel and OS theory?

news.ycombinator.com

61–70 of 84 posts

Re: Ask HN: Recommended resources to learn the Linux kernel and OS theory?

#63

The Minix OS was designed as an academic, teaching OS: https://www.minix3.org/ There is a textbook that goes along with it: https://www.pearson.com/us/higher-education/program/Tanenbau... The author famously had interactions with Linus Torvalds when he was starting Linux! And, Minix is inside every modern Intel CPU ( https://www.zdnet.com/article/minix-intels-hidden-in-chip-op... ).

Oh yes, I've been curious about breaking into the Minix in intel chips.

Re: Ask HN: Recommended resources to learn the Linux kernel and OS theory?

#64

Not very Linux specific but Tanenbaum's "Modern Operating Systems" is an excellent source for OS theory and very readable as well. It's an expensive book, but I found it worth its money.

Seconded. I would add "Structured Computer Organization", as a preamble book. I read both as if they were novels - they really are interesting and written in such a way that can hook you just as a good story

Re: Ask HN: Recommended resources to learn the Linux kernel and OS theory?

#66

Earlier quoted context omitted.

I have heard of Haiku,but haven't looked at it in a while. However, I have heard great things about it and would certainly be interesting in learning and contributing

I and most of the other developers hang out on Freenode#haiku, and of course on our mailing lists. Come say hello and get involved, indeed. More than happy to teach :)

I really love to see this kind of stuff within the community. I'd really love to take you up on this offer sometime :)

Re: Ask HN: Recommended resources to learn the Linux kernel and OS theory?

#67
For the Linux kernel, there is an excellent book called "Linux Core Kernel Commentary" (which is based off the SVR4 Lion's Commentary book), which has the source of the kernel (an old version) printed out and then a commentary on all the bits (code and data structures). It was an eye opener for me.

As for OS theory, "Operating Systems Vade Macum" and "Operating Systems Design and Implementation" are my favorites.

Re: Ask HN: Recommended resources to learn the Linux kernel and OS theory?

#68
post #21

My somewhat off-beat recommendation is "Lions' Commentary on UNIX 6th Edition with Source Code". The sources to a 1976 version of Unix written in an archaic dialect of C and targeting a long-dead CPU architecture are obviously not of immediate relevance to the modern world, and may well not be to your taste unless you already have some sympathy with the idea of retrocomputing. But if you do: 6th Edition is small enou…

I've commented below... there's an old book called "Linux Core Kernel Commentary" which is based on the Lion's book. It's a great read.

There's a Xinu book which is similar, but without the accompanying source code.

Re: Ask HN: Recommended resources to learn the Linux kernel and OS theory?

#69

"Operating Systems: Three Easy Pieces" is a more modern book to OS concepts, explained with real source code as opposed to algorithms, and is regularly updated. http://pages.cs.wisc.edu/~remzi/OSTEP/ (Online version above, you can also order a print copy).

This is what I learned from, along with some xv6 labs. Just wanted to say that both Remzi and Andrea were exceptional professors and their book is clear and concise.

Re: Ask HN: Recommended resources to learn the Linux kernel and OS theory?

#70

One important part about learning how the Linux kernel works is understanding the details of the system's interface the kernel provides. In my opinion, there is no better book out there than the "Linux Programming Interface" by Michael Kerrisk: http://man7.org/tlpi/ It provides extremely detailed information about everything going on in Linux, as well as example programs and exercises to help you further your knowled…

I was going to suggest this book when I see I'm late to the party, so I'll just have to add my voice to the chorus.

"Linux Programming Interface" is one of the best technical books I've ever read.

Post reply on HN