IT NEWS            Site directors hint: Stay up to date Discuss now!
Technology news and Jobs arrow Information Technology News arrow An Ubuntu guide to taming the Linux kernel
An Ubuntu guide to taming the Linux kernel PDF E-mail
User Rating: / 11
PoorBest 
by David M Williams   
Monday, 15 October 2007
Although Linux is frequently referred to by the names of various distributions, what can properly be called “Linux” is really the management part of the operating system known as the kernel which interacts with the computer’s hardware. Here’s how the kernel works in Ubuntu, and how to rebuild it.

The kernel is what Linus Torvalds produced in 1991 which, coupled with the GNU Project’s litany of tools, brought the power of UNIX freely to the PC world. Many people worldwide now contribute to the kernel alongside Torvalds, but it is still he who determines what is included in official releases.

Versioning
The kernel is constantly under development. Feature enhancements and bug fixes are made at a rapid pace. Theoretically, you could update your kernel every week but practically, you do not know whether the latest changes are well-tested or not. Fortunately, the Linux kernel team use release management methodologies to provide periodic stable releases that are certified as safe for production, and each release has a unique version number. These consist of a major number, a minor version and a sublevel number, and then for Ubuntu an additional number known as the extraversion level. This latter number reflects patches and add-ons made by Ubuntu’s team to make the kernel work in their distribution. You can determine the version of your kernel by executing the command uname –r.

By convention, kernels with even-numbered minor versions are stable releases, and those with odd-numbered minor versions are development releases which should only be used by those prepared to experiment with code still under test.

The source tree
As you might expect, the kernel is free open-source software. Its source code is freely available and is generally included with all Linux distros even though it may not necessarily be installed without explicit setup options. The source code is not at all needed for the ordinary running of Linux, but If it is installed (either at the time of system setup, or later), it will be found in Ubuntu distributions within the /usr/src directory under a folder named with its version number.

The kernel source can be retrieved in a variety of ways, but the absolute latest will always be available via FTP from ftp.kernel.org in a compressed format.

The source code is structured in a complex directory hierarchy known as the source tree. As the kernel is such a large piece of software, scripts are used (and provided) to compile it and these expect to find files in specific places in the tree.

Browsing the code does give some important insights. One very helpful subdirectory is Documentation which, as you might expect, contains a cornucopia of text files describing the kernels operation and how it really works at a very low-level. Many documents here are aimed at kernel programmers but you will find loads of generally useful information – for instance, the file devices.txt lists all possible devices that are catered for in the system’s /dev directory along with a brief description. If you have received driver error messages citing version numbers, chances are you can get some clues here to what the error is about.



 
< Next story in category   Previous story in the category >
Subscribe to iTWire's Free daily e-newsletter Delivered daily - FREE
Subscribe to our Technology newsletter, get the latest and stay ahead ...example
* First name:
* Last name:
* Your email address:
* Country:
* Enter the security code shown:

* mandatory


Search the web
Search iTWire

 
You don't need to login to post a comment





Lost Password?
No account yet? Register
Subscribe to our free daily newsletter.
Six Sigma Green Belt Training and Certification Workshop
July 4 (9:00 am) - July 06 (11:59 pm), 2008
eXample Consulting Group is conducting an immensely practical SIX SIGMA GREEN BELT CERTIFICATION ...

Ovum Breakfast Seminar: Telco 2.0 in the UC battleground
July 7, 2008 (7:30 am - 10:00 am)
Ovum would like to invite you to our forthcoming event on July 7, at which we will be discussing ...

Oceania Com
July 7 (8:45 am) - July 08 (11:59 pm), 2008
Informa Telecoms & Media and BuddeComm are delighted to announce the inaugural OCEANIACOM 7-8 J...

Energy Logic Symposium- Melbourne
July 8, 2008 (All Day)
Emerson Network Power, Dell, IBM and Cisco show you how to slash data centre energy use without c...

Financial Modelling in Excel - Brisbane CBD
July 9, 2008 (All Day)
Improve your decision making and business skills by learning to create your own dynamic and relia...

Budgeting & Forecasting in Excel - Brisbane CBD
July 10 (9:00 am) - July 11 (11:59 pm), 2008
Learn to create your own budgets, rolling forecasts, reports and scenarios. Explore budgeting te...

SIX SIGMA WORKSHOP - Bangalore
July 11 (9:00 am) - July 13 (11:59 pm), 2008
eXample Consulting Group is conducting an immensely practical SIX SIGMA GREEN BELT CERTIFICATION ...

KM Australia 2008
July 21 (8:00 am) - July 22 (11:59 pm), 2008
Web Linkwww.kmaustralia.com Moving forward with an enterprise approach to knowledge, information...

Usability Fundamentals Training Course [Melbourne]
July 21 (9:00 am) - July 22 (11:59 pm), 2008
The success of your website is inextricably linked to how well-versed those involved in the devel...

ISTQB Foundation Certification Course
July 22 (9:00 am) - July 23 (11:59 pm), 2008
This accredited and instructor-led course focuses on developing the student’s knowledge, understa...
New event listings
SolidWorks Innovation Day (Melbourne and Adelaide)
October 17, 2008 (All Day)
Hosted by Intercad, SolidWorks’ Innovation Days will give designers, engineers and manufacturers ...

SolidWorks Innovation Day (Sydney)
October 16, 2008 (All Day)
Hosted by Intercad, SolidWorks’ Innovation Days will give designers, engineers and manufacturers ...

SolidWorks Innovation Day (Brisbane and Perth)
October 15, 2008 (All Day)
Hosted by Intercad, SolidWorks’ Innovation Days will give designers, engineers and manufacturers ...

LIXI Industry Forum 2008
September 10, 2008 (All Day)
Wednesday, 10 September 2008 The Westin Sydney The second annual major industry event for the...

Last Day to apply for Mid Year study at Swinburne University
August 1, 2008 (All Day)
Applications close for Swinburne University’s online postgraduate Technical Communication courses.

The Rapidly Emerging Mobile Media Market
July 24, 2008 (All Day)
Mobile media is the way of the future, and by 2015, it is expected that it will be the major reve...

View Full Calendar
Contact , Register , Advertise with iTWire , Links , About iTWire , Feedback , Post your jobs , Events , iTWire site map , Start Blogging , MyBlogLog page
Industry Releases , Submit your release now