LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-29-2006, 09:10 PM   #1
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Rep: Reputation: 232Reputation: 232Reputation: 232
Kernel Internals - customizing 2.6 builds


I have been having great fun customizing the 2.6 kernel and doing research (Google) on the workings of Linux internals/compile/make options. This stuff is really expanding my knowledge of how the kernel works - trying to figure out what is what at a low level - although obviously I am no expert. I come from a C/ASM/Intel programming background but would appreciate any links/pointers as to the ins and outs of this stuff re Linux - i.e. dependencies, linux internals, structures etc. BTW - I have been getting a lot of info by making my google searches more generic e.g. "linux kernel internal" rather than "slackware 2.6 kernel internal". How bespoke is the Slackware kernel compile/customization process ? May I safely follow generic linux threads on this matter ? (I've recently followed a thread on how to ask smart questions so I hope I'm adhering to these guidelines). Any pointers as to where I may find more info about the structure of the OS would be helpful. - As a general comment - I find it mind blowing that the low level information about the OS internals is not only available but freely available. This mindset obviously encourages learning rather than keeping secrets as in the days of Dos structures etc. Sorry if this is a bit rambling and unstructured but I think I've seen the future and that is the sharing of knowledge and all the GPL - open source kind of thing implies...I know I'm just scratching the surface on this and can't help but be enthused.. Wow..
Cheers,
 
Old 10-30-2006, 02:38 PM   #2
bsdunix
Senior Member
 
Registered: May 2006
Distribution: BeOS, BSD, Caldera, CTOS, Debian, LFS, Mac, Mandrake, Red Hat, Slackware, Solaris, SuSE
Posts: 1,761

Rep: Reputation: 80
Pat distributes the same kernel that you download from ftp.kernel.org. You'll see comments in the changelog that Pat describes "vanilla" Linux kernels. You can look at the script he uses to compile the kernel:

http://slackware.cs.utah.edu/pub/sla...ompile_kern.sh
 
Old 10-30-2006, 03:16 PM   #3
deft0nes12
LQ Newbie
 
Registered: Jul 2003
Location: california
Distribution: slackware, suse
Posts: 14

Rep: Reputation: 0
i don't think this will be helpful, but its very interesting none the less, and pretty fun to look at showing the entire kernel structure, a kernel map.
since you seem so interested i think you might like that.
 
Old 10-31-2006, 02:50 AM   #4
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Some of my personal bookmarks which may be useful:

Kwan Lowe's Kernel Rebuild Guide

Kernelhacking

Unreliable Guide To Hacking The Linux Kernel

KernelNewbies

Linux HQ kernel programming resources

I, too, am absolutely fascinated by the performance and working of the Linux kernel. The multi-tasking ability is simple outrageous. After using Windows and Mac OS, it baffles me why anyone would consider them stable operating systems.

The preponderance of so many different Linux distributions has probably kept the workers so spread out, and disunited, or some Linux distro would have already taken the market from Windows. We're still lacking in some quality GUI apps, but as for CLI apps -- there's nothing able to touch us there.
 
Old 10-31-2006, 01:37 PM   #5
bgeddy
Senior Member
 
Registered: Sep 2006
Location: Liverpool - England
Distribution: slackware64 13.37 and -current, Dragonfly BSD
Posts: 1,810

Original Poster
Rep: Reputation: 232Reputation: 232Reputation: 232
Thanks for the useful info everyone..Much appreciated. It looks like I've certainly got my work cutout understanding all this stuff !!
Cheers
 
Old 11-01-2006, 11:08 AM   #6
manwichmakesameal
Member
 
Registered: Aug 2006
Distribution: Slackware
Posts: 804

Rep: Reputation: 110Reputation: 110
Good book

If you really want to know about the kernel internals, I would suggest Linux Kernel Development: Second Edition from Novell press of all places. It does a really good job of going into some detail of the internal workings of it all.
 
  


Reply



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
i'm a redhat user interested in linux kernel internals:) Suresh K LinuxQuestions.org Member Intro 2 02-23-2006 11:19 PM
see linux kernel internals kpachopoulos Linux - General 4 07-05-2005 06:15 PM
Linux Kernel Internals altosys Programming 10 07-24-2004 03:13 PM
latest kernel builds bmorgan98 Linux - Newbie 4 07-17-2004 05:18 PM
Linux kernel internals RussoIsraeli Linux - General 2 11-02-2003 09:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:15 PM.

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