LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2009, 05:00 AM   #1
anup.2314
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
How to begin the trip to linux kernel source code??


Hello Sir/Mam

I am a total new fellow for Linux. I want to understand Kernel source code.., since i am from electronics background, I don't know about implementation of operating system, however i do know the principles/algorithms being used. If you can kindly clarify the following doubts it would be very helpful.

1. Is it mandatory to know Unix., before understanding Linux kernel source code.

2.Which is the best book to refer for understanding Linux kernel source code from scratch.


Thank you.

Last edited by anup.2314; 12-02-2009 at 05:04 AM.
 
Old 12-02-2009, 05:35 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Quote:
1. Is it mandatory to know Unix., before understanding Linux kernel source code.

anup2314,

Not mandatory. Linux is another code trying to be "Unix-like" as possible owing to respectable reputation Unix gained through computing history. If you want to get familiar with Linux you can go directly into it. Since you are concerned with "kernel" programming it is best for you to get some books first that treat the basics of kernel, or go directly to how linux kernel is implemented. Download this pdf book for Linux kernel, or get its .doc format here. It is compressed in bz2 format, if you are using windows, rar app can extract it. If under linux you only enter this command on the terminal: user@host--$ tar xvjf name-of-archive.tar.bz2 <Enter>

All about linux kernel and archives visit this site.

Quote:
2.Which is the best book to refer for understanding Linux kernel source code from scratch.
Thank you.

Aside from that free downloadable book I have linked to you above you can choose from among these good books: click here.

Hope this helps.

Good luck.
 
Old 12-02-2009, 05:54 AM   #3
imagine_me2
Member
 
Registered: Nov 2009
Location: Kolkata, India
Distribution: Fedora 11
Posts: 136

Rep: Reputation: 22
I hope that you have a Linux distribution on your system.

Assuming that you may try these books:

Kernel Specific:
* Understanding the Linux Kernel - O'Reilly
* Linux Kernel Development - Robert Love , Novell Press

For more general discussions you may refer to:

* Operating System Principles - Galvin , Wiley Press


Minix is a Unix like Os , so you may consider starting with that. A very good reason to do so is:

* Operating system design and implementation - A. S. Tanenbaum

This book discusses the full source code of Minix Kernel.

My advice would be first get hands on with a linux machine, i mean learn the commands , shell etc and
then do some system programming(again there are some very boooks on that), and assembly language programming.
Then go for the kernel. I think you will be more comfortable that way.

The site for you is: http://kernelnewbies.org/

Note: Be sure to buy the book(edition) we discusses the kernel version of your interest.

Regards.
 
Old 12-02-2009, 05:55 AM   #4
imagine_me2
Member
 
Registered: Nov 2009
Location: Kolkata, India
Distribution: Fedora 11
Posts: 136

Rep: Reputation: 22
I hope that you have a Linux distribution on your system.

Assuming that you may try these books:

Kernel Specific:
* Understanding the Linux Kernel - O'Reilly
* Linux Kernel Development - Robert Love , Novell Press

For more general discussions you may refer to:

* Operating System Principles - Galvin , Wiley Press


Minix is a Unix like Os , so you may consider starting with that. A very good reason to do so is:

* Operating system design and implementation - A. S. Tanenbaum

This book discusses the full source code of Minix Kernel.

My advice would be first get hands on with a linux machine, i mean learn the commands , shell etc and
then do some system programming(again there are some very boooks on that), and assembly language programming.
Then go for the kernel. I think you will be more comfortable that way.

The site for you is: http://kernelnewbies.org/

Note: Be sure to buy the book(edition) we discusses the kernel version of your interest.

Regards.
 
  


Reply

Tags
code, kernel, liux, source


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux kernel source code 1.0.0 poster neojia General 1 12-23-2010 12:04 PM
source code of linux kernel rohit83.ken Linux - Newbie 3 02-08-2008 07:49 PM
need to download linux source code for 2.6 kernel bishalpoudyal Linux - Software 2 04-13-2006 02:17 PM
How do I install the Linux kernel source code?? thearchitect Linux - Newbie 3 08-13-2005 01:07 AM
linux kernel source code legolas_t Programming 1 09-17-2004 07:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration