Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-19-2010, 09:47 AM
|
#1
|
|
Member
Registered: May 2008
Posts: 48
Rep:
|
Need help to understand Linux Kernel
Hi,
I am MCA student who is quite interested in GNU/Linux. I have learnt to operate and configure numerous Linux distros and am quite comfortable with it(currently slackware). My other background information:
Things I know:
1. Know C/C++ quite well including data structures
2.Know AT&T assembly quite well including inline assembly
3.Know basic of networking but no formal training till now.
4.Did some amount of system programming(from Beginning Linux Programming)
Things I don't know:
1.Operating Systems- No formal training till now. Tried reading by myself the famous Tanenbaum's Operating system design and implementation but first attempt was failure. Didn't understand much of the stuff esp. Minix part.
Now I have 2 months vacation at my disposal and want to utilize it to know Linux well. I have both Linux kernel development by Robert Love and Understanding Linux Kernel by Orielly press. However I lose track after few chapters.
Kindly do guide me how should I proceed forward. I think I am approaching the subject wrong way. Or should i just abandon the work for some time and concentrate more on system or network programming(as i am interested in security too.)
Please only the person with experience with linux kernel reply.
Thanks in advance.
P.S.: I have also searched through google and this forum and found some good refrences like kernelnewbies site and other but what I need is the prerequistes required. Like for e.g. when they say 'address space', what it means in reality or code.
|
|
|
|
05-19-2010, 01:27 PM
|
#2
|
|
Member
Registered: Oct 2009
Posts: 451
Rep: 
|
Have you tried Linux Device Drivers? I don't know how it compares to the other two books you mentioned, but it's very practical and gets you writing some code fairly quickly.
|
|
|
|
05-19-2010, 03:36 PM
|
#3
|
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,692
|
Quote:
Originally Posted by dheerajsuthar2008
Please only the person with experience with linux kernel reply.
|
Is it really sensible to put this particular pre-condition on replies? Certainly it is not necessary to have kernel experience (and I don't think, in spite of what you write, that there is only one person with kernel experience) to help you with:
Quote:
Originally Posted by dheerajsuthar2008
Like for e.g. when they say 'address space', what it means in reality or code.
|
Although it is difficult to square the comment above with:
Quote:
Originally Posted by dheerajsuthar2008
1. Know C/C++ quite well including data structures
2.Know AT&T assembly quite well including inline assembly
|
|
|
|
|
05-19-2010, 03:38 PM
|
#4
|
|
Member
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 492
Rep:
|
Practice is the best way to learn something, and I think the easiest part for the linux kernel is device driver, you can learn many interesting aspect by understanding / writing devices driver. You already have some good pointers ("Linux Device Driver", "kernelnewbies"...). Know just found something to practice.
|
|
|
|
05-20-2010, 12:48 AM
|
#5
|
|
Member
Registered: May 2008
Posts: 48
Original Poster
Rep:
|
Thanks JohnGraham and jf.argentino!
I will surely try my luck this time with Linux device drivers. One of my friend has it, so I think I will borrow and try learning from it. Also I am also continuously browsing through the kernelnewbie site and think that its making some sense now.
Again thanks for your kind replies. Shall post any more progress of mine here.
|
|
|
|
05-20-2010, 12:52 AM
|
#6
|
|
Senior Member
Registered: May 2005
Posts: 4,420
|
Quote:
Originally Posted by dheerajsuthar2008
...
Now I have 2 months vacation at my disposal and want to utilize it to know Linux well. I have both Linux kernel development by Robert Love and Understanding Linux Kernel by Orielly press. However I lose track after few chapters.
Kindly do guide me how should I proceed forward. I think I am approaching the subject wrong way.
...
|
Time to have some fun: http://www.linuxdriver.co.il/kernel_map .
|
|
|
|
05-20-2010, 01:03 AM
|
#7
|
|
Member
Registered: May 2008
Posts: 48
Original Poster
Rep:
|
Quote:
Originally Posted by Sergei Steshenko
|
Good one!.. Thanks 
I also found another good link on forum.. Its related to OS in general:
osdever
|
|
|
|
05-20-2010, 04:16 AM
|
#8
|
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,288
|
Best advice I saw was find something (small) that you are interested in and concentrate on that.
Else you'll just get frustrated. Lots of options - VFS, drivers (IDE, SATA, USB, Video, ...), memory management (allocation, sharing, paging, swapping), filesystems (pick one ...), virtualization ...
I like kernelnewbies - good concept.
|
|
|
|
05-20-2010, 09:30 AM
|
#9
|
|
Member
Registered: May 2008
Posts: 48
Original Poster
Rep:
|
Quote:
Originally Posted by syg00
Best advice I saw was find something (small) that you are interested in and concentrate on that.
Else you'll just get frustrated. Lots of options - VFS, drivers (IDE, SATA, USB, Video, ...), memory management (allocation, sharing, paging, swapping), filesystems (pick one ...), virtualization ...
I like kernelnewbies - good concept.
|
thanks syg00!
Well that's true.. I have decided to start first with drivers as most of the members on thread have advised me to do so. I have also brought the linux device drivers and will start reading in night.  Also have bookmarked kernel newbies will check it out now and then. Hope, will achieve something good in these vacations. Thanks again for all of your kind replies.  Moderators can kindly close the thread.
|
|
|
|
05-20-2010, 09:34 AM
|
#10
|
|
LQ 5k Club
Registered: Sep 2009
Distribution: Arch x86_64
Posts: 6,443
|
Quote:
Originally Posted by dheerajsuthar2008
Moderators can kindly close the thread.
|
Mark the thread as Solved (in Thread Tools).
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:27 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|