LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-17-2004, 08:16 AM   #1
fedetxf
Member
 
Registered: Nov 2003
Location: Argentina
Distribution: RedHat 9
Posts: 54

Rep: Reputation: 15
Selecting drivers and kenel features


I'm new to linux and I just yesterday did my first sucessful 2.6.7 kernel compilation.
I downloaded the source and used the Fedora Core 2 official .config file as a base. I only modified the CPU type and made the kernel preemptive.
I want to see if selecting just the drivers I need and compiling then inside the kernel would be worth the effort.
I need advice on how to safely select the drivers I need.
For example, should I remove all ethernet, FDDI and other network drivers? I use a modem and ppp0 to log on to the net.
Can I ditch the ps/2 and usb mice? Mine is serial.
Can I drop all video4linux stuff if I don't have a digital video card?
Can I drop nvidia, banshee and ati radeon drivers? My card is S3 Trio64
Can I drop firewire drivers? (I don't have it)
Can I drop XFS, ReiserFS, JFS, minix, amiga, etc filesystems if I don't plan to use them?
Can I compile ACPI inside the kernel to make sure it gets used?

Can I compile all drivers inside the kernel safely or do I keep them as modules?

Will all this configurations mean a faster kernel? I assume it wil be smaller, but is that important?

Thank you for any advice.
 
Old 06-17-2004, 10:04 AM   #2
czarherr
Member
 
Registered: Sep 2003
Location: Suwon, Korea
Distribution: Slackware 14
Posts: 288

Rep: Reputation: 32
Any devices you dont have will never have the drivers loaded, so its safe and recommended to remove them entirely to reduce the size and increase the speed of the kernel. You can compile all the drivers inside the kernel, but its usually best to compile anything you can as modules, with exceptions being to things like your chipset support, and anything else required to boot. Compiling as modules means a smaller, faster kernel. And yes, your kernel will be noticeably faster.
 
  


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
Features of KDE vs. Features of Gnome donlinux Linux - Newbie 17 12-04-2005 12:01 PM
Kenel mkinitrd help kingterr0r Slackware - Installation 2 08-28-2004 11:01 AM
Enter the Kenel F1_help Linux - Newbie 10 07-08-2004 05:02 PM
kenel HELP xportus Linux - Software 2 03-06-2004 07:11 AM
Kenel Configuration Paul_assheton Linux - General 3 03-07-2002 09:16 PM

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

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