Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-20-2005, 11:45 PM
|
#1
|
Member
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257
Rep:
|
Linux Kernel 2.6
Hi ,
I am fairly comfortable with Linux and have afairly good hold on the basics. I now need to get into t he working of the Linux kernel and find out how everything works. On Safari I found a book by Robert Love which covers 2.6 (this is what I need) . My question is : Is this a good place to start? or can you guys recommend something else or some other specific sources apart from www.google.com  . All suggestions r welcome.
Thnx
Arvind
|
|
|
11-21-2005, 01:17 AM
|
#2
|
Senior Member
Registered: Mar 2005
Location: USA::Pennsylvania
Distribution: Slackware
Posts: 1,065
Rep:
|
I would suggest starting by getting to know all the options than can be compiled in or as modules for the kernel. Being able to know what you need for your machine(s) is quite important. Go to the kernel source (usually /usr/src/linux) and issue command
There are menuconfig help options for each section and option, they are usually quite descriptive..
If you were talking about something more advanced than this, such as how the kernel works, code base.. etc.. sorry, somone else will have to get you on that one... 
|
|
|
11-21-2005, 01:28 AM
|
#3
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
http://www.kernelhacking.org/
http://people.netfilter.org/~rusty/u...ing-guide.html
http://jungla.dit.upm.es/~jmseyas/li...kers-docs.html
http://www.linuxchix.org/content/cou...ernel_hacking/
Basically it depends on what you want to do.
Books can be good for basics, however the kernel changes so much and so fast that anything written more than 6 months ago will be out of date (this is subjective of course - others will disagree, some even with hairtrigger-flamethrowrs at the ready...)
Installing a custom kernel is probably the best place to start.
Don't worry about the book, just hunt down the information. Typically what you need is spread between several howtos and manuals so you'll get a good workout.
That linux-chix site BTW is one of the best yet  leave it to the ladies to get it right...
It also helps if your distro is quite configurable. Slack is great for this kind of learning - though I did my first kernel hack on RH9.
|
|
|
11-21-2005, 08:50 PM
|
#4
|
Member
Registered: Oct 2005
Location: banglore(india)
Posts: 62
Rep:
|
what is module programming
oh can u tell me what really is linux module programming
some days before i was trying to access system clock but i was not able to do that
i also wanted t do sth with pid_t data structure of structure but i was unable to do tha
please throw some light from basics
|
|
|
11-22-2005, 05:20 AM
|
#5
|
Member
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257
Original Poster
Rep:
|
Thnx guyz 4 the help..I will go thru what you'll advised and get back if I have problems
Arvind
|
|
|
11-22-2005, 05:38 AM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,379
|
Great links from Simon Bridge - *however* do not accept his discouragement re buying the book.
Excellent tome - and Robert Love knows his sh1t.
Buy it - it's as at 2.6.10, so hasn't aged too much in the 6 months I've had my copy.
I'd also recommend "Understanding the Linux Kernel" - it's "only" 2.4, but goes into concepts much better. The two works compliment each other nicely.
I like to have a book I can flip through rather than a pile of web pages - maybe it's just me.
|
|
|
11-22-2005, 05:22 PM
|
#7
|
LQ Guru
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211
Rep: 
|
 Oh I hardcopy the web pages and bind them
My discouragement was based on general principles. After all, I got a book with my first linux (Red Hat 9 Linux for Dummies ... heh heh ... but only because I needed to learn in a hurry and it was by Hall and Seary. It was out of date, but not in terms of the distro it came with, and maddog happily discussed omissions, snafus and fubars etc.)
The right book can be a lifesaver.
Good desk references tend to be technical.
Kernel references tend to be kernel specific - but provide a point of departure: depends what you want to do (as I said before).
|
|
|
All times are GMT -5. The time now is 01:17 AM.
|
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
|
|