Any tips/suggestions for a newbie beginning to read the Linux Kernel Source Code


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Any tips/suggestions for a newbie beginning to read the Linux Kernel Source Code
# 1  
Old 10-12-2010
Any tips/suggestions for a newbie beginning to read the Linux Kernel Source Code

Hi All,

I recently downloaded the Linux kernel source code, added them all to a project in MS VC++ and plan to read through it so that I can improve the way I code, read/understand a large code database and hopefully contribute something to the development of the Linux OS.

I have taken a couple of courses in OS's and have completed a few projects that included multi-threading (POSIX), system calls, virtual memory, interrupts, signals and so on. It's been a while though since I last used them and I'd like to work on those again.

The courses that I worked on involved enhancing a single threaded OS into a multi-threaded one in multiple phases. However, the Linux source code database is huge and I am actually unsure as to how should I go about debugging / executing code, where should I begin looking, what should I expect when I attempt to execute code and so on. I'm sure most of you must have had similar questions when you began so how did you approach it? Any documentation/pointers that I must read will help a lot. Thanks.
# 2  
Old 10-12-2010
# 3  
Old 10-12-2010
Hi Vbe,

Thanks. I shall buy that book soon. Any other online resources available too?
# 4  
Old 10-13-2010
Lions' Commentary on UNIX 6th Edition, with Source Code - Wikipedia, the free encyclopedia

I bought this book some time ago as something to knock me out and go to sleep, but my wife got angry and has hidden it so SHE could sleep...

You could look at:
The Linux Kernel Module Programming Guide

All the best
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Create a bootable PXE image from build kernel source code

Hi, Can i just ask how I can create a bootable PXE image from the built kernel source. What files do I need to get? Thanks! (1 Reply)
Discussion started by: h0ujun
1 Replies

2. Programming

Linux kernel code syntax doubt

I have found some definitions as below, can anyone explain me what it means and why it is being used this way please. asmlinkage void __sched schedule(void) (4 Replies)
Discussion started by: kumaran_5555
4 Replies

3. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

4. BSD

BSD Kernel Source Code

Hi I need the BSD core (kernel) operating system Please let me download link I'm from Iran Please help me Thank you very much (1 Reply)
Discussion started by: sepadl71
1 Replies

5. Fedora

Newbie at Linux Kernel programming!

Hi Friends, This is my first ever post on this forum. I am a new user in the Linux field. Although, I have been working for sometime with CentOS at my work, I would consider myself an amateur only in this field. :D The way file system works in linux and the reason its open-source, has really... (7 Replies)
Discussion started by: rohitrajjain
7 Replies

6. Shell Programming and Scripting

Linux source code

Unix is written in C. From where u can see the source code of unix or linux (1 Reply)
Discussion started by: pritish.sas
1 Replies

7. UNIX for Dummies Questions & Answers

How to read freebsd kernel source?

I got the freebsd kernel source from the first install CD(in directory:\7.0-RELEASE\src\),isn't right? if so,how can i read it? Is there any tools? (4 Replies)
Discussion started by: zhouq3132
4 Replies

8. UNIX for Advanced & Expert Users

How to read freebsd kernel source?

I got the freebsd kernel source from the first install CD(in directory:\7.0-RELEASE\src\),isn't right? if so,how can i read it? Is there any tools? (1 Reply)
Discussion started by: zhouq3132
1 Replies

9. BSD

Am searching for source code of openBSD kernel..

Hello Friends, Am lakshma reddy, doing my masters, i had some interest in exploring the source code of any open LINUX/UNIX, i searched for that i know i can get it but this time am finding it difficult in doing that. To be frank am new to this UNIX?LINUX platform. I need it since i want to... (1 Reply)
Discussion started by: luckyy
1 Replies

10. Linux

source code for linux

Hi , where can i get free source code for LINUX commands , OS , system calls etc. Thanks Naren (2 Replies)
Discussion started by: naren_chella
2 Replies
Login or Register to Ask a Question