View previous topic :: View next topic |
Author |
Message |
alistair Retired Dev


Joined: 15 Jul 2005 Posts: 869
|
Posted: Mon Aug 15, 2005 9:58 pm Post subject: Linux indepth kernel manual |
|
|
Does anyone know a good manual that goes into a lot of detail as to how the linux kernel works. I need some light reading  |
|
Back to top |
|
 |
[n00b@localhost] Apprentice


Joined: 30 Aug 2004 Posts: 266 Location: London, UK
|
Posted: Mon Aug 15, 2005 10:59 pm Post subject: |
|
|
Operating Systems - Design and Implementation by Andrew Tanenbaum and Albert Woodhull
I have not read this but our university lecturer recommended it to us. It is about minix which is an ancestor of linux and a good (simpler) starting point to understanding the linux kernel. |
|
Back to top |
|
 |
Taladar Guru

Joined: 09 Oct 2004 Posts: 458 Location: Bielefeld, Germany
|
Posted: Mon Aug 15, 2005 11:10 pm Post subject: |
|
|
Modern Operating Systems by Andrew Tanenbaum is a nice general one (meaning it introduces the kernel related problem domains without too much OS specific information) too. You should be able to identify the function of most core source code files
after reading that one. From there it is probably best to read the code as the kernel changes too fast for anyone to write a complete documentation about it. |
|
Back to top |
|
 |
dsd Developer

Joined: 30 Mar 2003 Posts: 2162 Location: nr London
|
Posted: Mon Aug 15, 2005 11:22 pm Post subject: |
|
|
robert love's "Linux Kernel Development" (2nd ed) is the best resource i've come into contact with, and it is very up-to-date too. it does assume a good knowledge of C (or plenty of patience!) as it dives straight into the structures used internally in the kernel source _________________ http://dev.gentoo.org/~dsd |
|
Back to top |
|
 |
ChristyMcJesus Apprentice


Joined: 02 Oct 2004 Posts: 184
|
Posted: Tue Aug 16, 2005 9:48 am Post subject: |
|
|
[n00b@localhost] wrote: | Operating Systems - Design and Implementation by Andrew Tanenbaum and Albert Woodhull
I have not read this but our university lecturer recommended it to us. It is about minix which is an ancestor of linux and a good (simpler) starting point to understanding the linux kernel. |
Except that minix is totally unrelated and uses a radically different architechture. AST vehemently defends himself whenever anyone suggests Linus ripped off his code. He considers Linux a terrible piece of engineering If you want to learn about microkernels and message passing though, this book may be of interest.
As for learning about the kernel - in good old Unix tradition "source code is documentation!" |
|
Back to top |
|
 |
tecknojunky Veteran


Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Mon Aug 22, 2005 12:28 am Post subject: |
|
|
Taladar wrote: | Modern Operating Systems by Andrew Tanenbaum is a nice general one (meaning it introduces the kernel related problem domains without too much OS specific information) too. You should be able to identify the function of most core source code files
after reading that one. From there it is probably best to read the code as the kernel changes too fast for anyone to write a complete documentation about it. | Ditto for Tanenbaum's book. I usualy get rid of University books I bought that I then find irrelevant (ie: 68k assembly), but this one I have kept because it explains well the generalities of all OS basics, like schedulers, file systems, memory managments, ressources deadlocks, ... If you understand everything that is in that book, you're up for a good start to hack any OS afterward.
2¢ _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
 |
Q-collective Advocate


Joined: 22 Mar 2004 Posts: 2056
|
Posted: Mon Aug 22, 2005 2:38 am Post subject: |
|
|
Yay, this thread made it into the GWN \o/
I wonder why to be honest. |
|
Back to top |
|
 |
butters Guru


Joined: 13 May 2002 Posts: 427 Location: Poughkeepsie, NY
|
Posted: Mon Aug 22, 2005 4:35 am Post subject: |
|
|
dsd wrote: | robert love's "Linux Kernel Development" (2nd ed) is the best resource i've come into contact with, and it is very up-to-date too. it does assume a good knowledge of C (or plenty of patience!) as it dives straight into the structures used internally in the kernel source |
Looks great. I wish it were free (gratis). Not because I'm a cheapstake (which I am), but because I like instant gratification in my light reading, and this requires a paper copy being shipped to me. I have time and interest to spend reading about the Linux kernel now, but not necessarily in a few days.
Does this make me a bad person, or... (gasp) a communist? _________________ If tugboats were bigger, they'd be the ones getting tugged. |
|
Back to top |
|
 |
aidy l33t

Joined: 07 Apr 2005 Posts: 915
|
Posted: Mon Aug 22, 2005 7:41 am Post subject: |
|
|
There's nothing wrong with communists, don't be scared! But on topic: of course you're no communist if you think like that... |
|
Back to top |
|
 |
ChristyMcJesus Apprentice


Joined: 02 Oct 2004 Posts: 184
|
Posted: Mon Aug 22, 2005 10:06 am Post subject: |
|
|
IBM have a newbie guide to kernel hacking, but you have to register (free) on their website to get at their stuff.
http://www-128.ibm.com/developerworks/edu/l-dw-linux-kernelhack1-i.html
Part one seems to be just config+compile, which is hardly groundbreaking stuff for any Gentooist. Part two is called "making your first hack" so it's all good. |
|
Back to top |
|
 |
DawgG l33t


Joined: 17 Sep 2003 Posts: 764
|
Posted: Mon Aug 22, 2005 10:58 am Post subject: |
|
|
there's a nice book from o`reilly: understanding the linux kernel.
http://www.oreilly.com/catalog/linuxkernel/
too bad it's only about 2.4.
i read a little bit of it; covers a lot of basics but you certainly gotta invest a lot of time. |
|
Back to top |
|
 |
matthies n00b


Joined: 12 Dec 2004 Posts: 16
|
Posted: Mon Aug 22, 2005 10:24 pm Post subject: |
|
|
Another good book (and available online) is Linux Device Drivers, 3rd ed.
Please buy a copy if you enjoy this -- if no one buys these free books then i guess similar books won't be made available freely in the future. It's also much nicer reading a real book than pdf's on screen, imho.
http://lwn.net/Kernel/LDD3/ |
|
Back to top |
|
 |
tecknojunky Veteran


Joined: 19 Oct 2002 Posts: 1937 Location: Montréal
|
Posted: Tue Aug 23, 2005 12:07 am Post subject: |
|
|
matthies wrote: | It's also much nicer reading a real book than pdf's on screen, imho. | I'm sure the trees disagrees with that. _________________ (7 of 9) Installing star-trek/species-8.4.7.2::talax. |
|
Back to top |
|
 |
ChristyMcJesus Apprentice


Joined: 02 Oct 2004 Posts: 184
|
Posted: Tue Aug 23, 2005 4:09 pm Post subject: |
|
|
tecknojunky wrote: | matthies wrote: | It's also much nicer reading a real book than pdf's on screen, imho. | I'm sure the trees disagrees with that. |
They can't disagree. They're trees. |
|
Back to top |
|
 |
D2T Tux's lil' helper


Joined: 07 Mar 2005 Posts: 96 Location: Behind You
|
Posted: Tue Aug 23, 2005 4:37 pm Post subject: |
|
|
ChristyMcJesus wrote: | tecknojunky wrote: | matthies wrote: | It's also much nicer reading a real book than pdf's on screen, imho. | I'm sure the trees disagrees with that. |
They can't disagree. They're trees. |
I guess they'd have to disatree?
*rimshot* |
|
Back to top |
|
 |
leo.fontenelle Tux's lil' helper

Joined: 29 May 2005 Posts: 129 Location: Ribeirão Preto, Brasil
|
Posted: Wed Aug 24, 2005 3:31 am Post subject: "official" recommendations |
|
|
Sorry if I'm being obvious here, but /usr/src/linux/Documentation/kernel-docs.txt lists and comments a lot of relevant books, both on-line and printed. Updated versions should be seeked here. |
|
Back to top |
|
 |
nephros Advocate


Joined: 07 Feb 2003 Posts: 2138 Location: Graz, Austria (Europe - no kangaroos.)
|
Posted: Wed Aug 24, 2005 9:03 am Post subject: |
|
|
ChristyMcJesus wrote: | tecknojunky wrote: | matthies wrote: | It's also much nicer reading a real book than pdf's on screen, imho. | I'm sure the trees disagrees with that. |
They can't disagree. They're trees. |
You obvioulsy haven't read The Lord of the Rings. There's a bunch of trees disagreeing quite vehemently in there. _________________ Please put [SOLVED] in your topic if you are a moron. |
|
Back to top |
|
 |
IvanYosifov l33t


Joined: 15 Oct 2004 Posts: 778 Location: Bulgaria
|
Posted: Wed Aug 24, 2005 10:20 am Post subject: |
|
|
nephros wrote: | ChristyMcJesus wrote: | tecknojunky wrote: | matthies wrote: | It's also much nicer reading a real book than pdf's on screen, imho. | I'm sure the trees disagrees with that. |
They can't disagree. They're trees. |
You obvioulsy haven't read The Lord of the Rings. There's a bunch of trees disagreeing quite vehemently in there. |
Yeah Only that what those trees feel is somewhat improtant to plot-development
No, I am not in the go-chop-them-all! camp, but untill I get that nice TFT screen I'll go for printed books. |
|
Back to top |
|
 |
ChristyMcJesus Apprentice


Joined: 02 Oct 2004 Posts: 184
|
Posted: Wed Aug 24, 2005 10:24 am Post subject: |
|
|
IvanYosifov wrote: | You obvioulsy haven't read The Lord of the Rings. There's a bunch of trees disagreeing quite vehemently in there. |
Last time I went to visit the family my brother made me play one of the crappy games they made based on LotR. It's kinda funny when a bunch of Ents come running in and punt your orcs over the wall. |
|
Back to top |
|
 |
alistair Retired Dev


Joined: 15 Jul 2005 Posts: 869
|
Posted: Wed Aug 24, 2005 11:28 am Post subject: |
|
|
its nice to see my thread is going so well. thanks to all you guys. |
|
Back to top |
|
 |
djsmiley2k n00b

Joined: 08 Apr 2005 Posts: 71 Location: Coventry
|
Posted: Fri Aug 26, 2005 1:25 pm Post subject: |
|
|
Hum, i'm now in the process of moving into my new flat and the wireless network isn't up yet due to BT being annoying. So in the meantime i have about 6 weeks of linux time i can spend playing around. However i can't go online at all (well not without a 15min walk to my gfs house).
Anyone care to suggest books which are nice enough to allow a noobie (such as me - installed gentoo for 3months?) to approch them, but maybe give me enough to keep me interested?
Cheers.
As for topics im willing to try anything really, a linux relation would be nice, but just general computer realtion will do fine. Programming is a possibilty as its something i wish to improve upon. Either java or C.
Thanks,
djsmiley2k |
|
Back to top |
|
 |
aidy l33t

Joined: 07 Apr 2005 Posts: 915
|
Posted: Fri Aug 26, 2005 1:47 pm Post subject: |
|
|
Try 'Beginning Linux Programming', I bought it on amazon. As for C books: I can only suggest you a C++ book, I never learnt any C techniques other than pointers - the book is called 'Thinking in C++' and it is Uberly well written. It is also freely avaiable from the net, google for it. |
|
Back to top |
|
 |
eniac Apprentice


Joined: 11 Aug 2003 Posts: 233 Location: Belgium, Brussels
|
Posted: Mon Aug 29, 2005 10:59 pm Post subject: |
|
|
[n00b@localhost] wrote: | Operating Systems - Design and Implementation by Andrew Tanenbaum and Albert Woodhull
I have not read this but our university lecturer recommended it to us. It is about minix which is an ancestor of linux and a good (simpler) starting point to understanding the linux kernel. |
Have you read it , I gues not since it's not about minix it's about Operating systems in _ general _ he talks about unix linux and even windows stuff .. _________________ Turns out the pony only had one trick. |
|
Back to top |
|
 |
eniac Apprentice


Joined: 11 Aug 2003 Posts: 233 Location: Belgium, Brussels
|
Posted: Mon Aug 29, 2005 11:03 pm Post subject: |
|
|
LordMyth wrote: | Try 'Beginning Linux Programming', I bought it on amazon. As for C books: I can only suggest you a C++ book, I never learnt any C techniques other than pointers - the book is called 'Thinking in C++' and it is Uberly well written. It is also freely avaiable from the net, google for it. |
Why do you want to learn C++ while the linux kernel is written in C and ASM ? _________________ Turns out the pony only had one trick. |
|
Back to top |
|
 |
eniac Apprentice


Joined: 11 Aug 2003 Posts: 233 Location: Belgium, Brussels
|
Posted: Mon Aug 29, 2005 11:04 pm Post subject: |
|
|
Q-collective wrote: | Yay, this thread made it into the GWN \o/
I wonder why to be honest. |
I really wonder _why_ ?? _________________ Turns out the pony only had one trick. |
|
Back to top |
|
 |
|