LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 12-16-2001, 10:55 PM   #1
JoeLinux
Member
 
Registered: Dec 2001
Location: Marietta
Distribution: Slackware 8.0
Posts: 95

Rep: Reputation: 15
Lightbulb My Ideal Linux - Can it be done with little to no experience.


I think this would be cool for me to do. All I want is a kernel with NOTHING built in driver wise. I just want this streamlined, uber kernel. Any hardware drivers I want as a module, all on their own.

Lemme clarify that - I would want the drivers neccessary for a bootup to be in the kernel, like chipset, minimal display, or anything I need to boot. That is all I want in the kernel. That would be fine, and preferred. But anything else, I want a separate module. So, if I boot up in Linux, and I'm at a LAN party. And someone says "We need a CS server!" I can do the job right there. I wouldnt have sound drivers loaded into the kernel, or 3d card drivers. All I would do is load up my NIC driver, start eth0, and I'm off. Nothing in the kernel that shouldnt be there. IF I want to listen to music, bust out the sound card module, and listen. If I want to PLAY on a CS server, I can bust out the nic module, sound module, nvidia module, and play. Nothing that doesnt need to be there at the moment is there. When it is needed, its there.

So, basically, idealy, just a minimal kernel, and everything modulated. That is my idea goal, and I would love to do it. Although its not the most useful goal, it's something that I would feel good about.

So, can it be done? How would I go about doing it?
 
Old 12-17-2001, 01:28 AM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
It can be done. Of course to a certain point. Dependancies of a module to another option may occur and so forth. There isn't one specific set of options that you can use as a template so to speak. Best thing to do is go into the kernel config and read the help file on each option to see if it CAN be a module, if it has dependancies and how it needs to be setup. On the average though, the sound/ether cards servers and the like can be loaded and unloaded at will. Make a list of your requirments and then go from there in the kernel.
 
Old 12-17-2001, 05:27 AM   #3
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
but wouldn't putting everythign in modules slow the kernel down a hell of a lot? sure hack out any drivers you don't really need, or use that much.. but compiliuing them directly into the kernel is surely a much faster option.
 
Old 12-17-2001, 04:06 PM   #4
JoeLinux
Member
 
Registered: Dec 2001
Location: Marietta
Distribution: Slackware 8.0
Posts: 95

Original Poster
Rep: Reputation: 15
Does it slow down that much?

I've read other places that modules arent slower at all, since they are being put into the kernel. Is the speed difference all that great?
 
Old 12-17-2001, 04:55 PM   #5
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
The more you compile INTO the kernel, the bigger your kernel is going to be and slower. Modules are just for that purpose, to lean up the kernel in return speeding it up. Modules allow you to leave things out of the kernel and load on demand. All in all, the more NOT compiled into the kernel the smaller and faster it'll be.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
ideal linux-friendly phones? fibbi Linux - Laptop and Netbook 5 03-20-2006 12:09 AM
Ideal Linux Calculator The Last Grok Linux - Software 7 10-14-2004 02:48 AM
Ideal Linux Server Config, suggestions ? EmbeddedWannabe Linux - General 1 03-16-2003 01:19 AM
Ideal Labtop for Linux?? 44TR Linux - Newbie 3 12-26-2002 12:35 AM
What's the best pci network adapter for Linux? (in an ideal world...) jb1140 Linux - Networking 6 09-05-2001 11:45 AM


All times are GMT -5. The time now is 03:37 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration