LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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


Reply
  Search this Thread
Old 06-01-2005, 02:40 PM   #1
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438
Blog Entries: 5

Rep: Reputation: 32
scarcity: distro kernel config files


Hi,

I'm still a newbie but I'd like to know why it is far from common to mention kernel compile configuration options when advertising/making known linux distributions (i.e. on their websites).

With the 2.6.x kernels having so much inbuilt hardware recognition power, it's really the kernel compile configuration nowadays which decides whether your particular hardware willl work out of the box or not.

I know this stuff about modules, though I could never quite grasp it.

Nevertheless it's always really cool when a linux distro recognises your wifi card (surely that's an acid test), but that will only happen if the dsitro designers got a considerater kernel compile config.

"Just" some thoughts.
 
Old 06-01-2005, 04:12 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"I'm still a newbie but I'd like to know why it is far from common to mention kernel compile configuration options when advertising/making known linux distributions (i.e. on their websites)."

The kernel configuration is a little more complicated than that. When a distribution compiles a general purpose kernel they include almost everything. If they compiled all possible functions into the loadable kernel it would be too unwieldy to use. So they compile everything possible as loadable modules.

Then when you install that distribution, the distribution checks to see what hardware is on the machine and configures the installed software accordingly. There are noticable differences between the various distributions hardware detection and configuration programs. But the advertising should mention what hardware the installer is capable of configuring for or at least brag about how good their installer is at detecting and configuring hardware.

"With the 2.6.x kernels having so much inbuilt hardware recognition power, it's really the kernel compile configuration nowadays which decides whether your particular hardware willl work out of the box or not."

Actually it is the installer's abilities that determine whether your particular hardware will work out of the box or not. If it won't work out of the box you can still configure it by hand which can be a pain.

One of the problems faced by an installer is that a few of the loadable modules in the general purpose kernel should have been compiled into the bootable kernel. These are loadable modules that are needed to access loadable modules. The installer gets around this problem by creating an initrd. Initrd is a way of loading a list of loadable modules togather with the bootable kernel when the kernel is booted.

If you compile your own kernel then you can choose which modules are part of the bootable kernel and which modules are loadable modules. You don't need an initrd. There are some modules that cannot be compiled as loadable modules. Your distribution may have included modules that you don't need in the bootable kernel so you can throw those out when you compile your own kernel.

"Nevertheless it's always really cool when a linux distro recognises your wifi card (surely that's an acid test), but that will only happen if the dsitro designers got a considerater kernel compile config."

The distribution installers are most likely to have trouble with the newest device drivers. Wifi is fairly recent so all distributions haven't reached stable wifi support yet. A year from now it will be some other new device that may or may not work out of the box.


-------------------------
Steve Stites
 
Old 06-07-2005, 03:29 PM   #3
stabu
Member
 
Registered: Mar 2004
Location: dublin IRL
Distribution: Slackv12.1, Slamd64v12.1,Xubuntu v8.10_64, FC8_64
Posts: 438

Original Poster
Blog Entries: 5

Rep: Reputation: 32
I'm very appreciative of your reply Steve .. many thanks. It clears up a number of things for me.

I have to do a search at the other replies you give ... I might start to learn a bit faster then ...

Cheers!
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
use kernel .config from one distro to another kpachopoulos Linux - General 6 06-14-2005 06:08 PM
Default Kernel Config Files eyebrowsoffire Linux - General 31 10-05-2004 05:12 PM
Where is Linux Kernel Config Files ? rising_sun Linux - General 5 04-09-2003 08:21 PM
Kernel .config files under RH7.2 Paul_assheton Linux - Distributions 4 11-18-2002 02:34 AM
kernel config files ugenn Linux - General 7 07-01-2002 02:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:28 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