LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-10-2004, 06:08 AM   #1
RobertoBech
Member
 
Registered: Dec 2003
Location: Rio de Janeiro
Distribution: Debian Squeeze
Posts: 54

Rep: Reputation: 15
About kernel modules...


I'm a newbie compiling the kernel... trying to get 2.6.2 working on my Mandrake 9.2. I really would like to know more about the kernel modules, so that I know what to install, what to use as a Module and what not to use at all.

Is there any documentation explaining in detail the function of all kernel modules?

I also heard you can configure the kernel via KDE (Kcontrol). However, this option doesn't show on my Kcontrol... why?

I presently have the kernel 2.4.22-10 and no headers installed.
 
Old 02-10-2004, 09:13 AM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
there is a TON of kernel documentation out there. The kernel howto, individual modules... google is your best friend.

There's actually some decent documentation in the kernel config process itself. If you make xconfig in the source directory, you'll get a really nifty windowed interface that explains each option in a paragraph or so.
I'd suggest doing htis with 2.6 kernels - I've heard their x interface was revamped.

Modules are drivers. So, compile only what you need. No point in having ATI display drivers compiled if you have a nVidia card. This is how stock kernels work - they have everything and its dog compiled, and then load the essential modules. A good system, but you can speed things up considerably by compiling some things you use every day directly into the kernel, and only adding support for what you need.

Things to compile directly into the kernel:
filesystems on your hardware - ext2, ext3, FAT32, ntfs, etc.
network drivers for your hardware
anything else that's basically "always on"

things to compile as modules:
soundcore support, so you can compile the latest ALSA on your own.
USB devices
video drivers (or leave out to build nVidia's on your own)
Anything else that's used occasionally, like say DOS filesystem if you have a couple old disks kicking around.

(Note that most of that is interchangeable. Some people say not to build anything directly into kernel, others favor monolithic kernels with no modules at all. Monolithic kernels are more secure, and some say faster. Anyone done a benchmark?)

Things to leave out entirely:
Anything that doesn't have to do with your hardware.

As for KDE's kernel config option, it shoudl be in the control centre, the last category (administration), under "kernel" somethingsomething. But why bother? make xconfig is spiffier.

--Rounan
 
  


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
kernel: No module symbols loaded - kernel modules not enabled. Qucho Debian 9 05-26-2004 02:50 AM
Kernel Modules and modules.conf init Linux - General 0 02-20-2004 06:51 PM
new kernel (2.4.22 up from 2.4.20-6) - missing modules - use old modules? Simon Bridge Linux - Software 1 02-04-2004 05:52 AM
How to keep modules/drivers across kernel recompiles and kernel versions? Pisces107 Linux - General 5 01-21-2004 08:29 PM
Kernel modules: why are some kernel modules zipped? hampel Slackware 3 06-30-2003 06:33 AM

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

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